| 32 | } |
| 33 | |
| 34 | void LatLonToXML(ms::LatLon const & latLon, pugi::xml_node & node) |
| 35 | { |
| 36 | auto const kDigitsAfterComma = 5; |
| 37 | node.append_child("lat").text() = strings::to_string_dac(latLon.m_lat, kDigitsAfterComma).data(); |
| 38 | node.append_child("lon").text() = strings::to_string_dac(latLon.m_lon, kDigitsAfterComma).data(); |
| 39 | } |
| 40 | |
| 41 | void LatLonFromXML(pugi::xml_node const & node, ms::LatLon & latLon) |
| 42 | { |
no test coverage detected