Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Interface of property aliases service. More...
#include <mitkIPropertyAliases.h>
Public Member Functions | |
virtual | ~IPropertyAliases () |
virtual bool | AddAlias (const std::string &propertyName, const std::string &alias, const std::string &className="")=0 |
Add an alias for a specific property. More... | |
virtual std::vector< std::string > | GetAliases (const std::string &propertyName, const std::string &className="")=0 |
Get aliases for a specific property. More... | |
virtual std::string | GetPropertyName (const std::string &alias, const std::string &className="")=0 |
Get property name that is associated to specific alias. More... | |
virtual bool | HasAliases (const std::string &propertyName, const std::string &className="")=0 |
Check if a specific property has aliases. More... | |
virtual void | RemoveAlias (const std::string &propertyName, const std::string &alias, const std::string &className="")=0 |
Remove specific alias of a certain property. More... | |
virtual void | RemoveAliases (const std::string &propertyName, const std::string &className="")=0 |
Remove all aliases of a specific property. More... | |
virtual void | RemoveAllAliases (const std::string &className="")=0 |
Remove all aliases of all properties. More... | |
Interface of property aliases service.
This service allows you to manage aliases of property names. A property name can be mapped to more than one alias and aliases can be restricted to specific data node types. The property view prefers to display aliases instead of genuine property names.
Definition at line 35 of file mitkIPropertyAliases.h.
|
virtual |
Definition at line 19 of file mitkIPropertyAliases.cpp.
|
pure virtual |
Add an alias for a specific property.
[in] | propertyName | Name of the property. |
[in] | alias | Alias for the property. |
[in] | className | Optional data node class name to which this alias is restricted. |
Implemented in mitk::PropertyAliases.
Referenced by mitkPropertyAliasesTest(), mitk::PlaneGeometryDataMapper2D::SetDefaultProperties(), and mitk::SurfaceVtkMapper2D::SetDefaultProperties().
|
pure virtual |
Get aliases for a specific property.
[in] | propertyName | Name of the property. |
[in] | className | Optional data node class name to which the returned aliases are restricted. |
Implemented in mitk::PropertyAliases.
Referenced by mitkPropertyAliasesTest().
|
pure virtual |
Get property name that is associated to specific alias.
[in] | alias | Alias of the property. |
[in] | className | Optional data node class name to which the alias is restricted. |
Implemented in mitk::PropertyAliases.
Referenced by mitkPropertyAliasesTest().
|
pure virtual |
Check if a specific property has aliases.
[in] | propertyName | Name of the property. |
[in] | className | Optional data node class name to which the aliases are restricted. |
Implemented in mitk::PropertyAliases.
|
pure virtual |
Remove specific alias of a certain property.
[in] | propertyName | Name of the property. |
[in] | alias | Alias of the property. |
[in] | className | Optional data node class name to which the alias is restricted. |
Implemented in mitk::PropertyAliases.
|
pure virtual |
Remove all aliases of a specific property.
[in] | propertyName | Name of the property. |
[in] | className | Optional data node class name to which the aliases are restricted. |
Implemented in mitk::PropertyAliases.
|
pure virtual |
Remove all aliases of all properties.
[in] | className | Optional data node class name to which the removal is restricted. |
Implemented in mitk::PropertyAliases.