Geant4  10.00.p03
G4tgrFileReader Class Reference

#include <G4tgrFileReader.hh>

+ Collaboration diagram for G4tgrFileReader:

Public Member Functions

virtual ~G4tgrFileReader ()
 
G4bool ReadFiles ()
 
void AddTextFile (const G4String &fname)
 
void SetLineProcessor (G4tgrLineProcessor *lp)
 
G4tgrLineProcessorGetLineProcessor () const
 

Static Public Member Functions

static G4tgrFileReaderGetInstance ()
 

Protected Member Functions

 G4tgrFileReader ()
 

Private Attributes

std::vector< G4StringtheTextFiles
 
G4tgrLineProcessortheLineProcessor
 

Static Private Attributes

static G4ThreadLocal
G4tgrFileReader
theInstance = 0
 

Detailed Description

Definition at line 51 of file G4tgrFileReader.hh.

Constructor & Destructor Documentation

G4tgrFileReader::~G4tgrFileReader ( )
virtual

Definition at line 64 of file G4tgrFileReader.cc.

References theInstance, and theLineProcessor.

G4tgrFileReader::G4tgrFileReader ( )
protected

Definition at line 57 of file G4tgrFileReader.cc.

References theLineProcessor.

Referenced by GetInstance().

+ Here is the caller graph for this function:

Member Function Documentation

void G4tgrFileReader::AddTextFile ( const G4String fname)
inline

Definition at line 62 of file G4tgrFileReader.hh.

References theTextFiles.

Referenced by G4tgbVolumeMgr::AddTextFile().

+ Here is the caller graph for this function:

G4tgrFileReader * G4tgrFileReader::GetInstance ( void  )
static

Definition at line 72 of file G4tgrFileReader.cc.

References G4tgrFileReader(), and theInstance.

Referenced by G4tgbVolumeMgr::AddTextFile(), ExTGRCDetectorBuilder::ReadDetector(), and G4tgbDetectorBuilder::ReadDetector().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4tgrLineProcessor* G4tgrFileReader::GetLineProcessor ( ) const
inline

Definition at line 64 of file G4tgrFileReader.hh.

References theLineProcessor.

G4bool G4tgrFileReader::ReadFiles ( )

Definition at line 81 of file G4tgrFileReader.cc.

References G4tgrFileIn::DumpException(), G4tgrUtils::DumpVS(), FatalException, G4cout, G4endl, G4Exception(), G4tgrFileIn::GetInstance(), G4tgrMessenger::GetVerboseLevel(), G4tgrFileIn::GetWordsInLine(), G4tgrLineProcessor::ProcessLine(), theLineProcessor, and theTextFiles.

Referenced by ExTGRCDetectorBuilder::ReadDetector(), and G4tgbDetectorBuilder::ReadDetector().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4tgrFileReader::SetLineProcessor ( G4tgrLineProcessor lp)
inline

Definition at line 63 of file G4tgrFileReader.hh.

References theLineProcessor.

Referenced by ExTGRCDetectorBuilder::ReadDetector().

+ Here is the caller graph for this function:

Member Data Documentation

G4ThreadLocal G4tgrFileReader * G4tgrFileReader::theInstance = 0
staticprivate

Definition at line 72 of file G4tgrFileReader.hh.

Referenced by GetInstance(), and ~G4tgrFileReader().

G4tgrLineProcessor* G4tgrFileReader::theLineProcessor
private
std::vector<G4String> G4tgrFileReader::theTextFiles
private

Definition at line 74 of file G4tgrFileReader.hh.

Referenced by AddTextFile(), and ReadFiles().


The documentation for this class was generated from the following files: