MCPcopy Create free account
hub / github.com/ajkhoury/ReClassEx / QueryInt64Text

Method QueryInt64Text

ReClass/tinyxml2.cpp:1666–1676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1664
1665
1666XMLError XMLElement::QueryInt64Text(int64_t* ival) const
1667{
1668 if (FirstChild() && FirstChild()->ToText()) {
1669 const char* t = FirstChild()->Value();
1670 if (XMLUtil::ToInt64(t, ival)) {
1671 return XML_SUCCESS;
1672 }
1673 return XML_CAN_NOT_CONVERT_TEXT;
1674 }
1675 return XML_NO_TEXT_NODE;
1676}
1677
1678
1679XMLError XMLElement::QueryBoolText( bool* bval ) const

Callers

nothing calls this directly

Calls 2

FirstChildFunction · 0.85
ValueMethod · 0.80

Tested by

no test coverage detected