open62541pp 0.19.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 1519 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
 
Stringname () noexcept
 
const LocalizedTextdescription () const noexcept
 
LocalizedTextdescription () noexcept
 
const NodeIddataType () const noexcept
 
NodeIddataType () noexcept
 
ValueRank valueRank () const noexcept
 
Span< const uint32_t > arrayDimensions () const noexcept
 
Span< uint32_t > arrayDimensions () noexcept
 
constexpr Wrapper () noexcept=default
 
constexpr Wrapper (const Wrapper &other)
 
constexpr Wrapper (const T &native)
 
constexpr Wrapper (Wrapper &&other) noexcept
 
constexpr Wrapper (T &&native) noexcept
 
- Public Member Functions inherited from opcua::Wrapper< T, Handler >
constexpr Wrapper () noexcept=default
 
constexpr Wrapper (const Wrapper &other)
 
constexpr Wrapper (const T &native)
 
constexpr Wrapper (Wrapper &&other) noexcept
 
constexpr Wrapper (T &&native) noexcept
 
 ~Wrapper () noexcept=default
 
constexpr Wrapperoperator= (const Wrapper &other)
 
constexpr Wrapperoperator= (const T &native)
 
constexpr Wrapperoperator= (Wrapper &&other) 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, Handler >
using NativeType = T
 
using HandlerType = Handler
 
- Protected Member Functions inherited from opcua::Wrapper< T, Handler >
constexpr const T & native () const noexcept
 
constexpr T & native () noexcept
 
constexpr void clear () 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 1523 of file types.hpp.

Member Function Documentation

◆ arrayDimensions() [1/2]

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

Definition at line 1542 of file types.hpp.

◆ arrayDimensions() [2/2]

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

Definition at line 1542 of file types.hpp.

◆ dataType() [1/2]

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

Definition at line 1540 of file types.hpp.

◆ dataType() [2/2]

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

Definition at line 1540 of file types.hpp.

◆ description() [1/2]

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

Definition at line 1539 of file types.hpp.

◆ description() [2/2]

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

Definition at line 1539 of file types.hpp.

◆ name() [1/2]

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

Definition at line 1538 of file types.hpp.

◆ name() [2/2]

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

Definition at line 1538 of file types.hpp.

◆ valueRank()

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

Definition at line 1541 of file types.hpp.

◆ Wrapper() [1/5]

constexpr opcua::Wrapper< T, Handler >::Wrapper ( )
constexprdefaultnoexcept

◆ Wrapper() [2/5]

constexpr opcua::Wrapper< T, Handler >::Wrapper ( const T &  native)
inlineexplicitconstexpr

Copy constructor with native object.

Definition at line 151 of file wrapper.hpp.

◆ Wrapper() [3/5]

constexpr opcua::Wrapper< T, Handler >::Wrapper ( const Wrapper other)
inlineconstexpr

Copy constructor.

Definition at line 147 of file wrapper.hpp.

◆ Wrapper() [4/5]

constexpr opcua::Wrapper< T, Handler >::Wrapper ( T &&  native)
inlineconstexprnoexcept

Move constructor with native object.

Definition at line 159 of file wrapper.hpp.

◆ Wrapper() [5/5]

constexpr opcua::Wrapper< T, Handler >::Wrapper ( Wrapper &&  other)
inlineconstexprnoexcept

Move constructor.

Definition at line 155 of file wrapper.hpp.