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

Function xmlTextAsBool

lib/platform.cpp:257–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257static unsigned int xmlTextAsBool(const tinyxml2::XMLElement* node, bool& error)
258{
259 bool retval = false;
260 if (node->QueryBoolText(&retval) != tinyxml2::XML_SUCCESS)
261 error = true;
262 return retval;
263}
264
265bool Platform::loadFromXmlDocument(const tinyxml2::XMLDocument *doc)
266{

Callers 1

loadFromXmlDocumentMethod · 0.85

Calls 1

QueryBoolTextMethod · 0.80

Tested by

no test coverage detected