#include <lemon/concept/maps.h>
Inheritance diagram for ReferenceMap:
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. |