open62541pp 0.16.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 443 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 ()=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 ()=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
 
constexpr void swap (TypeWrapper &other) noexcept
 
constexpr void swap (UA_Guid &native) noexcept
 
- Public Member Functions inherited from opcua::Wrapper< UA_Guid >
constexpr Wrapper ()=default
 
constexpr Wrapper (const UA_Guid &native)
 
constexpr Wrapper (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
 

Static Public Member Functions

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

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

Member Function Documentation

◆ random()

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

Definition at line 467 of file types.hpp.

◆ toString()

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

◆ TypeWrapper() [1/5]

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

◆ TypeWrapper() [2/5]

opcua::TypeWrapper< T, typeIndex >::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, typeIndex >::TypeWrapper ( T && native)
inlineconstexprnoexcept

Constructor with native object (move rvalue).

Definition at line 35 of file typewrapper.hpp.

◆ TypeWrapper() [4/5]

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

Copy constructor (deep copy).

Definition at line 43 of file typewrapper.hpp.

◆ TypeWrapper() [5/5]

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

Move constructor.

Definition at line 47 of file typewrapper.hpp.