|
Orcus
|
#include <dom_tree.hpp>
Public Member Functions | |
| document_tree (const document_tree &)=delete | |
| document_tree & | operator= (const document_tree &)=delete |
| document_tree (xmlns_context &cxt) | |
| document_tree (document_tree &&other) | |
| void | load (std::string_view strm) |
| dom::const_node | root () const |
| dom::const_node | declaration (std::string_view name) const |
| void | swap (document_tree &other) |
| const sax::doctype_declaration * | get_doctype () const |
| void | dump_compact (std::ostream &os) const |
Ordinary DOM tree representing the content of an XML document.
| void orcus::dom::document_tree::load | ( | std::string_view | strm | ) |
Parse a given XML stream and build the content tree.
| strm | XML stream. |
| void orcus::dom::document_tree::swap | ( | document_tree & | other | ) |
Swap the content with another dom_tree instance.
| other | the dom_tree instance to swap the content with. |