open62541pp 0.17.0
C++ wrapper of open62541
|
#include <wrapper.hpp>
Template base class to wrap native objects.
Definition at line 33 of file wrapper.hpp.
Public Types | |
using | NativeType = T |
Public Member Functions | |
constexpr | Wrapper () noexcept=default |
constexpr | Wrapper (const T &native) noexcept |
constexpr | Wrapper (T &&native) noexcept |
constexpr Wrapper & | operator= (const T &native) noexcept |
constexpr Wrapper & | operator= (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 |
Protected Member Functions | |
constexpr const T & | native () const noexcept |
constexpr T & | native () noexcept |
Related Symbols | |
(Note that these are not member symbols.) | |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr WrapperType * | asWrapper (NativeType *native) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr const WrapperType * | asWrapper (const NativeType *native) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr WrapperType & | asWrapper (NativeType &native) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr const WrapperType & | asWrapper (const NativeType &native) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr NativeType * | asNative (WrapperType *wrapper) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr const NativeType * | asNative (const WrapperType *wrapper) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr NativeType & | asNative (WrapperType &wrapper) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr const NativeType & | asNative (const WrapperType &wrapper) noexcept |
using opcua::Wrapper< T >::NativeType = T |
Definition at line 37 of file wrapper.hpp.
|
constexprdefaultnoexcept |
|
inlineexplicitconstexprnoexcept |
Copy constructor with native object.
Definition at line 42 of file wrapper.hpp.
|
inlineexplicitconstexprnoexcept |
Move constructor with native object.
Definition at line 46 of file wrapper.hpp.
|
inlineconstexprnoexcept |
Copy assignment with native object.
Definition at line 50 of file wrapper.hpp.
|
inlineconstexprnoexcept |
Move assignment with native object.
Definition at line 56 of file wrapper.hpp.
|
inlineconstexprnoexcept |
Implicit conversion to native object.
Definition at line 62 of file wrapper.hpp.
|
inlineconstexprnoexcept |
Implicit conversion to native object.
Definition at line 67 of file wrapper.hpp.
|
inlineconstexprnoexcept |
Member access to native object.
Definition at line 72 of file wrapper.hpp.
|
inlineconstexprnoexcept |
Member access to native object.
Definition at line 77 of file wrapper.hpp.
|
inlineconstexprnoexcept |
Return pointer to native object.
Definition at line 82 of file wrapper.hpp.
|
inlineconstexprnoexcept |
Return pointer to native object.
Definition at line 87 of file wrapper.hpp.
|
inlineconstexprnoexcept |
Swap with wrapper object.
Definition at line 92 of file wrapper.hpp.
|
inlineconstexprnoexcept |
Swap with native object.
Definition at line 97 of file wrapper.hpp.
|
inlineconstexprprotectednoexcept |
Definition at line 102 of file wrapper.hpp.
Referenced by opcua::TypeWrapper< T, Index >::clear(), opcua::NumericRange::operator=(), opcua::TypeWrapper< T, Index >::operator=(), opcua::TypeWrapper< T, Index >::operator=(), opcua::TypeWrapper< T, Index >::operator=(), opcua::TypeWrapper< T, Index >::operator=(), opcua::Wrapper< T >::operator=(), opcua::Wrapper< T >::operator=(), opcua::Wrapper< T >::swap(), and opcua::Wrapper< T >::swap().
|
inlineconstexprprotectednoexcept |
Definition at line 106 of file wrapper.hpp.