MCPcopy Create free account
hub / github.com/MITK/MITK / Keys

Method Keys

Modules/Core/src/IO/mitkPreferences.cpp:299–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297}
298
299std::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
318std::vector<std::string> mitk::Preferences::ChildrenNames() const
319{

Callers 7

GetPropertyKeysMethod · 0.80
KeysWithOverridesMethod · 0.80
HasCustomDefinitionMethod · 0.80
LoadMethod · 0.80
OnPreferencesChangedMethod · 0.80
IsDepartmentLogoVisibleFunction · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 2

KeysWithOverridesMethod · 0.64
HasCustomDefinitionMethod · 0.64