MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / QueryInt64Text

Method QueryInt64Text

examples/ThirdPartyLibs/tinyxml2/tinyxml2.cpp:1732–1744  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1730}
1731
1732XMLError XMLElement::QueryInt64Text(xml_Int64a_t* ival) const
1733{
1734 if (FirstChild() && FirstChild()->ToText())
1735 {
1736 const char* t = FirstChild()->Value();
1737 if (XMLUtil::ToInt64(t, ival))
1738 {
1739 return XML_SUCCESS;
1740 }
1741 return XML_CAN_NOT_CONVERT_TEXT;
1742 }
1743 return XML_NO_TEXT_NODE;
1744}
1745
1746XMLError XMLElement::QueryBoolText(bool* bval) const
1747{

Callers

nothing calls this directly

Calls 2

FirstChildFunction · 0.85
ValueMethod · 0.45

Tested by

no test coverage detected