Functions
art::friendlyname Namespace Reference

Functions

std::string friendlyName (std::string const &iFullName)
 

Function Documentation

std::string art::friendlyname::friendlyName ( std::string const &  iFullName)

Definition at line 143 of file FriendlyName.cc.

144 {
145  static std::recursive_mutex s_mutex;
146  static std::map<std::string, std::string> s_nameMap;
147  std::lock_guard sentry{s_mutex};
148  auto entry = s_nameMap.find(iFullName);
149  if (entry == s_nameMap.end()) {
150  entry =
151  s_nameMap.emplace(iFullName, subFriendlyName(standardRenames(iFullName)))
152  .first;
153  }
154  return entry->second;
155 }
QList< Entry > entry