IterableValueMap::ItemIt Class Reference

#include <lemon/iterable_maps.h>

List of all members.


Detailed Description

template<typename _Graph, typename _Item, typename _Value>
class lemon::IterableValueMap< _Graph, _Item, _Value >::ItemIt

Iterator for the keys with the same value. It works like a graph item iterator in the map, it can be converted the item type of the map, incremented with ++ operator, and if the iterator leave the last valid item it will be equal to INVALID.


Public Member Functions

 ItemIt (Invalid)
 Invalid constructor & conversion.
 ItemIt (const IterableValueMap &map, const Value &value)
 Creates an iterator with a value.
ItemItoperator++ ()
 Increment operator.


Constructor & Destructor Documentation

ItemIt Invalid   )  [inline]
 

This constructor initializes the item to be invalid.

See also:
Invalid for more details.

ItemIt const IterableValueMap map,
const Value value
[inline]
 

Creates an iterator with a value. It iterates on the keys which have the given value.

Parameters:
map The IterableValueMap
value The value


Member Function Documentation

ItemIt& operator++  )  [inline]
 

Increment Operator.


The documentation for this class was generated from the following file:
Generated on Fri Feb 3 18:41:41 2006 for LEMON by  doxygen 1.4.6