62 while( (newCommand.length() > 0) &&
63 (newCommand[
G4int(newCommand.length()-1)] ==
'_') ) {
65 newCommand.erase(newCommand.length()-1);
72 newCommand.append(newLine);
G4GLOB_DLL std::ostream G4cout
G4UIcsh(const G4String &prompt="%s> ")
virtual G4String GetCommandLineString(const char *msg=0)
virtual void MakePrompt(const char *msg=0)
void rstrip(G4String &str, char ch=' ')
Remove trailing characters from string.
std::istream & readline(std::istream &is, G4String &str, G4bool skipWhite=true)
Read characters into a G4String from an input stream until end-of-line.