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

Method GetNonConstProperty

Modules/Core/src/DataManagement/mitkBaseData.cpp:301–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299}
300
301mitk::BaseProperty * mitk::BaseData::GetNonConstProperty(const std::string &propertyKey, const std::string &contextName, bool fallBackOnDefaultContext)
302{
303 if (propertyKey.empty())
304 return nullptr;
305
306 if (contextName.empty() || fallBackOnDefaultContext)
307 return m_PropertyList->GetProperty(propertyKey);
308
309 return nullptr;
310}
311
312void mitk::BaseData::SetProperty(const std::string &propertyKey, BaseProperty *property, const std::string &contextName, bool fallBackOnDefaultContext)
313{

Callers 1

Disconnect_datalayerMethod · 0.45

Calls 2

emptyMethod · 0.45
GetPropertyMethod · 0.45

Tested by

no test coverage detected