StaticArrayInterface< TYPE >::IteratorTemplate< COLLECTION_TYPE > Class Template Reference
#include <array.h>
Public Types |
|
using | CollectionType = COLLECTION_TYPE |
using | 类型 = typename InheritConst < TYPE, COLLECTION_TYPE >::type |
公共成员函数 |
|
IteratorTemplate ( CollectionType &a) | |
IteratorTemplate ( CollectionType &a, Int start) | |
IteratorTemplate (const IteratorTemplate & src )=default | |
IteratorTemplate () | |
MAXON_OPERATOR_COPY_ASSIGNMENT ( IteratorTemplate ) | |
operator IteratorTemplate< const COLLECTION_TYPE > & () | |
类型 & | operator* () const |
类型 * | 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 < 类型 > &block) const |
Int | GetBlock ( Block < 类型 , false > &block) const |
类型 * | FetchNonStridedBlock ( Int count=1) |
私有成员函数 |
|
void | ValidateBlock ( Bool check) |
Int | GetStride () const |
Private Attributes |
|
CollectionType * | _array |
类型 * | _ptr |
Int | _index |
Int | _stride |
Int | _blockStartIndex |
Int | _blockEndIndex |
using CollectionType = COLLECTION_TYPE |
using 类型 = typename InheritConst <TYPE, COLLECTION_TYPE>::type |
|
explicit |
|
explicit |
|
default |
IteratorTemplate | ( | ) |
MAXON_OPERATOR_COPY_ASSIGNMENT | ( | IteratorTemplate < COLLECTION_TYPE > | ) |
operator IteratorTemplate < const COLLECTION_TYPE > & | ( | ) |
类型 & operator* | ( | ) | const |
类型 * 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 < 类型 > & | block | ) | const |
Int GetBlock | ( | Block < 类型 , false > & | block | ) | const |
类型 * FetchNonStridedBlock | ( | Int |
count
=
1
|
) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |