#include <G4UIGAG.hh>
Definition at line 53 of file G4UIGAG.hh.
 
Definition at line 39 of file G4UIGAG.cc.
   41  TVersion=
"T1.0a"; JVersion=
"J1.0a";
 
   54   GetNewTreeStructure(tree,0);
 
   55   GetNewTreeValues(tree,0);
 
   56   previousTreeCommands = newTreeCommands;
 
   57   previousTreeParams = newTreeParams;
 
   58   previousTreePCP = newTreePCP;
 
void SetSession(G4UIsession *const value)
 
static G4UImanager * GetUIpointer()
 
static G4StateManager * GetStateManager()
 
G4ApplicationState GetCurrentState() const 
 
G4UIcommandTree * GetTree() const 
 
void SetCoutDestination(G4UIsession *const value)
 
G4String GetStateString(G4ApplicationState aState) const 
 
 
 
 
Definition at line 62 of file G4UIGAG.cc.
void SetSession(G4UIsession *const value)
 
static G4UImanager * GetUIpointer()
 
void SetCoutDestination(G4UIsession *const value)
 
 
 
 
Definition at line 189 of file G4UIGAG.cc.
  197       G4cout << 
"@@PROMPT \"" << promptCharacter << 
"\"" << 
G4endl;
 
  200       G4cout << promptCharacter << 
"> " << std::flush;
 
  205     if (!
G4cin.good()) { 
G4cin.clear(); newCommand = nullString; iExit=
false;
break;}
 
  208     if( newCommand.length() < 1) { 
break; }
 
  210     while( newCommand(newCommand.length()-1) == 
'_' )
 
  213       newCommand.
remove(newCommand.length()-1);
 
  215       if (!
G4cin.good()) { 
G4cin.clear(); newCommand = nullString; iExit=
false;
break;}
 
  216       newCommand.
append(newLine);
 
  220     if( nC.length() < 1) { 
break; }
 
  223     if( nC == 
"@@GAGmodeJAVA" ) {
 
  226       SendCommandProperties(tree);
 
  229     else if( nC == 
"@@GAGmodeTcl" ) {
 
  232       SendCommandProperties(tree);
 
  235     else if( nC(0) == 
'#' )
 
  238     else if( nC == 
"ls"  || nC(0,3) == 
"ls " )
 
  239     { ListDirectory( nC ); }
 
  240     else if( nC == 
"pwd" )
 
  242     else if( nC(0,2) == 
"cd"  || nC(0,3) == 
"cd " )
 
  243     { ChangeDirectory( nC ); }
 
  244     else if(  nC == 
"help" || nC(0,5) == 
"help ")
 
  245     { TerminalHelp( nC ); }
 
  246     else if( nC(0) == 
'?' )
 
  247     { ShowCurrent( nC ); }
 
  248     else if( nC(0,4) == 
"hist"   || nC == 
"history")
 
  251       for(
int i=0;i<nh;i++)
 
  254     else if( nC(0) == 
'!' )
 
  259       std::istringstream is((
char*)tt);
 
  269       { 
G4cerr << 
"history " << vl << 
" is not found." << 
G4endl; }
 
  271     else if( nC(0,4) == 
"exit" )
 
  277       G4cerr << 
"Please abrot it using \"/run/abort\" command first" << 
G4endl;
 
  278       G4cerr << 
" and use \"continue\" command until the application" << 
G4endl;
 
  281       G4cout << 
"@@ErrResult \"You are now processing RUN.\"" << 
G4endl;
 
  287         newCommand = nullString;
 
  291     else if(  nC == 
"cont" || nC == 
"continue" )
 
  294       newCommand = nullString;
 
  300   return GetFullPath(newCommand);
 
G4int GetNumberOfHistory() const 
 
G4String GetPreviousCommand(G4int i) const 
 
G4String & remove(str_size)
 
G4String strip(G4int strip_Type=trailing, char c=' ')
 
std::istream & readLine(std::istream &, G4bool skipWhite=true)
 
G4GLOB_DLL std::ostream G4cout
 
G4UIcommandTree * GetTree() const 
 
G4String & append(const G4String &)
 
G4GLOB_DLL std::ostream G4cerr
 
 
 
 
Reimplemented from G4UIsession.
Definition at line 87 of file G4UIGAG.cc.
   89   promptCharacter = msg;
 
   90   G4cout << 
"@@PROMPT \"" << promptCharacter << 
"\"" << 
G4endl;
 
   95     ExecuteCommand(newCommand);
 
G4GLOB_DLL std::ostream G4cout
 
 
 
 
Definition at line 184 of file G4UIGAG.cc.
  186   promptCharacter = aPrompt;
 
 
 
 
Reimplemented from G4UIsession.
Definition at line 72 of file G4UIGAG.cc.
   80     ExecuteCommand(newCommand);
 
static G4StateManager * GetStateManager()
 
G4ApplicationState GetCurrentState() const 
 
G4String GetStateString(G4ApplicationState aState) const 
 
 
 
 
      
        
          | void G4UIGAG::SessionTerminate  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 337 of file G4UIGAG.cc.
G4GLOB_DLL std::ostream G4cout
 
 
 
 
The documentation for this class was generated from the following files:
- source/geant4.10.03.p02/source/interfaces/GAG/include/G4UIGAG.hh
 
- source/geant4.10.03.p02/source/interfaces/GAG/src/G4UIGAG.cc