open62541pp 0.15.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
opcua::LiteralOperand Class Reference

#include <types_composed.hpp>

Inheritance diagram for opcua::LiteralOperand:
[legend]

Detailed Description

Public Member Functions

 LiteralOperand (Variant value)
 
template<typename T , typename = EnableIfLiteral<T>>
 LiteralOperand (T &&literal)
 
const VariantgetValue () const noexcept
 
VariantgetValue () noexcept
 
constexpr TypeWrapper ()=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 ()=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
 
constexpr void swap (TypeWrapper &other) noexcept
 
constexpr void swap (UA_LiteralOperand &native) noexcept
 
- Public Member Functions inherited from opcua::Wrapper< UA_LiteralOperand >
constexpr Wrapper ()=default
 
constexpr Wrapper (const UA_LiteralOperand &native)
 
constexpr Wrapper (UA_LiteralOperand &&native) noexcept
 
constexpr operator UA_LiteralOperand & () noexcept
 
constexpr operator const UA_LiteralOperand & () const noexcept
 
constexpr UA_LiteralOperandoperator-> () noexcept
 
constexpr const UA_LiteralOperandoperator-> () const noexcept
 
constexpr UA_LiteralOperandhandle () noexcept
 
constexpr const UA_LiteralOperandhandle () const noexcept
 

Additional Inherited Members

- Public Types inherited from opcua::Wrapper< UA_LiteralOperand >
using NativeType
 
- Static Public Member Functions inherited from opcua::TypeWrapper< UA_LiteralOperand, UA_TYPES_LITERALOPERAND >
static constexpr TypeIndex getTypeIndex ()
 
- Protected Member Functions inherited from opcua::TypeWrapper< UA_LiteralOperand, UA_TYPES_LITERALOPERAND >
constexpr void clear () noexcept
 
- Protected Member Functions inherited from opcua::Wrapper< UA_LiteralOperand >
constexpr const UA_LiteralOperandnative () const noexcept
 
constexpr UA_LiteralOperandnative () noexcept
 

Constructor & Destructor Documentation

◆ LiteralOperand() [1/2]

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

Definition at line 1593 of file types_composed.hpp.

◆ LiteralOperand() [2/2]

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

Definition at line 1598 of file types_composed.hpp.

Member Function Documentation

◆ getValue() [1/2]

const Variant & opcua::LiteralOperand::getValue ( ) const
inlinenoexcept

Definition at line 1601 of file types_composed.hpp.

◆ getValue() [2/2]

Variant & opcua::LiteralOperand::getValue ( )
inlinenoexcept

Definition at line 1601 of file types_composed.hpp.

◆ TypeWrapper() [1/5]

opcua::TypeWrapper< T, typeIndex >::TypeWrapper ( )
constexprdefault

◆ TypeWrapper() [2/5]

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

Constructor with native object (deep copy).

Definition at line 30 of file typewrapper.hpp.

◆ TypeWrapper() [3/5]

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

Constructor with native object (move rvalue).

Definition at line 34 of file typewrapper.hpp.

◆ TypeWrapper() [4/5]

opcua::TypeWrapper< T, typeIndex >::TypeWrapper ( const TypeWrapper & other)
inlineconstexpr

Copy constructor (deep copy).

Definition at line 42 of file typewrapper.hpp.

◆ TypeWrapper() [5/5]

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

Move constructor.

Definition at line 46 of file typewrapper.hpp.