The "xmlto?" functions are equivalents to the atoi, atol, atof functions. The only difference is: If the variable "xmlString" is nullptr, 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.

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')) |
| XMLDLLENTRY XMLCSTR xmltoa | ( | XMLCSTR | xmlString, |
| XMLCSTR | defautValue = _CXML("") |
||
| ) |
Definition at line 510 of file xmlParser.cpp.
| XMLDLLENTRY char xmltob | ( | XMLCSTR | xmlString, |
| char | defautValue = 0 |
||
| ) |
Definition at line 489 of file xmlParser.cpp.
| XMLDLLENTRY XMLCHAR xmltoc | ( | XMLCSTR | xmlString, |
| XMLCHAR | defautValue = _CXML('\0') |
||
| ) |
Definition at line 515 of file xmlParser.cpp.
| XMLDLLENTRY double xmltof | ( | XMLCSTR | xmlString, |
| double | defautValue = .0 |
||
| ) |
Definition at line 504 of file xmlParser.cpp.
| XMLDLLENTRY int xmltoi | ( | XMLCSTR | xmlString, |
| int | defautValue = 0 |
||
| ) |
Definition at line 494 of file xmlParser.cpp.
| XMLDLLENTRY long xmltol | ( | XMLCSTR | xmlString, |
| long | defautValue = 0 |
||
| ) |
Definition at line 499 of file xmlParser.cpp.
| Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |