Geant4
10.01.p03
|
#include <G4VBasicShell.hh>
Public Member Functions | |
G4VBasicShell () | |
virtual | ~G4VBasicShell () |
virtual G4UIsession * | SessionStart ()=0 |
virtual void | PauseSessionStart (const G4String &Prompt)=0 |
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 () |
Protected Member Functions | |
G4String | ModifyToFullPathCommand (const char *aCommandLine) const |
G4String | GetCurrentWorkingDirectory () const |
G4bool | ChangeDirectory (const char *newDir) |
G4UIcommandTree * | FindDirectory (const char *dirName) const |
G4UIcommand * | FindCommand (const char *commandName) const |
G4String | Complete (const G4String &) |
G4String | FindMatchingPath (G4UIcommandTree *, const G4String &) |
virtual void | ExecuteCommand (const G4String &) |
virtual G4bool | GetHelpChoice (G4int &)=0 |
virtual void | ExitHelp () const =0 |
void | ApplyShellCommand (const G4String &, G4bool &, G4bool &) |
void | ShowCurrent (const G4String &) const |
void | ChangeDirectoryCommand (const G4String &) |
void | ListDirectory (const G4String &) const |
void | TerminalHelp (const G4String &) |
Private Member Functions | |
G4String | ModifyPath (const G4String &tempPath) const |
Private Attributes | |
G4String | currentDirectory |
Additional Inherited Members | |
Static Protected Attributes inherited from G4coutDestination | |
static G4coutDestination * | masterG4coutDestination = 0 |
Definition at line 52 of file G4VBasicShell.hh.
G4VBasicShell::G4VBasicShell | ( | ) |
Definition at line 39 of file G4VBasicShell.cc.
|
virtual |
Definition at line 44 of file G4VBasicShell.cc.
|
protected |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 227 of file G4VBasicShell.cc.
References ChangeDirectoryCommand(), ExecuteCommand(), G4cerr, G4cout, G4endl, GetCurrentWorkingDirectory(), G4UImanager::GetNumberOfHistory(), G4UImanager::GetPreviousCommand(), G4UImanager::GetUIpointer(), G4String::leading, ListDirectory(), ModifyToFullPathCommand(), ShowCurrent(), G4String::strip(), and TerminalHelp().
|
protected |
Definition at line 75 of file G4VBasicShell.cc.
References G4String::both, currentDirectory, FindDirectory(), ModifyPath(), and G4String::strip().
Referenced by ChangeDirectoryCommand().
|
protected |
Definition at line 321 of file G4VBasicShell.cc.
References G4String::both, ChangeDirectory(), G4cout, G4endl, and G4String::strip().
Referenced by ApplyShellCommand(), G4MPIsession::GetCommand(), and G4UIterminal::GetCommand().
Definition at line 176 of file G4VBasicShell.cc.
References G4String::both, FindMatchingPath(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), G4String::index(), ModifyPath(), and G4String::strip().
|
protectedvirtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Reimplemented in G4UIGainServer, and G4UIterminal.
Definition at line 201 of file G4VBasicShell.cc.
References G4UImanager::ApplyCommand(), fCommandNotFound, fCommandSucceeded, fIllegalApplicationState, fParameterOutOfCandidates, fParameterOutOfRange, fParameterUnreadable, G4cerr, G4endl, and G4UImanager::GetUIpointer().
Referenced by ApplyShellCommand().
|
protectedpure virtual |
Implemented in G4UIGainServer, G4UIterminal, and G4VMPIsession.
Referenced by TerminalHelp().
|
protected |
Definition at line 110 of file G4VBasicShell.cc.
References G4String::both, G4UIcommandTree::FindPath(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), G4String::index(), ModifyPath(), and G4String::strip().
Referenced by G4VMPIsession::ExecCommand(), and G4UIterminal::ExecuteCommand().
|
protected |
Definition at line 88 of file G4VBasicShell.cc.
References G4String::both, G4UIcommandTree::GetTree(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), G4String::index(), ModifyPath(), and G4String::strip().
Referenced by ChangeDirectory(), and ListDirectory().
|
protected |
Definition at line 191 of file G4VBasicShell.cc.
Referenced by Complete().
|
protected |
Definition at line 70 of file G4VBasicShell.cc.
References currentDirectory.
Referenced by ApplyShellCommand(), G4MPIsession::GetCommand(), G4UIterminal::GetCommand(), ListDirectory(), and TerminalHelp().
Implemented in G4UIGainServer, G4UIterminal, and G4VMPIsession.
Referenced by TerminalHelp().
|
protected |
Definition at line 335 of file G4VBasicShell.cc.
References G4String::both, FindDirectory(), G4cout, G4endl, GetCurrentWorkingDirectory(), G4UIcommandTree::ListCurrent(), and G4String::strip().
Referenced by ApplyShellCommand(), G4MPIsession::GetCommand(), and G4UIterminal::GetCommand().
Definition at line 125 of file G4VBasicShell.cc.
References currentDirectory.
Referenced by ChangeDirectory(), Complete(), FindCommand(), FindDirectory(), and ModifyToFullPathCommand().
|
protected |
Definition at line 48 of file G4VBasicShell.cc.
References G4String::both, G4String::index(), G4String::isNull(), ModifyPath(), and G4String::strip().
Referenced by ApplyShellCommand(), G4MPIsession::GetCommand(), G4UIterminal::GetCommand(), ShowCurrent(), and TerminalHelp().
|
pure virtual |
Reimplemented from G4UIsession.
Implemented in G4UIGainServer, G4UIterminal, and G4VMPIsession.
|
pure virtual |
Reimplemented from G4UIsession.
Implemented in G4UIGainServer, G4UIterminal, G4MPIsession, and G4MPIbatch.
|
protected |
Definition at line 309 of file G4VBasicShell.cc.
References G4cout, G4endl, G4UImanager::GetCurrentValues(), G4UImanager::GetUIpointer(), G4String::isNull(), and ModifyToFullPathCommand().
Referenced by ApplyShellCommand(), G4MPIsession::GetCommand(), and G4UIterminal::GetCommand().
|
protected |
Definition at line 351 of file G4VBasicShell.cc.
References G4String::both, ExitHelp(), G4UIcommandTree::FindPath(), G4cout, G4endl, G4UIcommandTree::GetCommand(), GetCurrentWorkingDirectory(), GetHelpChoice(), G4UIcommandTree::GetTree(), G4UImanager::GetTree(), G4UIcommandTree::GetTreeEntry(), G4UImanager::GetUIpointer(), G4String::index(), G4UIcommand::List(), G4UIcommandTree::ListCurrentWithNum(), ModifyToFullPathCommand(), and G4String::strip().
Referenced by ApplyShellCommand(), G4MPIsession::GetCommand(), and G4UIterminal::GetCommand().
|
private |
Definition at line 102 of file G4VBasicShell.hh.
Referenced by ChangeDirectory(), GetCurrentWorkingDirectory(), and ModifyPath().