NotMap< M > Class Template Reference
[Map Adaptors]


Detailed Description

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

This read-only map returns the logical negation of the values of the given map. Its Key is inherited from M and its Value is bool.

The simplest way of using this map is through the notMap() function.

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

Inheritance diagram for NotMap< M >:

Inheritance graph
[legend]

List of all members.

Public Types

typedef M::Key Key
 
typedef bool Value
 

Public Member Functions

 NotMap (const M &m)
 Constructor.
Value operator[] (const Key &k) const
 

Related Functions

(Note that these are not member functions.)

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


Generated on Wed May 13 09:53:07 2009 for LEMON by  doxygen 1.5.9