#include <array.h>
Public Types | |
using | CollectionType = COLLECTION_TYPE |
using | Type = typename InheritConst< TYPE, COLLECTION_TYPE >::type |
Public Member Functions | |
IteratorTemplate (CollectionType &a) | |
IteratorTemplate (CollectionType &a, Int start) | |
IteratorTemplate (const IteratorTemplate &src)=default | |
IteratorTemplate () | |
MAXON_OPERATOR_COPY_ASSIGNMENT (IteratorTemplate) | |
operator IteratorTemplate< const COLLECTION_TYPE > & () | |
Type & | operator* () const |
Type * | operator-> () const |
Bool | operator== (const IteratorTemplate &b) const |
Bool | operator< (const IteratorTemplate &b) const |
MAXON_OPERATOR_COMPARISON (IteratorTemplate) | |
IteratorTemplate & | operator++ () |
IteratorTemplate | operator++ (int) |
IteratorTemplate & | operator+= (Int i) |
IteratorTemplate & | operator-- () |
IteratorTemplate | operator-- (int) |
IteratorTemplate & | operator-= (Int i) |
IteratorTemplate | operator+ (Int i) const |
IteratorTemplate | operator- (Int i) const |
Int | operator- (const IteratorTemplate &b) const |
Int | GetIndex () const |
Int | GetBlock (StridedBlock< Type > &block) const |
Int | GetBlock (Block< Type, false > &block) const |
Type * | FetchNonStridedBlock (Int count=1) |
Private Member Functions | |
void | ValidateBlock (Bool check) |
Int | GetStride () const |
Private Attributes | |
CollectionType * | _array |
Type * | _ptr |
Int | _index |
Int | _stride |
Int | _blockStartIndex |
Int | _blockEndIndex |
using CollectionType = COLLECTION_TYPE |
using Type = typename InheritConst<TYPE, COLLECTION_TYPE>::type |
|
explicit |
|
explicit |
|
default |
IteratorTemplate | ( | ) |
MAXON_OPERATOR_COPY_ASSIGNMENT | ( | IteratorTemplate< COLLECTION_TYPE > | ) |
operator IteratorTemplate< const COLLECTION_TYPE > & | ( | ) |
Type& operator* | ( | ) | const |
Type* operator-> | ( | ) | const |
Bool operator== | ( | const IteratorTemplate< COLLECTION_TYPE > & | b | ) | const |
Bool operator< | ( | const IteratorTemplate< COLLECTION_TYPE > & | b | ) | const |
MAXON_OPERATOR_COMPARISON | ( | IteratorTemplate< COLLECTION_TYPE > | ) |
IteratorTemplate& operator++ | ( | ) |
IteratorTemplate operator++ | ( | int | ) |
IteratorTemplate& operator+= | ( | Int | i | ) |
IteratorTemplate& operator-- | ( | ) |
IteratorTemplate operator-- | ( | int | ) |
IteratorTemplate& operator-= | ( | Int | i | ) |
IteratorTemplate operator+ | ( | Int | i | ) | const |
IteratorTemplate operator- | ( | Int | i | ) | const |
Int operator- | ( | const IteratorTemplate< COLLECTION_TYPE > & | b | ) | const |
Int GetIndex | ( | ) | const |
Int GetBlock | ( | StridedBlock< Type > & | block | ) | const |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |