ATLAS Offline Software
AGDDTokenizer.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 #include <iostream>
7 
8 AGDDTokenizer::AGDDTokenizer(const std::string & sep, const std::string & input) {
9  std::string::size_type i=0, j=0;
10  while( (j=input.find(sep,i))!=std::string::npos) {
11  push_back(input.substr(i,j-i));
12  i = j+sep.size();
13  }
14  push_back(input.substr(i));
15 }
lumiFormat.i
int i
Definition: lumiFormat.py:85
AGDDTokenizer::AGDDTokenizer
AGDDTokenizer(const std::string &sep, const std::string &input)
Definition: AGDDTokenizer.cxx:8
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
AGDDTokenizer.h
grepfile.sep
sep
Definition: grepfile.py:38