Class to hold instances of a parameter map. Each element contains a key and a value, which are of type SGParamInfo. May be compared to each other based on their keys.
Definition at line 78 of file ParameterMap.h.
Public Member Functions | |
ParameterMapElement () | |
ParameterMapElement (SGParamInfo *key, SGParamInfo *value) | |
virtual | ~ParameterMapElement () |
bool | operator== (const ParameterMapElement &other) const |
bool | operator< (const ParameterMapElement &other) const |
bool | operator> (const ParameterMapElement &other) const |
virtual const char * | get_name () const |
Public Attributes | |
SGParamInfo * | m_key |
SGParamInfo * | m_value |
constructor
Definition at line 89 of file ParameterMap.cpp.
ParameterMapElement | ( | SGParamInfo * | key, | |
SGParamInfo * | value | |||
) |
constructor
key | key of this element, is copied | |
value | value of this element, is copied |
Definition at line 94 of file ParameterMap.cpp.
~ParameterMapElement | ( | ) | [virtual] |
destructor
Definition at line 103 of file ParameterMap.cpp.
virtual const char* get_name | ( | ) | const [virtual] |
Definition at line 104 of file ParameterMap.h.
bool operator< | ( | const ParameterMapElement & | other | ) | const |
operator for comparison (by m_key)
Definition at line 114 of file ParameterMap.cpp.
bool operator== | ( | const ParameterMapElement & | other | ) | const |
operator for comparison, true iff m_key is equal
Definition at line 109 of file ParameterMap.cpp.
bool operator> | ( | const ParameterMapElement & | other | ) | const |
operator for comparison (by m_key)
Definition at line 119 of file ParameterMap.cpp.
keys
Definition at line 114 of file ParameterMap.h.
values
Definition at line 116 of file ParameterMap.h.