GDBMS 1.0
Functions
Deleting Nodes or Attributes
Create or Update the XMLNode structure

Functions

void XMLNode::deleteNodeContent ()
 The "deleteNodeContent" function forces the deletion of the content of this XMLNode and the subtree.
void XMLNode::deleteAttribute (int i=0)
 Delete the ith attribute of the current XMLNode.
void XMLNode::deleteAttribute (XMLCSTR lpszName)
 Delete the attribute with the given name (the "strcmp" function is used to find the right attribute)
void XMLNode::deleteAttribute (XMLAttribute *anAttribute)
 Delete the attribute with the name "anAttribute->lpszName" (the "strcmp" function is used to find the right attribute)
void XMLNode::deleteText (int i=0)
 Delete the Ith text content of the current XMLNode.
void XMLNode::deleteText (XMLCSTR lpszValue)
 Delete the text content "lpszValue" inside the current XMLNode (direct "pointer-to-pointer" comparison is used to find the right text)
void XMLNode::deleteClear (int i=0)
 Delete the Ith clear tag inside the current XMLNode.
void XMLNode::deleteClear (XMLCSTR lpszValue)
 Delete the clear tag "lpszValue" inside the current XMLNode (direct "pointer-to-pointer" comparison is used to find the clear tag)
void XMLNode::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)

Detailed Description

Some deletion functions:


Function Documentation

void XMLNode::deleteAttribute ( int  i = 0)

Delete the ith attribute of the current XMLNode.

Definition at line 2306 of file xmlParser.cpp.

void XMLNode::deleteAttribute ( XMLAttribute anAttribute)

Delete the attribute with the name "anAttribute->lpszName" (the "strcmp" function is used to find the right attribute)

Definition at line 2316 of file xmlParser.cpp.

void XMLNode::deleteAttribute ( XMLCSTR  lpszName)

Delete the attribute with the given name (the "strcmp" function is used to find the right attribute)

Definition at line 2317 of file xmlParser.cpp.

void XMLNode::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)

Definition at line 2417 of file xmlParser.cpp.

void XMLNode::deleteClear ( XMLCSTR  lpszValue)

Delete the clear tag "lpszValue" inside the current XMLNode (direct "pointer-to-pointer" comparison is used to find the clear tag)

Definition at line 2416 of file xmlParser.cpp.

void XMLNode::deleteClear ( int  i = 0)

Delete the Ith clear tag inside the current XMLNode.

Definition at line 2396 of file xmlParser.cpp.

void XMLNode::deleteNodeContent ( )

The "deleteNodeContent" function forces the deletion of the content of this XMLNode and the subtree.

Note:
The XMLNode instances that are referring to the part of the subtree that has been deleted CANNOT be used anymore!!. Unexpected results will occur if you continue using them.

Definition at line 2167 of file xmlParser.cpp.

void XMLNode::deleteText ( int  i = 0)

Delete the Ith text content of the current XMLNode.

Definition at line 2367 of file xmlParser.cpp.

void XMLNode::deleteText ( XMLCSTR  lpszValue)

Delete the text content "lpszValue" inside the current XMLNode (direct "pointer-to-pointer" comparison is used to find the right text)

Definition at line 2377 of file xmlParser.cpp.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines