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

Method PutBool

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

Source from the content-addressed store, hash-verified

93}
94
95void mitk::Preferences::PutBool(const std::string& key, bool value)
96{
97 this->SetProperty<bool>(m_Properties, key, value, [](const auto& value) { return value ? "true" : "false"; });
98}
99
100float mitk::Preferences::GetFloat(const std::string& key, float def) const
101{

Callers 15

OverrideBoolMethod · 0.80
PerformOkMethod · 0.80
SaveMethod · 0.80
OpenIntroMethod · 0.80
PerformOkMethod · 0.80
OnFinishedMethod · 0.80
ExecuteStartupDialogFunction · 0.80
PerformOkMethod · 0.80
PerformOkMethod · 0.80

Calls

no outgoing calls

Tested by 2

OverrideBoolMethod · 0.64