ATLAS Offline Software
Functions
Analysis::CalibrationDataInterface Namespace Reference

Functions

std::vector< std::string > split (const std::string &str, const char token=';')
 local utility function: split string into a vector of substrings separated by a specified separator, and with whitespace in the results trimmed More...
 

Function Documentation

◆ split()

std::vector< std::string > Analysis::CalibrationDataInterface::split ( const std::string &  str,
const char  token = ';' 
)

local utility function: split string into a vector of substrings separated by a specified separator, and with whitespace in the results trimmed

Definition at line 9 of file CalibrationDataInternals.cxx.

9  {
10  std::vector<std::string> result;
11  boost::split(result, str, [&token] (char c) { return c == token ;});
12  for (std::string& element : result) {
13  boost::trim(element);
14  }
15  return result;
16  }
get_generator_info.result
result
Definition: get_generator_info.py:21
GRLStrUtil::trim
void trim(std::string &input)
Definition: StrUtil.cxx:12
str
Definition: BTagTrackIpAccessor.cxx:11
python.compressB64.c
def c
Definition: compressB64.py:93
Trk::split
@ split
Definition: LayerMaterialProperties.h:38