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

Detailed Description

Some update functions:

Collaboration diagram for Updating Nodes:

Functions

XMLCSTR XMLNode::updateName (XMLCSTR lpszName)
 change node's name More...
 
XMLAttributeXMLNode::updateAttribute (XMLAttribute *newAttribute, XMLAttribute *oldAttribute)
 if the attribute to update is More...
 
XMLAttributeXMLNode::updateAttribute (XMLCSTR lpszNewValue, XMLCSTR lpszNewName=nullptr, int i=0)
 missing, a new one will be added More...
 
XMLAttributeXMLNode::updateAttribute (XMLCSTR lpszNewValue, XMLCSTR lpszNewName, XMLCSTR lpszOldName)
 be added More...
 
XMLCSTR XMLNode::updateText (XMLCSTR lpszNewValue, int i=0)
 change the name of the attribute if the attribute to update is missing, a new one will be added More...
 
XMLCSTR XMLNode::updateText (XMLCSTR lpszNewValue, XMLCSTR lpszOldValue)
 update is missing, a new one will be added More...
 
XMLClearXMLNode::updateClear (XMLCSTR lpszNewContent, int i=0)
 text to update is missing, a new one will be added More...
 
XMLClearXMLNode::updateClear (XMLClear *newP, XMLClear *oldP)
 clearTag to update is missing, a new one will be added More...
 
XMLClearXMLNode::updateClear (XMLCSTR lpszNewValue, XMLCSTR lpszOldValue)
 to update is missing, a new one will be added More...
 

Function Documentation

◆ updateAttribute() [1/3]

XMLAttribute * XMLNode::updateAttribute ( XMLAttribute newAttribute,
XMLAttribute oldAttribute 
)

if the attribute to update is

Definition at line 3461 of file xmlParser.cpp.

References XMLAttribute::lpszName, XMLAttribute::lpszValue, stringDup(), and XMLNode::updateAttribute_WOSD().

◆ updateAttribute() [2/3]

XMLAttribute * XMLNode::updateAttribute ( XMLCSTR  lpszNewValue,
XMLCSTR  lpszNewName = nullptr,
int  i = 0 
)

missing, a new one will be added

if the attribute to update is missing, a new one will

Definition at line 3468 of file xmlParser.cpp.

References stringDup(), and XMLNode::updateAttribute_WOSD().

◆ updateAttribute() [3/3]

XMLAttribute * XMLNode::updateAttribute ( XMLCSTR  lpszNewValue,
XMLCSTR  lpszNewName,
XMLCSTR  lpszOldName 
)

be added

set lpszNewName=nullptr if you don't want to

Definition at line 3474 of file xmlParser.cpp.

References stringDup(), and XMLNode::updateAttribute_WOSD().

◆ updateClear() [1/3]

XMLClear * XMLNode::updateClear ( XMLCSTR  lpszNewContent,
int  i = 0 
)

text to update is missing, a new one will be added

if the

Definition at line 3488 of file xmlParser.cpp.

References stringDup(), and XMLNode::updateClear_WOSD().

◆ updateClear() [2/3]

XMLClear * XMLNode::updateClear ( XMLClear newP,
XMLClear oldP 
)

clearTag to update is missing, a new one will be added

if the clearTag

Definition at line 3496 of file xmlParser.cpp.

References XMLClear::lpszValue, stringDup(), and XMLNode::updateClear_WOSD().

◆ updateClear() [3/3]

XMLClear * XMLNode::updateClear ( XMLCSTR  lpszNewValue,
XMLCSTR  lpszOldValue 
)

to update is missing, a new one will be added

if the clearTag to

Definition at line 3492 of file xmlParser.cpp.

References stringDup(), and XMLNode::updateClear_WOSD().

◆ updateName()

XMLCSTR XMLNode::updateName ( XMLCSTR  lpszName)

change node's name

Definition at line 3457 of file xmlParser.cpp.

References stringDup(), and XMLNode::updateName_WOSD().

◆ updateText() [1/2]

XMLCSTR XMLNode::updateText ( XMLCSTR  lpszNewValue,
int  i = 0 
)

change the name of the attribute if the attribute to update is missing, a new one will be added

if the text to

Definition at line 3480 of file xmlParser.cpp.

References stringDup(), and XMLNode::updateText_WOSD().

◆ updateText() [2/2]

XMLCSTR XMLNode::updateText ( XMLCSTR  lpszNewValue,
XMLCSTR  lpszOldValue 
)

update is missing, a new one will be added

if the

Definition at line 3484 of file xmlParser.cpp.

References stringDup(), and XMLNode::updateText_WOSD().




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at lun oct 28 00:14:14 CET 2019