ReferenceMap Class Template Reference
[Skeletons]

#include <maps.h>

Inheritance diagram for ReferenceMap:

Inheritance graph
[legend]
Collaboration diagram for ReferenceMap:

Collaboration graph
[legend]
List of all members.

template<typename K, typename T>
class lemon::skeleton::ReferenceMap< K, T >


Public Types

typedef K KeyType
 Map's key type.
typedef T ValueType
 Map's value type. (The type of objects associated with the keys).
typedef const ValueTypeConstReferenceType
 Map's const reference type.

Public Member Functions

ReferenceType operator[] (const KeyType &i)
 Returns a reference to the value associated to a key.
ConstReferenceType operator[] (const KeyType &i) const
 Returns a const reference to the value associated to a key.
void set (const KeyType &k, const ValueType &t)
 Sets the value associated with a key.
 ReferenceMap ()
 Default constructor.

The documentation for this class was generated from the following file:
Generated on Thu Sep 30 12:18:41 2004 for LEMON by doxygen 1.3.8