ATLAS Offline Software
Loading...
Searching...
No Matches
DetectorDescription
AGDD
AGDDControl
src
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
5
#include "
AGDDControl/AGDDTokenizer.h
"
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
}
AGDDTokenizer.h
AGDDTokenizer::AGDDTokenizer
AGDDTokenizer(const std::string &sep, const std::string &input)
Definition
AGDDTokenizer.cxx:8
Generated on
for ATLAS Offline Software by
1.14.0