Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkPropertyDescriptions.h>
Public Member Functions | |
PropertyDescriptions () | |
~PropertyDescriptions () | |
bool | AddDescription (const std::string &propertyName, const std::string &description, const std::string &className, bool overwrite) override |
Add a description for a specific property. More... | |
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 regulary expression. More... | |
std::string | GetDescription (const std::string &propertyName, const std::string &className, bool overwrite) const override |
Get the description for a specific property. More... | |
bool | HasDescription (const std::string &propertyName, const std::string &className, bool overwrite) const override |
Check if a specific property has a description. More... | |
void | RemoveAllDescriptions (const std::string &className) override |
Remove all descriptions. More... | |
void | RemoveDescription (const std::string &propertyName, const std::string &className) override |
Remove description of specific property. More... | |
Public Member Functions inherited from mitk::IPropertyDescriptions | |
virtual | ~IPropertyDescriptions () |
Definition at line 25 of file mitkPropertyDescriptions.h.
mitk::PropertyDescriptions::PropertyDescriptions | ( | ) |
Definition at line 22 of file mitkPropertyDescriptions.cpp.
mitk::PropertyDescriptions::~PropertyDescriptions | ( | ) |
Definition at line 26 of file mitkPropertyDescriptions.cpp.
|
overridevirtual |
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. |
Implements mitk::IPropertyDescriptions.
Definition at line 30 of file mitkPropertyDescriptions.cpp.
|
overridevirtual |
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. |
Implements mitk::IPropertyDescriptions.
Definition at line 50 of file mitkPropertyDescriptions.cpp.
|
overridevirtual |
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. |
Implements mitk::IPropertyDescriptions.
Definition at line 79 of file mitkPropertyDescriptions.cpp.
|
overridevirtual |
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. |
Implements mitk::IPropertyDescriptions.
Definition at line 117 of file mitkPropertyDescriptions.cpp.
|
overridevirtual |
Remove all descriptions.
[in] | className | Optional data node class name to which this description is restricted. |
Implements mitk::IPropertyDescriptions.
Definition at line 155 of file mitkPropertyDescriptions.cpp.
|
overridevirtual |
Remove description of specific property.
[in] | propertyName | Name of the property. |
[in] | className | Optional data node class name to which this description is restricted. |
Implements mitk::IPropertyDescriptions.
Definition at line 161 of file mitkPropertyDescriptions.cpp.