LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
WrappedClassName.cc
Go to the documentation of this file.
2 
3 namespace art {
4  std::string
5  wrappedClassName(std::string const& className)
6  {
7  static std::string const wrapperBegin("art::Wrapper<");
8  static std::string const wrapperEnd1(">");
9  static std::string const wrapperEnd2(" >");
10  std::string const& wrapperEnd =
11  (className[className.size() - 1] == '>' ? wrapperEnd2 : wrapperEnd1);
12  std::string wrapped;
13  wrapped.reserve(wrapperBegin.size() + className.size() + wrapperEnd.size());
14  wrapped += wrapperBegin;
15  wrapped += className;
16  wrapped += wrapperEnd;
17  return wrapped;
18  }
19 }
std::string wrappedClassName(std::string const &className)
HLT enums.