open62541pp 0.16.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
opcua::detail::VariantHandler< VariantPolicy::ReferenceIfPossible > Struct Reference

#include <types.hpp>

Inheritance diagram for opcua::detail::VariantHandler< VariantPolicy::ReferenceIfPossible >:
[legend]

Detailed Description

Definition at line 1426 of file types.hpp.

Static Public Member Functions

template<typename T >
static void setScalar (Variant &var, T &value) noexcept(detail::isRegisteredType< T >)
 
template<typename T >
static void setScalar (Variant &var, T &value, const UA_DataType &dtype) noexcept
 
template<typename T >
static void setArray (Variant &var, Span< T > array) noexcept(detail::isRegisteredType< T >)
 
template<typename T >
static void setArray (Variant &var, Span< T > array, const UA_DataType &dtype) noexcept
 
template<typename T >
static void setArray (Variant &var, Span< const T > array)
 
template<typename T >
static void setArray (Variant &var, Span< const T > array, const UA_DataType &dtype)
 
- Static Public Member Functions inherited from opcua::detail::VariantHandler< VariantPolicy::Copy >
template<typename T >
static void setScalar (Variant &var, const T &value)
 
template<typename T >
static void setScalar (Variant &var, const T &value, const UA_DataType &dtype)
 
template<typename T >
static void setArray (Variant &var, Span< T > array)
 
template<typename T >
static void setArray (Variant &var, Span< T > array, const UA_DataType &dtype)
 
template<typename InputIt >
static void setArray (Variant &var, InputIt first, InputIt last)
 
template<typename InputIt >
static void setArray (Variant &var, InputIt first, InputIt last, const UA_DataType &dtype)
 

Member Function Documentation

◆ setScalar() [1/2]

template<typename T >
static void opcua::detail::VariantHandler< VariantPolicy::ReferenceIfPossible >::setScalar ( Variant & var,
T & value )
inlinestaticnoexcept

Definition at line 1431 of file types.hpp.

◆ setScalar() [2/2]

template<typename T >
static void opcua::detail::VariantHandler< VariantPolicy::ReferenceIfPossible >::setScalar ( Variant & var,
T & value,
const UA_DataType & dtype )
inlinestaticnoexcept

Definition at line 1440 of file types.hpp.

◆ setArray() [1/4]

template<typename T >
static void opcua::detail::VariantHandler< VariantPolicy::ReferenceIfPossible >::setArray ( Variant & var,
Span< T > array )
inlinestaticnoexcept

Definition at line 1445 of file types.hpp.

◆ setArray() [2/4]

template<typename T >
static void opcua::detail::VariantHandler< VariantPolicy::ReferenceIfPossible >::setArray ( Variant & var,
Span< T > array,
const UA_DataType & dtype )
inlinestaticnoexcept

Definition at line 1454 of file types.hpp.

◆ setArray() [3/4]

template<typename T >
static void opcua::detail::VariantHandler< VariantPolicy::ReferenceIfPossible >::setArray ( Variant & var,
Span< const T > array )
inlinestatic

Definition at line 1459 of file types.hpp.

◆ setArray() [4/4]

template<typename T >
static void opcua::detail::VariantHandler< VariantPolicy::ReferenceIfPossible >::setArray ( Variant & var,
Span< const T > array,
const UA_DataType & dtype )
inlinestatic

Definition at line 1464 of file types.hpp.