Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkPropertyAliases_h
14 #define mitkPropertyAliases_h
27 bool AddAlias(
const std::string &propertyName,
const std::string &alias,
const std::string &className)
override;
28 std::vector<std::string>
GetAliases(
const std::string &propertyName,
const std::string &className)
override;
29 std::string
GetPropertyName(
const std::string &alias,
const std::string &className)
override;
30 bool HasAliases(
const std::string &propertyName,
const std::string &className)
override;
31 void RemoveAlias(
const std::string &propertyName,
const std::string &alias,
const std::string &className)
override;
32 void RemoveAliases(
const std::string &propertyName,
const std::string &className)
override;
36 typedef std::map<std::string, std::vector<std::string>> AliasesMap;
37 typedef AliasesMap::const_iterator AliasesMapConstIterator;
38 typedef AliasesMap::iterator AliasesMapIterator;
43 std::map<std::string, AliasesMap> m_Aliases;
Interface of property aliases service.
bool AddAlias(const std::string &propertyName, const std::string &alias, const std::string &className) override
Add an alias for a specific property.
void RemoveAlias(const std::string &propertyName, const std::string &alias, const std::string &className) override
Remove specific alias of a certain property.
std::string GetPropertyName(const std::string &alias, const std::string &className) override
Get property name that is associated to specific alias.
Find image slices visible on a given plane.
~PropertyAliases() override
void RemoveAllAliases(const std::string &className) override
Remove all aliases of all properties.
bool HasAliases(const std::string &propertyName, const std::string &className) override
Check if a specific property has aliases.
std::vector< std::string > GetAliases(const std::string &propertyName, const std::string &className) override
Get aliases for a specific property.
void RemoveAliases(const std::string &propertyName, const std::string &className) override
Remove all aliases of a specific property.