abLEMON 1.9.0-101-gccb8629
A maintained fork of LEMON
Loading...
Searching...
No Matches
Graph::NodeMap< T > Class Template Reference

Standard graph map type for the nodes. More...

#include <lemon/concepts/graph.h>

Inheritance diagram for Graph::NodeMap< T >:

Public Member Functions

 NodeMap (const Graph &)
 Constructor.
 NodeMap (const Graph &, T)
 Constructor with given initial value.
Public Member Functions inherited from ReferenceMap< Node , T , T & , const T & >
Reference operator[] (const Key &)
 Returns a reference to the value associated with the given key.
void set (const Key &k, const Value &t)
 Sets the value associated with the given key.
Public Member Functions inherited from ReadWriteMap< Node , T >
Value operator[] (const Key &) const
 Returns the value associated with the given key.
void set (const Key &, const Value &)
 Sets the value associated with the given key.
Public Member Functions inherited from ReadMap< Node , T >
Value operator[] (const Key &) const
 Returns the value associated with the given key.
Public Member Functions inherited from WriteMap< Node , T >
void set (const Key &, const Value &)
 Sets the value associated with the given key.
 WriteMap ()
 Default constructor.

Private Member Functions

 NodeMap (const NodeMap &nm)
 Copy constructor.
NodeMap & operator= (const NodeMap &)
 Assignment operator.
template< typename CMap >
NodeMap & operator= (const CMap &)
 Template Assignment operator.

Additional Inherited Members

Public Types inherited from ReferenceMap< Node , T , T & , const T & >
typedef True ReferenceMapTag
 Tag for reference maps.
typedef Node Key
 The key type of the map.
typedef T Value
 The value type of the map. (The type of objects associated with the keys).
typedef T & Reference
 The reference type of the map.
typedef const T & ConstReference
 The const reference type of the map.
Public Types inherited from ReadWriteMap< Node , T >
typedef Node Key
 The key type of the map.
typedef T Value
 The value type of the map. (The type of objects associated with the keys).
Public Types inherited from ReadMap< Node , T >
typedef Node Key
 The key type of the map.
typedef T Value
 The value type of the map. (The type of objects associated with the keys).
Public Types inherited from WriteMap< Node , T >
typedef Node Key
 The key type of the map.
typedef T Value
 The value type of the map. (The type of objects associated with the keys).

Detailed Description

template< class T >
class lemon::concepts::Graph::NodeMap< T >

Standard graph map type for the nodes. It conforms to the ReferenceMap concept.