58 delete theLineProcessor;
65 if(theInstance ==
nullptr)
75 std::vector<G4String> wl, wlnew;
80 G4cout <<
" Number of geometry data files = " << theTextFiles.size()
85 if(theTextFiles.size() == 0)
88 "No files to read ...");
91 for(std::size_t ii = 0; ii < theTextFiles.size(); ++ii)
96 G4cout <<
" Reading data file " << theTextFiles[ii] <<
G4endl;
111 if(wlnew[0].c_str()[0] !=
':')
113 wl.insert(wl.end(), wlnew.begin(), wlnew.end());
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
G4int GetWordsInLine(std::vector< G4String > &wl)
static G4tgrFileIn & GetInstance(const G4String &name)
void DumpException(const G4String &sent)
virtual ~G4tgrFileReader()
static G4tgrFileReader * GetInstance()
virtual G4bool ProcessLine(const std::vector< G4String > &wl)
static G4int GetVerboseLevel()
static void DumpVS(const std::vector< G4String > &wl, const char *msg)