ADTF
Loading...
Searching...
No Matches
adtf::base::property_type_conversion< TYPE > Struct Template Reference

#include <propertyconvert.h>

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

The documentation for this struct was generated from the following file: