MapIt< Graph, Item, Map > Class Template Reference
[Basic Graph Utilities]


Detailed Description

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

Iterator for maps with possibility of changing values. #include <lemon/map_iterator.h>

List of all members.

Public Member Functions

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


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.


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