Main MRPT website > C++ reference for MRPT 1.5.6
Functions
ato? like functions

Detailed Description

The "xmlto?" functions are equivalents to the atoi, atol, atof functions.

The only difference is: If the variable "xmlString" is NULL, than the return value is "defautValue". These 6 functions are only here as "convenience" functions for the user (they are not used inside the XMLparser). If you don't need them, you can delete them without any trouble.

Collaboration diagram for ato? like functions:

Functions

XMLDLLENTRY char xmltob (XMLCSTR xmlString, char defautValue=0)
 
XMLDLLENTRY int xmltoi (XMLCSTR xmlString, int defautValue=0)
 
XMLDLLENTRY long xmltol (XMLCSTR xmlString, long defautValue=0)
 
XMLDLLENTRY double xmltof (XMLCSTR xmlString, double defautValue=.0)
 
XMLDLLENTRY XMLCSTR xmltoa (XMLCSTR xmlString, XMLCSTR defautValue=_CXML(""))
 
XMLDLLENTRY XMLCHAR xmltoc (XMLCSTR xmlString, XMLCHAR defautValue=_CXML('\0'))
 

Function Documentation

◆ xmltoa()

XMLDLLENTRY XMLCSTR xmltoa ( XMLCSTR  xmlString,
XMLCSTR  defautValue = _CXML("") 
)

Definition at line 317 of file xmlParser.cpp.

◆ xmltob()

XMLDLLENTRY char xmltob ( XMLCSTR  xmlString,
char  defautValue = 0 
)

Definition at line 312 of file xmlParser.cpp.

◆ xmltoc()

XMLDLLENTRY XMLCHAR xmltoc ( XMLCSTR  xmlString,
XMLCHAR  defautValue = _CXML('\0') 
)

Definition at line 318 of file xmlParser.cpp.

◆ xmltof()

XMLDLLENTRY double xmltof ( XMLCSTR  xmlString,
double  defautValue = .0 
)

Definition at line 315 of file xmlParser.cpp.

◆ xmltoi()

XMLDLLENTRY int xmltoi ( XMLCSTR  xmlString,
int  defautValue = 0 
)

Definition at line 313 of file xmlParser.cpp.

◆ xmltol()

XMLDLLENTRY long xmltol ( XMLCSTR  xmlString,
long  defautValue = 0 
)

Definition at line 314 of file xmlParser.cpp.




Page generated by Doxygen 1.8.14 for MRPT 1.5.6 Git: 4c65e8431 Tue Apr 24 08:18:17 2018 +0200 at lun oct 28 01:35:26 CET 2019