|
Public Types |
typedef _Graph | Graph |
| The graph type of the maps.
|
typedef True | ReferenceMapTag |
| The reference map tag.
|
typedef _Item | Key |
| The key type of the maps.
|
typedef _Value | Value |
| The value type of the map.
|
typedef const _Value & | ConstReference |
| The const reference type of the map.
|
typedef _Value & | Reference |
| The reference type of the map.
|
typedef Registry::ObserverBase | Parent |
| The MapBase of the Map which imlements the core regisitry function.
|
Public Member Functions |
| ArrayMap (const Graph &_g) |
| Graph initialized map constructor.
|
| ArrayMap (const Graph &_g, const Value &_v) |
| Constructor to use default value to initialize the map.
|
| ArrayMap (const ArrayMap ©) |
| Constructor to copy a map of the same map type.
|
virtual | ~ArrayMap () |
| The destructor of the map.
|
Value & | operator[] (const Key &key) |
| The subscript operator.
|
const Value & | operator[] (const Key &key) const |
| The const subscript operator.
|
void | set (const Key &key, const Value &val) |
| Setter function of the map.
|
Protected Member Functions |
virtual void | add (const Key &key) |
| Add a new key to the map. It called by the map registry.
|
virtual void | erase (const Key &key) |
| Erase a key from the map. It called by the map registry.
|