Geant4
10.00.p02
|
#include <G4UIbatch.hh>
Public Member Functions | |
G4UIbatch (const char *fileName, G4UIsession *prevSession=0) | |
~G4UIbatch () | |
G4UIsession * | GetPreviousSession () const |
virtual G4UIsession * | SessionStart () |
virtual void | PauseSessionStart (const G4String &Prompt) |
Public Member Functions inherited from G4UIsession | |
G4UIsession () | |
virtual | ~G4UIsession () |
virtual G4int | ReceiveG4cout (const G4String &coutString) |
virtual G4int | ReceiveG4cerr (const G4String &cerrString) |
Public Member Functions inherited from G4coutDestination | |
G4coutDestination () | |
virtual | ~G4coutDestination () |
Private Member Functions | |
G4String | ReadCommand () |
G4int | ExecCommand (const G4String &command) |
Private Attributes | |
G4UIsession * | previousSession |
std::ifstream | macroStream |
G4bool | isOpened |
Definition at line 51 of file G4UIbatch.hh.
G4UIbatch::G4UIbatch | ( | const char * | fileName, |
G4UIsession * | prevSession = 0 |
||
) |
Definition at line 69 of file G4UIbatch.cc.
References G4cerr, G4endl, G4UImanager::GetUIpointer(), isOpened, and macroStream.
G4UIbatch::~G4UIbatch | ( | ) |
Definition at line 87 of file G4UIbatch.cc.
References isOpened, and macroStream.
Definition at line 166 of file G4UIbatch.cc.
References fCommandNotFound, fCommandSucceeded, fIllegalApplicationState, G4cerr, G4endl, G4UImanager::GetUIpointer(), and G4InuclParticleNames::pn.
Referenced by SessionStart().
|
inline |
Definition at line 81 of file G4UIbatch.hh.
References previousSession.
|
virtual |
Reimplemented from G4UIsession.
Definition at line 227 of file G4UIbatch.cc.
References G4cout, G4endl, and SessionStart().
|
private |
Definition at line 95 of file G4UIbatch.cc.
References G4String::both, G4Exception(), G4ThreadLocal, JustWarning, macroStream, G4String::replace(), G4String::strip(), Tokenize(), and G4String::trailing.
Referenced by SessionStart().
|
virtual |
Reimplemented from G4UIsession.
Definition at line 194 of file G4UIbatch.cc.
References ExecCommand(), fCommandSucceeded, G4cerr, G4cout, G4endl, G4UImanager::GetUIpointer(), isOpened, previousSession, and ReadCommand().
Referenced by PauseSessionStart().
|
private |
Definition at line 56 of file G4UIbatch.hh.
Referenced by G4UIbatch(), SessionStart(), and ~G4UIbatch().
|
private |
Definition at line 55 of file G4UIbatch.hh.
Referenced by G4UIbatch(), ReadCommand(), and ~G4UIbatch().
|
private |
Definition at line 53 of file G4UIbatch.hh.
Referenced by GetPreviousSession(), and SessionStart().