IterableBoolMap::TrueIt Class Reference

#include <lemon/iterable_maps.h>

List of all members.


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.


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]
 

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.


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