CNORXZ
Container with Native Operation Routines and Expressions
|
#include <slice.h>
Public Types | |
typedef CArrayBase< T > | AB |
typedef AB::const_iterator | const_iterator |
Public Types inherited from CNORXZ::ArrayBase< T > | |
typedef CArrayBase< T > | CAB |
typedef CAB::const_iterator | const_iterator |
typedef BIndex< T > | iterator |
Public Types inherited from CNORXZ::CArrayBase< T > | |
typedef AIndex< T > | const_iterator |
Protected Member Functions | |
virtual bool | formatIsTrivial () const override final |
Protected Member Functions inherited from CNORXZ::ArrayBase< T > | |
template<class Acc > | |
iterator | itLex (const Acc &acc) |
template<class Acc > | |
iterator | itLexSave (const Acc &acc) |
Protected Member Functions inherited from CNORXZ::CArrayBase< T > | |
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 |
Additional Inherited Members | |
Protected Attributes inherited from CNORXZ::CArrayBase< T > | |
RangePtr | mRange |
possibly partial view on the data of another container
T | data type |
typedef CArrayBase<T> CNORXZ::Slice< T >::AB |
typedef AB::const_iterator CNORXZ::Slice< T >::const_iterator |
CNORXZ::Slice< T >::Slice | ( | const RangePtr & | range, |
ArrayBase< T > * | parent, | ||
const YFormat & | blockSizes, | ||
SizeT | off ) |
create slice from an array
range | the slice's container range |
parent | the original container |
blockSizes | the format of the slice |
off | the initial pointer position w.r.t. the original initial position |
Definition at line 71 of file slice.cc.h.
|
overridevirtual |
get index pointing to first position
Reimplemented from CNORXZ::ArrayBase< T >.
Definition at line 92 of file slice.cc.h.
|
overridevirtual |
get index pointing to position after last position
Reimplemented from CNORXZ::ArrayBase< T >.
Definition at line 98 of file slice.cc.h.
get pointer to container data
Reimplemented from CNORXZ::ArrayBase< T >.
Definition at line 86 of file slice.cc.h.
|
overridevirtual |
get pointer to container data read/write access
Implements CNORXZ::ArrayBase< T >.
Definition at line 80 of file slice.cc.h.
default constructors and assignments
|
finaloverrideprotectedvirtual |
check if format is trivial
Implements CNORXZ::CArrayBase< T >.
Definition at line 114 of file slice.cc.h.
|
finaloverridevirtual |
check if container views the data, i.e. it does not own it
Implements CNORXZ::CArrayBase< T >.
Definition at line 104 of file slice.cc.h.