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

Method QueryUnsigned64Text

external/tinyxml2.cpp:1764–1774  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1762
1763
1764XMLError XMLElement::QueryUnsigned64Text(uint64_t* ival) const
1765{
1766 if(FirstChild() && FirstChild()->ToText()) {
1767 const char* t = FirstChild()->Value();
1768 if(XMLUtil::ToUnsigned64(t, ival)) {
1769 return XML_SUCCESS;
1770 }
1771 return XML_CAN_NOT_CONVERT_TEXT;
1772 }
1773 return XML_NO_TEXT_NODE;
1774}
1775
1776
1777XMLError XMLElement::QueryHex64Text(uint64_t* ival) const

Callers

nothing calls this directly

Calls 2

FirstChildFunction · 0.85
ValueMethod · 0.45

Tested by

no test coverage detected