13 #ifndef mitkIPropertyOwner_h
14 #define mitkIPropertyOwner_h
44 const std::string &contextName =
"",
45 bool fallBackOnDefaultContext =
true) = 0;
63 const std::string &contextName =
"",
64 bool fallBackOnDefaultContext =
false) = 0;
80 const std::string &contextName =
"",
81 bool fallBackOnDefaultContext =
false) = 0;
96 const std::string& contextName =
"",
97 bool fallBackOnDefaultContext =
true)
const;
Abstract base class for properties.
Interface implemented by classes that provide write/read access to property information.
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.
Interface implemented by classes that provide access to property information.
Find image slices visible on a given plane.