#include <types.hpp>
UA_ByteString wrapper class.
- Examples
- server_accesscontrol.cpp.
Definition at line 535 of file types.hpp.
|
using | NativeType = T |
|
using | HandlerType = Handler |
|
constexpr const T & | native () const noexcept |
|
constexpr T & | native () noexcept |
|
constexpr void | clear () noexcept |
|
template<typename T > |
constexpr T * | asWrapper (typename T::NativeType *native) noexcept |
|
template<typename T > |
constexpr const T * | asWrapper (const typename T::NativeType *native) noexcept |
|
template<typename T > |
constexpr T & | asWrapper (typename T::NativeType &native) noexcept |
|
template<typename T > |
constexpr const T & | asWrapper (const typename T::NativeType &native) noexcept |
|
template<typename T > |
constexpr T::NativeType * | asNative (T *wrapper) noexcept |
|
template<typename T > |
constexpr const T::NativeType * | asNative (const T *wrapper) noexcept |
|
template<typename T > |
constexpr T::NativeType & | asNative (T &wrapper) noexcept |
|
template<typename T > |
constexpr const T::NativeType & | asNative (const T &wrapper) noexcept |
|
◆ ByteString() [1/4]
opcua::ByteString::ByteString |
( |
std::string_view |
str | ) |
|
|
inlineexplicit |
◆ ByteString() [2/4]
opcua::ByteString::ByteString |
( |
const char * |
str | ) |
|
|
inlineexplicit |
◆ ByteString() [3/4]
opcua::ByteString::ByteString |
( |
Span< const uint8_t > |
bytes | ) |
|
|
inlineexplicit |
◆ ByteString() [4/4]
template<typename InputIt >
opcua::ByteString::ByteString |
( |
InputIt |
first, |
|
|
InputIt |
last |
|
) |
| |
|
inline |
◆ fromBase64()
static ByteString opcua::ByteString::fromBase64 |
( |
std::string_view |
encoded | ) |
|
|
static |
Parse ByteString from Base64 encoded string.
- Note
- Supported since open62541 v1.1
◆ operator std::basic_string_view< char, Traits >()
template<typename Traits >
opcua::ByteString::operator std::basic_string_view< char, Traits > |
( |
| ) |
const |
|
inlineexplicitnoexcept |
Explicit conversion to std::string_view.
Definition at line 562 of file types.hpp.
◆ toBase64()
String opcua::ByteString::toBase64 |
( |
| ) |
const |
Convert to Base64 encoded string.
- Note
- Supported since open62541 v1.1
◆ Wrapper() [1/5]
◆ Wrapper() [2/5]
Copy constructor with native object.
Definition at line 151 of file wrapper.hpp.
◆ Wrapper() [3/5]
◆ Wrapper() [4/5]
Move constructor with native object.
Definition at line 159 of file wrapper.hpp.
◆ Wrapper() [5/5]