access-tool to another ArrayND with higher dimensionality. More...
Public Member Functions | |
| Array2DSlice (ArrayND< T > &) | |
| Array2DSlice (const ArrayND< T > &) | |
| ~Array2DSlice () | |
| T | get (int, int) const |
| void | set (int, int, T) |
| const Array2DInfo & | info () const |
| bool | isSettable () const |
Protected Member Functions | |
| const ValueSeries< T > * | getStorage_ () const |
Protected Attributes | |
| bool | writable_ |
| ArrayND< T > & | source_ |
| OffsetValueSeries< T > * | storage_ |
access-tool to another ArrayND with higher dimensionality.
ArrayXDSlice is an ArrayND that is an access-tool to another ArrayND with higher dimensionality. It can be used to get Array1D through a Array3D cube. Use setPos(int,int) to set the fixed positions and leave out the positions that should vary. When all positions are set, call init().
To unset a position, set it to -1. If positions are unset, init has to be called prior to dataaccesing functions.
| Array2DSlice< T >::Array2DSlice | ( | ArrayND< T > & | source | ) | [inline] |
| Array2DSlice< T >::Array2DSlice | ( | const ArrayND< T > & | source | ) | [inline] |
| Array2DSlice< T >::~Array2DSlice | ( | ) | [inline] |
| T Array2DSlice< T >::get | ( | int | pos0, | |
| int | pos1 | |||
| ) | const [inline] |
| const ValueSeries< T > * Array2DSlice< T >::getStorage_ | ( | ) | const [inline, protected] |
| const Array2DInfo & Array2DSlice< T >::info | ( | ) | const [inline] |
| bool Array2DSlice< T >::isSettable | ( | ) | const [inline] |
| void Array2DSlice< T >::set | ( | int | pos0, | |
| int | pos1, | |||
| T | val | |||
| ) | [inline] |
ArrayND<T>& Array2DSlice< T >::source_ [protected] |
OffsetValueSeries<T>* Array2DSlice< T >::storage_ [mutable, protected] |
bool Array2DSlice< T >::writable_ [protected] |
1.7.1