ADTF
Loading...
Searching...
No Matches
property_type_default_conversion< TYPE >

Default conversion type used for all build in property types of adtf. More...

#include <propertyconvert.h>

Static Public Member Functions

static tResult Convert (const IPropertyValue &oProp, TYPE &oValue)
 
static tResult ToString (const TYPE &oValue, adtf_util::cString &strValue)
 
static tResult FromString (const adtf_util::cString &strValue, TYPE &oValue)
 
static tResult ToRaw (const void *pData, const size_t szSizeOfData, IRawMemory &oToMem)
 
static tResult FromRaw (const IRawMemory &oFromMem, void *pData, const size_t szSizeOfData)
 

Detailed Description

template<typename TYPE>
struct adtf::base::ant::property_type_default_conversion< TYPE >

Default conversion type used for all build in property types of adtf.

Template Parameters
TYPEbuild in type definition this conversion tape support all integer and floating types.
See also
property_type_conversion

Definition at line 167 of file propertyconvert.h.

Member Function Documentation

◆ Convert()

template<typename TYPE>
static tResult Convert ( const IPropertyValue & oProp,
TYPE & oValue )
inlinestatic

Definition at line 169 of file propertyconvert.h.

◆ FromRaw()

template<typename TYPE>
static tResult FromRaw ( const IRawMemory & oFromMem,
void * pData,
const size_t szSizeOfData )
inlinestatic

Definition at line 189 of file propertyconvert.h.

◆ FromString()

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

Definition at line 179 of file propertyconvert.h.

◆ ToRaw()

template<typename TYPE>
static tResult ToRaw ( const void * pData,
const size_t szSizeOfData,
IRawMemory & oToMem )
inlinestatic

Definition at line 184 of file propertyconvert.h.

◆ ToString()

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

Definition at line 174 of file propertyconvert.h.