NotWriteMap Class Template Reference
[Map Adaptors]

#include <lemon/maps.h>

Inheritance diagram for NotWriteMap:

Inheritance graph
[legend]

List of all members.


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

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.

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

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