MCPcopy Create free account
hub / github.com/cdcseacave/openMVS / QueryInt64Text

Method QueryInt64Text

libs/IO/TinyXML2.cpp:1767–1777  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1765
1766
1767XMLError XMLElement::QueryInt64Text(int64_t* ival) const
1768{
1769 if (FirstChild() && FirstChild()->ToText()) {
1770 const char* t = FirstChild()->Value();
1771 if (XMLUtil::ToInt64(t, ival)) {
1772 return XML_SUCCESS;
1773 }
1774 return XML_CAN_NOT_CONVERT_TEXT;
1775 }
1776 return XML_NO_TEXT_NODE;
1777}
1778
1779
1780XMLError 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