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

#include <types.hpp>

Inheritance diagram for opcua::XmlElement:
[legend]

Detailed Description

UA_XmlElement wrapper class.

Definition at line 599 of file types.hpp.

Public Member Functions

 XmlElement (std::string_view str)
 
template<typename InputIt >
 XmlElement (InputIt first, InputIt last)
 
XmlElementoperator= (const char *str)
 
template<typename Traits >
XmlElementoperator= (std::basic_string_view< char, Traits > str)
 
template<typename Traits >
 operator std::basic_string_view< char, Traits > () const noexcept
 
std::string_view get () 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
 
- Public Member Functions inherited from opcua::TypeWrapper< UA_XmlElement, UA_TYPES_XMLELEMENT >
constexpr TypeWrapper () noexcept=default
 
constexpr TypeWrapper (const UA_XmlElement &native)
 
constexpr TypeWrapper (UA_XmlElement &&native) noexcept
 
constexpr TypeWrapper (const TypeWrapper &other)
 
constexpr TypeWrapper (TypeWrapper &&other) noexcept
 
 ~TypeWrapper ()
 
constexpr TypeWrapperoperator= (const TypeWrapper &other)
 
constexpr TypeWrapperoperator= (const UA_XmlElement &native)
 
constexpr TypeWrapperoperator= (TypeWrapper &&other) noexcept
 
constexpr TypeWrapperoperator= (UA_XmlElement &&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_XmlElement, UA_TYPES_XMLELEMENT >
static constexpr TypeIndex typeIndex ()
 
- Protected Member Functions inherited from opcua::TypeWrapper< UA_XmlElement, UA_TYPES_XMLELEMENT >
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

◆ XmlElement() [1/2]

opcua::XmlElement::XmlElement ( std::string_view  str)
inlineexplicit

Definition at line 605 of file types.hpp.

◆ XmlElement() [2/2]

template<typename InputIt >
opcua::XmlElement::XmlElement ( InputIt  first,
InputIt  last 
)
inline

Definition at line 609 of file types.hpp.

Member Function Documentation

◆ operator=() [1/2]

XmlElement & opcua::XmlElement::operator= ( const char *  str)
inline

Assign null-termined character string.

Definition at line 614 of file types.hpp.

◆ operator=() [2/2]

template<typename Traits >
XmlElement & opcua::XmlElement::operator= ( std::basic_string_view< char, Traits >  str)
inline

Assign std::string_view.

Definition at line 621 of file types.hpp.

◆ operator std::basic_string_view< char, Traits >()

template<typename Traits >
opcua::XmlElement::operator std::basic_string_view< char, Traits > ( ) const
inlinenoexcept

Implicit conversion to std::string_view.

Definition at line 628 of file types.hpp.

◆ get()

std::string_view opcua::XmlElement::get ( ) const
inlinenoexcept
Deprecated:
Use conversion with static_cast instead

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