doxybook::xml
Defined in header <doxybook/xml.hpp>
class xml;
Represents and wraps an xml node.
Public Classes
Name | |
---|---|
class | element The data of an element nodes. |
class | node An xml node. |
Public Types
Member Types | Definition |
---|---|
element_callback | std::function< void([element](/doxybook/reference/classes/classdoxybook_1_1xml_1_1element/) &)> (using) |
Public Functions
Member Functions | Description |
---|---|
(constructor) | Constructor. (function) |
(destructor) | Destructor. (function) |
first_child_element const | Get first child element with the specified name. (function) |
get_path const | Get document path. (function) |
Public Types
using element_callback
Defined in header <doxybook/xml.hpp>
using element_callback = std::function< void(element &)>;
Public Functions
function xml
Defined in header <doxybook/xml.hpp>
explicit xml(std::string const & path);
Constructor.
Exception Safety
Basic exception guarantee.
function ~xml
Defined in header <doxybook/xml.hpp>
~xml();
Destructor.
Exception Safety
Basic exception guarantee.
function first_child_element
Defined in header <doxybook/xml.hpp>
element
first_child_element(std::string const & name) const;
Get first child element with the specified name.
Exception Safety
Basic exception guarantee.
function get_path
Defined in header <doxybook/xml.hpp>
std::string const &
get_path() const;
Get document path.
Exception Safety
Basic exception guarantee.
Updated on 2023-04-03