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

#include <types.hpp>

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

Detailed Description

UA_WriteValue wrapper class.

See also
https://reference.opcfoundation.org/Core/Part4/v105/docs/5.10.4

Definition at line 1493 of file types.hpp.

Public Member Functions

 WriteValue (NodeId nodeId, AttributeId attributeId, std::string_view indexRange, DataValue value)
 
const NodeIdnodeId () const noexcept
 
const NodeIdgetNodeId () const noexcept
 
NodeIdnodeId () noexcept
 
NodeIdgetNodeId () noexcept
 
AttributeId attributeId () const noexcept
 
AttributeId getAttributeId () const noexcept
 
const StringindexRange () const noexcept
 
const StringgetIndexRange () const noexcept
 
StringindexRange () noexcept
 
StringgetIndexRange () noexcept
 
const DataValuevalue () const noexcept
 
const DataValuegetValue () const noexcept
 
DataValuevalue () noexcept
 
DataValuegetValue () 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_WriteValue, UA_TYPES_WRITEVALUE >
constexpr TypeWrapper () noexcept=default
 
constexpr TypeWrapper (const UA_WriteValue &native)
 
constexpr TypeWrapper (UA_WriteValue &&native) noexcept
 
constexpr TypeWrapper (const TypeWrapper &other)
 
constexpr TypeWrapper (TypeWrapper &&other) noexcept
 
 ~TypeWrapper ()
 
constexpr TypeWrapperoperator= (const TypeWrapper &other)
 
constexpr TypeWrapperoperator= (const UA_WriteValue &native)
 
constexpr TypeWrapperoperator= (TypeWrapper &&other) noexcept
 
constexpr TypeWrapperoperator= (UA_WriteValue &&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_WriteValue, UA_TYPES_WRITEVALUE >
static constexpr TypeIndex typeIndex ()
 
- Protected Member Functions inherited from opcua::TypeWrapper< UA_WriteValue, UA_TYPES_WRITEVALUE >
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

◆ WriteValue()

opcua::ua::WriteValue::WriteValue ( NodeId  nodeId,
AttributeId  attributeId,
std::string_view  indexRange,
DataValue  value 
)
inline

Definition at line 1497 of file types.hpp.

Member Function Documentation

◆ nodeId() [1/2]

const NodeId & opcua::ua::WriteValue::nodeId ( ) const
inlinenoexcept

Definition at line 1506 of file types.hpp.

◆ getNodeId() [1/2]

const NodeId & opcua::ua::WriteValue::getNodeId ( ) const
inlinenoexcept
Deprecated:
Use nodeId instead

Definition at line 1506 of file types.hpp.

◆ nodeId() [2/2]

NodeId & opcua::ua::WriteValue::nodeId ( )
inlinenoexcept

Definition at line 1506 of file types.hpp.

◆ getNodeId() [2/2]

NodeId & opcua::ua::WriteValue::getNodeId ( )
inlinenoexcept
Deprecated:
Use nodeId instead

Definition at line 1506 of file types.hpp.

◆ attributeId()

AttributeId opcua::ua::WriteValue::attributeId ( ) const
inlinenoexcept

Definition at line 1507 of file types.hpp.

◆ getAttributeId()

AttributeId opcua::ua::WriteValue::getAttributeId ( ) const
inlinenoexcept
Deprecated:
Use attributeId instead

Definition at line 1507 of file types.hpp.

◆ indexRange() [1/2]

const String & opcua::ua::WriteValue::indexRange ( ) const
inlinenoexcept

Definition at line 1508 of file types.hpp.

◆ getIndexRange() [1/2]

const String & opcua::ua::WriteValue::getIndexRange ( ) const
inlinenoexcept
Deprecated:
Use indexRange instead

Definition at line 1508 of file types.hpp.

◆ indexRange() [2/2]

String & opcua::ua::WriteValue::indexRange ( )
inlinenoexcept

Definition at line 1508 of file types.hpp.

◆ getIndexRange() [2/2]

String & opcua::ua::WriteValue::getIndexRange ( )
inlinenoexcept
Deprecated:
Use indexRange instead

Definition at line 1508 of file types.hpp.

◆ value() [1/2]

const DataValue & opcua::ua::WriteValue::value ( ) const
inlinenoexcept

Definition at line 1509 of file types.hpp.

◆ getValue() [1/2]

const DataValue & opcua::ua::WriteValue::getValue ( ) const
inlinenoexcept
Deprecated:
Use value instead

Definition at line 1509 of file types.hpp.

◆ value() [2/2]

DataValue & opcua::ua::WriteValue::value ( )
inlinenoexcept

Definition at line 1509 of file types.hpp.

◆ getValue() [2/2]

DataValue & opcua::ua::WriteValue::getValue ( )
inlinenoexcept
Deprecated:
Use value instead

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