13 #ifndef mitkIPropertyExtensions_h
14 #define mitkIPropertyExtensions_h
46 PropertyExtension::Pointer extension,
47 const std::string &className =
"",
48 bool overwrite =
false) = 0;
56 virtual PropertyExtension::Pointer
GetExtension(
const std::string &propertyName,
57 const std::string &className =
"") = 0;
65 virtual bool HasExtension(
const std::string &propertyName,
const std::string &className =
"") = 0;
78 virtual void RemoveExtension(
const std::string &propertyName,
const std::string &className =
"") = 0;
Interface of property extensions service.
virtual void RemoveAllExtensions(const std::string &className="")=0
Remove all property extensions.
virtual PropertyExtension::Pointer GetExtension(const std::string &propertyName, const std::string &className="")=0
Get the extension of a specific property.
virtual bool HasExtension(const std::string &propertyName, const std::string &className="")=0
Check if a specific property has an extension.
virtual ~IPropertyExtensions()
virtual void RemoveExtension(const std::string &propertyName, const std::string &className="")=0
Remove extension of a specific property.
virtual bool AddExtension(const std::string &propertyName, PropertyExtension::Pointer extension, const std::string &className="", bool overwrite=false)=0
Add an extension to a specific property.
#define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
Find image slices visible on a given plane.