Geant4  10.00.p01
G4UIcsh Class Reference

#include <G4UIcsh.hh>

+ Inheritance diagram for G4UIcsh:
+ Collaboration diagram for G4UIcsh:

Public Member Functions

 G4UIcsh (const G4String &prompt="%s> ")
 
 ~G4UIcsh ()
 
virtual G4String GetCommandLineString (const char *msg=0)
 
- Public Member Functions inherited from G4VUIshell
 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 void ResetTerminal ()
 

Additional Inherited Members

- Protected Member Functions inherited from G4VUIshell
virtual void MakePrompt (const char *msg=0)
 
G4UIcommandTreeGetCommandTree (const G4String &dir) const
 
G4String GetAbsCommandDirPath (const G4String &apath) const
 
G4String GetCommandPathTail (const G4String &apath) const
 
- Protected Attributes inherited from G4VUIshell
G4String promptSetting
 
G4String promptString
 
G4int nColumn
 
G4bool lsColorFlag
 
TermColorIndex directoryColor
 
TermColorIndex commandColor
 
G4String currentCommandDir
 

Detailed Description

Definition at line 40 of file G4UIcsh.hh.

Constructor & Destructor Documentation

G4UIcsh::G4UIcsh ( const G4String prompt = "%s> ")

Definition at line 33 of file G4UIcsh.cc.

G4UIcsh::~G4UIcsh ( )

Definition at line 40 of file G4UIcsh.cc.

Member Function Documentation

G4String G4UIcsh::GetCommandLineString ( const char *  msg = 0)
virtual

Implements G4VUIshell.

Definition at line 47 of file G4UIcsh.cc.

References G4String::append(), FALSE, G4cin, G4cout, G4VUIshell::MakePrompt(), G4VUIshell::promptString, G4String::readLine(), G4String::remove(), and G4String::strip().

+ Here is the call graph for this function:


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