The values of the map can be accessed with stl compatible forward iterator.
|
Public Types |
typedef _Map::Key | Key |
| The key type of InvertableMap (Node, Edge, UEdge).
|
typedef _Map::Value | Value |
| The value type of the InvertableMap.
|
Public Member Functions |
| InvertableMap (const Graph &graph) |
| Constructor.
|
ValueIterator | beginValue () const |
| Returns an iterator to the first value.
|
ValueIterator | endValue () const |
| Returns an iterator after the last value.
|
void | set (const Key &key, const Value &val) |
| The setter function of the map.
|
MapTraits< Map >::ConstReturnValue | operator[] (const Key &key) const |
| The getter function of the map.
|
InverseMap | inverse () const |
| It gives back the just readeable inverse map.
|
Protected Member Functions |
virtual void | erase (const Key &key) |
| Erase the key from the map.
|
virtual void | erase (const std::vector< Key > &keys) |
| Erase more keys from the map.
|
virtual void | clear () |
| Clear the keys from the map and inverse map.
|
Classes |
class | InverseMap |
| The inverse map type. More...
|
class | ValueIterator |
| Forward iterator for values. More...
|