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

Method QueryDoubleText

examples/ThirdPartyLibs/tinyxml2/tinyxml2.cpp:1760–1772  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1758}
1759
1760XMLError XMLElement::QueryDoubleText(double* dval) const
1761{
1762 if (FirstChild() && FirstChild()->ToText())
1763 {
1764 const char* t = FirstChild()->Value();
1765 if (XMLUtil::ToDouble(t, dval))
1766 {
1767 return XML_SUCCESS;
1768 }
1769 return XML_CAN_NOT_CONVERT_TEXT;
1770 }
1771 return XML_NO_TEXT_NODE;
1772}
1773
1774XMLError XMLElement::QueryFloatText(float* fval) const
1775{

Callers

nothing calls this directly

Calls 2

FirstChildFunction · 0.85
ValueMethod · 0.45

Tested by

no test coverage detected