NotWriteMap< M > Class Template Reference
[Map Adaptors]


Detailed Description

template<typename M>
class lemon::NotWriteMap< M >

This bool read-write map returns the logical negation of the value returned by the given map. When it is set, the opposite value is set to the original map. Its Key is inherited from M, its Value is bool.

See also:
NotMap
#include <lemon/maps.h>

Inheritance diagram for NotWriteMap< M >:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 NotWriteMap (M &_m)
 Constructor.
Value operator[] (Key k) const
 
void set (Key k, bool v)
 

Related Functions

(Note that these are not member functions.)

template<typename M >
NotWriteMap< M > notMap (M &m)
 Returns a NotWriteMap class.


Generated on Thu Jun 4 04:06:15 2009 for LEMON by  doxygen 1.5.9