35 virtual ~ArrayNDSliceBase();
36 int getDimSize(
int dim)
const;
37 int getPos(
int dim)
const;
38 bool setPos(
int dim,
int pos);
40 void setDimMap(
int localdim,
int remotedim );
44 void getSourcePos(
const int* localpos,
45 int* sourcepos)
const;
72 bool isSettable()
const;
96 void set(int,int, T );
98 bool isSettable()
const;
110 template <
class T>
inline 119 template <
class T>
inline 128 template <
class T>
inline 133 template <
class T>
inline 138 template <
class T>
inline 148 template <
class T>
inline 153 return source_.getND( srcpos );
157 template <
class T>
inline 169 template <
class T>
inline 174 template <
class T>
inline 203 template <
class T>
inline 212 template <
class T>
inline 221 template <
class T>
inline 226 template <
class T>
inline 231 template <
class T>
inline 236 const int localpos[] = { pos0, pos1 };
243 template <
class T>
inline 246 const int localpos[] = { pos0, pos1 };
249 return source_.getND( srcpos );
253 template <
class T>
inline 258 template <
class T>
inline Array1D ( Subclass of ArrayND ) is a one dimensional array.
Definition: arraynd.h:101
#define mExpClass(module)
Definition: commondefs.h:160
bool writable_
Definition: arrayndslice.h:77
const Array2DInfo & info() const
Definition: arrayndslice.h:254
void getSourcePos(const int *localpos, int *sourcepos) const
Subclass of Array1D and ArrayNDSliceBase.
Definition: arrayndslice.h:60
#define od_int64
Definition: plftypes.h:36
Contains the information about the size of ArrayND, and in what order the data is stored (if accessab...
Definition: arrayndinfo.h:23
Contains the information about the size of Array1D, and in what order the data is stored (if accessab...
Definition: arrayndinfo.h:71
Array1DSlice(ArrayND< T > &)
Definition: arrayndslice.h:111
ValueSeries of offsets.
Definition: valseries.h:69
const ValueSeries< T > * getStorage_() const
Definition: arrayndslice.h:259
int64_t offset_
Definition: arrayndslice.h:51
OffsetValueSeries< T > * storage_
Definition: arrayndslice.h:79
Array2DSlice(ArrayND< T > &)
Definition: arrayndslice.h:204
Array2D ( Subclass of ArrayND ) is a two dimensional array.
Definition: arraynd.h:131
~Array1DSlice()
Definition: arrayndslice.h:129
Subclass of Array2D and ArrayNDSliceBase.
Definition: arrayndslice.h:88
bool isSettable() const
Definition: arrayndslice.h:134
const ArrayNDInfo & sourceinfo_
Definition: arrayndslice.h:47
Interface to a series of values.
Definition: odmemory.h:17
ArrayND< T > & source_
Definition: arrayndslice.h:78
const ValueSeries< T > * getStorage_() const
Definition: arrayndslice.h:175
Contains the information about the size of Array2D, and in what order the data is stored (if accessab...
Definition: arrayndinfo.h:95
T get(int, int) const
Definition: arrayndslice.h:244
void set(int, int, T)
Definition: arrayndslice.h:232
#define mAllocVarLenArr(type, varnm, __size)
Definition: varlenarray.h:54
bool writable_
Definition: arrayndslice.h:102
ArrayND< T > & source_
Definition: arrayndslice.h:104
An ArrayND is an array with a given number of dimensions and a size.
Definition: arraynd.h:33
bool isSettable() const
Definition: arrayndslice.h:227
~Array2DSlice()
Definition: arrayndslice.h:222
size_type size() const
Definition: typeset.h:254
ValueSeries< T > * clone() const
Definition: arrayndslice.h:158
const Array1DInfo & info() const
Definition: arrayndslice.h:170
Implementation of Array1DInfo.
Definition: arrayndinfo.h:140
OffsetValueSeries< T > * storage_
Definition: arrayndslice.h:105
ArrayNDInfo & info_
Definition: arrayndslice.h:46
Implementation of Array2DInfo.
Definition: arrayndinfo.h:166
TypeSet< int > position_
Definition: arrayndslice.h:50
T get(int) const
Definition: arrayndslice.h:149
Base class of Array1DSlice and Array2DSlice. Access-tool to another ArrayND with higher dimensionalit...
Definition: arrayndslice.h:32
TypeSet< int > vardim_
Definition: arrayndslice.h:49
#define mClass(module)
Definition: commondefs.h:164
void set(int, T)
Definition: arrayndslice.h:139