InvertableMap::InverseMap Class Reference

#include <lemon/graph_utils.h>

List of all members.


Detailed Description

template<typename _Graph, typename _Item, typename _Value>
class lemon::InvertableMap< _Graph, _Item, _Value >::InverseMap

The inverse of this map. The subscript operator of the map gives back always the item what was last assigned to the value.


Public Types

typedef InvertableMap::Key Value
 The value type of the InverseMap.
typedef InvertableMap::Value Key
 The key type of the InverseMap.

Public Member Functions

 InverseMap (const InvertableMap &_inverted)
 Constructor of the InverseMap.
Value operator[] (const Key &key) const
 Subscript operator.


Constructor & Destructor Documentation

InverseMap const InvertableMap _inverted  )  [inline]
 

Constructor of the InverseMap.


Member Function Documentation

Value operator[] const Key key  )  const [inline]
 

Subscript operator. It gives back always the item what was last assigned to the value.


The documentation for this class was generated from the following file:
Generated on Fri Feb 3 18:41:36 2006 for LEMON by  doxygen 1.4.6