itom 1.3.0
ito::DataObjectTagType Class Reference

List of all members.

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.
DataObjectTagTypeoperator= (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

Member Function Documentation

double ito::DataObjectTagType::getVal_ToDouble ( void  ) [inline]

getVal_ToDouble read parameter value and try to convert to double

Returns:
parameter value (numeric, casted) or quiet_NaN()

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:
parameter value (numeric, casted) or 'NaN' || 'Inf'

returns the actual parameter value as std::string. If conversion from double failes it returns 'NaN' || 'Inf'


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends