Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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 Sat Aug 27 14:15:36 2005 for LEMON by  doxygen 1.4.4