the class that has some functions for convert More...
#include <ConversionTool.h>
Static Public Member Functions | |
| static std::string | getIdName (const int id, IDInfo *idInfoArray, const unsigned int arraySize) |
| gets name from id number More... | |
| template<typename S , typename T > | |
| static T | convert (const S key, const T dfVal, ConversionElement< S, T > *elementArray, int arraySize) |
| gets converted value from key ( S -> T ) More... | |
| template<typename S , typename T > | |
| static S | invert (const T key, const S dfVal, ConversionElement< S, T > *elementArray, int arraySize) |
| gets converted value from key ( T -> S ) More... | |
the class that has some functions for convert
Definition at line 72 of file ConversionTool.h.
|
inlinestatic |
gets converted value from key ( S -> T )
| [in] | key | key |
| [in] | dfVal | default value to be returned when the specified key is not found |
| [in] | elementArray | the array of conversion element |
| arraySize | the size of array |
Definition at line 107 of file ConversionTool.h.
|
static |
gets name from id number
| [in] | id | ID |
| [in] | idInfoArray | the array of ID informations |
| [in] | arraySize | array size |
Definition at line 28 of file ConversionTool.cpp.
|
inlinestatic |
gets converted value from key ( T -> S )
| [in] | key | key |
| [in] | dfVal | default value to be returned when the specified key is not found |
| [in] | elementArray | the array of conversion element |
| [in] | arraySize | the size of array |
Definition at line 143 of file ConversionTool.h.
1.8.6