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

#include <elm/data/HashMap.h>

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

Public Member Functions

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

Additional Inherited Members

- Public Types inherited from InplacePreIterator< KeyIter, K >
typedef K t
 
- Public Attributes inherited from InplacePreIterator< KeyIter, K >
const typedef K & 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 >::KeyIter

Iterator on the keys of the map.

Constructor & Destructor Documentation

◆ KeyIter() [1/2]

KeyIter ( const self_t htab)
inline

◆ KeyIter() [2/2]

KeyIter ( const self_t htab,
bool  end 
)
inline

Member Function Documentation

◆ ended()

bool ended ( void  ) const
inline

◆ equals()

bool equals ( const KeyIter it) const
inline

◆ item()

const K& item ( void  ) const
inline

◆ next()

void next ( void  )
inline

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