Geant4.10
|
#include <G4tgrFileIn.hh>
Public Member Functions | |
G4tgrFileIn () | |
~G4tgrFileIn () | |
G4int | GetWordsInLine (std::vector< G4String > &wl) |
void | ErrorInLine () |
G4int | Nline () |
const G4String & | GetName () |
void | OpenNewFile (const char *filename) |
G4bool | EndOfFile () |
void | Close () |
void | DumpException (const G4String &sent) |
Static Public Member Functions | |
static G4tgrFileIn & | GetInstance (const G4String &name) |
static G4tgrFileIn & | GetInstanceOpened (const G4String &name) |
Definition at line 46 of file G4tgrFileIn.hh.
G4tgrFileIn::G4tgrFileIn | ( | ) |
Definition at line 50 of file G4tgrFileIn.cc.
Referenced by GetInstance().
G4tgrFileIn::~G4tgrFileIn | ( | ) |
Definition at line 58 of file G4tgrFileIn.cc.
void G4tgrFileIn::Close | ( | ) |
Definition at line 416 of file G4tgrFileIn.cc.
References G4cout, G4endl, and G4tgrMessenger::GetVerboseLevel().
Referenced by EndOfFile().
Definition at line 432 of file G4tgrFileIn.cc.
References G4UIcommand::ConvertToString(), FatalException, and G4Exception().
Referenced by GetWordsInLine(), and G4tgrFileReader::ReadFiles().
G4bool G4tgrFileIn::EndOfFile | ( | ) |
Definition at line 377 of file G4tgrFileIn.cc.
References Close(), G4cout, G4endl, and G4tgrMessenger::GetVerboseLevel().
Referenced by GetWordsInLine().
void G4tgrFileIn::ErrorInLine | ( | ) |
|
static |
Definition at line 72 of file G4tgrFileIn.cc.
References G4tgrFileIn(), and OpenNewFile().
Referenced by GetInstanceOpened(), and G4tgrFileReader::ReadFiles().
|
static |
Definition at line 123 of file G4tgrFileIn.cc.
References FatalException, G4Exception(), GetInstance(), and GetName().
Definition at line 69 of file G4tgrFileIn.hh.
Referenced by GetInstanceOpened().
Definition at line 141 of file G4tgrFileIn.cc.
References G4String::append(), DumpException(), EndOfFile(), ErrorInLine(), FatalException, G4cout, G4endl, G4Exception(), G4tgrMessenger::GetVerboseLevel(), and OpenNewFile().
Referenced by G4tgrFileReader::ReadFiles().
|
inline |
Definition at line 67 of file G4tgrFileIn.hh.
void G4tgrFileIn::OpenNewFile | ( | const char * | filename | ) |
Definition at line 101 of file G4tgrFileIn.cc.
References FatalException, and G4Exception().
Referenced by GetInstance(), and GetWordsInLine().