| 247 | } |
| 248 | |
| 249 | static 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 | |
| 257 | static unsigned int xmlTextAsBool(const tinyxml2::XMLElement* node, bool& error) |
| 258 | { |
no test coverage detected