ItemIt Class Reference


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. #include <lemon/iterable_maps.h>

List of all members.

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.


Generated on Thu Jun 4 04:04:53 2009 for LEMON by  doxygen 1.5.9