libdigidocpp  4.0.0
digidoc::XMLNode::iterator Struct Reference

#include <XMLDocument.h>

Inheritance diagram for digidoc::XMLNode::iterator:
digidoc::XMLElem< xmlNode >

Public Types

using iterator_category = std::forward_iterator_tag
 
using difference_type = std::ptrdiff_t
 
- Public Types inherited from digidoc::XMLElem< xmlNode >
using value_type = xmlNode
 
using pointer = value_type *
 
using sv = std::string_view
 
using pcxmlChar = const xmlChar *
 

Public Member Functions

constexpr XMLNode operator* () const noexcept
 
- Public Member Functions inherited from digidoc::XMLElem< xmlNode >
constexpr auto children (P p, xmlElementType type=XML_ELEMENT_NODE) const noexcept
 
constexpr sv name () const noexcept
 
constexpr sv ns () const noexcept
 
constexpr operator bool () const noexcept
 
constexpr auto & operator++ () noexcept
 
constexpr auto operator++ (int) noexcept
 
constexpr operator sv () const noexcept
 

Additional Inherited Members

- Static Public Member Functions inherited from digidoc::XMLElem< xmlNode >
constexpr static auto safe (C c, P p) noexcept
 
constexpr static C find (C n, xmlElementType type) noexcept
 
constexpr static C find (C n, sv name, sv ns) noexcept
 
constexpr static sv to_string_view (C d, P p) noexcept
 
- Public Attributes inherited from digidoc::XMLElem< xmlNode >
pointer d
 

Member Typedef Documentation

◆ difference_type

◆ iterator_category

using digidoc::XMLNode::iterator::iterator_category = std::forward_iterator_tag

Member Function Documentation

◆ operator*()

constexpr XMLNode digidoc::XMLNode::iterator::operator* ( ) const
inlineconstexprnoexcept

The documentation for this struct was generated from the following file: