InverseMap Class Reference


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. #include <lemon/graph_utils.h>

List of all members.

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)
Value operator[] (const Key &key) const
 Subscript operator.


Constructor & Destructor Documentation

InverseMap ( const InvertableMap _inverted  )  [inline, explicit]

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.


Generated on Thu Jun 4 04:04:36 2009 for LEMON by  doxygen 1.5.9