ItemIt Class Reference


Detailed Description

template<typename _Graph, typename _Item>
class lemon::IterableBoolMap< _Graph, _Item >::ItemIt

Iterator for the keys mapped to a given value. It works like a graph item iterator in the map, it can be converted the key type of the map, incremented with ++ operator, and if the iterator leave the last valid key it will be equal to INVALID. #include <lemon/iterable_maps.h>

List of all members.

Public Member Functions

 ItemIt (const IterableBoolMap &_map, bool value)
 Creates an iterator.
 ItemIt (Invalid)
 Invalid constructor & conversion.
ItemItoperator++ ()
 Increment operator.


Constructor & Destructor Documentation

ItemIt ( const IterableBoolMap _map,
bool  value 
) [inline]

Creates an iterator. It iterates on the keys which mapped to false.

Parameters:
_map The IterableIntMap
value Which elements should be iterated.

ItemIt ( Invalid   )  [inline]

This constructor initializes the key to be invalid.

See also:
Invalid for more details.


Member Function Documentation

ItemIt& operator++ (  )  [inline]

Increment Operator.


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