open62541pp 0.15.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
opcua::EnumDefinition Class Reference

#include <types_composed.hpp>

Inheritance diagram for opcua::EnumDefinition:
[legend]

Detailed Description

Public Member Functions

 EnumDefinition (std::initializer_list< EnumField > fields)
 
 EnumDefinition (Span< const EnumField > fields)
 
Span< const EnumFieldgetFields () const noexcept
 
Span< EnumFieldgetFields () 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_EnumDefinition, UA_TYPES_ENUMDEFINITION >
constexpr TypeWrapper ()=default
 
constexpr TypeWrapper (const UA_EnumDefinition &native)
 
constexpr TypeWrapper (UA_EnumDefinition &&native) noexcept
 
constexpr TypeWrapper (const TypeWrapper &other)
 
constexpr TypeWrapper (TypeWrapper &&other) noexcept
 
 ~TypeWrapper ()
 
constexpr TypeWrapperoperator= (const TypeWrapper &other)
 
constexpr TypeWrapperoperator= (const UA_EnumDefinition &native)
 
constexpr TypeWrapperoperator= (TypeWrapper &&other) noexcept
 
constexpr TypeWrapperoperator= (UA_EnumDefinition &&native) noexcept
 
constexpr void swap (TypeWrapper &other) noexcept
 
constexpr void swap (UA_EnumDefinition &native) noexcept
 
- Public Member Functions inherited from opcua::Wrapper< UA_EnumDefinition >
constexpr Wrapper ()=default
 
constexpr Wrapper (const UA_EnumDefinition &native)
 
constexpr Wrapper (UA_EnumDefinition &&native) noexcept
 
constexpr operator UA_EnumDefinition & () noexcept
 
constexpr operator const UA_EnumDefinition & () const noexcept
 
constexpr UA_EnumDefinitionoperator-> () noexcept
 
constexpr const UA_EnumDefinitionoperator-> () const noexcept
 
constexpr UA_EnumDefinitionhandle () noexcept
 
constexpr const UA_EnumDefinitionhandle () const noexcept
 

Additional Inherited Members

- Public Types inherited from opcua::Wrapper< UA_EnumDefinition >
using NativeType
 
- Static Public Member Functions inherited from opcua::TypeWrapper< UA_EnumDefinition, UA_TYPES_ENUMDEFINITION >
static constexpr TypeIndex getTypeIndex ()
 
- Protected Member Functions inherited from opcua::TypeWrapper< UA_EnumDefinition, UA_TYPES_ENUMDEFINITION >
constexpr void clear () noexcept
 
- Protected Member Functions inherited from opcua::Wrapper< UA_EnumDefinition >
constexpr const UA_EnumDefinitionnative () const noexcept
 
constexpr UA_EnumDefinitionnative () noexcept
 

Constructor & Destructor Documentation

◆ EnumDefinition() [1/2]

opcua::EnumDefinition::EnumDefinition ( std::initializer_list< EnumField > fields)
inline

Definition at line 2447 of file types_composed.hpp.

◆ EnumDefinition() [2/2]

opcua::EnumDefinition::EnumDefinition ( Span< const EnumField > fields)
inlineexplicit

Definition at line 2450 of file types_composed.hpp.

Member Function Documentation

◆ getFields() [1/2]

Span< const EnumField > opcua::EnumDefinition::getFields ( ) const
inlinenoexcept

Definition at line 2455 of file types_composed.hpp.

◆ getFields() [2/2]

Span< EnumField > opcua::EnumDefinition::getFields ( )
inlinenoexcept

Definition at line 2455 of file types_composed.hpp.

◆ TypeWrapper() [1/5]

opcua::TypeWrapper< T, typeIndex >::TypeWrapper ( )
constexprdefault

◆ TypeWrapper() [2/5]

opcua::TypeWrapper< T, typeIndex >::TypeWrapper ( const T & native)
inlineexplicitconstexpr

Constructor with native object (deep copy).

Definition at line 30 of file typewrapper.hpp.

◆ TypeWrapper() [3/5]

opcua::TypeWrapper< T, typeIndex >::TypeWrapper ( T && native)
inlineconstexprnoexcept

Constructor with native object (move rvalue).

Definition at line 34 of file typewrapper.hpp.

◆ TypeWrapper() [4/5]

opcua::TypeWrapper< T, typeIndex >::TypeWrapper ( const TypeWrapper & other)
inlineconstexpr

Copy constructor (deep copy).

Definition at line 42 of file typewrapper.hpp.

◆ TypeWrapper() [5/5]

opcua::TypeWrapper< T, typeIndex >::TypeWrapper ( TypeWrapper && other)
inlineconstexprnoexcept

Move constructor.

Definition at line 46 of file typewrapper.hpp.