PointStorageReaderInterface overrides:
| 247 | |
| 248 | // PointStorageReaderInterface overrides: |
| 249 | bool GetPoint(uint64_t id, double & lat, double & lon) const override |
| 250 | { |
| 251 | auto const i = m_map.find(id); |
| 252 | if (i == m_map.cend()) |
| 253 | return false; |
| 254 | bool ret = FromLatLon(i->second, lat, lon); |
| 255 | if (!ret) |
| 256 | LOG(LERROR, ("Inconsistent MapFilePointStorageReader. Node with id =", id, "must exist but was not found")); |
| 257 | return ret; |
| 258 | } |
| 259 | |
| 260 | private: |
| 261 | FileReader m_fileReader; |
nothing calls this directly
no test coverage detected