InverseMap Class Reference


Detailed Description

template<typename _Graph, typename _Item>
class lemon::DescriptorMap< _Graph, _Item >::InverseMap

The inverse map type of DescriptorMap. #include <lemon/graph_utils.h>

List of all members.

Public Types

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

Public Member Functions

 InverseMap (const DescriptorMap &_inverted)
Value operator[] (const Key &key) const
 Subscript operator.
unsigned int size () const
 Size of the map.


Constructor & Destructor Documentation

InverseMap ( const DescriptorMap _inverted  )  [inline, explicit]

Constructor of the InverseMap.


Member Function Documentation

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

Subscript operator. It gives back the item that the descriptor belongs to currently.

unsigned int size (  )  const [inline]

Returns the size of the map.


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