open62541pp 0.19.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 2675 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
 
constexpr Wrapper () noexcept=default
 
constexpr Wrapper (const Wrapper &other)
 
constexpr Wrapper (const T &native)
 
constexpr Wrapper (Wrapper &&other) noexcept
 
constexpr Wrapper (T &&native) noexcept
 
- Public Member Functions inherited from opcua::Wrapper< T, Handler >
constexpr Wrapper () noexcept=default
 
constexpr Wrapper (const Wrapper &other)
 
constexpr Wrapper (const T &native)
 
constexpr Wrapper (Wrapper &&other) noexcept
 
constexpr Wrapper (T &&native) noexcept
 
 ~Wrapper () noexcept=default
 
constexpr Wrapperoperator= (const Wrapper &other)
 
constexpr Wrapperoperator= (const T &native)
 
constexpr Wrapperoperator= (Wrapper &&other) 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, Handler >
using NativeType = T
 
using HandlerType = Handler
 
- Protected Member Functions inherited from opcua::Wrapper< T, Handler >
constexpr const T & native () const noexcept
 
constexpr T & native () noexcept
 
constexpr void clear () noexcept
 

Constructor & Destructor Documentation

◆ EnumDefinition() [1/2]

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

Definition at line 2679 of file types.hpp.

◆ EnumDefinition() [2/2]

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

Definition at line 2682 of file types.hpp.

Member Function Documentation

◆ fields() [1/2]

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

Definition at line 2687 of file types.hpp.

◆ fields() [2/2]

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

Definition at line 2687 of file types.hpp.

◆ Wrapper() [1/5]

constexpr opcua::Wrapper< T, Handler >::Wrapper ( )
constexprdefaultnoexcept

◆ Wrapper() [2/5]

constexpr opcua::Wrapper< T, Handler >::Wrapper ( const T &  native)
inlineexplicitconstexpr

Copy constructor with native object.

Definition at line 151 of file wrapper.hpp.

◆ Wrapper() [3/5]

constexpr opcua::Wrapper< T, Handler >::Wrapper ( const Wrapper other)
inlineconstexpr

Copy constructor.

Definition at line 147 of file wrapper.hpp.

◆ Wrapper() [4/5]

constexpr opcua::Wrapper< T, Handler >::Wrapper ( T &&  native)
inlineconstexprnoexcept

Move constructor with native object.

Definition at line 159 of file wrapper.hpp.

◆ Wrapper() [5/5]

constexpr opcua::Wrapper< T, Handler >::Wrapper ( Wrapper &&  other)
inlineconstexprnoexcept

Move constructor.

Definition at line 155 of file wrapper.hpp.