MCPcopy Create free account
hub / github.com/comaps/comaps / DoubleFromXML

Function DoubleFromXML

tools/openlr/openlr_model_xml.cpp:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27std::optional<double> DoubleFromXML(pugi::xml_node const & node)
28{
29 return node ? node.text().as_double() : std::optional<double>();
30}
31
32bool GetLatLon(pugi::xml_node const & node, int32_t & lat, int32_t & lon)
33{

Callers 1

LatLonFormXMLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected