61 static inline boost::shared_ptr<CORE_Array3D<T> >
New() {
74 void setSize(
const int& n,
const int& p,
const int& q);
91 inline void set(
const int& i,
const int& j,
const int& k,
const T& obj) {
113 inline void size(
int& n,
int& p,
int& q)
const {
120 inline void getSize(
int& n,
int& p,
int& q)
const {
void size(int &n, int &p, int &q) const
return the size of the array
Definition: CORE_Array3D.h:113
tString toString() const
turn the array into string
Definition: CORE_Array3D.hpp:64
void getSize(int &n, int &p, int &q) const
return the size of the array
Definition: CORE_Array3D.h:120
virtual void clear()
clear the array
Definition: CORE_Array3D.h:106
this class describes an array of arrays
Definition: CORE_Array3D.h:13
CORE_Array3D< tRelativeInteger > CORE_RelativeIntegerArray3D
Definition: CORE_Array3D.h:149
static boost::shared_ptr< CORE_Array3D< T > > New()
New constructor. return a shared pointer of CORE_Array3D.
Definition: CORE_Array3D.h:61
this class describes a list
Definition: CORE_List.h:12
void setSize(const int &n, const int &p, const int &q)
set the size of the array
Definition: CORE_Array3D.hpp:27
void copy(const CORE_Array3D< T > &src)
void copy
Definition: CORE_Array3D.hpp:48
CORE_Array3D< tComplex > CORE_ComplexArray3D
Definition: CORE_Array3D.h:144
CORE_Array3D< tInteger > CORE_IntegerArray3D
Definition: CORE_Array3D.h:148
CORE_Array3D< tShort > CORE_ShortArray3D
Definition: CORE_Array3D.h:146
CORE_Array3D< tReal > CORE_RealArray3D
Definition: CORE_Array3D.h:143
CORE_Array3D< tCharacter > CORE_CharacterArray3D
Definition: CORE_Array3D.h:140
const T ** operator[](const int &i) const
get the i-th element Assert in (i>-1) Assert in (i
Definition: CORE_Array3D.h:43
#define null
Definition: types.h:13
void set(const int &i, const int &j, const int &k, const T &obj)
set the object at the index i
Definition: CORE_Array3D.h:91
CORE_Array3D< tFlag > CORE_FlagArray3D
Definition: CORE_Array3D.h:145
CORE_Array3D()
build an array of T*
Definition: CORE_Array3D.hpp:9
CORE_Array3D< tBoolean > CORE_BooleanArray3D
Definition: CORE_Array3D.h:142
CORE_Array3D< int > CORE_IntArray3D
Definition: CORE_Array3D.h:141
#define tString
Definition: types.h:36
T ** operator[](const int &i)
get the i-th element Assert in (i>-1) Assert in (i
Definition: CORE_Array3D.h:53
void copy(const CORE_Array3D< T > *src)
void copy
Definition: CORE_Array3D.h:82
CORE_Array3D< tString > CORE_StringArray3D
Definition: CORE_Array3D.h:147
TYPEDEF_SPTR(CORE_DoubleArray3D)
CORE_Array3D< double > CORE_DoubleArray3D
Definition: CORE_Array3D.h:139
#define ASSERT_IN(a)
Definition: types.h:82
virtual ~CORE_Array3D()
destroy an array of T*
Definition: CORE_Array3D.hpp:17
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106