Class to hold instances of a parameter map. Each element contains a key and a set of values, which each are of type SGParamInfo. May be compared to each other based on their keys.
Definition at line 106 of file ParameterMap.h.
Public Member Functions | |
ParameterMapElement () | |
ParameterMapElement (const SGParamInfo *key, DynArray< const SGParamInfo * > *values) | |
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 | |
const SGParamInfo * | m_key |
DynArray< const SGParamInfo * > * | m_values |
constructor
Definition at line 187 of file ParameterMap.cpp.
ParameterMapElement | ( | const SGParamInfo * | key, | |
DynArray< const SGParamInfo * > * | values | |||
) |
constructor
key | key of this element | |
values | array of value of this element |
Definition at line 193 of file ParameterMap.cpp.
~ParameterMapElement | ( | ) | [virtual] |
destructor
Definition at line 200 of file ParameterMap.cpp.
virtual const char* get_name | ( | ) | const [virtual] |
Definition at line 133 of file ParameterMap.h.
bool operator< | ( | const ParameterMapElement & | other | ) | const |
operator for comparison (by m_key)
Definition at line 218 of file ParameterMap.cpp.
bool operator== | ( | const ParameterMapElement & | other | ) | const |
operator for comparison, true iff m_key is equal
Definition at line 213 of file ParameterMap.cpp.
bool operator> | ( | const ParameterMapElement & | other | ) | const |
operator for comparison (by m_key)
Definition at line 223 of file ParameterMap.cpp.
const SGParamInfo* m_key |
key
Definition at line 140 of file ParameterMap.h.
DynArray<const SGParamInfo*>* m_values |
values
Definition at line 143 of file ParameterMap.h.