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

#include <types.hpp>

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

Detailed Description

UA_LiteralOperand wrapper class.

See also
https://reference.opcfoundation.org/Core/Part4/v105/docs/7.7.4.3

Definition at line 1752 of file types.hpp.

Public Member Functions

 LiteralOperand (Variant value)
 
template<typename T , typename = EnableIfLiteral<T>>
 LiteralOperand (T &&literal)
 
const Variantvalue () const noexcept
 
const VariantgetValue () const noexcept
 
Variantvalue () noexcept
 
VariantgetValue () 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_LiteralOperand, UA_TYPES_LITERALOPERAND >
constexpr TypeWrapper () noexcept=default
 
constexpr TypeWrapper (const UA_LiteralOperand &native)
 
constexpr TypeWrapper (UA_LiteralOperand &&native) noexcept
 
constexpr TypeWrapper (const TypeWrapper &other)
 
constexpr TypeWrapper (TypeWrapper &&other) noexcept
 
 ~TypeWrapper ()
 
constexpr TypeWrapperoperator= (const TypeWrapper &other)
 
constexpr TypeWrapperoperator= (const UA_LiteralOperand &native)
 
constexpr TypeWrapperoperator= (TypeWrapper &&other) noexcept
 
constexpr TypeWrapperoperator= (UA_LiteralOperand &&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_LiteralOperand, UA_TYPES_LITERALOPERAND >
static constexpr TypeIndex typeIndex ()
 
- Protected Member Functions inherited from opcua::TypeWrapper< UA_LiteralOperand, UA_TYPES_LITERALOPERAND >
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

◆ LiteralOperand() [1/2]

opcua::ua::LiteralOperand::LiteralOperand ( Variant  value)
inlineexplicit

Definition at line 1761 of file types.hpp.

◆ LiteralOperand() [2/2]

template<typename T , typename = EnableIfLiteral<T>>
opcua::ua::LiteralOperand::LiteralOperand ( T &&  literal)
inlineexplicit

Definition at line 1766 of file types.hpp.

Member Function Documentation

◆ value() [1/2]

const Variant & opcua::ua::LiteralOperand::value ( ) const
inlinenoexcept

Definition at line 1769 of file types.hpp.

◆ getValue() [1/2]

const Variant & opcua::ua::LiteralOperand::getValue ( ) const
inlinenoexcept
Deprecated:
Use value instead

Definition at line 1769 of file types.hpp.

◆ value() [2/2]

Variant & opcua::ua::LiteralOperand::value ( )
inlinenoexcept

Definition at line 1769 of file types.hpp.

◆ getValue() [2/2]

Variant & opcua::ua::LiteralOperand::getValue ( )
inlinenoexcept
Deprecated:
Use value instead

Definition at line 1769 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.