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

ForkMap Class Template Reference
[Map Adaptors]

#include <lemon/maps.h>

List of all members.


Detailed Description

template<class M1, class M2>
class lemon::ForkMap< M1, M2 >

This map has two writable map parameters and each write request will be passed to both of them. If M1 is also readable, then the read operations will return the corresponding values of M1.

The Key and Value will be inherited from M1. The Key and Value of M2 must be convertible from those of M1.


Public Types

typedef M1::Key Key
 
typedef M1::Value Value
 

Public Member Functions

 ForkMap (const M1 &_m1, const M2 &_m2)
 Constructor.

Related Functions

(Note that these are not member functions.)

ForkMap< M1, M2 > forkMap (const M1 &m1, const M2 &m2)
 Returns an ForkMap 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