MCPcopy Create free account
hub / github.com/crossuo/crossuo / QueryHex64Text

Method QueryHex64Text

external/tinyxml2.cpp:1777–1787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1775
1776
1777XMLError XMLElement::QueryHex64Text(uint64_t* ival) const
1778{
1779 if(FirstChild() && FirstChild()->ToText()) {
1780 const char* t = FirstChild()->Value();
1781 if(XMLUtil::ToHex64(t, ival)) {
1782 return XML_SUCCESS;
1783 }
1784 return XML_CAN_NOT_CONVERT_TEXT;
1785 }
1786 return XML_NO_TEXT_NODE;
1787}
1788
1789
1790XMLError XMLElement::QueryBoolText( bool* bval ) const

Callers

nothing calls this directly

Calls 2

FirstChildFunction · 0.85
ValueMethod · 0.45

Tested by

no test coverage detected