TrueIt Class Reference


Detailed Description

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

Iterator for the keys mapped to true. 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

 TrueIt (const IterableBoolMap &_map)
 Creates an iterator.
 TrueIt (Invalid)
 Invalid constructor & conversion.
TrueItoperator++ ()
 Increment operator.


Constructor & Destructor Documentation

TrueIt ( const IterableBoolMap _map  )  [inline, explicit]

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

Parameters:
_map The IterableIntMap

TrueIt ( Invalid   )  [inline]

This constructor initializes the key to be invalid.

See also:
Invalid for more details.


Member Function Documentation

TrueIt& operator++ (  )  [inline]

Increment Operator.


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