itom 1.3.0
|
Public Types | |
enum | tTagType { typeInvalid = 0x000000, typeDouble = 0x000008, typeString = 0x000020 } |
Public Member Functions | |
DataObjectTagType () | |
< Constructor | |
DataObjectTagType (double dVal) | |
DataObjectTagType (const std::string &str) | |
DataObjectTagType (const ByteArray &str) | |
DataObjectTagType (const char *cVal) | |
DataObjectTagType (const DataObjectTagType &a) | |
Copy Constructor. | |
DataObjectTagType & | operator= (const DataObjectTagType &rhs) |
int | getType (void) const |
bool | isValid (void) const |
double | getVal_ToDouble (void) |
ByteArray | getVal_ToString (void) |
Private Attributes | |
double | m_dVal |
tTagType | m_type |
parameter type, maybe int, char, double or pointer | |
ByteArray | m_strValue |
double ito::DataObjectTagType::getVal_ToDouble | ( | void | ) | [inline] |
getVal_ToDouble read parameter value and try to convert to double
returns the actual parameter value as double. If conversion failes it returns a signaling_NaN()
ByteArray ito::DataObjectTagType::getVal_ToString | ( | void | ) | [inline] |
getVal_ToString read parameter value and try to convert to std::string
returns the actual parameter value as std::string. If conversion from double failes it returns 'NaN' || 'Inf'