Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4VUIshell.hh>
Public Member Functions | |
G4VUIshell (const G4String &prompt="> ") | |
virtual | ~G4VUIshell () |
void | SetNColumn (G4int ncol) |
void | SetPrompt (const G4String &prompt) |
void | SetCurrentDirectory (const G4String &ccd) |
virtual void | SetLsColor (TermColorIndex, TermColorIndex) |
virtual void | ShowCurrentDirectory () const |
virtual void | ListCommand (const G4String &input, const G4String &candidate="") const |
virtual G4String | GetCommandLineString (const char *msg=nullptr)=0 |
virtual void | ResetTerminal () |
Protected Member Functions | |
virtual void | MakePrompt (const char *msg=nullptr) |
G4UIcommandTree * | GetCommandTree (const G4String &dir) const |
G4String | GetAbsCommandDirPath (const G4String &apath) const |
G4String | GetCommandPathTail (const G4String &apath) const |
Protected Attributes | |
G4String | promptSetting |
G4String | promptString |
G4int | nColumn |
G4bool | lsColorFlag |
TermColorIndex | directoryColor |
TermColorIndex | commandColor |
G4String | currentCommandDir |
Definition at line 67 of file G4VUIshell.hh.
G4VUIshell::G4VUIshell | ( | const G4String & | prompt = "> " | ) |
Definition at line 44 of file G4VUIshell.cc.
|
virtualdefault |
Definition at line 140 of file G4VUIshell.cc.
Referenced by G4UItcsh::CompleteCommand(), and G4UItcsh::ListMatchedCommand().
|
pure virtual |
Definition at line 188 of file G4VUIshell.cc.
Referenced by G4UItcsh::CompleteCommand().
|
protected |
Definition at line 113 of file G4VUIshell.cc.
Referenced by G4UItcsh::CompleteCommand().
|
virtual |
Definition at line 225 of file G4VUIshell.cc.
Referenced by G4UItcsh::ListMatchedCommand().
|
protectedvirtual |
Reimplemented in G4UItcsh.
Definition at line 60 of file G4VUIshell.cc.
Referenced by G4UIcsh::GetCommandLineString().
|
virtual |
|
inline |
Definition at line 123 of file G4VUIshell.hh.
|
inlinevirtual |
Reimplemented in G4UItcsh.
Definition at line 125 of file G4VUIshell.hh.
Referenced by G4UIExecutive::SetLsColor().
|
inline |
Definition at line 119 of file G4VUIshell.hh.
|
inline |
Definition at line 121 of file G4VUIshell.hh.
Referenced by G4UIExecutive::SetPrompt(), and G4UIterminal::SetPrompt().
|
inlinevirtual |
Definition at line 127 of file G4VUIshell.hh.
|
protected |
Definition at line 110 of file G4VUIshell.hh.
Referenced by G4UItcsh::SetLsColor().
|
protected |
Definition at line 113 of file G4VUIshell.hh.
Referenced by G4UItcsh::CompleteCommand(), G4UItcsh::ListMatchedCommand(), G4UItcsh::MakePrompt(), MakePrompt(), SetCurrentDirectory(), and ShowCurrentDirectory().
|
protected |
Definition at line 109 of file G4VUIshell.hh.
Referenced by G4UItcsh::SetLsColor().
|
protected |
Definition at line 108 of file G4VUIshell.hh.
Referenced by G4UItcsh::SetLsColor().
|
protected |
Definition at line 104 of file G4VUIshell.hh.
Referenced by SetNColumn().
|
protected |
Definition at line 102 of file G4VUIshell.hh.
Referenced by G4UItcsh::MakePrompt(), MakePrompt(), and SetPrompt().
|
protected |
Definition at line 103 of file G4VUIshell.hh.
Referenced by G4UItcsh::ClearScreen(), G4UIcsh::GetCommandLineString(), G4UItcsh::GetCommandLineString(), G4UItcsh::ListMatchedCommand(), G4UItcsh::MakePrompt(), and MakePrompt().