open62541pp 0.16.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 544 of file types.hpp.

Public Member Functions

 XmlElement (std::string_view str)
 
 operator std::string_view () const noexcept
 
std::string_view get () const noexcept
 
- Public Member Functions inherited from opcua::detail::StringWrapper< UA_XmlElement, UA_TYPES_XMLELEMENT, char >
 StringWrapper (InputIt first, InputIt last)
 
 StringWrapper (std::initializer_list< char > init)
 
size_t size () const noexcept
 
size_t length () const noexcept
 
bool empty () const noexcept
 
pointer data () noexcept
 
const_pointer data () const noexcept
 
reference operator[] (size_t index) noexcept
 
const_reference operator[] (size_t index) const noexcept
 
reference front () noexcept
 
const_reference front () const noexcept
 
reference back () noexcept
 
const_reference back () const noexcept
 
iterator begin () noexcept
 
const_iterator begin () const noexcept
 
const_iterator cbegin () const noexcept
 
iterator end () noexcept
 
const_iterator end () const noexcept
 
const_iterator cend () const noexcept
 
reverse_iterator rbegin () noexcept
 
const_reverse_iterator rbegin () const noexcept
 
const_reverse_iterator crbegin () const noexcept
 
reverse_iterator rend () noexcept
 
const_reverse_iterator rend () const noexcept
 
const_reverse_iterator crend () const noexcept
 
- Public Member Functions inherited from opcua::TypeWrapper< UA_XmlElement, typeIndex >
constexpr TypeWrapper ()=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
 
constexpr void swap (TypeWrapper &other) noexcept
 
constexpr void swap (UA_XmlElement &native) noexcept
 
- Public Member Functions inherited from opcua::Wrapper< UA_XmlElement >
constexpr Wrapper ()=default
 
constexpr Wrapper (const UA_XmlElement &native)
 
constexpr Wrapper (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
 

Additional Inherited Members

- Public Types inherited from opcua::detail::StringWrapper< UA_XmlElement, UA_TYPES_XMLELEMENT, char >
using value_type
 
using size_type
 
using difference_type
 
using pointer
 
using const_pointer
 
using reference
 
using const_reference
 
using iterator
 
using const_iterator
 
using reverse_iterator
 
using const_reverse_iterator
 
- Public Types inherited from opcua::Wrapper< UA_XmlElement >
using NativeType
 
- Static Public Member Functions inherited from opcua::TypeWrapper< UA_XmlElement, typeIndex >
static constexpr TypeIndex getTypeIndex ()
 
- Protected Member Functions inherited from opcua::detail::StringWrapper< UA_XmlElement, UA_TYPES_XMLELEMENT, char >
 StringWrapper (InputIt first, InputIt last, Tag)
 
 StringWrapper (InputIt first, InputIt last, std::input_iterator_tag)
 
void init (size_t length)
 
- Protected Member Functions inherited from opcua::TypeWrapper< UA_XmlElement, typeIndex >
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()

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

Definition at line 548 of file types.hpp.

Member Function Documentation

◆ operator std::string_view()

opcua::XmlElement::operator std::string_view ( ) const
inlinenoexcept

Implicit conversion to std::string_view.

Definition at line 552 of file types.hpp.

◆ get()

std::string_view opcua::XmlElement::get ( ) const
inlinenoexcept

Definition at line 557 of file types.hpp.