libdonut  2.3.2
Application framework for cross-platform game development in C++20
Public Attributes | List of all members
donut::xml::Element Struct Reference

Node in a Document. More...

#include <donut/xml.hpp>

Public Attributes

std::string tag {}
 Element tag name. More...
 
std::string content {}
 Raw non-element text content of the element. More...
 
std::unique_ptr< Attributeattributes {}
 Linked list of element attributes. More...
 
std::unique_ptr< Elementchildren {}
 Linked list of children of this element. More...
 
std::unique_ptr< Elementnext {}
 Next neighboring element in the list that this element is part of. More...
 

Detailed Description

Node in a Document.

Member Data Documentation

◆ tag

std::string donut::xml::Element::tag {}

Element tag name.

◆ content

std::string donut::xml::Element::content {}

Raw non-element text content of the element.

◆ attributes

std::unique_ptr<Attribute> donut::xml::Element::attributes {}

Linked list of element attributes.

◆ children

std::unique_ptr<Element> donut::xml::Element::children {}

Linked list of children of this element.

◆ next

std::unique_ptr<Element> donut::xml::Element::next {}

Next neighboring element in the list that this element is part of.


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