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.
在文件 ParameterMap.h 第 106 行定义.
Public 成员函数 | |
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 属性 | |
const SGParamInfo * | m_key |
DynArray< const SGParamInfo * > * | m_values |
constructor
在文件 ParameterMap.cpp 第 189 行定义.
ParameterMapElement | ( | const SGParamInfo * | key, |
DynArray< const SGParamInfo * > * | values | ||
) |
constructor
key | key of this element |
values | array of value of this element |
在文件 ParameterMap.cpp 第 195 行定义.
|
virtual |
destructor
在文件 ParameterMap.cpp 第 202 行定义.
|
virtual |
在文件 ParameterMap.h 第 133 行定义.
bool operator< | ( | const ParameterMapElement & | other | ) | const |
operator for comparison (by m_key)
在文件 ParameterMap.cpp 第 220 行定义.
bool operator== | ( | const ParameterMapElement & | other | ) | const |
operator for comparison, true iff m_key is equal
在文件 ParameterMap.cpp 第 215 行定义.
bool operator> | ( | const ParameterMapElement & | other | ) | const |
operator for comparison (by m_key)
在文件 ParameterMap.cpp 第 225 行定义.
const SGParamInfo* m_key |
key
在文件 ParameterMap.h 第 140 行定义.
DynArray<const SGParamInfo*>* m_values |
values
在文件 ParameterMap.h 第 143 行定义.