| 343 | } |
| 344 | |
| 345 | void Classificator::ReadClassificator(std::istream & s) |
| 346 | { |
| 347 | ClassifObject::LoadPolicy policy(&m_root); |
| 348 | tree::LoadTreeAsText(s, policy); |
| 349 | |
| 350 | m_root.Sort(); |
| 351 | |
| 352 | m_coastType = GetTypeByPath({"natural", "coastline"}); |
| 353 | m_stubType = GetTypeByPath({"mapswithme"}); |
| 354 | } |
| 355 | |
| 356 | template <typename Iter> |
| 357 | uint32_t Classificator::GetTypeByPathImpl(Iter beg, Iter end) const |
no test coverage detected