ConvertMap Class Template Reference
[Map Adaptors]

#include <lemon/maps.h>

Inheritance diagram for ConvertMap:

Inheritance graph
[legend]

List of all members.


Detailed Description

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

Map adaptor to convert the Value type of a readable map to another type using the default conversion. The Key type of it is inherited from M and the Value type is V. This type conforms the ReadMap concept.

The simplest way of using this map is through the convertMap() function.

Public Member Functions

 ConvertMap (const M &m)
 Constructor.
Value operator[] (const Key &k) const
 

Related Functions

(Note that these are not member functions.)

template<typename V, typename M>
ConvertMap< M, V > convertMap (const M &map)
 Returns a ConvertMap class.


Constructor & Destructor Documentation

ConvertMap ( const M &  m  )  [inline]

Constructor.

Parameters:
m The underlying map.


The documentation for this class was generated from the following file:

Generated on Fri Jan 23 18:15:08 2009 for LEMON by  doxygen 1.5.6