| 288 | } |
| 289 | |
| 290 | mitk::BaseProperty::ConstPointer mitk::BaseData::GetConstProperty(const std::string &propertyKey, const std::string &contextName, bool fallBackOnDefaultContext) const |
| 291 | { |
| 292 | if (propertyKey.empty()) |
| 293 | return nullptr; |
| 294 | |
| 295 | if (contextName.empty() || fallBackOnDefaultContext) |
| 296 | return m_PropertyList->GetProperty(propertyKey); |
| 297 | |
| 298 | return nullptr; |
| 299 | } |
| 300 | |
| 301 | mitk::BaseProperty * mitk::BaseData::GetNonConstProperty(const std::string &propertyKey, const std::string &contextName, bool fallBackOnDefaultContext) |
| 302 | { |