ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
cPropertyConvert

Adtf build in conversion type implementation used by property_type_default_conversion. More...

#include <propertyconvert.h>

Static Public Member Functions

static tResult FromString (const adtf_util::cString &strValue, bool &bValue)
 
template<typename T>
static tResult FromString (const adtf_util::cString &strValue, T &oValue)
 
static tResult ToString (const bool &oValue, adtf_util::cString &strValue)
 
template<typename TYPE>
static tResult ToString (const TYPE &oValue, adtf_util::cString &strValue)
 
static tResult FromString (const adtf_util::cString &strValue, adtf_util::cString &oValue)
 
static tResult ToString (const adtf_util::cString &oValue, adtf_util::cString &strValue)
 
static tResult ToRaw (const void *pData, const size_t szSizeOfData, IRawMemory &oToMem)
 
static tResult FromRaw (const IRawMemory &oFromMem, void *pData, const size_t szSizeOfData)
 
static tResult Convert (const IPropertyValue &oProp, bool &oValue)
 
static tResult Convert (const IPropertyValue &oProp, uint64_t &oValue)
 
static tResult Convert (const IPropertyValue &oProp, int64_t &oValue)
 
static tResult Convert (const IPropertyValue &oProp, uint32_t &oValue)
 
static tResult Convert (const IPropertyValue &oProp, int32_t &oValue)
 
static tResult Convert (const IPropertyValue &oProp, uint16_t &oValue)
 
static tResult Convert (const IPropertyValue &oProp, int16_t &oValue)
 
static tResult Convert (const IPropertyValue &oProp, uint8_t &oValue)
 
static tResult Convert (const IPropertyValue &oProp, int8_t &oValue)
 
static tResult Convert (const IPropertyValue &oProp, float &oValue)
 
static tResult Convert (const IPropertyValue &oProp, double &oValue)
 

Detailed Description

Adtf build in conversion type implementation used by property_type_default_conversion.

See also
adtf::base::ant::property_type_conversion

Definition at line 77 of file propertyconvert.h.

Member Function Documentation

◆ FromString() [1/3]

static tResult FromString ( const adtf_util::cString & strValue,
adtf_util::cString & oValue )
inlinestatic

Definition at line 133 of file propertyconvert.h.

◆ FromString() [2/3]

static tResult FromString ( const adtf_util::cString & strValue,
bool & bValue )
inlinestatic

Definition at line 79 of file propertyconvert.h.

◆ FromString() [3/3]

template<typename T>
static tResult FromString ( const adtf_util::cString & strValue,
T & oValue )
inlinestatic

Definition at line 86 of file propertyconvert.h.

◆ ToString() [1/3]

static tResult ToString ( const adtf_util::cString & oValue,
adtf_util::cString & strValue )
inlinestatic

Definition at line 139 of file propertyconvert.h.

◆ ToString() [2/3]

static tResult ToString ( const bool & oValue,
adtf_util::cString & strValue )
inlinestatic

Definition at line 120 of file propertyconvert.h.

◆ ToString() [3/3]

template<typename TYPE>
static tResult ToString ( const TYPE & oValue,
adtf_util::cString & strValue )
inlinestatic

Definition at line 127 of file propertyconvert.h.