Crazy Eddies GUI System
0.7.2
|
Base class constant iterator used to offer iteration over various collections within the system. More...
Public Types | |
typedef T::mapped_type | mapped_type |
Public Member Functions | |
ConstBaseIterator (typename T::const_iterator start_iter, typename T::const_iterator end_iter) | |
ConstBaseIterator constructor. More... | |
~ConstBaseIterator (void) | |
ConstBaseIterator destructor. | |
ConstBaseIterator (const ConstBaseIterator< T > &org) | |
ConstBaseIterator copy constructor. | |
ConstBaseIterator< T > & | operator= (const ConstBaseIterator< T > &rhs) |
ConstBaseIterator assignment operator. | |
T::key_type | getCurrentKey (void) const |
Return the key for the item at the current iterator position. | |
mapped_type | getCurrentValue (void) const |
Return the value for the item at the current iterator position. | |
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. | |
ConstBaseIterator< T > & | operator++ () |
Increase the iterator position (prefix increment). More... | |
ConstBaseIterator< T > | operator++ (int) |
Increase the iterator position (postfix increment). More... | |
ConstBaseIterator< T > & | operator-- () |
Decrease the iterator position (prefix decrement). More... | |
ConstBaseIterator< T > | operator-- (int) |
Decrease the iterator position (postfix decrement). More... | |
bool | operator== (const ConstBaseIterator< T > &rhs) const |
Compares two iterators. Return true if the current position of both iterators are equivalent. | |
bool | operator!= (const ConstBaseIterator< T > &rhs) const |
Compares two iterators. Return true if the current position of the iterators are different. | |
mapped_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. | |
Base class constant iterator used to offer iteration over various collections within the system.
|
inline |
ConstBaseIterator constructor.
start_iter | 'real' iterator that will be the start of the range to be iterated over by this iterator. |
end_iter | 'real' iterator that will be the end of the range to be iterated over by this iterator. |
|
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).