CMS 3D CMS Logo

WrappedClassName.cc
Go to the documentation of this file.
2 
3 namespace edm {
6  std::string const wrapperBegin("edm::Wrapper<");
7  std::string const wrapperEnd1(">");
8  std::string const wrapperEnd2(" >");
9  std::string const& wrapperEnd = (className[className.size()-1] == '>' ? wrapperEnd2 : wrapperEnd1);
10  std::string wrapped;
11  wrapped.reserve(wrapperBegin.size() + className.size() + wrapperEnd.size());
12  wrapped += wrapperBegin;
13  wrapped += className;
14  wrapped += wrapperEnd;
15  return wrapped;
16  }
17 }
std::string wrappedClassName(std::string const &iFullName)
HLT enums.
std::string className(const T &t)
Definition: ClassName.h:30