MCPcopy Create free account
hub / github.com/PolygonTek/BlueshiftEngine / QueryInt64Text

Method QueryInt64Text

Source/ThirdParty/tinyxml2/tinyxml2.cpp:1550–1560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1548
1549
1550XMLError XMLElement::QueryInt64Text(int64_t* ival) const
1551{
1552 if (FirstChild() && FirstChild()->ToText()) {
1553 const char* t = FirstChild()->Value();
1554 if (XMLUtil::ToInt64(t, ival)) {
1555 return XML_SUCCESS;
1556 }
1557 return XML_CAN_NOT_CONVERT_TEXT;
1558 }
1559 return XML_NO_TEXT_NODE;
1560}
1561
1562
1563XMLError XMLElement::QueryBoolText( bool* bval ) const

Callers

nothing calls this directly

Calls 2

FirstChildFunction · 0.85
ValueMethod · 0.45

Tested by

no test coverage detected