308 UI-> SetMacroSearchPath(newValue);
309 UI-> ParseMacroSearchPath();
313 UI-> ExecuteMacroFile(UI-> FindMacroPath(newValue));
354 st += getenv(newValue);
358 {
G4cerr <<
"<" << newValue <<
"> is not defined as a shell variable. Command ignored." <<
G4endl; }
369 st += aliName +
" " + curVal;
403 if(comp==
">") x = (l>
r);
404 else if(comp==
">=") x = (l>=
r);
405 else if(comp==
"<") x = (l<
r);
406 else if(comp==
"<=") x = (l<=
r);
407 else if(comp==
"==") x = (l==
r);
408 else if(comp==
"!=") x = (l!=
r);
420 while(!((ca=next()).isNull()))
428 if(
c1(c1.length()-1)==
'"')
429 { strippedValue =
c1(1,c1.length()-2); }
431 { strippedValue =
c1(1,c1.length()-1); }
436 if(comp==
">") x = (l>
r);
437 else if(comp==
">=") x = (l>=
r);
438 else if(comp==
"<") x = (l<
r);
439 else if(comp==
"<=") x = (l<=
r);
440 else if(comp==
"==") x = (l==
r);
441 else if(comp==
"!=") x = (l!=
r);
void ForeachS(const char *valueList)
void ExecuteMacroFile(const char *fileName)
void RemoveAlias(const char *aliasName)
G4UIcmdWithAnInteger * verboseCommand
G4UIcmdWithAString * ManualCommand
void SetAlias(const char *aliasLine)
G4UIcmdWithAString * HTMLCommand
G4UIcommand * doifCommand
static G4int GetNewIntValue(const char *paramString)
G4UIcmdWithAnInteger * suppressAbortionCommand
G4UIcmdWithAnInteger * maxStoredHistCommand
G4UIcmdWithAString * macroPathCommand
G4UIcmdWithAString * shellCommand
void SetVerboseLevel(G4int val)
static G4UImanager * GetUIpointer()
void SetSuppressAbortion(G4int i)
static G4StateManager * GetStateManager()
G4GLOB_DLL std::ostream G4cout
G4UIcmdWithAString * getEnvCmd
G4UIcmdWithAString * historyCommand
G4UIcmdWithAString * echoCmd
G4String DtoS(G4double a)
G4UIcommand * subtractCommand
G4UIcommand * multiplyCommand
G4String GetCurrentValues(const char *aCommand)
void SetMaxHistSize(G4int mx)
void ListCommands(const char *direc)
G4UIcommand * foreachCommand
G4UIcommand * aliasCommand
G4double StoD(G4String s)
G4UIcmdWithoutParameter * stopStoreHistoryCommand
G4UIcmdWithoutParameter * listAliasCommand
G4String SolveAlias(const char *aCmd)
system("rm -rf microbeam.root")
void LoopS(const char *valueList)
G4UIcommand * divideCommand
void CreateHTML(const char *dir="/")
G4UIcommand * loopCommand
G4UIcommand * remainderCommand
G4UIcmdWithAString * unaliasCommand
void StoreHistory(const char *fileName="G4history.macro")
G4UIcmdWithAString * ExecuteCommand
G4int ApplyCommand(const char *aCommand)
G4GLOB_DLL std::ostream G4cerr