| 71 | } |
| 72 | |
| 73 | std::unordered_set<QString> DataModelRegistry::registeredModelsByCategory(const QString &category) |
| 74 | { |
| 75 | std::unordered_set<QString> names_in_category; |
| 76 | for (auto& it: _registeredModelsCategory) |
| 77 | { |
| 78 | if( it.second == category) |
| 79 | { |
| 80 | names_in_category.insert(it.first); |
| 81 | } |
| 82 | } |
| 83 | return names_in_category; |
| 84 | } |
no outgoing calls
no test coverage detected