Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Array3D< S > Class Template Reference

#include <Array.h>

List of all members.


Detailed Description

template<typename S>
class Array3D< S >

Lightweight rectangular array in dimension 3.

Parameters:
S type of array elements.

Definition at line 429 of file Array.h.

Public Member Functions

int getIndexBase (int j) const
int getSize (int j) const
 Array3D (int n_1, int n_2, int n_3, int b_1=0, int b_2=0, int b_3=0)
 ~Array3D ()
const S & operator() (int i, int j, int k) const
S & operator() (int i, int j, int k)

Protected Attributes

int b1
int b2
int b3
int n1
int n2
int n3
S *** dptr


Constructor & Destructor Documentation

template<typename S>
Array3D< S >::Array3D int    n_1,
int    n_2,
int    n_3,
int    b_1 = 0,
int    b_2 = 0,
int    b_3 = 0
[inline]
 

Parameters:
n_1 number of array elements in dimension 1.
b_1 index base in dimension 1.

Definition at line 476 of file Array.h.

template<typename S>
Array3D< S >::~Array3D   [inline]
 

Definition at line 492 of file Array.h.


Member Function Documentation

template<typename S>
int Array3D< S >::getIndexBase int    j const [inline]
 

Index base in dimension dim.

Definition at line 449 of file Array.h.

template<typename S>
int Array3D< S >::getSize int    j const [inline]
 

Number of array elements in dimension j.

Definition at line 460 of file Array.h.

template<typename S>
const S& Array3D< S >::operator() int    i,
int    j,
int    k
const [inline]
 

Subscripting.

Definition at line 504 of file Array.h.

References SubscriptCheck::checkSubscript().

template<typename S>
S& Array3D< S >::operator() int    i,
int    j,
int    k
[inline]
 

Subscripting.

Definition at line 515 of file Array.h.

References SubscriptCheck::checkSubscript().


Member Data Documentation

template<typename S>
int Array3D< S >::b1 [protected]
 

Index bases in dimension 1,2,3

Definition at line 434 of file Array.h.

template<typename S>
int Array3D< S >::b2 [protected]
 

Index bases in dimension 1,2,3

Definition at line 434 of file Array.h.

template<typename S>
int Array3D< S >::b3 [protected]
 

Index bases in dimension 1,2,3

Definition at line 434 of file Array.h.

template<typename S>
int Array3D< S >::n1 [protected]
 

Number of elements in dimension 1,2,3.

Definition at line 436 of file Array.h.

template<typename S>
int Array3D< S >::n2 [protected]
 

Number of elements in dimension 1,2,3.

Definition at line 436 of file Array.h.

template<typename S>
int Array3D< S >::n3 [protected]
 

Number of elements in dimension 1,2,3.

Definition at line 436 of file Array.h.

template<typename S>
S*** Array3D< S >::dptr [protected]
 

Data array.

Definition at line 439 of file Array.h.


The documentation for this class was generated from the following file:
Generated on Mon Sep 22 02:16:32 2003 for Libor-Library by doxygen1.3-rc3