ConvertMap Class Template Reference
[Map Adaptors]

#include <lemon/maps.h>

Inherits MapBase< M::Key, T >.

Inheritance diagram for ConvertMap:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<typename M, typename T>
class lemon::ConvertMap< M, T >

This read only map converts the Value of a maps to type T. Its Key is inherited from M.


Public Member Functions

 ConvertMap (const M &_m)
 Constructor.
Value operator[] (const Key &k) const
 The subscript operator.

Related Functions

(Note that these are not member functions.)

ConvertMap< M, T > convertMap (const M &m)
 Returns an ConvertMap class.


Constructor & Destructor Documentation

ConvertMap ( const M &  _m  )  [inline]

Constructor

Parameters:
_m is the underlying map


Member Function Documentation

Value operator[] ( const Key &  k  )  const [inline]

The subscript operator.

Parameters:
k The key
Returns:
The target of the edge


The documentation for this class was generated from the following file:
Generated on Tue Oct 31 09:51:05 2006 for LEMON by  doxygen 1.5.1