STL compatible constant iterator for HashMap. More...
Public Member Functions | |
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 | |
const_iterator (const HashMapShared *pParent, uintptr_t uIndex) noexcept | |
Standard constructor. | |
Friends | |
class | HashMap< T, U > |
class | iterator |
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 constant iterator for HashMap.
To allow STL functionality, this class allow iteration over the entire hash.
|
inlineprivatenoexcept |
Standard constructor.
This private function is used to create the const_iterator for returning to applications.
|
inlinenoexcept |
Get a reference to the Entry indexed by the const_iterator.
|
inlinenoexcept |
Get a pointer to the Entry indexed by the const_iterator.
|
friend |
|
friend |