Main MRPT website > C++ reference for MRPT 1.5.7
Functions

Detailed Description

Some deletion functions:

Collaboration diagram for Deleting Nodes or Attributes:

Functions

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

Function Documentation

◆ deleteAttribute() [1/3]

void XMLNode::deleteAttribute ( int  i = 0)

Delete the ith attribute of the current XMLNode.

Definition at line 2193 of file xmlParser.cpp.

References XMLNode::d.

Referenced by XMLNode::deleteAttribute().

◆ deleteAttribute() [2/3]

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 2204 of file xmlParser.cpp.

References XMLNode::deleteAttribute(), and XMLNode::getAttribute().

◆ deleteAttribute() [3/3]

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 2203 of file xmlParser.cpp.

References XMLNode::deleteAttribute().

◆ deleteClear() [1/3]

void XMLNode::deleteClear ( int  i = 0)

Delete the Ith clear tag inside the current XMLNode.

Definition at line 2283 of file xmlParser.cpp.

References XMLNode::d, eNodeClear, and XMLNode::removeOrderElement().

Referenced by XMLNode::deleteClear(), and XMLNode::maybeAddTxT().

◆ deleteClear() [2/3]

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 2303 of file xmlParser.cpp.

References XMLNode::deleteClear(), and XMLNode::indexClear().

◆ deleteClear() [3/3]

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 2304 of file xmlParser.cpp.

References XMLNode::deleteClear().

◆ deleteNodeContent()

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 2054 of file xmlParser.cpp.

References XMLNode::d, XMLNode::detachFromParent(), and XMLNode::emptyTheNode().

◆ deleteText() [1/2]

void XMLNode::deleteText ( int  i = 0)

Delete the Ith text content of the current XMLNode.

Definition at line 2254 of file xmlParser.cpp.

References XMLNode::d, eNodeText, XMLNode::removeOrderElement(), and XMLCSTR.

Referenced by XMLNode::deleteText().

◆ deleteText() [2/2]

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 2264 of file xmlParser.cpp.

References XMLNode::deleteText(), and XMLNode::indexText().




Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019