IncredibleXMLParser
3.05
|
Functions | |
static IXMLNode | IXMLNode::createXMLTopNode_WOSD (IXMLStr pName, char isDeclaration=FALSE) |
Create the top node of an IXMLNode structure. More... | |
IXMLNode | IXMLNode::addChild_WOSD (IXMLStr pName, char isDeclaration=FALSE, IXMLElementPosition pos=-1) |
Add a new child node. More... | |
IXMLAttribute * | IXMLNode::addAttribute_WOSD (IXMLStr pName, IXMLStr pValue) |
Add a new attribute. More... | |
IXMLCStr | IXMLNode::addText_WOSD (IXMLStr pValue, IXMLElementPosition pos=-1) |
Add a new text content. More... | |
IXMLClear * | IXMLNode::addClear_WOSD (IXMLStr pValue, IXMLCStr lpcOpen=NULL, IXMLCStr lpcClose=NULL, IXMLElementPosition pos=-1) |
Add a new clear Tag. More... | |
IXMLCStr | IXMLNode::updateName_WOSD (IXMLStr pName) |
change node's name More... | |
IXMLAttribute * | IXMLNode::updateAttribute_WOSD (IXMLAttribute *newAttribute, IXMLAttribute *oldAttribute) |
if the attribute to update is missing, a new one will be added More... | |
IXMLAttribute * | IXMLNode::updateAttribute_WOSD (IXMLStr lpcNewValue, IXMLStr lpcNewName=NULL, int i=0) |
if the attribute to update is missing, a new one will be added More... | |
IXMLAttribute * | IXMLNode::updateAttribute_WOSD (IXMLStr lpcNewValue, IXMLStr lpcNewName, IXMLCStr lpcOldName) |
set lpcNewName=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... | |
IXMLCStr | IXMLNode::updateText_WOSD (IXMLStr lpcNewValue, int i=0) |
if the text to update is missing, a new one will be added More... | |
IXMLCStr | IXMLNode::updateText_WOSD (IXMLStr lpcNewValue, IXMLCStr lpcOldValue) |
if the text to update is missing, a new one will be added More... | |
IXMLClear * | IXMLNode::updateClear_WOSD (IXMLStr lpcNewContent, int i=0) |
if the clearTag to update is missing, a new one will be added More... | |
IXMLClear * | IXMLNode::updateClear_WOSD (IXMLClear *newP, IXMLClear *oldP) |
if the clearTag to update is missing, a new one will be added More... | |
IXMLClear * | IXMLNode::updateClear_WOSD (IXMLStr lpcNewValue, IXMLCStr lpcOldValue) |
if the clearTag to update is missing, a new one will be added More... | |
The strings given as parameters for the "add" and "update" methods that have a name with the postfix "_WOSD" (that means "WithOut String Duplication")(for example "addText_WOSD") will be free'd by the IXMLNode class. For example, it means that this is incorrect:
In opposition, this is correct:
Typically, you will never do:
... but rather:
('free(b)' is performed by the IXMLNode class)
IXMLAttribute* IXMLNode::addAttribute_WOSD | ( | IXMLStr | pName, |
IXMLStr | pValue | ||
) |
Add a new attribute.
IXMLNode IXMLNode::addChild_WOSD | ( | IXMLStr | pName, |
char | isDeclaration = FALSE , |
||
IXMLElementPosition | pos = -1 |
||
) |
Add a new child node.
IXMLClear* IXMLNode::addClear_WOSD | ( | IXMLStr | pValue, |
IXMLCStr | lpcOpen = NULL , |
||
IXMLCStr | lpcClose = NULL , |
||
IXMLElementPosition | pos = -1 |
||
) |
Add a new clear Tag.
IXMLCStr IXMLNode::addText_WOSD | ( | IXMLStr | pValue, |
IXMLElementPosition | pos = -1 |
||
) |
Add a new text content.
|
static |
Create the top node of an IXMLNode structure.
IXMLAttribute* IXMLNode::updateAttribute_WOSD | ( | IXMLAttribute * | newAttribute, |
IXMLAttribute * | oldAttribute | ||
) |
if the attribute to update is missing, a new one will be added
IXMLAttribute* IXMLNode::updateAttribute_WOSD | ( | IXMLStr | lpcNewValue, |
IXMLStr | lpcNewName = NULL , |
||
int | i = 0 |
||
) |
if the attribute to update is missing, a new one will be added
IXMLAttribute* IXMLNode::updateAttribute_WOSD | ( | IXMLStr | lpcNewValue, |
IXMLStr | lpcNewName, | ||
IXMLCStr | lpcOldName | ||
) |
set lpcNewName=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
if the clearTag to update is missing, a new one will be added
if the clearTag to update is missing, a new one will be added
if the clearTag to update is missing, a new one will be added
if the text to update is missing, a new one will be added