MCPcopy Create free account
hub / github.com/MITK/MITK / GetAliases

Method GetAliases

Modules/Core/src/DataManagement/mitkPropertyAliases.cpp:62–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62std::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
77std::string mitk::PropertyAliases::GetPropertyName(const std::string &alias, const std::string &className)
78{

Callers 5

SetNewPropertyListMethod · 0.80
GetAliases_SuccessMethod · 0.80
OnCurrentRowChangedMethod · 0.80
OnCurrentRowChangedMethod · 0.80

Calls 3

emptyMethod · 0.45
findMethod · 0.45
endMethod · 0.45

Tested by 2

GetAliases_SuccessMethod · 0.64