STL compatible iterator for HashMap. More...
Public Member Functions | |
Entry & | operator* () const noexcept |
Get a reference to the Entry indexed by the iterator. | |
Entry * | operator-> () const noexcept |
Get a pointer to the Entry indexed by the const_iterator. | |
Public Member Functions inherited from Burger::HashMap< T, U >::const_iterator | |
const Entry & | operator* () const noexcept |
Get a reference to the Entry indexed by the const_iterator. | |
const Entry * | operator-> () const noexcept |
Get a pointer to the Entry indexed by the const_iterator. | |
Public Member Functions inherited from Burger::HashMapShared::const_iterator | |
uint_t | IsEnd (void) const noexcept |
Is the iterator at the end of the array? | |
const Entry * | GetPtr (void) const noexcept |
Get the Entry pointer. | |
const Entry & | operator* () const noexcept |
Get the Entry reference. | |
const Entry * | operator-> () const noexcept |
Get the Entry pointer. | |
void | operator++ () noexcept |
Increment the iterator to the next valid entry. | |
uint_t | operator== (const const_iterator &it) const noexcept |
Test for equality between iterators. | |
uint_t | operator!= (const const_iterator &it) const noexcept |
Test for inequality between iterators. | |
Private Member Functions | |
iterator (HashMapShared *pParent, uintptr_t uIndex) noexcept | |
Friends | |
class | HashMap< T, U > |
Additional Inherited Members | |
Protected Member Functions inherited from Burger::HashMapShared::const_iterator | |
const_iterator (const HashMapShared *pParent, uintptr_t uIndex) noexcept | |
Base class constructor. | |
Protected Attributes inherited from Burger::HashMapShared::const_iterator | |
const HashMapShared * | m_pParent |
Pointer to the parent class instance. | |
uintptr_t | m_uIndex |
Last accessed index. | |
STL compatible iterator for HashMap.
To allow STL functionality, this class allow iteration over the entire hash.
|
inlineprivatenoexcept |
|
inlinenoexcept |
Get a reference to the Entry indexed by the iterator.
|
inlinenoexcept |
Get a pointer to the Entry indexed by the const_iterator.
|
friend |