9  std::istringstream iss(d);
 
   12  while (std::getline(iss, token, t)) {
 
   13    boost::algorithm::trim(token);
 
   14    size_t      pos   = token.find(
'=');
 
   15    std::string key   = token.substr(0, pos);
 
   16    std::string value = token.substr(pos + 1);
 
   17    boost::algorithm::trim(key);
 
   18    boost::algorithm::trim(value);
 
 
   49  std::string str(adf_waveform_line);
 
   51  std::string::iterator new_end = std::unique(str.begin(), str.end(), [](
char a, 
char b)
 
   52  { return a == b && a == 
' '; });
 
   54  str.erase(new_end, str.end());
 
   57  std::istringstream ins(str);
 
   63  std::getline(ins, line, 
' ');
 
   65    waveform_id = std::stoi(line);
 
   67  catch (std::exception 
const& ex) {
 
   68    std::cerr << 
"could not parse the waveform_id:" << ex.what() << 
"\n";
 
   74  std::getline(ins, line, 
' ');
 
   76    nsamples = std::stoi(line);
 
   78  catch (std::exception 
const& ex) {
 
   79    std::cerr << 
"could not parse the waveform_id:" << ex.what() << 
"\n";
 
   83  waveform_samples.reserve(nsamples);
 
   85  while (std::getline(ins, line, 
' ')) {
 
   86    T sample = atof(line.c_str());
 
   87    waveform_samples.push_back(sample);
 
   89  if (waveform_samples.size() != nsamples) {
 
   90    std::cerr << 
"mismatched number of samples : expecting " << nsamples << 
" but got " << waveform_samples.size() << 
"\n";
 
 
  104  if (dom_configuration_line.empty()) {
 
  107  std::stringstream iss(dom_configuration_line);
 
  113  int number_of_probes;
 
  114  iss >> number_of_probes;
 
  115  if (iss.eof() || number_of_probes <= 0) {
 
  119  while (probe_configs.size() < number_of_probes) {
 
  130    probe_configs.push_back(
ProbeConfig{id, threshold});