ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Functions
TDTUtilities_impl Namespace Reference
Functions
std::vector< std::string >
split
(
const
std::string &line)
Function Documentation
◆
split()
std::vector< std::string > TDTUtilities_impl::split
(
const
std::string &
line
)
Definition at line
22
of file
TDTUtilities.cxx
.
22
{
23
std::vector<std::string>
res
;
24
std::string::size_type old_pos = 0, pos = line.find(
','
,0);
25
while
( pos != std::string::npos ) {
26
res
.push_back(line.substr(old_pos,pos-old_pos));
27
old_pos = pos + 1;
28
pos = line.find(
','
, old_pos);
29
}
30
// last entry
31
if
(old_pos < line.size())
32
res
.push_back(line.substr(old_pos,line.size()-old_pos));
33
return
res
;
34
}
res
std::pair< std::vector< unsigned int >, bool > res
Definition
JetGroupProductTest.cxx:11
Generated on
for ATLAS Offline Software by
1.17.0