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 (const std::string &strm) |
void | load (const char *p_strm, size_t n_strm) |
dom::const_node | root () const |
dom::const_node | declaration (const pstring &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 | ( | const std::string & | 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. |