Iterator for the keys with the same value. It works like a graph item iterator, it can be converted to the item type of the map, incremented with ++
operator, and if the iterator leaves the last valid item, it will be equal to INVALID
.
#include <lemon/maps.h>
Inherits Key.
Public Member Functions | |
ItemIt (Invalid) | |
Invalid constructor & conversion. More... | |
ItemIt (const IterableValueMap &map, const Value &value) | |
Creates an iterator with a value. More... | |
ItemIt & | operator++ () |
Increment operator. More... | |
This constructor initializes the iterator to be invalid.
|
inline |
Creates an iterator with a value. It iterates on the keys which have the given value.
map | The IterableValueMap |
value | The value |
|
inline |
Increment Operator.