|
ACF $AcfVersion:0$
|
#include <TVarArray.h>
Public Types | |
| typedef CVarIndex | BaseClass |
Public Types inherited from istd::CVarIndex | |
| typedef int | IndexType |
| typedef QVector< int > | Elements |
| typedef Elements::iterator | 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::CVarIndex | |
| CVarIndex () | |
| Default constructor without member initialization. | |
| CVarIndex (int size, int value=0) | |
| Constructor initializing all member to specified value. | |
| CVarIndex (const CVarIndex &index) | |
| Copy constructor. | |
| CVarIndex (const std::vector< IndexType > &values) | |
| Construct index from std::vector. | |
| CVarIndex (const Elements &values) | |
| Construct index from QVector. | |
| template<int Dimensions> | |
| CVarIndex (const TIndex< Dimensions > index) | |
| Convert fixed-size index to this object. | |
| std::vector< int > | ToStdVector () const |
| bool | IsValid () const |
| Check if tihs 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, int value=0) |
| 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 CVarIndex &boundaries) const |
| Check if index is inside boundaries. | |
| bool | Increase (const CVarIndex &boundaries) |
| Increase this index inside the boundaries. | |
| bool | Decrease (const CVarIndex &boundaries) |
| Decrese this index inside the boundaries. | |
| int | GetProductVolume () const |
| Get total number of elements if this index is treated as size. | |
| int | GetIterationIndex (const CVarIndex &boundaries) const |
| Get index of iteration from zero to current index inside some boundaries. | |
| int | GetMinDimensionsCount () const |
| Get minimal number of dimensions needed to to represent this index. | |
| istd::CVarIndex | GetExpanded (const istd::CVarIndex &other) const |
| Get the index expanded by another index. | |
| 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 |
| Get access to single index components. | |
| int & | operator[] (int index) |
| Get access to single index components. | |
| bool | operator== (const CVarIndex &index) const |
| bool | operator!= (const CVarIndex &index) const |
| bool | operator< (const CVarIndex &index) const |
| bool | operator> (const CVarIndex &index) const |
| bool | operator<= (const CVarIndex &index) const |
| bool | operator>= (const CVarIndex &index) const |
| CVarIndex & | operator= (const CVarIndex &index) |
| CVarIndex & | operator+= (const CVarIndex &index) |
| CVarIndex & | operator-= (const CVarIndex &index) |
Protected Member Functions | |
| Iterator (TVarArray *arrayPtr) | |
Friends | |
| class | TVarArray< Element > |
Definition at line 27 of file TVarArray.h.
| typedef CVarIndex istd::TVarArray< Element >::Iterator::BaseClass |
Definition at line 30 of file TVarArray.h.
| istd::TVarArray< Element >::Iterator::Iterator | ( | const Iterator & | iterator | ) |
Definition at line 369 of file TVarArray.h.
|
protected |
Definition at line 493 of file TVarArray.h.
References istd::TVarArray< Element >::GetSizes(), istd::CVarIndex::IsInside(), and NULL.
| bool istd::TVarArray< Element >::Iterator::operator!= | ( | const Iterator & | iterator | ) | const |
Definition at line 484 of file TVarArray.h.
| Element & istd::TVarArray< Element >::Iterator::operator* | ( | ) |
Definition at line 386 of file TVarArray.h.
References NULL.
| const Element & istd::TVarArray< Element >::Iterator::operator* | ( | ) | const |
Definition at line 376 of file TVarArray.h.
References NULL.
| TVarArray< Element >::Iterator & istd::TVarArray< Element >::Iterator::operator++ | ( | ) |
Definition at line 416 of file TVarArray.h.
References NULL.
| TVarArray< Element >::Iterator istd::TVarArray< Element >::Iterator::operator++ | ( | int | ) |
Definition at line 427 of file TVarArray.h.
References NULL.
| TVarArray< Element >::Iterator & istd::TVarArray< Element >::Iterator::operator-- | ( | ) |
Definition at line 440 of file TVarArray.h.
References NULL.
| TVarArray< Element >::Iterator istd::TVarArray< Element >::Iterator::operator-- | ( | int | ) |
Definition at line 451 of file TVarArray.h.
References NULL.
| Element * istd::TVarArray< Element >::Iterator::operator-> | ( | ) |
Definition at line 406 of file TVarArray.h.
References NULL.
| const Element * istd::TVarArray< Element >::Iterator::operator-> | ( | ) | const |
Definition at line 396 of file TVarArray.h.
References NULL.
| TVarArray< Element >::Iterator & istd::TVarArray< Element >::Iterator::operator= | ( | const Iterator & | iterator | ) |
Definition at line 464 of file TVarArray.h.
| bool istd::TVarArray< Element >::Iterator::operator== | ( | const Iterator & | iterator | ) | const |
Definition at line 473 of file TVarArray.h.
References NULL.
|
friend |
Definition at line 49 of file TVarArray.h.