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

Method QueryInt64Text

deps/tinyxml2/tinyxml2.cpp:1724–1734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1722
1723
1724XMLError XMLElement::QueryInt64Text(int64_t* ival) const
1725{
1726 if (FirstChild() && FirstChild()->ToText()) {
1727 const char* t = FirstChild()->Value();
1728 if (XMLUtil::ToInt64(t, ival)) {
1729 return XML_SUCCESS;
1730 }
1731 return XML_CAN_NOT_CONVERT_TEXT;
1732 }
1733 return XML_NO_TEXT_NODE;
1734}
1735
1736
1737XMLError XMLElement::QueryUnsigned64Text(uint64_t* ival) const

Callers

nothing calls this directly

Calls 2

FirstChildFunction · 0.85
ValueMethod · 0.45

Tested by

no test coverage detected