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

#include <types.hpp>

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

Detailed Description

UA_Argument wrapper class.

See also
https://reference.opcfoundation.org/Core/Part3/v105/docs/8.6

Definition at line 1585 of file types.hpp.

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< 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_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< T >
constexpr const T & native () const noexcept
 
constexpr T & native () 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 1589 of file types.hpp.

Member Function Documentation

◆ name() [1/2]

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

Definition at line 1604 of file types.hpp.

◆ getName() [1/2]

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

Definition at line 1604 of file types.hpp.

◆ name() [2/2]

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

Definition at line 1604 of file types.hpp.

◆ getName() [2/2]

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

Definition at line 1604 of file types.hpp.

◆ description() [1/2]

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

Definition at line 1605 of file types.hpp.

◆ getDescription() [1/2]

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

Definition at line 1605 of file types.hpp.

◆ description() [2/2]

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

Definition at line 1605 of file types.hpp.

◆ getDescription() [2/2]

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

Definition at line 1605 of file types.hpp.

◆ dataType() [1/2]

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

Definition at line 1606 of file types.hpp.

◆ getDataType() [1/2]

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

Definition at line 1606 of file types.hpp.

◆ dataType() [2/2]

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

Definition at line 1606 of file types.hpp.

◆ getDataType() [2/2]

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

Definition at line 1606 of file types.hpp.

◆ valueRank()

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

Definition at line 1607 of file types.hpp.

◆ getValueRank()

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

Definition at line 1607 of file types.hpp.

◆ arrayDimensions() [1/2]

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

Definition at line 1608 of file types.hpp.

◆ arrayDimensions() [2/2]

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

Definition at line 1608 of file types.hpp.

◆ getArrayDimensions() [1/2]

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

Definition at line 1608 of file types.hpp.

◆ getArrayDimensions() [2/2]

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

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