cpp-ElementTree
Python ElementTree-alike XML API for C++
|
Represents a reference to the root of an XML tree, the document itself. More...
#include <element.hpp>
Public Member Functions | |
bool | operator!= (const ElementTree &other) const |
Return true if the identity of this element is equal to another element, i.e. More... | |
ElementTree & | operator= (const ElementTree &) |
Replace this element reference with an element. More... | |
bool | operator== (const ElementTree &other) const |
Return true if the identity of this element is equal to another element, i.e. More... | |
Represents a reference to the root of an XML tree, the document itself.
Note that an element's documents are created and destroyed dynamically in response to Element::insert(), Element::append() and Element::remove().
bool etree::ElementTree::operator!= | ( | const ElementTree & | other | ) | const |
Return true if the identity of this element is equal to another element, i.e.
both refer to the same DOM node in the same document.
ElementTree & etree::ElementTree::operator= | ( | const ElementTree & | e | ) |
Replace this element reference with an element.
Note the underlying DOM node is not modified, only the reference is updated.
bool etree::ElementTree::operator== | ( | const ElementTree & | other | ) | const |
Return true if the identity of this element is equal to another element, i.e.
both refer to the same DOM node in the same document.