MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::IO::XmlElementView Class Reference

Borrowed XML element with named attributes and immediate child elements. More...

#include <XmlReader.hpp>

Collaboration diagram for MayaFlux::IO::XmlElementView:

Public Member Functions

std::optional< std::string_view > attribute (std::string_view name) const noexcept
template<typename Fn>
bool for_each_field (Fn &&visitor) const
 Visit attributes and immediate child elements in document order.
std::string_view name () const noexcept
uint64_t row () const noexcept

Private Member Functions

 XmlElementView (const Kakshya::CompositeArray &rows, const Kakshya::ForestIndex &forest, size_t row) noexcept

Private Attributes

const Kakshya::ForestIndex * m_forest
size_t m_row
const Kakshya::CompositeArray * m_rows

Friends

class XmlDocument
class XmlReader

Detailed Description

Borrowed XML element with named attributes and immediate child elements.

Note
The view and its strings are invalid after the reader is closed, reopened, moved, or destroyed.

Definition at line 30 of file XmlReader.hpp.


The documentation for this class was generated from the following files: