MRPT  1.9.9

Detailed Description

update is missing, a new one will be added

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. More...
 
void XMLNode::deleteAttribute (XMLAttribute *anAttribute)
 given name (the "strcmp" function is used to find the right attribute) More...
 
void XMLNode::deleteText (int i=0)
 with the name "anAttribute->lpszName" (the "strcmp" function is used to find the right attribute) More...
 
void XMLNode::deleteText (XMLCSTR lpszValue)
 Delete the text content. More...
 
void XMLNode::deleteClear (int i=0)
 "lpszValue" inside the current XMLNode (direct "pointer-to-pointer" comparison is used to find the right text) More...
 
void XMLNode::deleteClear (XMLCSTR lpszValue)
 Delete the clear tag "lpszValue". More...
 
void XMLNode::deleteClear (XMLClear *p)
 inside the current XMLNode (direct "pointer-to-pointer" comparison 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 2876 of file xmlParser.cpp.

References XMLNode::d.

Referenced by XMLNode::deleteAttribute().

◆ deleteAttribute() [2/3]

void XMLNode::deleteAttribute ( XMLCSTR  lpszName)

Delete the attribute with the.

Definition at line 2896 of file xmlParser.cpp.

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

◆ deleteAttribute() [3/3]

void XMLNode::deleteAttribute ( XMLAttribute anAttribute)

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

Delete the attribute

Definition at line 2892 of file xmlParser.cpp.

References XMLNode::deleteAttribute().

◆ deleteClear() [1/3]

void XMLNode::deleteClear ( int  i = 0)

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

Delete the Ith clear tag inside the current XMLNode

Definition at line 3020 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".

Definition at line 3051 of file xmlParser.cpp.

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

◆ deleteClear() [3/3]

void XMLNode::deleteClear ( XMLClear p)

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

Delete the clear tag "p" inside the

Definition at line 3055 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 2707 of file xmlParser.cpp.

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

◆ deleteText() [1/2]

void XMLNode::deleteText ( int  i = 0)

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

Delete the Ith text content of the current XMLNode

Definition at line 2970 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.

Definition at line 2986 of file xmlParser.cpp.

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




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020