Main MRPT website > C++ reference for MRPT 1.5.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 missing, a new one will be added More...
 
XMLAttributeXMLNode::updateAttribute (XMLCSTR lpszNewValue, XMLCSTR lpszNewName=NULL, int i=0)
 if the attribute to update is missing, a new one will be added More...
 
XMLAttributeXMLNode::updateAttribute (XMLCSTR lpszNewValue, XMLCSTR lpszNewName, XMLCSTR lpszOldName)
 set lpszNewName=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...
 
XMLCSTR XMLNode::updateText (XMLCSTR lpszNewValue, int i=0)
 if the text to update is missing, a new one will be added More...
 
XMLCSTR XMLNode::updateText (XMLCSTR lpszNewValue, XMLCSTR lpszOldValue)
 if the text to update is missing, a new one will be added More...
 
XMLClearXMLNode::updateClear (XMLCSTR lpszNewContent, int i=0)
 if the clearTag to update is missing, a new one will be added More...
 
XMLClearXMLNode::updateClear (XMLClear *newP, XMLClear *oldP)
 if the clearTag to update is missing, a new one will be added More...
 
XMLClearXMLNode::updateClear (XMLCSTR lpszNewValue, XMLCSTR lpszOldValue)
 if the clearTag 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 missing, a new one will be added

Definition at line 2559 of file xmlParser.cpp.

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

◆ updateAttribute() [2/3]

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

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

Definition at line 2561 of file xmlParser.cpp.

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

◆ updateAttribute() [3/3]

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

set lpszNewName=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

Definition at line 2563 of file xmlParser.cpp.

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

◆ updateClear() [1/3]

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

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

Definition at line 2569 of file xmlParser.cpp.

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

◆ updateClear() [2/3]

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

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

Definition at line 2573 of file xmlParser.cpp.

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

◆ updateClear() [3/3]

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

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

Definition at line 2571 of file xmlParser.cpp.

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

◆ updateName()

XMLCSTR XMLNode::updateName ( XMLCSTR  lpszName)

change node's name

Definition at line 2557 of file xmlParser.cpp.

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

◆ updateText() [1/2]

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

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

Definition at line 2565 of file xmlParser.cpp.

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

◆ updateText() [2/2]

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

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

Definition at line 2567 of file xmlParser.cpp.

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




Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020