#include "G4UIbatch.hh"
#include "G4UImanager.hh"
#include <vector>
#include <string>
 
Go to the source code of this file.
Definition at line 38 of file G4UIbatch.cc.
   41   const char* delimiter= 
" ";
 
   43   G4String::size_type pos0= str.find_first_not_of(delimiter);
 
   44   G4String::size_type 
pos = str.find_first_of(delimiter, pos0);
 
   46   while (pos != G4String::npos || pos0 != G4String::npos) {
 
   47     if (str[pos0] == 
'\"') {
 
   48       pos = str.find_first_of(
"\"", pos0+1);
 
   49       if(pos != G4String::npos) pos++;
 
   51     if (str[pos0] == 
'\'') {
 
   52       pos = str.find_first_of(
"\'", pos0+1);
 
   53       if(pos != G4String::npos) pos++;
 
   56     tokens.push_back(str.substr(pos0, pos-pos0));
 
   57     pos0 = str.find_first_not_of(delimiter, pos);
 
   58     pos = str.find_first_of(delimiter, pos0);
 
static const G4double pos