LArSoft
v09_90_00
Liquid Argon Software toolkit - https://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
Definition:
MVAAlg.h:12
canvas
Utilities
WrappedClassName.cc
Generated on Thu May 2 2024 20:59:31 for LArSoft by
1.8.11