Crazy Eddie's GUI System
0.8.1
|
iterator for vectors More...
Public Member Functions | |
ConstVectorIterator (typename T::const_iterator start_iter, typename T::const_iterator end_iter) | |
ConstBaseIterator< T >::value_type | getCurrentValue () const |
Return the value for the item at the current iterator position. | |
ConstVectorIterator< T > & | operator++ () |
Increase the iterator position (prefix increment). More... | |
ConstVectorIterator< T > & | operator-- () |
Decrease the iterator position (prefix decrement). More... | |
ConstVectorIterator< T > | operator++ (int) |
Increase the iterator position (postfix increment). More... | |
ConstVectorIterator< T > | operator-- (int) |
Decrease the iterator position (postfix decrement). More... | |
Public Member Functions inherited from CEGUI::ConstBaseIterator< T > | |
ConstBaseIterator (typename T::const_iterator start_iter, typename T::const_iterator end_iter) | |
ConstBaseIterator constructor. More... | |
ConstBaseIterator (const ConstBaseIterator< T, typename T::value_type > &org) | |
ConstBaseIterator copy constructor. | |
virtual | ~ConstBaseIterator (void) |
ConstBaseIterator destructor. | |
ConstBaseIterator< T, typename T::value_type > & | operator= (const ConstBaseIterator< T, typename T::value_type > &rhs) |
ConstBaseIterator assignment operator. | |
bool | isAtEnd (void) const |
Return whether the current iterator position is at the end of the iterators range. | |
bool | isAtStart (void) const |
Return whether the current iterator position is at the start of the iterators range. | |
bool | operator== (const ConstBaseIterator< T, typename T::value_type > &rhs) const |
Compares two iterators. Return true if the current position of both iterators are equivalent. | |
bool | operator!= (const ConstBaseIterator< T, typename T::value_type > &rhs) const |
Compares two iterators. Return true if the current position of the iterators are different. | |
value_type | operator* () const |
Return the value for the current iterator position. | |
void | toStart (void) |
Set the iterator current position to the start position. | |
void | toEnd (void) |
Set the iterator current position to the end position. | |
Additional Inherited Members | |
Public Types inherited from CEGUI::ConstBaseIterator< T > | |
typedef typename T::value_type | value_type |
Protected Attributes inherited from CEGUI::ConstBaseIterator< T > | |
T::const_iterator | d_currIter |
'real' iterator describing the current position within the collection. | |
T::const_iterator | d_startIter |
'real' iterator describing the start position within the collection (or what we were told was the start). | |
T::const_iterator | d_endIter |
'real' iterator describing the end position within the collection (or what we were told was the end). | |
iterator for vectors
|
inline |
Increase the iterator position (prefix increment).
|
inline |
Increase the iterator position (postfix increment).
|
inline |
Decrease the iterator position (prefix decrement).
|
inline |
Decrease the iterator position (postfix decrement).