![]() |
XII Release 0.1.0
|
Const iterator. More...
#include <HashSet.h>
Public Member Functions | |
| bool | IsValid () const |
| Checks whether this iterator points to a valid element. | |
| bool | operator== (const typename xiiHashSetBase< KeyType, Hasher >::ConstIterator &rhs) const |
| Checks whether the two iterators point to the same element. | |
| const KeyType & | Key () const |
| Returns the 'key' of the element that this iterator points to. | |
| XII_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 map. The iterator will not be valid anymore, if the end is reached. | |
| void | operator++ () |
| Shorthand for 'Next'. | |
Protected Member Functions | |
| ConstIterator (const xiiHashSetBase< KeyType, Hasher > &hashSet) | |
| void | SetToBegin () |
| void | SetToEnd () |
Protected Attributes | |
| const xiiHashSetBase< KeyType, Hasher > * | m_pHashSet = nullptr |
| xiiUInt32 | m_uiCurrentIndex = 0 |
| xiiUInt32 | m_uiCurrentCount = 0 |
Friends | |
| class | xiiHashSetBase< KeyType, Hasher > |
Const iterator.