LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
WrappedClassName.cc
Go to the documentation of this file.
1
#include "
canvas/Utilities/WrappedClassName.h
"
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
}
art::wrappedClassName
std::string wrappedClassName(std::string const &className)
Definition:
WrappedClassName.cc:5
WrappedClassName.h
art
HLT enums.
Definition:
ServiceProviderWrappers.h:36
canvas
Utilities
WrappedClassName.cc
Generated on Wed Dec 12 2018 14:42:35 for LArSoft by
1.8.11