itom 1.1.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 (std::string strVal)
 DataObjectTagType (const char *cVal)
 DataObjectTagType (const DataObjectTagType &copyConstr)
 Copy Constructor.
DataObjectTagTypeoperator= (const DataObjectTagType &rhs)
int getType (void) const
bool isValid (void) const
double getVal_ToDouble (void)
std::string getVal_ToString (void)

Private Attributes

double m_dVal
std::string m_strValue
int m_type
 parameter type, maybe int, char, double or pointer

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 signaling_NaN()

returns the actual parameter value as double. If conversion failes it returns a signaling_NaN()

std::string 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