ADTF  3.18.2
TargetValueConverter< ElementValueType, TargetValueType, false >

Converter to convert a value of ElementValueType to a value of TargetValueType. More...

Static Public Member Functions

static TargetValueType convert (const ElementValueType &)
 Should convert a value of ElementValueType to a value of type ElementValueType, but this specialized code is used while conversion is not valid! More...
 

Detailed Description

template<typename ElementValueType, typename TargetValueType>
struct ddl::codec::detail::TargetValueConverter< ElementValueType, TargetValueType, false >

Converter to convert a value of ElementValueType to a value of TargetValueType.

Template Parameters
ElementValueTypeThe source value type to convert from
TargetValueTypeThe target value type to convert to

Definition at line 388 of file leaf_value_access.h.

Member Function Documentation

◆ convert()

static TargetValueType convert ( const ElementValueType &  )
inlinestatic

Should convert a value of ElementValueType to a value of type ElementValueType, but this specialized code is used while conversion is not valid!

Exceptions
std::runtime_errorfor unsupported conversion

Definition at line 395 of file leaf_value_access.h.