MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / xmlTextAsUInt

Function xmlTextAsUInt

lib/platform.cpp:249–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249static unsigned int xmlTextAsUInt(const tinyxml2::XMLElement* node, bool& error)
250{
251 unsigned int retval = 0;
252 if (node->QueryUnsignedText(&retval) != tinyxml2::XML_SUCCESS)
253 error = true;
254 return retval;
255}
256
257static unsigned int xmlTextAsBool(const tinyxml2::XMLElement* node, bool& error)
258{

Callers 1

loadFromXmlDocumentMethod · 0.85

Calls 1

QueryUnsignedTextMethod · 0.80

Tested by

no test coverage detected