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

#include <hashmap.h>

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

Public Types

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

Public Member Functions

 operator Bool () const
 
EntryTypeGetEntry () const
 
const K & GetKey () const
 
ConstIf< V, CONSTITERATOR >::typeGetValue () const
 
EntryTypeoperator* () const
 
EntryTypeoperator-> () const
 
Bool operator== (const EntryIteratorBase &b) const
 
Bool operator!= (const EntryIteratorBase &b) const
 

Protected Member Functions

void MoveToNonEmptyBucket ()
 
void ValidateBucket ()
 
void ValidatePrev ()
 

Protected Attributes

EntryType_entry
 
CollectionType_map
 
Int _bucket
 
EntryType_prevEntry
 

Member Typedef Documentation

◆ CollectionType

using CollectionType = typename ConstIf<HashMap, CONSTITERATOR>::type

◆ EntryType

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

Member Function Documentation

◆ operator Bool()

operator Bool ( ) const
explicit

◆ GetEntry()

EntryType& GetEntry ( ) const

◆ GetKey()

const K& GetKey ( ) const

◆ GetValue()

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

◆ operator*()

EntryType& operator* ( ) const

◆ operator->()

EntryType* operator-> ( ) const

◆ operator==()

Bool operator== ( const EntryIteratorBase< CONSTITERATOR > &  b) const

◆ operator!=()

Bool operator!= ( const EntryIteratorBase< CONSTITERATOR > &  b) const

◆ MoveToNonEmptyBucket()

void MoveToNonEmptyBucket ( )
protected

◆ ValidateBucket()

void ValidateBucket ( )
protected

◆ ValidatePrev()

void ValidatePrev ( )
protected

Member Data Documentation

◆ _entry

EntryType* _entry
protected

◆ _map

CollectionType* _map
protected

◆ _bucket

Int _bucket
protected

◆ _prevEntry

EntryType* _prevEntry
protected