| 297 | } |
| 298 | |
| 299 | std::vector<std::string> mitk::Preferences::Keys(bool includeOverrides) const |
| 300 | { |
| 301 | std::vector<std::string> keys; |
| 302 | |
| 303 | for (const auto& property : m_Properties) |
| 304 | keys.push_back(property.first); |
| 305 | |
| 306 | if (includeOverrides) |
| 307 | { |
| 308 | for (const auto& override : m_Overrides) |
| 309 | { |
| 310 | if (m_Properties.find(override.first) == m_Properties.end()) |
| 311 | keys.push_back(override.first); |
| 312 | } |
| 313 | } |
| 314 | |
| 315 | return keys; |
| 316 | } |
| 317 | |
| 318 | std::vector<std::string> mitk::Preferences::ChildrenNames() const |
| 319 | { |