ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger
TrigT1
L1Topo
L1TopoCommon
Root
Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
L1TopoCommon/StringUtils.h
"
6
7
using namespace
std
;
8
9
string
10
TCS::join
(
const
vector<string>& v,
const
char
c) {
11
string
joined{
""
};
12
for
(
const
string
& s : v) {
13
if
(!joined.empty()) joined += c;
14
joined += s;
15
}
16
return
joined;
17
}
StringUtils.h
TCS::join
std::string join(const std::vector< std::string > &v, const char c=',')
Definition
Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx:10
std
STL namespace.
Generated on
for ATLAS Offline Software by
1.14.0