[CADIHash.h Index] [CADIHash.h Hierarchy]
This class captures the structure of an XML element More...
#include <../libInvertedFile/include/CXMLElement.h>
Inherits: CMagic
This class captures the structure of an XML element. An Element has children and attributes.
The way a Document tree is built:
AddChildToCurrent: Adds a child, AND MAKES THE CHILD THE NEW CURRENT NODE. moveUp: Makes the father the new current node.
This constant is destined to be a value of mTypeOfNode
This constant is destined to be a value of mTypeOfNode
read the father of this
adding an attribute for integers using the function for strings
adding an attribute for doubles using using the function for strings
adding an attribute
reading an attribute for booleans using stringReadAttributeit supports several pairs: yes/no true/false y/n
reading an attribute for integers using stringReadAttribute
reading an attribute for doubles using stringReadAttribute
reading an attribute for strings All the attribute functions implement a primitive version of inheritance: We look also at the parents of this, if we do not find a given attribute in this.
this is virtual in order to plug in other methods of inheritance
clone this element with all its content @parameter inDeep if true, this function clones deeply, i.e. children will be cloned, instead of just cloning the pointers to the children and the attributes.
Convert this into an XML string
Visit the subtree using a visitor
For interoperating with the STL
For interoperating with the STL
For interoperating with the STL
For interoperating with the STL
Like above. Hovewer, here we would like to add anything inherited from CXMLElement.
Add a child with the given attributes to the current node, and MAKE THIS CHILD THE NEW CURRENT NODE.
make the father of the current node the new current node.
A subtree is finished if the current child is identical with itself
Constructing this from a list which is built from what we get from expat
Constructing a text node from what expat gives us
Constructing this from more c++-like structures
Constructing this from more c++-like structures
Make this a deep copy of the input
For doing flat configuration, we need to find out all attributes which are visible in this algorithm
get the text of this
get the name of this
get the name of this
get the number of attributes in this
a list containing the children of this element
the content: attributes
the name of this element
change the father of this
The text/CData contained in this element FIXME: look at zero characters
The kind of this node: Stroustrup would kill me for that, but I think doing some inheritance here is not really what I want, so I do some if-ing
| Kdoc |