cpp-ElementTree
Python ElementTree-alike XML API for C++
Public Member Functions | List of all members
etree::ElementTree Class Reference

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...
 
ElementTreeoperator= (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...
 

Detailed Description

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().

Member Function Documentation

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.


The documentation for this class was generated from the following files: