|
void | insert (const Key &key, const Value &value) |
| Insert a key-value pair into the map if the key does not exists.
|
|
const Value & | at (const Key &key) const |
| Return the value associated with the key.
|
|
Value & | at (const Key &key) |
| Return the value associated with the key.
|
|
const std::vector< Key > | keys () const |
| Return a vector containing the keys.
|
|
const std::vector< Value > | values () const |
| Return a vector containing the values.
|
|
void | clear () |
| Clear the map and the vector.
|
|
template<typename Key, typename Value>
class utils::InsertionOrderedMap< Key, Value >
This calss define a map that keeps the insertion order.
- Template Parameters
-