13 #ifndef mitkPropertyDescriptions_h
14 #define mitkPropertyDescriptions_h
37 const std::string &description,
38 const std::string &className,
39 bool overwrite)
override;
42 const std::string &description,
43 const std::string &className,
44 bool overwrite)
override;
47 const std::string &className,
48 bool allowNameRegEx)
const override;
50 bool HasDescription(
const std::string &propertyName,
const std::string &className,
bool allowNameRegEx)
const override;
54 void RemoveDescription(
const std::string &propertyName,
const std::string &className)
override;
57 typedef std::map<std::string, std::string> DescriptionMap;
58 typedef DescriptionMap::const_iterator DescriptionMapConstIterator;
59 typedef DescriptionMap::iterator DescriptionMapIterator;
64 std::map<std::string, DescriptionMap> m_Descriptions;
65 std::map<std::string, DescriptionMap> m_DescriptionsRegEx;
Interface of property descriptions service.
Implementation of the IPropertyDescriptions service interface.
bool AddDescription(const std::string &propertyName, const std::string &description, const std::string &className, bool overwrite) override
Add a description for a specific property.
void RemoveAllDescriptions(const std::string &className) override
Remove all descriptions.
~PropertyDescriptions() override
std::string GetDescription(const std::string &propertyName, const std::string &className, bool allowNameRegEx) const override
Get the description for a specific property.
bool AddDescriptionRegEx(const std::string &propertyRegEx, const std::string &description, const std::string &className, bool overwrite) override
Add a description for all properties matching the property regular expression.
bool HasDescription(const std::string &propertyName, const std::string &className, bool allowNameRegEx) const override
Check if a specific property has a description.
void RemoveDescription(const std::string &propertyName, const std::string &className) override
Remove description of specific property.
Find image slices visible on a given plane.