Classes | |
struct | ArSp::AllocRawPolicy< T, true > |
If elements are class type, allocate using placement new. More... | |
struct | ArSp::AllocRawPolicy< T, false > |
If element are not class type, just assign the address. More... | |
struct | ArSp::ReleaseRawPolicy< T, true > |
If elements are class type, invoke destructor on each element. More... | |
struct | ArSp::ReleaseRawPolicy< T, false > |
If elements are not class type, do nothing. More... | |
class | DefaultArrayAlloc |
Default allocator. More... | |
class | IndexerData |
Any rank and a zero-based subscript. More... | |
class | ArSp::IndexerData< Rank, CHRange > |
Any rank and a subscript range. More... | |
class | ArSp::IndexerData< 1, DimT > |
Rank 1 and a zero-based subscript (no data). More... | |
class | ArSp::IndexerData< 1, CHRange > |
Rank 1 and a subscript range. More... | |
class | RSIndexer |
Rank > 2 for zero-based subscripts and > 1 for subscript ranges. More... | |
class | ArSp::RSIndexer< 1, DimT > |
Specialization for Rank 1 (any type of subscript). More... | |
class | ArSp::RSIndexer< 2, USz_t > |
Full specialization for Rank 2 and zero-based subscripts. More... | |
class | CSIndexer |
Rank > 2 for zero-based subscripts and > 1 for subscript ranges. More... | |
class | ArSp::CSIndexer< 1, DimT > |
Specialization for Rank 1 (any type of subscript). More... | |
class | ArSp::CSIndexer< 2, USz_t > |
Full specialization for Rank 2 and zero-based subscripts. More... | |
struct | ArSp::ArTr< Rank, ArZeroRow > |
struct | ArSp::ArTr< Rank, ArZeroCol > |
struct | ArSp::ArTr< Rank, ArRangeRow > |
struct | ArSp::ArTr< Rank, ArRangeCol > |
class | NewArrayAlloc |
Allocator that only permits allocation by new. More... | |
class | ArrayOfMatrixAlloc |
Allocator for an array of matrices contiguous in memory. More... | |
Typedefs | |
typedef int | IIx_t |
typedef unsigned | USz_t |
Type of unsigned int for a size. | |
Functions | |
template<typename T> | |
USz_t | sizeOfDim (const T &dim) |
Get the size of a dimension. | |
template<> | |
USz_t | sizeOfDim< CHRange > (const CHRange &dim) |
typedef int ArSp::IIx_t |
Type of int for an index. Must be signed to allow for lower bounds != 0
typedef unsigned ArSp::USz_t |
Type of unsigned int for a size.
USz_t ArSp::sizeOfDim | ( | const T & | dim | ) | [inline] |
Get the size of a dimension.
Referenced by CHArray< T, Rank, ArConf, Alloc >::define(), ArSp::CSIndexer< Rank, DimT >::ixDefine(), ArSp::RSIndexer< Rank, DimT >::ixDefine(), and operator*().