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

#include <types.hpp>

Inheritance diagram for opcua::ua::EnumDefinition:
[legend]

Detailed Description

Public Member Functions

 EnumDefinition (std::initializer_list< EnumField > fields)
 
 EnumDefinition (Span< const EnumField > fields)
 
Span< const EnumFieldfields () const noexcept
 
Span< EnumFieldfields () noexcept
 
Span< const EnumFieldgetFields () const noexcept
 
Span< EnumFieldgetFields () noexcept
 
constexpr TypeWrapper () noexcept=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 () noexcept=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
 
- Public Member Functions inherited from opcua::Wrapper< UA_EnumDefinition >
constexpr Wrapper () noexcept=default
 
constexpr Wrapper (const UA_EnumDefinition &native) noexcept
 
constexpr Wrapper (UA_EnumDefinition &&native) noexcept
 
constexpr Wrapperoperator= (const UA_EnumDefinition &native) noexcept
 
constexpr Wrapperoperator= (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
 
constexpr void swap (Wrapper &other) noexcept
 
constexpr void swap (UA_EnumDefinition &native) 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 typeIndex ()
 
- 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::ua::EnumDefinition::EnumDefinition ( std::initializer_list< EnumField > fields)
inline

Definition at line 2742 of file types.hpp.

◆ EnumDefinition() [2/2]

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

Definition at line 2745 of file types.hpp.

Member Function Documentation

◆ fields() [1/2]

Span< const EnumField > opcua::ua::EnumDefinition::fields ( ) const
inlinenoexcept

Definition at line 2750 of file types.hpp.

◆ fields() [2/2]

Span< EnumField > opcua::ua::EnumDefinition::fields ( )
inlinenoexcept

Definition at line 2750 of file types.hpp.

◆ getFields() [1/2]

Span< const EnumField > opcua::ua::EnumDefinition::getFields ( ) const
inlinenoexcept
Deprecated
Use fields instead

Definition at line 2750 of file types.hpp.

◆ getFields() [2/2]

Span< EnumField > opcua::ua::EnumDefinition::getFields ( )
inlinenoexcept
Deprecated
Use fields instead

Definition at line 2750 of file types.hpp.

◆ TypeWrapper() [1/5]

opcua::TypeWrapper< T, Index >::TypeWrapper ( )
constexprdefaultnoexcept

◆ TypeWrapper() [2/5]

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

Constructor with native object (deep copy).

Definition at line 31 of file typewrapper.hpp.

◆ TypeWrapper() [3/5]

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

Constructor with native object (move rvalue).

Definition at line 35 of file typewrapper.hpp.

◆ TypeWrapper() [4/5]

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

Copy constructor (deep copy).

Definition at line 43 of file typewrapper.hpp.

◆ TypeWrapper() [5/5]

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

Move constructor.

Definition at line 47 of file typewrapper.hpp.