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

#include <types_composed.hpp>

Inheritance diagram for opcua::Argument:
[legend]

Detailed Description

Public Member Functions

 Argument (std::string_view name, LocalizedText description, NodeId dataType, ValueRank valueRank={}, Span< const uint32_t > arrayDimensions={})
 
const StringgetName () const noexcept
 
StringgetName () noexcept
 
const LocalizedTextgetDescription () const noexcept
 
LocalizedTextgetDescription () noexcept
 
const NodeIdgetDataType () const noexcept
 
NodeIdgetDataType () noexcept
 
ValueRank getValueRank () const noexcept
 
Span< const uint32_t > getArrayDimensions () const noexcept
 
Span< uint32_t > getArrayDimensions () 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_Argument, UA_TYPES_ARGUMENT >
constexpr TypeWrapper ()=default
 
constexpr TypeWrapper (const UA_Argument &native)
 
constexpr TypeWrapper (UA_Argument &&native) noexcept
 
constexpr TypeWrapper (const TypeWrapper &other)
 
constexpr TypeWrapper (TypeWrapper &&other) noexcept
 
 ~TypeWrapper ()
 
constexpr TypeWrapperoperator= (const TypeWrapper &other)
 
constexpr TypeWrapperoperator= (const UA_Argument &native)
 
constexpr TypeWrapperoperator= (TypeWrapper &&other) noexcept
 
constexpr TypeWrapperoperator= (UA_Argument &&native) noexcept
 
constexpr void swap (TypeWrapper &other) noexcept
 
constexpr void swap (UA_Argument &native) noexcept
 
- Public Member Functions inherited from opcua::Wrapper< UA_Argument >
constexpr Wrapper ()=default
 
constexpr Wrapper (const UA_Argument &native)
 
constexpr Wrapper (UA_Argument &&native) noexcept
 
constexpr operator UA_Argument & () noexcept
 
constexpr operator const UA_Argument & () const noexcept
 
constexpr UA_Argumentoperator-> () noexcept
 
constexpr const UA_Argumentoperator-> () const noexcept
 
constexpr UA_Argumenthandle () noexcept
 
constexpr const UA_Argumenthandle () const noexcept
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ Argument()

opcua::Argument::Argument ( std::string_view name,
LocalizedText description,
NodeId dataType,
ValueRank valueRank = {},
Span< const uint32_t > arrayDimensions = {} )
inline

Definition at line 1434 of file types_composed.hpp.

Member Function Documentation

◆ getName() [1/2]

const String & opcua::Argument::getName ( ) const
inlinenoexcept

Definition at line 1449 of file types_composed.hpp.

◆ getName() [2/2]

String & opcua::Argument::getName ( )
inlinenoexcept

Definition at line 1449 of file types_composed.hpp.

◆ getDescription() [1/2]

const LocalizedText & opcua::Argument::getDescription ( ) const
inlinenoexcept

Definition at line 1450 of file types_composed.hpp.

◆ getDescription() [2/2]

LocalizedText & opcua::Argument::getDescription ( )
inlinenoexcept

Definition at line 1450 of file types_composed.hpp.

◆ getDataType() [1/2]

const NodeId & opcua::Argument::getDataType ( ) const
inlinenoexcept

Definition at line 1451 of file types_composed.hpp.

◆ getDataType() [2/2]

NodeId & opcua::Argument::getDataType ( )
inlinenoexcept

Definition at line 1451 of file types_composed.hpp.

◆ getValueRank()

ValueRank opcua::Argument::getValueRank ( ) const
inlinenoexcept

Definition at line 1452 of file types_composed.hpp.

◆ getArrayDimensions() [1/2]

Span< const uint32_t > opcua::Argument::getArrayDimensions ( ) const
inlinenoexcept

Definition at line 1453 of file types_composed.hpp.

◆ getArrayDimensions() [2/2]

Span< uint32_t > opcua::Argument::getArrayDimensions ( )
inlinenoexcept

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