IdMap::InverseMap Class Reference

#include <lemon/maps.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 &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 Tue May 5 07:41:57 2009 for LEMON by  doxygen 1.5.6