| 492 | } |
| 493 | |
| 494 | std::vector<uint32_t> Editor::GetFeaturesByStatus(MwmId const & mwmId, FeatureStatus status) const |
| 495 | { |
| 496 | auto const features = m_features.Get(); |
| 497 | |
| 498 | std::vector<uint32_t> result; |
| 499 | auto const matchedMwm = features->find(mwmId); |
| 500 | if (matchedMwm == features->cend()) |
| 501 | return result; |
| 502 | |
| 503 | for (auto const & index : matchedMwm->second) |
| 504 | if (index.second.m_status == status) |
| 505 | result.push_back(index.first); |
| 506 | std::sort(result.begin(), result.end()); |
| 507 | return result; |
| 508 | } |
| 509 | |
| 510 | EditableProperties Editor::GetEditableProperties(FeatureType & feature) const |
| 511 | { |