|
| XMLSTR | createXMLString (int nFormat=1, int *pnSize=NULL) const |
| | Create an XML string starting from the current XMLNode. More...
|
| |
| XMLError | writeToFile (XMLCSTR filename, const char *encoding=NULL, char nFormat=1) const |
| | Save the content of an xmlNode inside a file. More...
|
| |
| XMLCSTR | getName () const |
| | name of the node More...
|
| |
| XMLCSTR | getText (int i=0) const |
| | return ith text field More...
|
| |
| int | nText () const |
| | nbr of text field More...
|
| |
| XMLNode | getParentNode () const |
| | return the parent node More...
|
| |
| XMLNode | getChildNode (int i=0) const |
| | return ith child node More...
|
| |
| XMLNode | getChildNode (XMLCSTR name, int i) const |
| | return ith child node with specific name (return an empty node if failing). If i==-1, this returns the last XMLNode with the given name. More...
|
| |
| XMLNode | getChildNode (XMLCSTR name, int *i=NULL) const |
| | return next child node with specific name (return an empty node if failing) More...
|
| |
| XMLNode | getChildNodeWithAttribute (XMLCSTR tagName, XMLCSTR attributeName, XMLCSTR attributeValue=NULL, int *i=NULL) const |
| | return child node with specific name/attribute (return an empty node if failing) More...
|
| |
| XMLNode | getChildNodeByPath (XMLCSTR path, char createNodeIfMissing=0, XMLCHAR sep='/') |
| | return the first child node with specific path More...
|
| |
| XMLNode | getChildNodeByPathNonConst (XMLSTR path, char createNodeIfMissing=0, XMLCHAR sep='/') |
| | return the first child node with specific path. More...
|
| |
| int | nChildNode (XMLCSTR name) const |
| | return the number of child node with specific name More...
|
| |
| int | nChildNode () const |
| | nbr of child node More...
|
| |
| XMLAttribute | getAttribute (int i=0) const |
| | return ith attribute More...
|
| |
| XMLCSTR | getAttributeName (int i=0) const |
| | return ith attribute name More...
|
| |
| XMLCSTR | getAttributeValue (int i=0) const |
| | return ith attribute value More...
|
| |
| char | isAttributeSet (XMLCSTR name) const |
| | test if an attribute with a specific name is given More...
|
| |
| XMLCSTR | getAttribute (XMLCSTR name, int i) const |
| | return ith attribute content with specific name (return a NULL if failing) More...
|
| |
| XMLCSTR | getAttribute (XMLCSTR name, int *i=NULL) const |
| | return next attribute content with specific name (return a NULL if failing) More...
|
| |
| int | nAttribute () const |
| | nbr of attribute More...
|
| |
| XMLClear | getClear (int i=0) const |
| | return ith clear field (comments) More...
|
| |
| int | nClear () const |
| | nbr of clear field More...
|
| |
| XMLNodeContents | enumContents (XMLElementPosition i) const |
| | enumerate all the different contents (attribute,child,text, clear) of the current XMLNode. The order is reflecting the order of the original file/string. NOTE: 0 <= i < nElement(); More...
|
| |
| int | nElement () const |
| | nbr of different contents for current node More...
|
| |
| char | isEmpty () const |
| | is this node Empty? More...
|
| |
| char | isDeclaration () const |
| | is this node a declaration <? .... ?> More...
|
| |
| XMLNode | deepCopy () const |
| | deep copy (duplicate/clone) a XMLNode More...
|
| |
| | ~XMLNode () |
| |
| | XMLNode (const XMLNode &A) |
| | to allow shallow/fast copy: More...
|
| |
| XMLNode & | operator= (const XMLNode &A) |
| | to allow shallow/fast copy: More...
|
| |
| | XMLNode () |
| |
| XMLNode | addChild (XMLCSTR lpszName, char isDeclaration=FALSE, XMLElementPosition pos=-1) |
| | Add a new child node. More...
|
| |
| XMLNode | addChild (XMLNode nodeToAdd, XMLElementPosition pos=-1) |
| | If the "nodeToAdd" has some parents, it will be detached from it's parents before being attached to the current XMLNode. More...
|
| |
| XMLAttribute * | addAttribute (XMLCSTR lpszName, XMLCSTR lpszValuev) |
| | Add a new attribute. More...
|
| |
| XMLCSTR | addText (XMLCSTR lpszValue, XMLElementPosition pos=-1) |
| | Add a new text content. More...
|
| |
| XMLClear * | addClear (XMLCSTR lpszValue, XMLCSTR lpszOpen=NULL, XMLCSTR lpszClose=NULL, XMLElementPosition pos=-1) |
| |
| XMLCSTR | updateName (XMLCSTR lpszName) |
| | change node's name More...
|
| |
| XMLAttribute * | updateAttribute (XMLAttribute *newAttribute, XMLAttribute *oldAttribute) |
| | if the attribute to update is missing, a new one will be added More...
|
| |
| XMLAttribute * | updateAttribute (XMLCSTR lpszNewValue, XMLCSTR lpszNewName=NULL, int i=0) |
| | if the attribute to update is missing, a new one will be added More...
|
| |
| XMLAttribute * | updateAttribute (XMLCSTR lpszNewValue, XMLCSTR lpszNewName, XMLCSTR lpszOldName) |
| | set lpszNewName=NULL if you don't want to change the name of the attribute if the attribute to update is missing, a new one will be added More...
|
| |
| XMLCSTR | updateText (XMLCSTR lpszNewValue, int i=0) |
| | if the text to update is missing, a new one will be added More...
|
| |
| XMLCSTR | updateText (XMLCSTR lpszNewValue, XMLCSTR lpszOldValue) |
| | if the text to update is missing, a new one will be added More...
|
| |
| XMLClear * | updateClear (XMLCSTR lpszNewContent, int i=0) |
| | if the clearTag to update is missing, a new one will be added More...
|
| |
| XMLClear * | updateClear (XMLClear *newP, XMLClear *oldP) |
| | if the clearTag to update is missing, a new one will be added More...
|
| |
| XMLClear * | updateClear (XMLCSTR lpszNewValue, XMLCSTR lpszOldValue) |
| | if the clearTag to update is missing, a new one will be added More...
|
| |
| void | deleteNodeContent () |
| | The "deleteNodeContent" function forces the deletion of the content of this XMLNode and the subtree. More...
|
| |
| void | deleteAttribute (int i=0) |
| | Delete the ith attribute of the current XMLNode. More...
|
| |
| void | deleteAttribute (XMLCSTR lpszName) |
| | Delete the attribute with the given name (the "strcmp" function is used to find the right attribute) More...
|
| |
| void | deleteAttribute (XMLAttribute *anAttribute) |
| | Delete the attribute with the name "anAttribute->lpszName" (the "strcmp" function is used to find the right attribute) More...
|
| |
| void | deleteText (int i=0) |
| | Delete the Ith text content of the current XMLNode. More...
|
| |
| void | deleteText (XMLCSTR lpszValue) |
| | Delete the text content "lpszValue" inside the current XMLNode (direct "pointer-to-pointer" comparison is used to find the right text) More...
|
| |
| void | deleteClear (int i=0) |
| | Delete the Ith clear tag inside the current XMLNode. More...
|
| |
| void | deleteClear (XMLCSTR lpszValue) |
| | Delete the clear tag "lpszValue" inside the current XMLNode (direct "pointer-to-pointer" comparison is used to find the clear tag) More...
|
| |
| void | deleteClear (XMLClear *p) |
| | Delete the clear tag "p" inside the current XMLNode (direct "pointer-to-pointer" comparison on the lpszName of the clear tag is used to find the clear tag) More...
|
| |
| XMLNode | addChild_WOSD (XMLSTR lpszName, char isDeclaration=FALSE, XMLElementPosition pos=-1) |
| | Add a new child node. More...
|
| |
| XMLAttribute * | addAttribute_WOSD (XMLSTR lpszName, XMLSTR lpszValue) |
| | Add a new attribute. More...
|
| |
| XMLCSTR | addText_WOSD (XMLSTR lpszValue, XMLElementPosition pos=-1) |
| | Add a new text content. More...
|
| |
| XMLClear * | addClear_WOSD (XMLSTR lpszValue, XMLCSTR lpszOpen=NULL, XMLCSTR lpszClose=NULL, XMLElementPosition pos=-1) |
| | Add a new clear Tag. More...
|
| |
| XMLCSTR | updateName_WOSD (XMLSTR lpszName) |
| | change node's name More...
|
| |
| XMLAttribute * | updateAttribute_WOSD (XMLAttribute *newAttribute, XMLAttribute *oldAttribute) |
| | if the attribute to update is missing, a new one will be added More...
|
| |
| XMLAttribute * | updateAttribute_WOSD (XMLSTR lpszNewValue, XMLSTR lpszNewName=NULL, int i=0) |
| | if the attribute to update is missing, a new one will be added More...
|
| |
| XMLAttribute * | updateAttribute_WOSD (XMLSTR lpszNewValue, XMLSTR lpszNewName, XMLCSTR lpszOldName) |
| | set lpszNewName=NULL if you don't want to change the name of the attribute if the attribute to update is missing, a new one will be added More...
|
| |
| XMLCSTR | updateText_WOSD (XMLSTR lpszNewValue, int i=0) |
| | if the text to update is missing, a new one will be added More...
|
| |
| XMLCSTR | updateText_WOSD (XMLSTR lpszNewValue, XMLCSTR lpszOldValue) |
| | if the text to update is missing, a new one will be added More...
|
| |
| XMLClear * | updateClear_WOSD (XMLSTR lpszNewContent, int i=0) |
| | if the clearTag to update is missing, a new one will be added More...
|
| |
| XMLClear * | updateClear_WOSD (XMLClear *newP, XMLClear *oldP) |
| | if the clearTag to update is missing, a new one will be added More...
|
| |
| XMLClear * | updateClear_WOSD (XMLSTR lpszNewValue, XMLCSTR lpszOldValue) |
| | if the clearTag to update is missing, a new one will be added More...
|
| |
| XMLElementPosition | positionOfText (int i=0) const |
| |
| XMLElementPosition | positionOfText (XMLCSTR lpszValue) const |
| |
| XMLElementPosition | positionOfClear (int i=0) const |
| |
| XMLElementPosition | positionOfClear (XMLCSTR lpszValue) const |
| |
| XMLElementPosition | positionOfClear (XMLClear *a) const |
| |
| XMLElementPosition | positionOfChildNode (int i=0) const |
| |
| XMLElementPosition | positionOfChildNode (XMLNode x) const |
| |
| XMLElementPosition | positionOfChildNode (XMLCSTR name, int i=0) const |
| | return the position of the ith childNode with the specified name if (name==NULL) return the position of the ith childNode More...
|
| |