Elm  1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
elm::concept::Map< K, T >::PairIterator Class Reference

#include </home/casse/otawa/elm/src/concepts.h>

+ Inheritance diagram for elm::concept::Map< K, T >::PairIterator:

Public Member Functions

 PairIterator (const Map< K, T > &map)
 
 PairIterator (const ValueIterator &iter)
 
- Public Member Functions inherited from elm::concept::Iterator< Pair< K, T > >
 Iterator (const Iterator &iterator)
 
bool ended (void)
 
void next (void)
 
const Pair< K, T > & item (void)
 
 operator bool (void)
 
 operator const Pair< K, T > & (void)
 
Iteratoroperator++ (int)
 
Iteratoroperator= (const Iterator &iterator)
 

Detailed Description

template<class K, class T>
class elm::concept::Map< K, T >::PairIterator

Iterator giving access to keys and values stored in the map.

Constructor & Destructor Documentation

template<class K, class T>
elm::concept::Map< K, T >::PairIterator::PairIterator ( const Map< K, T > &  map)

An iterator on values and keys of the map.

Parameters
mapMap to iterate on.
template<class K, class T>
elm::concept::Map< K, T >::PairIterator::PairIterator ( const ValueIterator &  iter)

An iterator by copy.

Parameters
iterIterator to copy.

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