65 static inline boost::shared_ptr<CORE_Array3D<T> >
New() {
T & operator[](const tUIndex &index)
get the k-the element (i,j,k)=[i+Nx*(j+Ny*k)] index : index of element
Definition: CORE_Array3D.h:47
virtual void clear()
clear the array
Definition: CORE_Array3D.h:104
this class describes an array of arrays stored as follow:
Definition: CORE_Array3D.h:14
static boost::shared_ptr< CORE_Array3D< T > > New()
New constructor. return a shared pointer of CORE_Array3D.
Definition: CORE_Array3D.h:65
void copy(const CORE_Array3D< T > &src)
void copy
Definition: CORE_Array3D.hpp:26
CORE_Array3D< tComplex > CORE_ComplexArray3D
Definition: CORE_Array3D.h:147
CORE_Array3D< tInteger > CORE_IntegerArray3D
Definition: CORE_Array3D.h:151
CORE_Array3D< tReal > CORE_RealArray3D
Definition: CORE_Array3D.h:146
const T & operator()(const tUIndex &i, const tUIndex &j, const tUIndex &k) const
get the index-th element (i,j,k)=[i+Nx*(j+Ny*k)]
Definition: CORE_Array3D.h:52
#define null
Definition: types.h:144
tString toString() const
turn the array into string
Definition: CORE_Array3D.hpp:32
const T & operator[](const tUIndex &i) const
get the i-th element Assert in (i>-1) Assert in (i<size());
Definition: CORE_Array.h:164
CORE_Array3D< tFlag > CORE_FlagArray3D
Definition: CORE_Array3D.h:148
CORE_Array3D()
build an array of T*
Definition: CORE_Array3D.hpp:9
CORE_Array3D< tBoolean > CORE_BooleanArray3D
Definition: CORE_Array3D.h:145
#define tUIndex
Definition: types.h:126
T & operator()(const tUIndex &i, const tUIndex &j, const tUIndex &k)
get the index-th element (i,j,k)=[i+Nx*(j+Ny*k)]
Definition: CORE_Array3D.h:57
CORE_Array3D< tChar > CORE_CharArray3D
Definition: CORE_Array3D.h:143
CORE_Array3D< tSInt > CORE_SIntArray3D
Definition: CORE_Array3D.h:149
#define tString
Definition: types.h:135
void setSize(const tUIndex &n, const tUIndex &p, const tUIndex &q)
set the size of the array
Definition: CORE_Array3D.hpp:18
CORE_Array3D< tUInteger > CORE_UIntegerArray3D
Definition: CORE_Array3D.h:152
void copy(const CORE_Array3D< T > *src)
void copy
Definition: CORE_Array3D.h:86
tUIndex mSize[3]
Definition: CORE_Array3D.h:19
CORE_Array3D< tString > CORE_StringArray3D
Definition: CORE_Array3D.h:150
Definition: CORE_ArrayList.h:12
const T & operator[](const tUIndex &index) const
get the index-th element (i,j,k)=
Definition: CORE_Array3D.h:40
void getSize(tUIndex &n, tUIndex &p, tUIndex &q) const
return the size of the array in each direction
Definition: CORE_Array3D.h:115
const tUIndex * getSize() const
return the sizes of the array in each direction
Definition: CORE_Array3D.h:123
TYPEDEF_SPTR(CORE_DoubleArray3D)
CORE_Array3D< tInt > CORE_IntArray3D
Definition: CORE_Array3D.h:144
CORE_Array3D< double > CORE_DoubleArray3D
Definition: CORE_Array3D.h:142
virtual ~CORE_Array3D()
destroy an array of T*
Definition: CORE_Array3D.hpp:14
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141