| 52 | } |
| 53 | |
| 54 | void BoundaryPostcodeCollector::Save() |
| 55 | { |
| 56 | LOG(LINFO, ("Saving postcode boundaries to", GetFilename())); |
| 57 | std::sort(m_data.begin(), m_data.end()); |
| 58 | |
| 59 | FileWriter writer(GetFilename()); |
| 60 | for (auto const & p : m_data) |
| 61 | { |
| 62 | rw::WriteNonEmpty(writer, p.first); |
| 63 | rw::WriteVectorOfPOD(writer, p.second); |
| 64 | } |
| 65 | |
| 66 | LOG(LINFO, ("Finished saving postcode boundaries")); |
| 67 | } |
| 68 | |
| 69 | void BoundaryPostcodeCollector::MergeInto(BoundaryPostcodeCollector & collector) const |
| 70 | { |
nothing calls this directly
no test coverage detected