13 #ifndef mitkIPropertyOwner_h
14 #define mitkIPropertyOwner_h
40 const std::string &contextName =
"",
41 bool fallBackOnDefaultContext =
true) = 0;
59 const std::string &contextName =
"",
60 bool fallBackOnDefaultContext =
false) = 0;
76 const std::string &contextName =
"",
77 bool fallBackOnDefaultContext =
false) = 0;
92 const std::string& contextName =
"",
93 bool fallBackOnDefaultContext =
true)
const;
Abstract base class for properties.
virtual bool PropertyIsOwned(const std::string &propertyKey, const std::string &contextName="", bool fallBackOnDefaultContext=true) const
Checks if a certain property exists.
virtual void SetProperty(const std::string &propertyKey, BaseProperty *property, const std::string &contextName="", bool fallBackOnDefaultContext=false)=0
Add new or change existent property.
~IPropertyOwner() override
virtual BaseProperty * GetNonConstProperty(const std::string &propertyKey, const std::string &contextName="", bool fallBackOnDefaultContext=true)=0
Get property by its key.
virtual void RemoveProperty(const std::string &propertyKey, const std::string &contextName="", bool fallBackOnDefaultContext=false)=0
Removes a property. If the property does not exist, nothing will be done.
Find image slices visible on a given plane.