CNORXZ
Container with Native Operation Routines and Expressions
|
#include <array_base.h>
Public Types | |
typedef AIndex< T > | const_iterator |
Protected Member Functions | |
template<class Acc > | |
const_iterator | itLex (const Acc &acc) const |
template<class Acc > | |
const_iterator | itLexSave (const Acc &acc) const |
template<class Acc > | |
void | checkFormatCompatibility (const Acc &acc) const |
virtual bool | formatIsTrivial () const =0 |
Protected Attributes | |
RangePtr | mRange |
Abstract container base class only read access to the data
T | data type |
Definition at line 33 of file array_base.h.
Definition at line 36 of file array_base.h.
|
virtualdefault |
default destructor
const data element access performs compatibility checks
i | index pack |
Definition at line 79 of file array_base.cc.h.
const T & CNORXZ::CArrayBase< T >::at | ( | const IndexInterface< I, M > & | i | ) | const |
const data element access performs compatibility checks
I | index type |
M | meta data type |
i | index |
Definition at line 44 of file array_base.cc.h.
const T & CNORXZ::CArrayBase< T >::at | ( | const SPack< Indices... > & | pack | ) | const |
const data element access performs compatibility checks
I | index type |
M | meta data type |
i | static index pack |
Definition at line 65 of file array_base.cc.h.
|
virtual |
get index pointing to first position
Reimplemented in CNORXZ::ArrayBase< T >, CNORXZ::ArrayBase< ContentPtr >, CNORXZ::ArrayBase< hid_t >, and CNORXZ::ArrayBase< SizeT >.
Definition at line 108 of file array_base.cc.h.
|
pure virtual |
get index pointing to first position
Implemented in CNORXZ::ArrayBase< ContentPtr >, CNORXZ::ArrayBase< hid_t >, CNORXZ::ArrayBase< SizeT >, CNORXZ::MArray< T >, CNORXZ::MArray< ContentPtr >, CNORXZ::MArray< hid_t >, CNORXZ::MArray< SizeT >, CNORXZ::CSlice< T >, CNORXZ::Slice< T >, and CNORXZ::ArrayBase< T >.
|
pure virtual |
get index pointing to position after last position
Implemented in CNORXZ::ArrayBase< ContentPtr >, CNORXZ::ArrayBase< hid_t >, CNORXZ::ArrayBase< SizeT >, CNORXZ::MArray< T >, CNORXZ::MArray< ContentPtr >, CNORXZ::MArray< hid_t >, CNORXZ::MArray< SizeT >, CNORXZ::CSlice< T >, CNORXZ::Slice< T >, and CNORXZ::ArrayBase< T >.
|
protected |
Perform compatibility checks
Acc | index type or index pack type |
acc | index or index pack. |
Definition at line 190 of file array_base.cc.h.
get pointer to container data
Implemented in CNORXZ::ArrayBase< ContentPtr >, CNORXZ::ArrayBase< hid_t >, CNORXZ::ArrayBase< SizeT >, CNORXZ::MArray< T >, CNORXZ::MArray< ContentPtr >, CNORXZ::MArray< hid_t >, CNORXZ::MArray< SizeT >, CNORXZ::CSlice< T >, CNORXZ::Slice< T >, and CNORXZ::ArrayBase< T >.
CNORXZ::CArrayBase< T >::DEFAULT_MEMBERS | ( | CArrayBase< T > | ) |
const iterator type default constructors and assignments
|
virtual |
get index pointing to position after last position
Reimplemented in CNORXZ::ArrayBase< T >, CNORXZ::ArrayBase< ContentPtr >, CNORXZ::ArrayBase< hid_t >, and CNORXZ::ArrayBase< SizeT >.
Definition at line 114 of file array_base.cc.h.
|
protectedpure virtual |
check if format is trivial
Implemented in CNORXZ::MArray< T >, CNORXZ::MArray< ContentPtr >, CNORXZ::MArray< hid_t >, CNORXZ::MArray< SizeT >, CNORXZ::CSlice< T >, and CNORXZ::Slice< T >.
check if container views the data, i.e. it does not own it
Implemented in CNORXZ::MArray< T >, CNORXZ::MArray< ContentPtr >, CNORXZ::MArray< hid_t >, CNORXZ::MArray< SizeT >, CNORXZ::CSlice< T >, and CNORXZ::Slice< T >.
|
protected |
Get valid data index. Create well-formated index from index pack (unformatted) or index using trivial format.
Acc | index type or index pack type |
acc | index or index pack |
Definition at line 174 of file array_base.cc.h.
|
protected |
Get valid data index. Create well-formated index from index pack (unformatted) or index using trivial format. Perform compatibility checks.
Acc | index type or index pack type |
acc | index or index pack |
Definition at line 181 of file array_base.cc.h.
|
inline |
create operation on this container
pack | pack of operation index |
Definition at line 163 of file array_base.cc.h.
|
inline |
create operation on this container
Indices | types of operation indices |
pack | pack of operation index |
Definition at line 157 of file array_base.cc.h.
COpRoot< T, Index > CNORXZ::CArrayBase< T >::operator() | ( | const Sptr< Index > & | i | ) | const |
create operation on this container
Index | type of operation index |
i | operation index |
Definition at line 121 of file array_base.cc.h.
const T & CNORXZ::CArrayBase< T >::operator[] | ( | const DPack & | pack | ) | const |
const T & CNORXZ::CArrayBase< T >::operator[] | ( | const IndexInterface< I, M > & | i | ) | const |
const data element access
I | index type |
M | meta data type |
i | index |
Definition at line 31 of file array_base.cc.h.
const T & CNORXZ::CArrayBase< T >::operator[] | ( | const SPack< Indices... > & | pack | ) | const |
const data element access
I | index type |
M | meta data type |
pack | static index pack |
Definition at line 52 of file array_base.cc.h.
|
virtual |
get container range
Definition at line 102 of file array_base.cc.h.
|
virtual |
get number of elements in the container
Definition at line 96 of file array_base.cc.h.
Sptr< CArrayBase< T > > CNORXZ::CArrayBase< T >::sl | ( | const IndexInterface< I, M > & | begin, |
const IndexInterface< I, M > & | end ) const |
create hypercubic slice from this container
I | type of index used to indicate slice edges |
M | index meta type |
begin | begin edge |
end | end edge |
Definition at line 87 of file array_base.cc.h.
|
protected |
the container range
Definition at line 147 of file array_base.h.