Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ReferenceMap Class Template Reference
[Concepts]

#include <lemon/concept/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, typename R, typename CR>
class lemon::concept::ReferenceMap< K, T, R, CR >


Public Types

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 &i)
 Returns a reference to the value associated to a key.
ConstReference operator[] (const Key &i) 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 Sat Mar 19 10:59:01 2005 for LEMON by  doxygen 1.4.1