open62541pp 0.17.0
C++ wrapper of open62541
|
#include <types.hpp>
UA_LocalizedText wrapper class.
The format of locale is <language>[-<country/region>]
:
<language>
is the two letter ISO 639 code for a language<country/region>
is the two letter ISO 3166 code for the country/region
Public Member Functions | |
LocalizedText (std::string_view locale, std::string_view text) | |
std::string_view | locale () const noexcept |
std::string_view | getLocale () const noexcept |
std::string_view | text () const noexcept |
std::string_view | getText () const 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 |
![]() | |
constexpr | TypeWrapper () noexcept=default |
constexpr | TypeWrapper (const UA_LocalizedText &native) |
constexpr | TypeWrapper (UA_LocalizedText &&native) noexcept |
constexpr | TypeWrapper (const TypeWrapper &other) |
constexpr | TypeWrapper (TypeWrapper &&other) noexcept |
~TypeWrapper () | |
constexpr TypeWrapper & | operator= (const TypeWrapper &other) |
constexpr TypeWrapper & | operator= (const UA_LocalizedText &native) |
constexpr TypeWrapper & | operator= (TypeWrapper &&other) noexcept |
constexpr TypeWrapper & | operator= (UA_LocalizedText &&native) noexcept |
![]() | |
constexpr | Wrapper () noexcept=default |
constexpr | Wrapper (const UA_LocalizedText &native) noexcept |
constexpr | Wrapper (UA_LocalizedText &&native) noexcept |
constexpr Wrapper & | operator= (const UA_LocalizedText &native) noexcept |
constexpr Wrapper & | operator= (UA_LocalizedText &&native) noexcept |
constexpr | operator UA_LocalizedText & () noexcept |
constexpr | operator const UA_LocalizedText & () const noexcept |
constexpr UA_LocalizedText * | operator-> () noexcept |
constexpr const UA_LocalizedText * | operator-> () const noexcept |
constexpr UA_LocalizedText * | handle () noexcept |
constexpr const UA_LocalizedText * | handle () const noexcept |
constexpr void | swap (Wrapper &other) noexcept |
constexpr void | swap (UA_LocalizedText &native) noexcept |
Related Symbols | |
(Note that these are not member symbols.) | |
bool | operator== (const UA_LocalizedText &lhs, const UA_LocalizedText &rhs) noexcept |
bool | operator!= (const UA_LocalizedText &lhs, const UA_LocalizedText &rhs) noexcept |
![]() | |
constexpr WrapperType * | asWrapper (NativeType *native) noexcept |
constexpr const WrapperType * | asWrapper (const NativeType *native) noexcept |
constexpr WrapperType & | asWrapper (NativeType &native) noexcept |
constexpr const WrapperType & | asWrapper (const NativeType &native) noexcept |
constexpr NativeType * | asNative (WrapperType *wrapper) noexcept |
constexpr const NativeType * | asNative (const WrapperType *wrapper) noexcept |
constexpr NativeType & | asNative (WrapperType &wrapper) noexcept |
constexpr const NativeType & | asNative (const WrapperType &wrapper) noexcept |
Additional Inherited Members | |
![]() | |
using | NativeType |
![]() | |
static constexpr TypeIndex | typeIndex () |
![]() | |
constexpr void | clear () noexcept |
![]() | |
constexpr const UA_LocalizedText & | native () const noexcept |
constexpr UA_LocalizedText & | native () noexcept |
|
inline |
|
inlinenoexcept |
Definition at line 1071 of file types.hpp.
Referenced by getLocale(), locale(), and LocalizedText().
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 1081 of file types.hpp.
Referenced by getText(), LocalizedText(), and text().
|
inlinenoexcept |
|
constexprdefaultnoexcept |
|
inlineexplicitconstexpr |
Constructor with native object (deep copy).
Definition at line 31 of file typewrapper.hpp.
|
inlineconstexprnoexcept |
Constructor with native object (move rvalue).
Definition at line 35 of file typewrapper.hpp.
|
inlineconstexpr |
Copy constructor (deep copy).
Definition at line 43 of file typewrapper.hpp.
|
inlineconstexprnoexcept |
Move constructor.
Definition at line 47 of file typewrapper.hpp.
|
related |
|
related |