| 42 | } |
| 43 | |
| 44 | std::vector<uint32_t> OsmID2FeatureID::GetFeatureIds(CompositeId const & id) const |
| 45 | { |
| 46 | std::vector<uint32_t> ids; |
| 47 | auto it = std::lower_bound(std::cbegin(m_data), std::cend(m_data), id, |
| 48 | [](auto const & l, auto const & r) { return l.first < r; }); |
| 49 | while (it != std::cend(m_data) && it->first == id) |
| 50 | ids.emplace_back((it++)->second); |
| 51 | |
| 52 | return ids; |
| 53 | } |
| 54 | |
| 55 | std::vector<uint32_t> OsmID2FeatureID::GetFeatureIds(base::GeoObjectId mainId) const |
| 56 | { |