The inverse of this map. The subscript operator of the map gives back the item that was last assigned to the value.
#include <lemon/maps.h>
Public Types | |
typedef CrossRefMap::Key | Value |
The value type of the InverseMap. | |
typedef CrossRefMap::Value | Key |
The key type of the InverseMap. | |
Public Member Functions | |
InverseMap (const CrossRefMap &inverted) | |
Constructor. | |
Value | operator[] (const Key &key) const |
Subscript operator. | |
|
inlineexplicit |
Constructor of the InverseMap.