open62541++ 0.13.0
C++ wrapper of open62541
|
#include <Builtin.h>
UA_ByteString wrapper class.
Public Member Functions | |
ByteString (std::string_view str) | |
ByteString (const std::vector< uint8_t > &bytes) | |
bool | empty () const noexcept |
std::string | toBase64 () const |
std::string_view | get () const noexcept |
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_ByteString, UA_TYPES_BYTESTRING > | |
constexpr | TypeWrapper ()=default |
constexpr | TypeWrapper (const UA_ByteString &native) |
constexpr | TypeWrapper (UA_ByteString &&native) noexcept |
constexpr | TypeWrapper (const TypeWrapper &other) |
constexpr | TypeWrapper (TypeWrapper &&other) noexcept |
~TypeWrapper () | |
constexpr TypeWrapper & | operator= (const TypeWrapper &other) |
constexpr TypeWrapper & | operator= (const UA_ByteString &native) |
constexpr TypeWrapper & | operator= (TypeWrapper &&other) noexcept |
constexpr TypeWrapper & | operator= (UA_ByteString &&native) noexcept |
constexpr void | swap (TypeWrapper &other) noexcept |
constexpr void | swap (UA_ByteString &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 |
Static Public Member Functions | |
static ByteString | fromBase64 (std::string_view encoded) |
Static Public Member Functions inherited from opcua::TypeWrapper< UA_ByteString, UA_TYPES_BYTESTRING > | |
static constexpr TypeIndex | getTypeIndex () |
Additional Inherited Members | |
Public Types inherited from opcua::Wrapper< T > | |
using | NativeType = T |
Protected Member Functions inherited from opcua::TypeWrapper< UA_ByteString, UA_TYPES_BYTESTRING > | |
constexpr void | clear () noexcept |
Protected Member Functions inherited from opcua::Wrapper< T > | |
constexpr const T & | native () const noexcept |
constexpr T & | native () noexcept |
|
inlineexplicit |
|
inlineexplicit |
|
static |
Parse ByteString from Base64 encoded string.
std::string opcua::ByteString::toBase64 | ( | ) | const |
Convert to Base64 encoded string.
|
inlinenoexcept |
|
constexprdefault |
|
inlineexplicitconstexpr |
Constructor with native object (deep copy).
Definition at line 36 of file TypeWrapper.h.
|
inlineconstexprnoexcept |
Constructor with native object (move rvalue).
Definition at line 40 of file TypeWrapper.h.
|
inlineconstexpr |
Copy constructor (deep copy).
Definition at line 48 of file TypeWrapper.h.
|
inlineconstexprnoexcept |
Move constructor.
Definition at line 52 of file TypeWrapper.h.