| 60 | } |
| 61 | |
| 62 | std::vector<std::string> mitk::PropertyAliases::GetAliases(const std::string &propertyName, |
| 63 | const std::string &className) |
| 64 | { |
| 65 | if (!propertyName.empty()) |
| 66 | { |
| 67 | AliasesMap &aliases = m_Aliases[className]; |
| 68 | AliasesMapConstIterator iter = aliases.find(propertyName); |
| 69 | |
| 70 | if (iter != aliases.end()) |
| 71 | return iter->second; |
| 72 | } |
| 73 | |
| 74 | return std::vector<std::string>(); |
| 75 | } |
| 76 | |
| 77 | std::string mitk::PropertyAliases::GetPropertyName(const std::string &alias, const std::string &className) |
| 78 | { |