#include <maps.h>
Inheritance diagram for ReferenceMap:
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 ValueType & | ConstReferenceType |
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. |