ConvertMap< M, T > Class Template Reference
[Map Adaptors]


Detailed Description

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

This read only map converts the Value of a map to type T. Its Key is inherited from M. #include <lemon/maps.h>

Inheritance diagram for ConvertMap< M, T >:

Inheritance graph
[legend]

List of all members.

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 T , typename M >
ConvertMap< M, T > convertMap (const M &m)
 Returns a ConvertMap class.


Constructor & Destructor Documentation

ConvertMap ( const M &  _m  )  [inline]

Constructor

Parameters:
_m is the underlying map


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