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

#include <types.hpp>

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

Detailed Description

UA_EnumField wrapper class.

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

Definition at line 2744 of file types.hpp.

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< 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_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< T >
constexpr const T & native () const noexcept
 
constexpr T & native () noexcept
 

Constructor & Destructor Documentation

◆ EnumField() [1/2]

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

Definition at line 2748 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 2751 of file types.hpp.

Member Function Documentation

◆ value()

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

Definition at line 2760 of file types.hpp.

◆ getValue()

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

Definition at line 2760 of file types.hpp.

◆ displayName() [1/2]

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

Definition at line 2761 of file types.hpp.

◆ getDisplayName() [1/2]

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

Definition at line 2761 of file types.hpp.

◆ displayName() [2/2]

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

Definition at line 2761 of file types.hpp.

◆ getDisplayName() [2/2]

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

Definition at line 2761 of file types.hpp.

◆ description() [1/2]

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

Definition at line 2762 of file types.hpp.

◆ getDescription() [1/2]

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

Definition at line 2762 of file types.hpp.

◆ description() [2/2]

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

Definition at line 2762 of file types.hpp.

◆ getDescription() [2/2]

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

Definition at line 2762 of file types.hpp.

◆ name() [1/2]

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

Definition at line 2763 of file types.hpp.

◆ getName() [1/2]

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

Definition at line 2763 of file types.hpp.

◆ name() [2/2]

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

Definition at line 2763 of file types.hpp.

◆ getName() [2/2]

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

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