open62541pp 0.17.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
opcua::XmlElement Class Reference

#include <types.hpp>

Inheritance diagram for opcua::XmlElement:
[legend]

Detailed Description

UA_XmlElement wrapper class.

Definition at line 597 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< UA_XmlElement >
constexpr Wrapper () noexcept=default
 
constexpr Wrapper (const UA_XmlElement &native) noexcept
 
constexpr Wrapper (UA_XmlElement &&native) noexcept
 
constexpr Wrapperoperator= (const UA_XmlElement &native) noexcept
 
constexpr Wrapperoperator= (UA_XmlElement &&native) noexcept
 
constexpr operator UA_XmlElement & () noexcept
 
constexpr operator const UA_XmlElement & () const noexcept
 
constexpr UA_XmlElementoperator-> () noexcept
 
constexpr const UA_XmlElementoperator-> () const noexcept
 
constexpr UA_XmlElementhandle () noexcept
 
constexpr const UA_XmlElementhandle () const noexcept
 
constexpr void swap (Wrapper &other) noexcept
 
constexpr void swap (UA_XmlElement &native) noexcept
 

Related Symbols

(Note that these are not member symbols.)

std::ostream & operator<< (std::ostream &os, const XmlElement &xmlElement)
 

Additional Inherited Members

- Public Types inherited from opcua::Wrapper< UA_XmlElement >
using NativeType
 
- 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< UA_XmlElement >
constexpr const UA_XmlElementnative () const noexcept
 
constexpr UA_XmlElementnative () noexcept
 

Constructor & Destructor Documentation

◆ XmlElement() [1/2]

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

Definition at line 603 of file types.hpp.

Referenced by operator=(), and operator=().

◆ XmlElement() [2/2]

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

Definition at line 607 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 612 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 619 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 626 of file types.hpp.

◆ get()

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

Definition at line 632 of file types.hpp.

◆ TypeWrapper() [1/5]

opcua::TypeWrapper< T, Index >::TypeWrapper ( )
constexprdefaultnoexcept

◆ TypeWrapper() [2/5]

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]

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]

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

Copy constructor (deep copy).

Definition at line 43 of file typewrapper.hpp.

◆ TypeWrapper() [5/5]

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

Move constructor.

Definition at line 47 of file typewrapper.hpp.

Friends And Related Symbol Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const XmlElement & xmlElement )
related