#include <mitkPropertyAliases.h>
|
| PropertyAliases () |
|
| ~PropertyAliases () override |
|
bool | AddAlias (const std::string &propertyName, const std::string &alias, const std::string &className) override |
| Add an alias for a specific property. More...
|
|
std::vector< std::string > | GetAliases (const std::string &propertyName, const std::string &className) override |
| Get aliases for a specific property. More...
|
|
std::string | GetPropertyName (const std::string &alias, const std::string &className) override |
| Get property name that is associated to specific alias. More...
|
|
bool | HasAliases (const std::string &propertyName, const std::string &className) override |
| Check if a specific property has aliases. More...
|
|
void | RemoveAlias (const std::string &propertyName, const std::string &alias, const std::string &className) override |
| Remove specific alias of a certain property. More...
|
|
void | RemoveAliases (const std::string &propertyName, const std::string &className) override |
| Remove all aliases of a specific property. More...
|
|
void | RemoveAllAliases (const std::string &className) override |
| Remove all aliases of all properties. More...
|
|
virtual | ~IPropertyAliases () |
|
Definition at line 21 of file mitkPropertyAliases.h.
◆ PropertyAliases()
mitk::PropertyAliases::PropertyAliases |
( |
| ) |
|
◆ ~PropertyAliases()
mitk::PropertyAliases::~PropertyAliases |
( |
| ) |
|
|
override |
◆ AddAlias()
bool mitk::PropertyAliases::AddAlias |
( |
const std::string & |
propertyName, |
|
|
const std::string & |
alias, |
|
|
const std::string & |
className |
|
) |
| |
|
overridevirtual |
Add an alias for a specific property.
- Parameters
-
[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. |
- Returns
- False if alias is an empty string.
Implements mitk::IPropertyAliases.
◆ GetAliases()
std::vector<std::string> mitk::PropertyAliases::GetAliases |
( |
const std::string & |
propertyName, |
|
|
const std::string & |
className |
|
) |
| |
|
overridevirtual |
Get aliases for a specific property.
- Parameters
-
[in] | propertyName | Name of the property. |
[in] | className | Optional data node class name to which the returned aliases are restricted. |
- Returns
- Aliases that match the input criteria.
Implements mitk::IPropertyAliases.
◆ GetPropertyName()
std::string mitk::PropertyAliases::GetPropertyName |
( |
const std::string & |
alias, |
|
|
const std::string & |
className |
|
) |
| |
|
overridevirtual |
Get property name that is associated to specific alias.
- Parameters
-
[in] | alias | Alias of the property. |
[in] | className | Optional data node class name to which the alias is restricted. |
- Returns
- Associated property name or empty string if no property name was found.
Implements mitk::IPropertyAliases.
◆ HasAliases()
bool mitk::PropertyAliases::HasAliases |
( |
const std::string & |
propertyName, |
|
|
const std::string & |
className |
|
) |
| |
|
overridevirtual |
Check if a specific property has aliases.
- Parameters
-
[in] | propertyName | Name of the property. |
[in] | className | Optional data node class name to which the aliases are restricted. |
- Returns
- True if the property has aliases, false otherwise.
Implements mitk::IPropertyAliases.
◆ RemoveAlias()
void mitk::PropertyAliases::RemoveAlias |
( |
const std::string & |
propertyName, |
|
|
const std::string & |
alias, |
|
|
const std::string & |
className |
|
) |
| |
|
overridevirtual |
Remove specific alias of a certain property.
- Parameters
-
[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. |
Implements mitk::IPropertyAliases.
◆ RemoveAliases()
void mitk::PropertyAliases::RemoveAliases |
( |
const std::string & |
propertyName, |
|
|
const std::string & |
className |
|
) |
| |
|
overridevirtual |
Remove all aliases of a specific property.
- Parameters
-
[in] | propertyName | Name of the property. |
[in] | className | Optional data node class name to which the aliases are restricted. |
Implements mitk::IPropertyAliases.
◆ RemoveAllAliases()
void mitk::PropertyAliases::RemoveAllAliases |
( |
const std::string & |
className | ) |
|
|
overridevirtual |
Remove all aliases of all properties.
- Parameters
-
[in] | className | Optional data node class name to which the removal is restricted. |
Implements mitk::IPropertyAliases.
The documentation for this class was generated from the following file: