#include </home/casse/otawa/elm/src/concepts.h>
template<class K, class T>
class elm::concept::Map< K, T >
This concept defines collections of items retrievable by an assigned key.
- Implemented by:
template<class K, class T>
Get a value by its key.
- Parameters
-
key | Key to get the value for. |
- Returns
- The matching value.
template<class K, class T>
Get a value by its key.
- Parameters
-
key | Key to get the value for. |
def | Default value to return if the key is not found. |
- Returns
- Found value or default value.
template<class K, class T>
Test if the key is defined in the map.
- Parameters
-
- Returns
- True if the key is defined in the map, false else.
The documentation for this class was generated from the following file: