MapIt Class Template Reference
[Basic Graph Utilities]

#include <lemon/map_iterator.h>

List of all members.


Detailed Description

template<typename Graph, typename Item, typename Map>
class lemon::MapIt< Graph, Item, Map >

Iterator for maps with possibility of changing values.

Public Member Functions

 MapIt (const Graph &_graph, Map &_map)
 Creates an iterator.
MapTraits< Map >::ConstReturnValue operator* () const
 Gives back the map's value on the current position.
MapTraits< Map >::ReturnValue operator* ()
 Gives back a reference to the map's value.
void set (const Value &value)
 Sets the value on the current position.

Constructor & Destructor Documentation

MapIt ( const Graph _graph,
Map &  _map 
) [inline]

Creates an iterator for the map, which iterates on the given graph item set.


Member Function Documentation

MapTraits<Map>::ConstReturnValue operator* (  )  const [inline]

Gives back the map's value on the current position.

MapTraits<Map>::ReturnValue operator* (  )  [inline]

Gives back a reference to the map's value on the current position.

void set ( const Value &  value  )  [inline]

Sets the value on the current position.


The documentation for this class was generated from the following file:

Generated on Sat Apr 19 14:19:23 2008 for LEMON by  doxygen 1.5.5