Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
HashMap< K, T, H, A, E >::PairIter Class Reference

#include <elm/data/HashMap.h>

+ Inheritance diagram for HashMap< K, T, H, A, E >::PairIter:

Public Member Functions

 PairIter (const self_t &htab)
 
 PairIter (const self_t &htab, bool end)
 
bool ended (void) const
 
const Pair< K, T > & item (void) const
 
void next (void)
 
bool equals (const PairIter &it) const
 
- Public Member Functions inherited from InplacePreIterator< PairIter, Pair< K, T > >
bool operator() () const
 
bool operator! () const
 
const Pair< K, T > & operator* () const
 
const Pair< K, T > & operator-> () const
 
PairIter & operator++ ()
 
void operator++ (int)
 
bool operator== (const PairIter &i) const
 
bool operator!= (const PairIter &i) const
 

Additional Inherited Members

- Public Types inherited from InplacePreIterator< PairIter, Pair< K, T > >
typedef Pair< K, T > t
 
- Public Attributes inherited from InplacePreIterator< PairIter, Pair< K, T > >
const typedef Pair< K, T > & return_t
 

Detailed Description

template<class K, class T, class H = HashKey<K>, class A = DefaultAlloc, class E = Equiv<T>>
class elm::HashMap< K, T, H, A, E >::PairIter

Iterator on the pairs formed of(key, value) of each item of the map.

Constructor & Destructor Documentation

◆ PairIter() [1/2]

PairIter ( const self_t htab)
inline

◆ PairIter() [2/2]

PairIter ( const self_t htab,
bool  end 
)
inline

Member Function Documentation

◆ ended()

bool ended ( void  ) const
inline

◆ equals()

bool equals ( const PairIter it) const
inline

◆ item()

const Pair<K, T>& item ( void  ) const
inline

◆ next()

void next ( void  )
inline

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