Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ConvertMap Class Template Reference
[Map Adaptors]

#include <lemon/maps.h>

List of all members.


Detailed Description

template<class M, class 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 Types

typedef M::Key Key
 
typedef T Value
 

Public Member Functions

 ConvertMap (const M &_m)
 Constructor.
Value operator[] (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[] 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 Sat Aug 27 14:16:08 2005 for LEMON by  doxygen 1.4.4