IdMap::InverseMap Class Reference

#include <lemon/graph_utils.h>

List of all members.


Detailed Description

template<typename _Graph, typename _Item>
class lemon::IdMap< _Graph, _Item >::InverseMap

The class represents the inverse of its owner (IdMap).
See also:
inverse()


Public Member Functions

 InverseMap (const Graph &_graph)
 Constructor.
 InverseMap (const IdMap &idMap)
 Constructor.
Item operator[] (int id) const
 Gives back the given item from its id.


Constructor & Destructor Documentation

InverseMap ( const Graph &  _graph  )  [inline]

Constructor for creating an id-to-item map.

InverseMap ( const IdMap idMap  )  [inline]

Constructor for creating an id-to-item map.


Member Function Documentation

Item operator[] ( int  id  )  const [inline]

Gives back the given item from its id.


The documentation for this class was generated from the following file:
Generated on Tue Oct 31 09:50:34 2006 for LEMON by  doxygen 1.5.1