open62541pp 0.19.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 579 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
 
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

◆ XmlElement() [1/2]

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

Definition at line 585 of file types.hpp.

◆ XmlElement() [2/2]

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

Definition at line 589 of file types.hpp.

Member Function Documentation

◆ 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 608 of file types.hpp.

◆ operator=() [1/2]

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

Assign null-termined character string.

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