37#define G4Tokenizer_hh 1
45 : string2tokenize(stn)
51 std::size_t i, j, tmp;
57 while(actual < string2tokenize.size())
59 for(i = 0; i < l; ++i)
61 if(string2tokenize[actual] == str[i])
73 for(j = actual; j < string2tokenize.size(); ++j)
75 for(i = 0; i < l; ++i)
76 if(string2tokenize[j] == str[i])
81 if(j != string2tokenize.size())
85 return string2tokenize(tmp, j - tmp);
91 return string2tokenize(tmp, j - tmp);
G4Tokenizer(const G4String &stn)
G4String operator()(const char *str=" \t\n", std::size_t l=0)