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

#include <types_composed.hpp>

Inheritance diagram for opcua::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 getValue () const noexcept
 
const LocalizedTextgetDisplayName () const noexcept
 
LocalizedTextgetDisplayName () noexcept
 
const LocalizedTextgetDescription () const noexcept
 
LocalizedTextgetDescription () noexcept
 
const StringgetName () const noexcept
 
StringgetName () noexcept
 
constexpr TypeWrapper ()=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 ()=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
 
constexpr void swap (TypeWrapper &other) noexcept
 
constexpr void swap (UA_EnumField &native) noexcept
 
- Public Member Functions inherited from opcua::Wrapper< UA_EnumField >
constexpr Wrapper ()=default
 
constexpr Wrapper (const UA_EnumField &native)
 
constexpr Wrapper (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
 

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 getTypeIndex ()
 
- 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::EnumField::EnumField ( int64_t value,
std::string_view name )
inline

Definition at line 2421 of file types_composed.hpp.

◆ EnumField() [2/2]

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

Definition at line 2424 of file types_composed.hpp.

Member Function Documentation

◆ getValue()

int64_t opcua::EnumField::getValue ( ) const
inlinenoexcept

Definition at line 2433 of file types_composed.hpp.

◆ getDisplayName() [1/2]

const LocalizedText & opcua::EnumField::getDisplayName ( ) const
inlinenoexcept

Definition at line 2434 of file types_composed.hpp.

◆ getDisplayName() [2/2]

LocalizedText & opcua::EnumField::getDisplayName ( )
inlinenoexcept

Definition at line 2434 of file types_composed.hpp.

◆ getDescription() [1/2]

const LocalizedText & opcua::EnumField::getDescription ( ) const
inlinenoexcept

Definition at line 2435 of file types_composed.hpp.

◆ getDescription() [2/2]

LocalizedText & opcua::EnumField::getDescription ( )
inlinenoexcept

Definition at line 2435 of file types_composed.hpp.

◆ getName() [1/2]

const String & opcua::EnumField::getName ( ) const
inlinenoexcept

Definition at line 2436 of file types_composed.hpp.

◆ getName() [2/2]

String & opcua::EnumField::getName ( )
inlinenoexcept

Definition at line 2436 of file types_composed.hpp.

◆ TypeWrapper() [1/5]

opcua::TypeWrapper< T, typeIndex >::TypeWrapper ( )
constexprdefault

◆ TypeWrapper() [2/5]

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

Constructor with native object (deep copy).

Definition at line 30 of file typewrapper.hpp.

◆ TypeWrapper() [3/5]

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

Constructor with native object (move rvalue).

Definition at line 34 of file typewrapper.hpp.

◆ TypeWrapper() [4/5]

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

Copy constructor (deep copy).

Definition at line 42 of file typewrapper.hpp.

◆ TypeWrapper() [5/5]

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

Move constructor.

Definition at line 46 of file typewrapper.hpp.