![]() |
Plasma Engine
2.0
|
Iterator with write access. More...
#include <HashTable.h>

Public Member Functions | |
| PL_DECLARE_POD_TYPE () | |
| PL_ALWAYS_INLINE | plHashTableBaseIterator (const plHashTableBaseIterator &rhs) |
| Creates a new iterator from another. | |
| PL_ALWAYS_INLINE void | operator= (const plHashTableBaseIterator &rhs) |
| Assigns one iterator no another. | |
| PL_FORCE_INLINE ValueType & | Value () |
| Returns the 'value' of the element that this iterator points to. | |
| PL_FORCE_INLINE ValueType & | Value () const |
| Returns the 'value' of the element that this iterator points to. | |
| PL_ALWAYS_INLINE plHashTableBaseIterator & | operator* () |
| Returns '*this' to enable foreach. | |
Public Member Functions inherited from plHashTableBaseConstIterator< KeyType, ValueType, Hasher > | |
| PL_DECLARE_POD_TYPE () | |
| bool | IsValid () const |
| Checks whether this iterator points to a valid element. | |
| bool | operator== (const plHashTableBaseConstIterator &rhs) const |
| Checks whether the two iterators point to the same element. | |
| PL_ADD_DEFAULT_OPERATOR_NOTEQUAL (const plHashTableBaseConstIterator &) | |
| const KeyType & | Key () const |
| Returns the 'key' of the element that this iterator points to. | |
| const ValueType & | Value () const |
| Returns the 'value' 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'. | |
| PL_ALWAYS_INLINE plHashTableBaseConstIterator & | operator* () |
| Returns '*this' to enable foreach. | |
Friends | |
| class | plHashTableBase< KeyType, ValueType, Hasher > |
Additional Inherited Members | |
Public Types inherited from plHashTableBaseConstIterator< KeyType, ValueType, Hasher > | |
| using | iterator_category = std::forward_iterator_tag |
| using | value_type = plHashTableBaseConstIterator |
| using | difference_type = std::ptrdiff_t |
| using | pointer = plHashTableBaseConstIterator* |
| using | reference = plHashTableBaseConstIterator& |
Protected Member Functions inherited from plHashTableBaseConstIterator< KeyType, ValueType, Hasher > | |
| plHashTableBaseConstIterator (const plHashTableBase< KeyType, ValueType, Hasher > &hashTable) | |
| void | SetToBegin () |
| void | SetToEnd () |
Protected Attributes inherited from plHashTableBaseConstIterator< KeyType, ValueType, Hasher > | |
| const plHashTableBase< KeyType, ValueType, Hasher > * | m_pHashTable = nullptr |
| plUInt32 | m_uiCurrentIndex = 0 |
| plUInt32 | m_uiCurrentCount = 0 |
Iterator with write access.