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 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.

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


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

Generated on Sat Apr 19 14:19:35 2008 for LEMON by  doxygen 1.5.5