ADTF  3.18.2
property_type_conversion< TYPE >

Concept template to define the conversion type for the given type TYPE of a property. More...

Static Public Member Functions

static tResult Convert (const IPropertyValue &oPropertyType, TYPE &oToValue)
 
static tResult ToString (const adtf_util::cString &oFromValue, TYPE &strToString)
 
static tResult FromString (const adtf_util::cString &strFromString, TYPE &oToValue)
 
static tResult ToRaw (const void *pData, const size_t szDataSize, IRawMemory &oToMem)
 
static tResult FromRaw (const IRawMemory &oFromMem, void *pData, const size_t szDataSize)
 

Detailed Description

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

Concept template to define the conversion type for the given type TYPE of a property.

This template is used within the container template property_value and property. Use a specialization of this template to define your own property user type. See cPropertyStringConversion which functions are expected.

Template Parameters
TYPEvalue type for the property
See also
property

Definition at line 39 of file propertyconvert.h.