Doxybook2::Xml::Element
#include <Xml.hpp>
Public Functions
| Name | |
|---|---|
| Element() =default | |
| Element(tinyxml2::XMLElement * ptr) | |
| ~Element() =default | |
| void | allChildElements(const std::string & name, const ElementCallback & callback) const |
| Node | asNode() const |
| Element | nextSiblingElement() const |
| Node | nextSibling() const |
| Element | nextSiblingElement(const std::string & name) const |
| Node | firstChild() const |
| Element | firstChildElement() const |
| Element | firstChildElement(const std::string & name) const |
| int | getLine() const |
| const Xml & | getDocument() const |
| std::string | getAttr(const std::string & name) const |
| std::string | getAttr(const std::string & name, const std::string & defaultValue) const |
| std::string | getName() const |
| bool | hasText() const |
| std::string | getText() const |
| operator bool() const |
Public Functions Documentation
function Element
cpp
Element() =defaultfunction Element
cpp
explicit Element(
tinyxml2::XMLElement * ptr
)function ~Element
cpp
~Element() =defaultfunction allChildElements
cpp
void allChildElements(
const std::string & name,
const ElementCallback & callback
) constfunction asNode
cpp
Node asNode() constfunction nextSiblingElement
cpp
Element nextSiblingElement() constfunction nextSibling
cpp
Node nextSibling() constfunction nextSiblingElement
cpp
Element nextSiblingElement(
const std::string & name
) constfunction firstChild
cpp
Node firstChild() constfunction firstChildElement
cpp
Element firstChildElement() constfunction firstChildElement
cpp
Element firstChildElement(
const std::string & name
) constfunction getLine
cpp
int getLine() constfunction getDocument
cpp
const Xml & getDocument() constfunction getAttr
cpp
std::string getAttr(
const std::string & name
) constfunction getAttr
cpp
std::string getAttr(
const std::string & name,
const std::string & defaultValue
) constfunction getName
cpp
std::string getName() constfunction hasText
cpp
bool hasText() constfunction getText
cpp
std::string getText() constfunction operator bool
cpp
inline operator bool() constUpdated on 2026-05-17 at 13:22:38 +0000