open62541pp 0.19.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 2649 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
 
const LocalizedTextdisplayName () const noexcept
 
LocalizedTextdisplayName () noexcept
 
const LocalizedTextdescription () const noexcept
 
LocalizedTextdescription () noexcept
 
const Stringname () const noexcept
 
Stringname () 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

◆ EnumField() [1/2]

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

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

Member Function Documentation

◆ description() [1/2]

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

Definition at line 2667 of file types.hpp.

◆ description() [2/2]

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

Definition at line 2667 of file types.hpp.

◆ displayName() [1/2]

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

Definition at line 2666 of file types.hpp.

◆ displayName() [2/2]

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

Definition at line 2666 of file types.hpp.

◆ name() [1/2]

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

Definition at line 2668 of file types.hpp.

◆ name() [2/2]

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

Definition at line 2668 of file types.hpp.

◆ value()

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

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