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

#include <types.hpp>

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

Detailed Description

Public Member Functions

 EnumField (int64_t value, std::string_view name)
 
 EnumField (int64_t value, LocalizedText displayName, LocalizedText description, std::string_view name)
 
int64_t value () const noexcept
 
int64_t getValue () const noexcept
 
const LocalizedTextdisplayName () const noexcept
 
const LocalizedTextgetDisplayName () const noexcept
 
LocalizedTextdisplayName () noexcept
 
LocalizedTextgetDisplayName () noexcept
 
const LocalizedTextdescription () const noexcept
 
const LocalizedTextgetDescription () const noexcept
 
LocalizedTextdescription () noexcept
 
LocalizedTextgetDescription () noexcept
 
const Stringname () const noexcept
 
const StringgetName () const noexcept
 
Stringname () noexcept
 
StringgetName () 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_EnumField, UA_TYPES_ENUMFIELD >
constexpr TypeWrapper () noexcept=default
 
constexpr TypeWrapper (const UA_EnumField &native)
 
constexpr TypeWrapper (UA_EnumField &&native) noexcept
 
constexpr TypeWrapper (const TypeWrapper &other)
 
constexpr TypeWrapper (TypeWrapper &&other) noexcept
 
 ~TypeWrapper ()
 
constexpr TypeWrapperoperator= (const TypeWrapper &other)
 
constexpr TypeWrapperoperator= (const UA_EnumField &native)
 
constexpr TypeWrapperoperator= (TypeWrapper &&other) noexcept
 
constexpr TypeWrapperoperator= (UA_EnumField &&native) noexcept
 
- Public Member Functions inherited from opcua::Wrapper< UA_EnumField >
constexpr Wrapper () noexcept=default
 
constexpr Wrapper (const UA_EnumField &native) noexcept
 
constexpr Wrapper (UA_EnumField &&native) noexcept
 
constexpr Wrapperoperator= (const UA_EnumField &native) noexcept
 
constexpr Wrapperoperator= (UA_EnumField &&native) noexcept
 
constexpr operator UA_EnumField & () noexcept
 
constexpr operator const UA_EnumField & () const noexcept
 
constexpr UA_EnumFieldoperator-> () noexcept
 
constexpr const UA_EnumFieldoperator-> () const noexcept
 
constexpr UA_EnumFieldhandle () noexcept
 
constexpr const UA_EnumFieldhandle () const noexcept
 
constexpr void swap (Wrapper &other) noexcept
 
constexpr void swap (UA_EnumField &native) noexcept
 

Additional Inherited Members

- Public Types inherited from opcua::Wrapper< UA_EnumField >
using NativeType
 
- Static Public Member Functions inherited from opcua::TypeWrapper< UA_EnumField, UA_TYPES_ENUMFIELD >
static constexpr TypeIndex typeIndex ()
 
- Protected Member Functions inherited from opcua::TypeWrapper< UA_EnumField, UA_TYPES_ENUMFIELD >
constexpr void clear () noexcept
 
- Protected Member Functions inherited from opcua::Wrapper< UA_EnumField >
constexpr const UA_EnumFieldnative () const noexcept
 
constexpr UA_EnumFieldnative () noexcept
 

Constructor & Destructor Documentation

◆ EnumField() [1/2]

opcua::ua::EnumField::EnumField ( int64_t value,
std::string_view name )
inline

Definition at line 2716 of file types.hpp.

◆ EnumField() [2/2]

opcua::ua::EnumField::EnumField ( int64_t value,
LocalizedText displayName,
LocalizedText description,
std::string_view name )
inline

Definition at line 2719 of file types.hpp.

Member Function Documentation

◆ value()

int64_t opcua::ua::EnumField::value ( ) const
inlinenoexcept

Definition at line 2728 of file types.hpp.

◆ getValue()

int64_t opcua::ua::EnumField::getValue ( ) const
inlinenoexcept
Deprecated
Use value instead

Definition at line 2728 of file types.hpp.

◆ displayName() [1/2]

const LocalizedText & opcua::ua::EnumField::displayName ( ) const
inlinenoexcept

Definition at line 2729 of file types.hpp.

◆ getDisplayName() [1/2]

const LocalizedText & opcua::ua::EnumField::getDisplayName ( ) const
inlinenoexcept
Deprecated
Use displayName instead

Definition at line 2729 of file types.hpp.

◆ displayName() [2/2]

LocalizedText & opcua::ua::EnumField::displayName ( )
inlinenoexcept

Definition at line 2729 of file types.hpp.

◆ getDisplayName() [2/2]

LocalizedText & opcua::ua::EnumField::getDisplayName ( )
inlinenoexcept
Deprecated
Use displayName instead

Definition at line 2729 of file types.hpp.

◆ description() [1/2]

const LocalizedText & opcua::ua::EnumField::description ( ) const
inlinenoexcept

Definition at line 2730 of file types.hpp.

◆ getDescription() [1/2]

const LocalizedText & opcua::ua::EnumField::getDescription ( ) const
inlinenoexcept
Deprecated
Use description instead

Definition at line 2730 of file types.hpp.

◆ description() [2/2]

LocalizedText & opcua::ua::EnumField::description ( )
inlinenoexcept

Definition at line 2730 of file types.hpp.

◆ getDescription() [2/2]

LocalizedText & opcua::ua::EnumField::getDescription ( )
inlinenoexcept
Deprecated
Use description instead

Definition at line 2730 of file types.hpp.

◆ name() [1/2]

const String & opcua::ua::EnumField::name ( ) const
inlinenoexcept

Definition at line 2731 of file types.hpp.

◆ getName() [1/2]

const String & opcua::ua::EnumField::getName ( ) const
inlinenoexcept
Deprecated
Use name instead

Definition at line 2731 of file types.hpp.

◆ name() [2/2]

String & opcua::ua::EnumField::name ( )
inlinenoexcept

Definition at line 2731 of file types.hpp.

◆ getName() [2/2]

String & opcua::ua::EnumField::getName ( )
inlinenoexcept
Deprecated
Use name instead

Definition at line 2731 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.