ReferenceMap Class Template Reference
[Concepts]

#include <lemon/concept/maps.h>

Inherits ReadWriteMap< K, T >.

Inheritance diagram for ReferenceMap:

Inheritance graph
[legend]
List of all members.

template<typename K, typename T, typename R, typename CR>
class lemon::concept::ReferenceMap< K, T, R, CR >


Public Types

typedef True ReferenceMapTag
 Tag for reference maps.
typedef K Key
 Map's key type.
typedef T Value
 Map's value type. (The type of objects associated with the keys).
typedef R Reference
 Map's reference type.
typedef CR ConstReference
 Map's const reference type.

Public Member Functions

Reference operator[] (const Key &)
 Returns a reference to the value associated to a key.
ConstReference operator[] (const Key &) const
 Returns a const reference to the value associated to a key.
void set (const Key &k, const Value &t)
 Sets the value associated with a key.

The documentation for this class was generated from the following file:
Generated on Fri Feb 3 18:44:03 2006 for LEMON by  doxygen 1.4.6