open62541pp 0.19.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
wrapper.hpp File Reference
#include <type_traits>
#include <utility>
#include "open62541pp/common.hpp"
#include "open62541pp/detail/types_handling.hpp"
#include "open62541pp/typeregistry.hpp"
Include dependency graph for wrapper.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  opcua::TypeHandler< T >
 
struct  opcua::TypeHandlerNative< T, Index >
 
class  opcua::Wrapper< T, Handler >
 
class  opcua::TypeWrapper< T, Index >
 
struct  opcua::IsWrapper< T >
 
struct  opcua::TypeRegistry< T, std::enable_if_t< IsWrapper< T >::value &&IsRegistered< typename T::NativeType >::value > >
 

Namespaces

namespace  opcua
 

Typedefs

template<typename T , TypeIndex Index>
using opcua::WrapperNative = Wrapper< T, TypeHandlerNative< T, Index > >
 

Functions

template<typename T >
constexpr T * opcua::asWrapper (typename T::NativeType *native) noexcept
 
template<typename T >
constexpr const T * opcua::asWrapper (const typename T::NativeType *native) noexcept
 
template<typename T >
constexpr T & opcua::asWrapper (typename T::NativeType &native) noexcept
 
template<typename T >
constexpr const T & opcua::asWrapper (const typename T::NativeType &native) noexcept
 
template<typename T >
constexpr T::NativeType * opcua::asNative (T *wrapper) noexcept
 
template<typename T >
constexpr const T::NativeType * opcua::asNative (const T *wrapper) noexcept
 
template<typename T >
constexpr T::NativeType & opcua::asNative (T &wrapper) noexcept
 
template<typename T >
constexpr const T::NativeType & opcua::asNative (const T &wrapper) noexcept