WrappedClassName.cc
Go to the documentation of this file.
2 
3 namespace art {
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 string
Definition: nybbler.cc:12
std::string wrappedClassName(std::string const &className)
static QCString className
Definition: declinfo.cpp:669