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

Method QueryUnsigned64Text

externals/tinyxml2/tinyxml2.cpp:1811–1821  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1809
1810
1811XMLError XMLElement::QueryUnsigned64Text(uint64_t* uval) const
1812{
1813 if(FirstChild() && FirstChild()->ToText()) {
1814 const char* t = FirstChild()->Value();
1815 if(XMLUtil::ToUnsigned64(t, uval)) {
1816 return XML_SUCCESS;
1817 }
1818 return XML_CAN_NOT_CONVERT_TEXT;
1819 }
1820 return XML_NO_TEXT_NODE;
1821}
1822
1823
1824XMLError XMLElement::QueryBoolText( bool* bval ) const

Callers

nothing calls this directly

Calls 2

FirstChildFunction · 0.85
ValueMethod · 0.45

Tested by

no test coverage detected