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

Method PutFloat

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

Source from the content-addressed store, hash-verified

115}
116
117void mitk::Preferences::PutFloat(const std::string& key, float value)
118{
119 this->SetProperty<float>(m_Properties, key, value, [](const auto& value) { return std::to_string(value); });
120}
121
122double mitk::Preferences::GetDouble(const std::string& key, double def) const
123{

Callers 1

GetFloatMethod · 0.45

Calls

no outgoing calls

Tested by 1

GetFloatMethod · 0.36