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

FunctorMap Class Template Reference
[Map Adaptors]

#include <lemon/maps.h>

List of all members.


Detailed Description

template<class K, class V, class F>
class lemon::FunctorMap< K, V, F >

This read only map returns the value of a given map.

Template parameters K and V will become its Key and Value. They must be given explicitely because a functor does not provide such typedefs.

Parameter F is the type of the used functor.


Public Types

typedef K Key
 
typedef V Value
 

Public Member Functions

 FunctorMap (const F &_f)
 Constructor.

Related Functions

(Note that these are not member functions.)

FunctorMap< K, V, F > functorMap (const F &f)
 Returns a FunctorMap class.


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