src
FWCore
Utilities
src
WrappedClassName.cc
Go to the documentation of this file.
1
#include "
FWCore/Utilities/interface/WrappedClassName.h
"
2
3
namespace
edm
{
4
std::string
wrappedClassName
(
std::string
const
&
className
) {
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
WrappedClassName.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::wrappedClassName
std::string wrappedClassName(std::string const &iFullName)
Definition:
WrappedClassName.cc:4
edm
HLT enums.
Definition:
AlignableModifier.h:19
className
std::string className(const T &t)
Definition:
ClassName.h:31
Generated for CMSSW Reference Manual by
1.8.14