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

Method QueryInt64Text

externals/tinyxml2/tinyxml2.cpp:1798–1808  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1796
1797
1798XMLError XMLElement::QueryInt64Text(int64_t* ival) const
1799{
1800 if (FirstChild() && FirstChild()->ToText()) {
1801 const char* t = FirstChild()->Value();
1802 if (XMLUtil::ToInt64(t, ival)) {
1803 return XML_SUCCESS;
1804 }
1805 return XML_CAN_NOT_CONVERT_TEXT;
1806 }
1807 return XML_NO_TEXT_NODE;
1808}
1809
1810
1811XMLError XMLElement::QueryUnsigned64Text(uint64_t* uval) const

Callers

nothing calls this directly

Calls 2

FirstChildFunction · 0.85
ValueMethod · 0.45

Tested by

no test coverage detected