The inverse map type of RangeIdMap.
#include <lemon/maps.h>
Public Types | |
typedef RangeIdMap::Key | Value |
The value type of the InverseMap. | |
typedef RangeIdMap::Value | Key |
The key type of the InverseMap. | |
Public Member Functions | |
InverseMap (const RangeIdMap &inverted) | |
Constructor. | |
Value | operator[] (const Key &key) const |
Subscript operator. | |
unsigned int | size () const |
Size of the map. | |
|
inlineexplicit |
Constructor of the InverseMap.
Subscript operator. It gives back the item that the descriptor currently belongs to.
|
inline |
Returns the size of the map.