CMS 3D CMS Logo

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