Defines common interface for variables that are arrays.
Definition: wmarraybase.h:24
WmIndexer< MAJOR_ORDER_TYPE > _indexer
Indexer assists finding linear position of array elements.
Definition: wmarraybase.h:92
WmArrayBase< MAJOR_ORDER_TYPE > & operator=(const WmArrayBase< MAJOR_ORDER_TYPE > &that)
Assignment operator duplicates the array geometry properties of right hand side one.
Definition: wmarraybase.h:66
~WmArrayBase()
Delete object which only describes the array geometry, no array allocation is deleted.
Definition: wmarraybase.h:85
WmArrayBase(const WmArrayBase< MAJOR_ORDER_TYPE > &that)
Copy constructor duplicates the array geometry properties of original one.
Definition: wmarraybase.h:54
unsigned rank() const
Rank of array.
Definition: wmarraybase.h:114
WmArrayBase()
Default ctor does not set up array geometry initially, this must be done later.
Definition: wmarraybase.h:35
void setRange(const WxRange &range)
Array spanning given range object.
Definition: wmarraybase.h:104
const WxRange & range() const
Definition: wmarraybase.h:26
WmArrayBase(const WxRange &range)
Array spanning given range object.
Definition: wmarraybase.h:44
static const int max_dims
Definition: wmarraybase.h:120
WxRange _range
Range covered by this array.
Definition: wmarraybase.h:97
template<typename T> class WxArray;
Definition: wmindexer.h:28
unsigned ndims() const
Dimensionality of box.
Definition: wxbox.h:113
WxRange represents a hyper-rectangular domain of an n-dimensional space of integers.
Definition: wxrange.h:23