access-tool to another ArrayND with higher dimensionality. More...
Public Member Functions | |
| Array1DSlice (ArrayND< T > &) | |
| Array1DSlice (const ArrayND< T > &) | |
| ~Array1DSlice () | |
| ValueSeries< T > * | clone () const |
| T | get (int) const |
| void | set (int, T) |
| const Array1DInfo & | 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.
| Array1DSlice< T >::Array1DSlice | ( | ArrayND< T > & | source | ) | [inline] |
| Array1DSlice< T >::Array1DSlice | ( | const ArrayND< T > & | source | ) | [inline] |
| Array1DSlice< T >::~Array1DSlice | ( | ) | [inline] |
| ValueSeries< T > * Array1DSlice< T >::clone | ( | ) | const [inline] |
| T Array1DSlice< T >::get | ( | int | pos | ) | const [inline] |
| const ValueSeries< T > * Array1DSlice< T >::getStorage_ | ( | ) | const [inline, protected] |
| const Array1DInfo & Array1DSlice< T >::info | ( | ) | const [inline] |
| bool Array1DSlice< T >::isSettable | ( | ) | const [inline] |
| void Array1DSlice< T >::set | ( | int | pos, | |
| T | val | |||
| ) | [inline] |
ArrayND<T>& Array1DSlice< T >::source_ [protected] |
OffsetValueSeries<T>* Array1DSlice< T >::storage_ [mutable, protected] |
bool Array1DSlice< T >::writable_ [protected] |
1.7.1