MCPcopy Create free account
hub / github.com/avast/retdec / QueryUnsigned64Text

Method QueryUnsigned64Text

deps/tinyxml2/tinyxml2.cpp:1737–1747  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1735
1736
1737XMLError XMLElement::QueryUnsigned64Text(uint64_t* ival) const
1738{
1739 if(FirstChild() && FirstChild()->ToText()) {
1740 const char* t = FirstChild()->Value();
1741 if(XMLUtil::ToUnsigned64(t, ival)) {
1742 return XML_SUCCESS;
1743 }
1744 return XML_CAN_NOT_CONVERT_TEXT;
1745 }
1746 return XML_NO_TEXT_NODE;
1747}
1748
1749
1750XMLError XMLElement::QueryBoolText( bool* bval ) const

Callers

nothing calls this directly

Calls 2

FirstChildFunction · 0.85
ValueMethod · 0.45

Tested by

no test coverage detected