IdMap::InverseMap Class Reference


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()
#include <lemon/maps.h>

List of all members.

Public Member Functions

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


Constructor & Destructor Documentation

InverseMap ( const Graph &  graph  )  [inline, explicit]

Constructor for creating an id-to-item map.

InverseMap ( const IdMap map  )  [inline, explicit]

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 Sun Dec 7 10:49:56 2008 for LEMON by  doxygen 1.5.7.1