open62541pp 0.18.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
Public Member Functions | List of all members
opcua::ua::EnumDefinition Class Reference

#include <types.hpp>

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

Detailed Description

UA_EnumDefinition wrapper class.

See also
https://reference.opcfoundation.org/Core/Part3/v105/docs/8.50

Definition at line 2770 of file types.hpp.

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< T >
constexpr Wrapper () noexcept=default
 
constexpr Wrapper (const T &native) noexcept
 
constexpr Wrapper (T &&native) noexcept
 
constexpr Wrapperoperator= (const T &native) noexcept
 
constexpr Wrapperoperator= (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
 

Additional Inherited Members

- Public Types inherited from opcua::Wrapper< T >
using NativeType = T
 
- 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< T >
constexpr const T & native () const noexcept
 
constexpr T & native () noexcept
 

Constructor & Destructor Documentation

◆ EnumDefinition() [1/2]

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

Definition at line 2774 of file types.hpp.

◆ EnumDefinition() [2/2]

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

Definition at line 2777 of file types.hpp.

Member Function Documentation

◆ fields() [1/2]

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

Definition at line 2782 of file types.hpp.

◆ fields() [2/2]

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

Definition at line 2782 of file types.hpp.

◆ getFields() [1/2]

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

Definition at line 2782 of file types.hpp.

◆ getFields() [2/2]

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

Definition at line 2782 of file types.hpp.

◆ TypeWrapper() [1/5]

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

◆ TypeWrapper() [2/5]

constexpr 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]

constexpr 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]

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

Copy constructor (deep copy).

Definition at line 43 of file typewrapper.hpp.

◆ TypeWrapper() [5/5]

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

Move constructor.

Definition at line 47 of file typewrapper.hpp.