When ValueType doesn't match Map::value_type, this class is defined as the method to call. More...
Public Member Functions | |
const ValueType & | get (const Map &self, const typename Map::key_type &k) const |
Get a value from the map. | |
void | set (Map &self, const typename Map::key_type &k, const ValueType &v) const |
Set a value in the map. | |
bool | exists (const Map &self, const typename Map::key_type &k) const |
Tell if the map contains a value of a given type with a given key. |
When ValueType doesn't match Map::value_type, this class is defined as the method to call.
Definition at line 72 of file multi_type_map.tpp.
bool claw::multi_type_map_wrapper< ValueType, Map >::recursive_call::exists | ( | const Map & | self, | |
const typename Map::key_type & | k | |||
) | const [inline] |
Tell if the map contains a value of a given type with a given key.
self | The map in which we search the key. | |
k | The key of the value to check. |
Definition at line 188 of file multi_type_map.tpp.
const ValueType & claw::multi_type_map_wrapper< ValueType, Map >::recursive_call::get | ( | const Map & | self, | |
const typename Map::key_type & | k | |||
) | const [inline] |
Get a value from the map.
self | The map in which we search the key. | |
k | The key of the value to get. |
Definition at line 153 of file multi_type_map.tpp.
void claw::multi_type_map_wrapper< ValueType, Map >::recursive_call::set | ( | Map & | self, | |
const typename Map::key_type & | k, | |||
const ValueType & | v | |||
) | const [inline] |
Set a value in the map.
self | The map in which we search the key. | |
k | The key of the value to set. | |
v | The value to set. |
Definition at line 171 of file multi_type_map.tpp.