Dynalib Utils
Public Member Functions | List of all members
DynaMapIter< K, V > Class Template Reference

#include <DynaHashMap.h>

Public Member Functions

 DynaMapIter (const DynaHashMap< K, V > *map, int start)
 
int getIndex ()
 
bool hasNext ()
 
bool hasPrev ()
 
bool operator== (const DynaMapIter< K, V > &other) const
 
bool operator!= (const DynaMapIter< K, V > &other) const
 
MapEntry< K, V > * operator* () const
 
const DynaMapIter< K, V > & operator++ ()
 
const DynaMapIter< K, V > & operator-- ()
 

Detailed Description

template<typename K, typename V>
class DynaMapIter< K, V >

Template for Marker Object to mark "nullptr" entries and deleted entries

Template Parameters
K

Constructor & Destructor Documentation

◆ DynaMapIter()

template<typename K, typename V>
DynaMapIter< K, V >::DynaMapIter ( const DynaHashMap< K, V > *  map,
int  start 
)
inline

Member Function Documentation

◆ getIndex()

template<typename K, typename V>
int DynaMapIter< K, V >::getIndex ( )
inline

◆ hasNext()

template<typename K, typename V>
bool DynaMapIter< K, V >::hasNext ( )
inline

◆ hasPrev()

template<typename K, typename V>
bool DynaMapIter< K, V >::hasPrev ( )
inline

◆ operator!=()

template<typename K, typename V>
bool DynaMapIter< K, V >::operator!= ( const DynaMapIter< K, V > &  other) const
inline

◆ operator*()

template<typename K, typename V>
MapEntry<K,V>* DynaMapIter< K, V >::operator* ( ) const
inline

◆ operator++()

template<typename K, typename V>
const DynaMapIter<K,V>& DynaMapIter< K, V >::operator++ ( )
inline

◆ operator--()

template<typename K, typename V>
const DynaMapIter<K,V>& DynaMapIter< K, V >::operator-- ( )
inline

◆ operator==()

template<typename K, typename V>
bool DynaMapIter< K, V >::operator== ( const DynaMapIter< K, V > &  other) const
inline

The documentation for this class was generated from the following file: