open62541pp 0.16.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
typeregistry.hpp File Reference
Include dependency graph for typeregistry.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  opcua::detail::IsRegisteredType< T, typename >
 
struct  opcua::detail::IsRegisteredType< T, std::void_t< decltype(TypeRegistry< T >{})> >
 

Namespaces

namespace  opcua
 
namespace  opcua::detail
 

Macros

#define UAPP_TYPEREGISTRY_NATIVE(NativeType, typeIndex)
 

Functions

template<typename T >
const UA_DataTypeopcua::getDataType () noexcept
 

Variables

template<typename T >
constexpr bool opcua::detail::isRegisteredType = IsRegisteredType<T>::value
 

Macro Definition Documentation

◆ UAPP_TYPEREGISTRY_NATIVE

#define UAPP_TYPEREGISTRY_NATIVE ( NativeType,
typeIndex )
Value:
template <> \
struct TypeRegistry<NativeType> { \
static const auto& getDataType() noexcept { \
return UA_TYPES[typeIndex]; \
} \
};
const UA_DataType UA_TYPES[191]

Definition at line 59 of file typeregistry.hpp.