open62541pp 0.18.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
Public Member Functions | List of all members
opcua::ua::XVType Class Reference

#include <types.hpp>

Inheritance diagram for opcua::ua::XVType:
[legend]

Detailed Description

UA_XVType wrapper class.

See also
https://reference.opcfoundation.org/Core/Part8/v105/docs/5.6.8

Definition at line 2677 of file types.hpp.

Public Member Functions

 XVType (double x, float value) noexcept
 
double x () const noexcept
 
double getX () const noexcept
 
float value () const noexcept
 
float getValue () const noexcept
 
constexpr TypeWrapper () noexcept=default
 
constexpr TypeWrapper (const T &native)
 
constexpr TypeWrapper (T &&native) noexcept
 
constexpr TypeWrapper (const TypeWrapper &other)
 
constexpr TypeWrapper (TypeWrapper &&other) noexcept
 
- Public Member Functions inherited from opcua::TypeWrapper< UA_XVType, UA_TYPES_XVTYPE >
constexpr TypeWrapper () noexcept=default
 
constexpr TypeWrapper (const UA_XVType &native)
 
constexpr TypeWrapper (UA_XVType &&native) noexcept
 
constexpr TypeWrapper (const TypeWrapper &other)
 
constexpr TypeWrapper (TypeWrapper &&other) noexcept
 
 ~TypeWrapper ()
 
constexpr TypeWrapperoperator= (const TypeWrapper &other)
 
constexpr TypeWrapperoperator= (const UA_XVType &native)
 
constexpr TypeWrapperoperator= (TypeWrapper &&other) noexcept
 
constexpr TypeWrapperoperator= (UA_XVType &&native) noexcept
 
- Public Member Functions inherited from opcua::Wrapper< T >
constexpr Wrapper () noexcept=default
 
constexpr Wrapper (const T &native) noexcept
 
constexpr Wrapper (T &&native) noexcept
 
constexpr Wrapperoperator= (const T &native) noexcept
 
constexpr Wrapperoperator= (T &&native) noexcept
 
constexpr operator T& () noexcept
 
constexpr operator const T & () const noexcept
 
constexpr T * operator-> () noexcept
 
constexpr const T * operator-> () const noexcept
 
constexpr T * handle () noexcept
 
constexpr const T * handle () const noexcept
 
constexpr void swap (Wrapper &other) noexcept
 
constexpr void swap (T &native) noexcept
 

Additional Inherited Members

- Public Types inherited from opcua::Wrapper< T >
using NativeType = T
 
- Static Public Member Functions inherited from opcua::TypeWrapper< UA_XVType, UA_TYPES_XVTYPE >
static constexpr TypeIndex typeIndex ()
 
- Protected Member Functions inherited from opcua::TypeWrapper< UA_XVType, UA_TYPES_XVTYPE >
constexpr void clear () noexcept
 
- Protected Member Functions inherited from opcua::Wrapper< T >
constexpr const T & native () const noexcept
 
constexpr T & native () noexcept
 

Constructor & Destructor Documentation

◆ XVType()

opcua::ua::XVType::XVType ( double  x,
float  value 
)
inlinenoexcept

Definition at line 2681 of file types.hpp.

Member Function Documentation

◆ x()

double opcua::ua::XVType::x ( ) const
inlinenoexcept

Definition at line 2686 of file types.hpp.

◆ getX()

double opcua::ua::XVType::getX ( ) const
inlinenoexcept
Deprecated:
Use x instead

Definition at line 2686 of file types.hpp.

◆ value()

float opcua::ua::XVType::value ( ) const
inlinenoexcept

Definition at line 2687 of file types.hpp.

◆ getValue()

float opcua::ua::XVType::getValue ( ) const
inlinenoexcept
Deprecated:
Use value instead

Definition at line 2687 of file types.hpp.

◆ TypeWrapper() [1/5]

constexpr opcua::TypeWrapper< T, Index >::TypeWrapper ( )
constexprdefaultnoexcept

◆ TypeWrapper() [2/5]

constexpr opcua::TypeWrapper< T, Index >::TypeWrapper ( const T &  native)
inlineexplicitconstexpr

Constructor with native object (deep copy).

Definition at line 31 of file typewrapper.hpp.

◆ TypeWrapper() [3/5]

constexpr opcua::TypeWrapper< T, Index >::TypeWrapper ( T &&  native)
inlineconstexprnoexcept

Constructor with native object (move rvalue).

Definition at line 35 of file typewrapper.hpp.

◆ TypeWrapper() [4/5]

constexpr opcua::TypeWrapper< T, Index >::TypeWrapper ( const TypeWrapper other)
inlineconstexpr

Copy constructor (deep copy).

Definition at line 43 of file typewrapper.hpp.

◆ TypeWrapper() [5/5]

constexpr opcua::TypeWrapper< T, Index >::TypeWrapper ( TypeWrapper &&  other)
inlineconstexprnoexcept

Move constructor.

Definition at line 47 of file typewrapper.hpp.