IterableIntMap::ItemIt Class Reference

#include <lemon/iterable_maps.h>

List of all members.


Detailed Description

template<typename _Graph, typename _Item>
class lemon::IterableIntMap< _Graph, _Item >::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 IterableIntMap &map, int 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 IterableIntMap map,
int  value
[inline]
 

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

Parameters:
map The IterableIntMap
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:40 2006 for LEMON by  doxygen 1.4.6