| 171 | } |
| 172 | |
| 173 | IndexGraphLoaderImpl::GeometryPtrT IndexGraphLoaderImpl::CreateGeometry(NumMwmId numMwmId) |
| 174 | { |
| 175 | MwmSet::MwmHandle const & handle = m_dataSource.GetHandle(numMwmId); |
| 176 | MwmValue const * value = handle.GetValue(); |
| 177 | |
| 178 | auto vehicleModel = m_vehicleModelFactory->GetVehicleModelForCountry(value->GetCountryFileName()); |
| 179 | return make_shared<Geometry>(GeometryLoader::Create(handle, std::move(vehicleModel), m_loadAltitudes)); |
| 180 | } |
| 181 | |
| 182 | void IndexGraphLoaderImpl::Clear() |
| 183 | { |
nothing calls this directly
no test coverage detected