LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
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 139 of file FriendlyName.cc.

Referenced by art::detail::createProductLookups(), and art::TypeID::friendlyClassName().

140 {
141  static tbb::concurrent_unordered_map<std::string, std::string> s_nameMap;
142  auto entry = s_nameMap.find(iFullName);
143  if (s_nameMap.end() == entry) {
144  entry =
145  s_nameMap.emplace(iFullName, subFriendlyName(standardRenames(iFullName)))
146  .first;
147  }
148  return entry->second;
149 }