|
ACF $AcfVersion:0$
|
#include <TArray.h>
Public Types | |
| typedef TIndex< Dimensions > | BaseClass |
Public Types inherited from istd::TIndex< Dimensions > | |
| enum | { DIMENSIONS = Dimensions } |
| typedef int | IndexType |
| typedef int * | Iterator |
Public Member Functions | |
| Iterator (const Iterator &iterator) | |
| Element & | operator* () |
| const Element & | operator* () const |
| Element * | operator-> () |
| const Element * | operator-> () const |
| Iterator & | operator++ () |
| Iterator | operator++ (int) |
| Iterator & | operator-- () |
| Iterator | operator-- (int) |
| Iterator & | operator= (const Iterator &iterator) |
| bool | operator== (const Iterator &iterator) const |
| bool | operator!= (const Iterator &iterator) const |
Public Member Functions inherited from istd::TIndex< Dimensions > | |
| TIndex () | |
| Default constructor with initialization of member to 0. | |
| TIndex (int value) | |
| Constructor initializing all members to specified value. | |
| TIndex (const TIndex &index) | |
| Copy constructor. | |
| bool | IsValid () const |
| Check if this index is valid. | |
| bool | IsZero () const |
| Check if this index point at zero element. | |
| bool | IsSizeEmpty () const |
| Check if this index interpreted as size is empty. | |
| void | Reset () |
| Reset this object. | |
| void | Clear () |
| Set all components to 0. | |
| bool | IsDimensionsCountFixed () const |
| Check, if number dimensions is fixed. | |
| int | GetDimensionsCount () const |
| Get number of dimensions of this index. | |
| bool | SetDimensionsCount (int count) const |
| Set number of dimensions of this index. | |
| int | GetAt (int index) const |
| Get element stored at specified index. | |
| void | SetAt (int index, int value) |
| Set element at specified index. | |
| void | SetAllTo (int value) |
| Set all components to specified value. | |
| bool | IncreaseAt (int index) |
| Increase single component at specified position. | |
| bool | DecreaseAt (int index) |
| Decrease single component at specified position. | |
| bool | IsInside (const TIndex &boundaries) const |
| Check if index is inside boundaries. | |
| bool | Increase (const TIndex &boundaries) |
| Increase this index inside the boundaries. | |
| bool | Decrease (const TIndex &boundaries) |
| Decrease this index inside the boundaries. | |
| int | GetProductVolume () const |
| Get total number of elements if this index is treated as size. | |
| int | GetIterationIndex (const TIndex &boundaries) const |
| Get index of iteration from zero to current index inside some boundaries. | |
| Iterator | Begin () const |
| Get begin value of element access iterator. | |
| Iterator | End () const |
| Get end value of element access iterator. | |
| int | operator[] (int index) const |
| int & | operator[] (int index) |
| bool | operator== (const TIndex &index) const |
| bool | operator!= (const TIndex &index) const |
| TIndex | operator+ (const TIndex &index) const |
| TIndex & | operator+= (const TIndex &index) |
| TIndex | operator- (const TIndex &index) const |
| TIndex & | operator-= (const TIndex &index) |
| TIndex & | operator= (const TIndex &index)=default |
Protected Member Functions | |
| Iterator (TArray *arrayPtr) | |
Friends | |
| class | TArray< Element, Dimensions > |
Additional Inherited Members | |
Static Public Member Functions inherited from istd::TIndex< Dimensions > | |
| static const TIndex< Dimensions > & | GetZero () |
| Get global instance of zero index. | |
| static const TIndex< Dimensions > & | GetInvalid () |
| Get global instance of invalid index. | |
| typedef TIndex<Dimensions> istd::TArray< Element, Dimensions >::Iterator::BaseClass |
| istd::TArray< Element, Dimensions >::Iterator::Iterator | ( | const Iterator & | iterator | ) |
|
protected |
Definition at line 561 of file TArray.h.
References istd::TArray< Element, Dimensions >::GetSizes(), and NULL.
| bool istd::TArray< Element, Dimensions >::Iterator::operator!= | ( | const Iterator & | iterator | ) | const |
Definition at line 552 of file TArray.h.
References istd::TArray< Element, Dimensions >::operator==().
| Element & istd::TArray< Element, Dimensions >::Iterator::operator* | ( | ) |
| const Element & istd::TArray< Element, Dimensions >::Iterator::operator* | ( | ) | const |
| TArray< Element, Dimensions >::Iterator & istd::TArray< Element, Dimensions >::Iterator::operator++ | ( | ) |
| TArray< Element, Dimensions >::Iterator istd::TArray< Element, Dimensions >::Iterator::operator++ | ( | int | ) |
| TArray< Element, Dimensions >::Iterator & istd::TArray< Element, Dimensions >::Iterator::operator-- | ( | ) |
| TArray< Element, Dimensions >::Iterator istd::TArray< Element, Dimensions >::Iterator::operator-- | ( | int | ) |
| Element * istd::TArray< Element, Dimensions >::Iterator::operator-> | ( | ) |
| const Element * istd::TArray< Element, Dimensions >::Iterator::operator-> | ( | ) | const |
| TArray< Element, Dimensions >::Iterator & istd::TArray< Element, Dimensions >::Iterator::operator= | ( | const Iterator & | iterator | ) |
| bool istd::TArray< Element, Dimensions >::Iterator::operator== | ( | const Iterator & | iterator | ) | const |
|
friend |