open62541++ 0.13.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
Public Member Functions | List of all members
opcua::ExpandedNodeId Class Reference

#include <NodeId.h>

Inheritance diagram for opcua::ExpandedNodeId:
[legend]

Detailed Description

UA_ExpandedNodeId wrapper class.

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

Definition at line 198 of file NodeId.h.

Public Member Functions

 ExpandedNodeId (NodeId id) noexcept
 
 ExpandedNodeId (NodeId id, std::string_view namespaceUri, uint32_t serverIndex)
 
bool isLocal () const noexcept
 
uint32_t hash () const noexcept
 
NodeIdgetNodeId () noexcept
 
const NodeIdgetNodeId () const noexcept
 
std::string_view getNamespaceUri () const
 
uint32_t getServerIndex () const noexcept
 
std::string toString () const
 
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_ExpandedNodeId, UA_TYPES_EXPANDEDNODEID >
constexpr TypeWrapper ()=default
 
constexpr TypeWrapper (const UA_ExpandedNodeId &native)
 
constexpr TypeWrapper (UA_ExpandedNodeId &&native) noexcept
 
constexpr TypeWrapper (const TypeWrapper &other)
 
constexpr TypeWrapper (TypeWrapper &&other) noexcept
 
 ~TypeWrapper ()
 
constexpr TypeWrapperoperator= (const TypeWrapper &other)
 
constexpr TypeWrapperoperator= (const UA_ExpandedNodeId &native)
 
constexpr TypeWrapperoperator= (TypeWrapper &&other) noexcept
 
constexpr TypeWrapperoperator= (UA_ExpandedNodeId &&native) noexcept
 
constexpr void swap (TypeWrapper &other) noexcept
 
constexpr void swap (UA_ExpandedNodeId &native) noexcept
 
- Public Member Functions inherited from opcua::Wrapper< T >
constexpr Wrapper ()=default
 
constexpr Wrapper (const T &native)
 
constexpr Wrapper (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
 

Additional Inherited Members

- Public Types inherited from opcua::Wrapper< T >
using NativeType = T
 
- Static Public Member Functions inherited from opcua::TypeWrapper< UA_ExpandedNodeId, UA_TYPES_EXPANDEDNODEID >
static constexpr TypeIndex getTypeIndex ()
 
- Protected Member Functions inherited from opcua::TypeWrapper< UA_ExpandedNodeId, UA_TYPES_EXPANDEDNODEID >
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

◆ ExpandedNodeId() [1/2]

opcua::ExpandedNodeId::ExpandedNodeId ( NodeId id)
inlineexplicitnoexcept

Definition at line 202 of file NodeId.h.

◆ ExpandedNodeId() [2/2]

opcua::ExpandedNodeId::ExpandedNodeId ( NodeId id,
std::string_view namespaceUri,
uint32_t serverIndex )
inline

Definition at line 206 of file NodeId.h.

Member Function Documentation

◆ isLocal()

bool opcua::ExpandedNodeId::isLocal ( ) const
inlinenoexcept

Definition at line 212 of file NodeId.h.

◆ hash()

uint32_t opcua::ExpandedNodeId::hash ( ) const
inlinenoexcept

Definition at line 216 of file NodeId.h.

◆ getNodeId() [1/2]

NodeId & opcua::ExpandedNodeId::getNodeId ( )
inlinenoexcept

Definition at line 220 of file NodeId.h.

◆ getNodeId() [2/2]

const NodeId & opcua::ExpandedNodeId::getNodeId ( ) const
inlinenoexcept

Definition at line 224 of file NodeId.h.

◆ getNamespaceUri()

std::string_view opcua::ExpandedNodeId::getNamespaceUri ( ) const
inline

Definition at line 228 of file NodeId.h.

◆ getServerIndex()

uint32_t opcua::ExpandedNodeId::getServerIndex ( ) const
inlinenoexcept

Definition at line 232 of file NodeId.h.

◆ toString()

std::string opcua::ExpandedNodeId::toString ( ) const

◆ TypeWrapper() [1/5]

constexpr opcua::TypeWrapper< T, typeIndex >::TypeWrapper ( )
constexprdefault

◆ TypeWrapper() [2/5]

constexpr opcua::TypeWrapper< T, typeIndex >::TypeWrapper ( const T & native)
inlineexplicitconstexpr

Constructor with native object (deep copy).

Definition at line 36 of file TypeWrapper.h.

◆ TypeWrapper() [3/5]

constexpr opcua::TypeWrapper< T, typeIndex >::TypeWrapper ( T && native)
inlineconstexprnoexcept

Constructor with native object (move rvalue).

Definition at line 40 of file TypeWrapper.h.

◆ TypeWrapper() [4/5]

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

Copy constructor (deep copy).

Definition at line 48 of file TypeWrapper.h.

◆ TypeWrapper() [5/5]

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

Move constructor.

Definition at line 52 of file TypeWrapper.h.