open62541pp 0.17.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
opcua::Guid Class Reference

#include <types.hpp>

Inheritance diagram for opcua::Guid:
[legend]

Detailed Description

UA_Guid wrapper class.

Definition at line 479 of file types.hpp.

Public Member Functions

 Guid (std::array< uint8_t, 16 > data) noexcept
 
 Guid (uint32_t data1, uint16_t data2, uint16_t data3, std::array< uint8_t, 8 > data4) noexcept
 
std::string toString () const
 
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_Guid, UA_TYPES_GUID >
constexpr TypeWrapper () noexcept=default
 
constexpr TypeWrapper (const UA_Guid &native)
 
constexpr TypeWrapper (UA_Guid &&native) noexcept
 
constexpr TypeWrapper (const TypeWrapper &other)
 
constexpr TypeWrapper (TypeWrapper &&other) noexcept
 
 ~TypeWrapper ()
 
constexpr TypeWrapperoperator= (const TypeWrapper &other)
 
constexpr TypeWrapperoperator= (const UA_Guid &native)
 
constexpr TypeWrapperoperator= (TypeWrapper &&other) noexcept
 
constexpr TypeWrapperoperator= (UA_Guid &&native) noexcept
 
- Public Member Functions inherited from opcua::Wrapper< UA_Guid >
constexpr Wrapper () noexcept=default
 
constexpr Wrapper (const UA_Guid &native) noexcept
 
constexpr Wrapper (UA_Guid &&native) noexcept
 
constexpr Wrapperoperator= (const UA_Guid &native) noexcept
 
constexpr Wrapperoperator= (UA_Guid &&native) noexcept
 
constexpr operator UA_Guid & () noexcept
 
constexpr operator const UA_Guid & () const noexcept
 
constexpr UA_Guidoperator-> () noexcept
 
constexpr const UA_Guidoperator-> () const noexcept
 
constexpr UA_Guidhandle () noexcept
 
constexpr const UA_Guidhandle () const noexcept
 
constexpr void swap (Wrapper &other) noexcept
 
constexpr void swap (UA_Guid &native) noexcept
 

Static Public Member Functions

static Guid random () noexcept
 
- Static Public Member Functions inherited from opcua::TypeWrapper< UA_Guid, UA_TYPES_GUID >
static constexpr TypeIndex typeIndex ()
 

Related Symbols

(Note that these are not member symbols.)

bool operator== (const UA_Guid &lhs, const UA_Guid &rhs) noexcept
 
bool operator!= (const UA_Guid &lhs, const UA_Guid &rhs) noexcept
 
std::ostream & operator<< (std::ostream &os, const Guid &guid)
 

Additional Inherited Members

- Public Types inherited from opcua::Wrapper< UA_Guid >
using NativeType
 
- Protected Member Functions inherited from opcua::TypeWrapper< UA_Guid, UA_TYPES_GUID >
constexpr void clear () noexcept
 
- Protected Member Functions inherited from opcua::Wrapper< UA_Guid >
constexpr const UA_Guidnative () const noexcept
 
constexpr UA_Guidnative () noexcept
 

Constructor & Destructor Documentation

◆ Guid() [1/2]

opcua::Guid::Guid ( std::array< uint8_t, 16 > data)
inlineexplicitnoexcept

Definition at line 483 of file types.hpp.

◆ Guid() [2/2]

opcua::Guid::Guid ( uint32_t data1,
uint16_t data2,
uint16_t data3,
std::array< uint8_t, 8 > data4 )
inlinenoexcept

Definition at line 495 of file types.hpp.

Member Function Documentation

◆ random()

static Guid opcua::Guid::random ( )
inlinestaticnoexcept

Definition at line 503 of file types.hpp.

◆ toString()

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

◆ TypeWrapper() [1/5]

opcua::TypeWrapper< T, Index >::TypeWrapper ( )
constexprdefaultnoexcept

◆ TypeWrapper() [2/5]

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]

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]

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

Copy constructor (deep copy).

Definition at line 43 of file typewrapper.hpp.

◆ TypeWrapper() [5/5]

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

Move constructor.

Definition at line 47 of file typewrapper.hpp.

Friends And Related Symbol Documentation

◆ operator==()

bool operator== ( const UA_Guid & lhs,
const UA_Guid & rhs )
related

Definition at line 511 of file types.hpp.

◆ operator!=()

bool operator!= ( const UA_Guid & lhs,
const UA_Guid & rhs )
related

Definition at line 516 of file types.hpp.

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const Guid & guid )
related