13 #ifndef mitkIPropertyDescriptions_h
14 #define mitkIPropertyDescriptions_h
43 const std::string &description,
44 const std::string &className =
"",
45 bool overwrite =
false) = 0;
56 const std::string &description,
57 const std::string &className =
"",
58 bool overwrite =
false) = 0;
68 const std::string &className =
"",
69 bool allowNameRegEx =
true)
const = 0;
79 const std::string &className =
"",
80 bool allowNameRegEx =
true)
const = 0;
93 virtual void RemoveDescription(
const std::string &propertyName,
const std::string &className =
"") = 0;
Interface of property descriptions service.
virtual void RemoveDescription(const std::string &propertyName, const std::string &className="")=0
Remove description of specific property.
virtual std::string GetDescription(const std::string &propertyName, const std::string &className="", bool allowNameRegEx=true) const =0
Get the description for a specific property.
virtual void RemoveAllDescriptions(const std::string &className="")=0
Remove all descriptions.
virtual bool AddDescriptionRegEx(const std::string &propertyRegEx, const std::string &description, const std::string &className="", bool overwrite=false)=0
Add a description for all properties matching the property regular expression.
virtual bool HasDescription(const std::string &propertyName, const std::string &className="", bool allowNameRegEx=true) const =0
Check if a specific property has a description.
virtual ~IPropertyDescriptions()
virtual bool AddDescription(const std::string &propertyName, const std::string &description, const std::string &className="", bool overwrite=false)=0
Add a description for a specific property.
#define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
Find image slices visible on a given plane.