ifw-core 7.0.0
 
Loading...
Searching...
No Matches
ifw::core::protocol::opcua::VariantScalarConverter< CType, UaType, TypeIndex > Class Template Reference

Converts a variant holding a scalar value. More...

#include <variantConverter.hpp>

Static Public Member Functions

static void ToUaVariant (const protocol::base::Variant src, UA_Variant &dst)
 
static void FromUaVariant (const UA_Variant src, protocol::base::Variant &dst)
 

Detailed Description

template<typename CType, typename UaType, const int TypeIndex>
class ifw::core::protocol::opcua::VariantScalarConverter< CType, UaType, TypeIndex >

Converts a variant holding a scalar value.

This template classes and their specializations are helping to convert between Boost variants and OPC-UA variant types.

Member Function Documentation

◆ FromUaVariant()

template<typename CType, typename UaType, const int TypeIndex>
static void ifw::core::protocol::opcua::VariantScalarConverter< CType, UaType, TypeIndex >::FromUaVariant ( const UA_Variant src,
protocol::base::Variant & dst )
inlinestatic

◆ ToUaVariant()

template<typename CType, typename UaType, const int TypeIndex>
static void ifw::core::protocol::opcua::VariantScalarConverter< CType, UaType, TypeIndex >::ToUaVariant ( const protocol::base::Variant src,
UA_Variant & dst )
inlinestatic

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