HashMap< K, V, HASH, ENTRY_HANDLER, ALLOCATOR, MODE, INITIAL_CAPACITY, LOAD_FACTOR, ENTRY_ALLOCATOR >::MultiEntryIterator< CONSTITERATOR > Class Template Reference

#include <hashmap.h>

Inheritance diagram for HashMap< K, V, HASH, ENTRY_HANDLER, ALLOCATOR, MODE, INITIAL_CAPACITY, LOAD_FACTOR, ENTRY_ALLOCATOR >::MultiEntryIterator< CONSTITERATOR >:

Public Types

using EntryType = typename ConstIf< Entry, CONSTITERATOR >::type
 
- Public Types inherited from ForEachIterator< MultiEntryIterator< CONSTITERATOR > >
using IsForEachIterator = std::true_type
 

Public Member Functions

 MultiEntryIterator (EntryType *e)
 
 MultiEntryIterator (MultiEntryIterator &&src)
 
void operator++ ()
 
 operator Bool () const
 
EntryTypeoperator* () const
 
EntryTypeoperator-> () const
 
EntryTypeGetEntry () const
 
const K & GetKey () const
 
ConstIf< V, CONSTITERATOR >::typeGetValue () const
 
- Public Member Functions inherited from ForEachIterator< MultiEntryIterator< CONSTITERATOR > >
MAXON_ATTRIBUTE_FORCE_INLINE ForEachIterator (ARGS &&... args)
 
String ToString (const FormatStatement *formatStatement=nullptr)
 
MultiEntryIterator< CONSTITERATOR > & Find (const T &v)
 
Int FindIndex (const T &v)
 
MAXON_ATTRIBUTE_FORCE_INLINE Bool Contains (const T &v)
 
MAXON_ATTRIBUTE_FORCE_INLINE Wrapper begin ()
 

Private Attributes

EntryType_entry
 

Additional Inherited Members

- Static Public Member Functions inherited from ForEachIterator< MultiEntryIterator< CONSTITERATOR > >
static MAXON_ATTRIBUTE_FORCE_INLINE PRIVATE_MAXON_RBF_SENTINEL (Wrapper) end()
 

Member Typedef Documentation

◆ EntryType

using EntryType = typename ConstIf<Entry, CONSTITERATOR>::type

Constructor & Destructor Documentation

◆ MultiEntryIterator() [1/2]

MultiEntryIterator ( EntryType e)
explicit

◆ MultiEntryIterator() [2/2]

MultiEntryIterator ( MultiEntryIterator< CONSTITERATOR > &&  src)

Member Function Documentation

◆ operator++()

void operator++ ( )

◆ operator Bool()

operator Bool ( ) const
explicit

◆ operator*()

EntryType& operator* ( ) const

◆ operator->()

EntryType* operator-> ( ) const

◆ GetEntry()

EntryType& GetEntry ( ) const

◆ GetKey()

const K& GetKey ( ) const

◆ GetValue()

ConstIf<V, CONSTITERATOR>::type& GetValue ( ) const

Member Data Documentation

◆ _entry

EntryType* _entry
private