| 324 | } |
| 325 | |
| 326 | void mitk::BaseData::RemoveProperty(const std::string &propertyKey, const std::string &contextName, bool fallBackOnDefaultContext) |
| 327 | { |
| 328 | if (propertyKey.empty()) |
| 329 | mitkThrow() << "Property key is empty."; |
| 330 | |
| 331 | if (contextName.empty() || fallBackOnDefaultContext) |
| 332 | { |
| 333 | m_PropertyList->RemoveProperty(propertyKey); |
| 334 | return; |
| 335 | } |
| 336 | |
| 337 | mitkThrow() << "Unknown or unsupported non-default property context."; |
| 338 | } |
| 339 | |
| 340 | std::vector<std::string> mitk::BaseData::GetPropertyKeys(const std::string &/*contextName*/, bool /*includeDefaultContext*/) const |
| 341 | { |