open62541pp 0.19.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Related Symbols | List of all members
opcua::ExpandedNodeId Class Reference

#include <types.hpp>

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 822 of file types.hpp.

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
 
NodeIdnodeId () noexcept
 
const NodeIdnodeId () const noexcept
 
std::string_view namespaceUri () const
 
uint32_t serverIndex () const noexcept
 
String toString () const
 
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
 

Static Public Member Functions

static ExpandedNodeId parse (std::string_view str)
 

Related Symbols

(Note that these are not member symbols.)

bool operator== (const UA_ExpandedNodeId &lhs, const UA_ExpandedNodeId &rhs) noexcept
 
bool operator!= (const UA_ExpandedNodeId &lhs, const UA_ExpandedNodeId &rhs) noexcept
 
bool operator< (const UA_ExpandedNodeId &lhs, const UA_ExpandedNodeId &rhs) noexcept
 
bool operator> (const UA_ExpandedNodeId &lhs, const UA_ExpandedNodeId &rhs) noexcept
 
bool operator<= (const UA_ExpandedNodeId &lhs, const UA_ExpandedNodeId &rhs) noexcept
 
bool operator>= (const UA_ExpandedNodeId &lhs, const UA_ExpandedNodeId &rhs) 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

◆ ExpandedNodeId() [1/2]

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

Definition at line 826 of file types.hpp.

◆ ExpandedNodeId() [2/2]

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

Definition at line 830 of file types.hpp.

Member Function Documentation

◆ hash()

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

Definition at line 852 of file types.hpp.

◆ isLocal()

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

Definition at line 848 of file types.hpp.

◆ namespaceUri()

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

Definition at line 864 of file types.hpp.

◆ nodeId() [1/2]

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

Definition at line 860 of file types.hpp.

◆ nodeId() [2/2]

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

Definition at line 856 of file types.hpp.

◆ parse()

static ExpandedNodeId opcua::ExpandedNodeId::parse ( std::string_view  str)
inlinestatic

Parse ExpandedNodeId from its string representation.

Format: svr=<serverindex>;ns=<namespaceindex>;<type>=<value> or svr=<serverindex>;nsu=<uri>;<type>=<value>

See also
https://reference.opcfoundation.org/Core/Part6/v104/docs/5.3.1.11

Definition at line 841 of file types.hpp.

◆ serverIndex()

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

Definition at line 868 of file types.hpp.

◆ toString()

String opcua::ExpandedNodeId::toString ( ) const
Deprecated:
Use free function opcua::toString(const T&) instead

◆ 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.

Friends And Related Symbol Documentation

◆ operator!=()

bool operator!= ( const UA_ExpandedNodeId lhs,
const UA_ExpandedNodeId rhs 
)
related

Definition at line 883 of file types.hpp.

◆ operator<()

bool operator< ( const UA_ExpandedNodeId lhs,
const UA_ExpandedNodeId rhs 
)
related

Definition at line 888 of file types.hpp.

◆ operator<=()

bool operator<= ( const UA_ExpandedNodeId lhs,
const UA_ExpandedNodeId rhs 
)
related

Definition at line 898 of file types.hpp.

◆ operator==()

bool operator== ( const UA_ExpandedNodeId lhs,
const UA_ExpandedNodeId rhs 
)
related

Definition at line 878 of file types.hpp.

◆ operator>()

bool operator> ( const UA_ExpandedNodeId lhs,
const UA_ExpandedNodeId rhs 
)
related

Definition at line 893 of file types.hpp.

◆ operator>=()

bool operator>= ( const UA_ExpandedNodeId lhs,
const UA_ExpandedNodeId rhs 
)
related

Definition at line 903 of file types.hpp.