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

#include <types.hpp>

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

Detailed Description

Public Member Functions

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

Definition at line 1557 of file types.hpp.

Member Function Documentation

◆ name() [1/2]

const String & opcua::ua::Argument::name ( ) const
inlinenoexcept

Definition at line 1572 of file types.hpp.

◆ getName() [1/2]

const String & opcua::ua::Argument::getName ( ) const
inlinenoexcept
Deprecated
Use name instead

Definition at line 1572 of file types.hpp.

◆ name() [2/2]

String & opcua::ua::Argument::name ( )
inlinenoexcept

Definition at line 1572 of file types.hpp.

◆ getName() [2/2]

String & opcua::ua::Argument::getName ( )
inlinenoexcept
Deprecated
Use name instead

Definition at line 1572 of file types.hpp.

◆ description() [1/2]

const LocalizedText & opcua::ua::Argument::description ( ) const
inlinenoexcept

Definition at line 1573 of file types.hpp.

◆ getDescription() [1/2]

const LocalizedText & opcua::ua::Argument::getDescription ( ) const
inlinenoexcept
Deprecated
Use description instead

Definition at line 1573 of file types.hpp.

◆ description() [2/2]

LocalizedText & opcua::ua::Argument::description ( )
inlinenoexcept

Definition at line 1573 of file types.hpp.

◆ getDescription() [2/2]

LocalizedText & opcua::ua::Argument::getDescription ( )
inlinenoexcept
Deprecated
Use description instead

Definition at line 1573 of file types.hpp.

◆ dataType() [1/2]

const NodeId & opcua::ua::Argument::dataType ( ) const
inlinenoexcept

Definition at line 1574 of file types.hpp.

◆ getDataType() [1/2]

const NodeId & opcua::ua::Argument::getDataType ( ) const
inlinenoexcept
Deprecated
Use dataType instead

Definition at line 1574 of file types.hpp.

◆ dataType() [2/2]

NodeId & opcua::ua::Argument::dataType ( )
inlinenoexcept

Definition at line 1574 of file types.hpp.

◆ getDataType() [2/2]

NodeId & opcua::ua::Argument::getDataType ( )
inlinenoexcept
Deprecated
Use dataType instead

Definition at line 1574 of file types.hpp.

◆ valueRank()

ValueRank opcua::ua::Argument::valueRank ( ) const
inlinenoexcept

Definition at line 1575 of file types.hpp.

◆ getValueRank()

ValueRank opcua::ua::Argument::getValueRank ( ) const
inlinenoexcept
Deprecated
Use valueRank instead

Definition at line 1575 of file types.hpp.

◆ arrayDimensions() [1/2]

Span< const uint32_t > opcua::ua::Argument::arrayDimensions ( ) const
inlinenoexcept

Definition at line 1576 of file types.hpp.

◆ arrayDimensions() [2/2]

Span< uint32_t > opcua::ua::Argument::arrayDimensions ( )
inlinenoexcept

Definition at line 1576 of file types.hpp.

◆ getArrayDimensions() [1/2]

Span< const uint32_t > opcua::ua::Argument::getArrayDimensions ( ) const
inlinenoexcept
Deprecated
Use arrayDimensions instead

Definition at line 1576 of file types.hpp.

◆ getArrayDimensions() [2/2]

Span< uint32_t > opcua::ua::Argument::getArrayDimensions ( )
inlinenoexcept
Deprecated
Use arrayDimensions instead

Definition at line 1576 of file types.hpp.

◆ TypeWrapper() [1/5]

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

◆ TypeWrapper() [2/5]

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]

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]

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

Copy constructor (deep copy).

Definition at line 43 of file typewrapper.hpp.

◆ TypeWrapper() [5/5]

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

Move constructor.

Definition at line 47 of file typewrapper.hpp.