Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Interface of property descriptions service. More...
#include <mitkIPropertyDescriptions.h>
Public Member Functions | |
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. More... | |
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 regulary expression. More... | |
virtual std::string | GetDescription (const std::string &propertyName, const std::string &className="", bool allowNameRegEx=true) const =0 |
Get the description for a specific property. More... | |
virtual bool | HasDescription (const std::string &propertyName, const std::string &className="", bool allowNameRegEx=true) const =0 |
Check if a specific property has a description. More... | |
virtual void | RemoveAllDescriptions (const std::string &className="")=0 |
Remove all descriptions. More... | |
virtual void | RemoveDescription (const std::string &propertyName, const std::string &className="")=0 |
Remove description of specific property. More... | |
Interface of property descriptions service.
This service allows you to manage descriptions for properties. The property view displays descriptions of selected properties (in rich text format) at its bottom.
Definition at line 33 of file mitkIPropertyDescriptions.h.
|
virtual |
Definition at line 19 of file mitkIPropertyDescriptions.cpp.
|
pure virtual |
Add a description for a specific property.
[in] | propertyName | Name of the property. |
[in] | description | Description of the property. |
[in] | className | Optional data node class name to which this description is restricted. |
[in] | overwrite | Overwrite already existing description. |
Implemented in mitk::PropertyDescriptions.
Referenced by mitkPropertyDescriptionsTest(), and mitk::SurfaceVtkMapper3D::SetDefaultProperties().
|
pure virtual |
Add a description for all properties matching the property regulary expression.
[in] | propertyRegEx | String of the regular expression specifing all relevant property names. |
[in] | description | Description of the property. |
[in] | className | Optional data node class name to which this description is restricted. |
[in] | overwrite | Overwrite already existing description. |
Implemented in mitk::PropertyDescriptions.
Referenced by mitk::DICOMTagsOfInterestService::AddTagOfInterest().
|
pure virtual |
Get the description for a specific property.
[in] | propertyName | Name of the property. |
[in] | className | Optional data node class name to which the returned description is restricted. |
[in] | allowNameRegEx | Indicates of also regular expressions should be regarded. |
Implemented in mitk::PropertyDescriptions.
Referenced by mitkPropertyDescriptionsTest().
|
pure virtual |
Check if a specific property has a description.
[in] | propertyName | Name of the property. |
[in] | className | Optional data node class name to which this description is restricted. |
[in] | allowNameRegEx | Indicates of also regular expressions should be regarded. |
Implemented in mitk::PropertyDescriptions.
|
pure virtual |
Remove all descriptions.
[in] | className | Optional data node class name to which this description is restricted. |
Implemented in mitk::PropertyDescriptions.
|
pure virtual |
Remove description of specific property.
[in] | propertyName | Name of the property. |
[in] | className | Optional data node class name to which this description is restricted. |
Implemented in mitk::PropertyDescriptions.
Referenced by mitk::DICOMTagsOfInterestService::RemoveAllTags(), and mitk::DICOMTagsOfInterestService::RemoveTag().