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

Method QueryInt64Text

external/tinyxml2.cpp:1751–1761  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1749
1750
1751XMLError XMLElement::QueryInt64Text(int64_t* ival) const
1752{
1753 if (FirstChild() && FirstChild()->ToText()) {
1754 const char* t = FirstChild()->Value();
1755 if (XMLUtil::ToInt64(t, ival)) {
1756 return XML_SUCCESS;
1757 }
1758 return XML_CAN_NOT_CONVERT_TEXT;
1759 }
1760 return XML_NO_TEXT_NODE;
1761}
1762
1763
1764XMLError 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