|
|
| EZ_DECLARE_POD_TYPE () |
| |
|
EZ_ALWAYS_INLINE | IteratorBase () |
| | Constructs an invalid iterator.
|
| |
|
EZ_ALWAYS_INLINE bool | IsValid () const |
| | Checks whether this iterator points to a valid element.
|
| |
|
EZ_ALWAYS_INLINE bool | operator== (const typename ezSetBase< KeyType, Comparer >::IteratorBase< REVERSE > &it2) const |
| | Checks whether the two iterators point to the same element.
|
| |
|
| EZ_ADD_DEFAULT_OPERATOR_NOTEQUAL (const typename ezSetBase< KeyType, Comparer >::IteratorBase< REVERSE > &) |
| |
|
EZ_FORCE_INLINE const KeyType & | Key () const |
| | Returns the 'key' of the element that this iterator points to.
|
| |
|
EZ_ALWAYS_INLINE const KeyType & | operator* () const |
| | Returns the 'key' of the element that this iterator points to.
|
| |
|
void | Next () |
| | Advances the iterator to the next element in the set. The iterator will not be valid anymore, if the end is reached.
|
| |
|
void | Prev () |
| | Advances the iterator to the previous element in the set. The iterator will not be valid anymore, if the end is reached.
|
| |
|
EZ_ALWAYS_INLINE void | operator++ () |
| | Shorthand for 'Next'.
|
| |
|
EZ_ALWAYS_INLINE void | operator-- () |
| | Shorthand for 'Prev'.
|
| |
template<typename KeyType, typename Comparer>
template<bool REVERSE>
struct ezSetBase< KeyType, Comparer >::IteratorBase< REVERSE >
Base class for all iterators.