54 "with colon-separated list.");
150 getValCmd->
SetGuidance(
"Command is ignored if the UI command does not support GetCurrentValue().");
373 UI-> SetMacroSearchPath(newValue);
374 UI-> ParseMacroSearchPath();
378 UI-> ExecuteMacroFile(UI-> FindMacroPath(newValue));
423 st += getenv(newValue);
427 {
G4cerr <<
"<" << newValue <<
"> is not defined as a shell variable. Command ignored." <<
G4endl; }
443 for(
G4int i = 0;i<=idx;i++)
444 { theValue = nextVal(); }
447 st += aliName +
" " + theValue;
455 int rc =
system(newValue);
482 if(comp==
">") x = (l>r);
483 else if(comp==
">=") x = (l>=r);
484 else if(comp==
"<") x = (l<r);
485 else if(comp==
"<=") x = (l<=r);
486 else if(comp==
"==") x = (l==r);
487 else if(comp==
"!=") x = (l!=r);
499 while(!((ca=next()).isNull()))
507 if(
c1(c1.length()-1)==
'"')
508 { strippedValue =
c1(1,c1.length()-2); }
510 { strippedValue =
c1(1,c1.length()-1); }
515 if(comp==
">") x = (l>r);
516 else if(comp==
">=") x = (l>=r);
517 else if(comp==
"<") x = (l<r);
518 else if(comp==
"<=") x = (l<=r);
519 else if(comp==
"==") x = (l==r);
520 else if(comp==
"!=") x = (l!=r);
591 if(comp==
"==") { x = (l==r); }
592 else if(comp==
"!=") { x = (l!=r); }
604 while(!((ca=next()).isNull()))
612 if(
c1(c1.length()-1)==
'"')
613 { strippedValue =
c1(1,c1.length()-2); }
615 { strippedValue =
c1(1,c1.length()-1); }
620 if(comp==
"==") { x = (l==r); }
621 else if(comp==
"!=") { x = (l!=r); }
648 currentValue = UI-> GetMacroSearchPath();
G4UIcmdWithoutParameter * stopStoreHistoryCommand
void SetGuidance(const char *aGuidance)
G4UIcommand * remainderCommand
void RemoveAlias(const char *aliasName)
static G4bool DoublePrecisionStr()
void CreateHTML(const char *dir="/")
G4UIcmdWithAString * ifBatchCommand
system("rm -rf microbeam.root")
void SetMaxHistSize(G4int mx)
void StoreHistory(const char *fileName="G4history.macro")
G4int ApplyCommand(const char *aCommand)
void SetDefaultValue(G4bool defVal)
G4UIcmdWithAString * ManualCommand
G4UIcmdWithoutParameter * listAliasCommand
void SetDefaultValue(G4int defVal)
G4UIcmdWithAString * echoCmd
G4String GetCurrentValue(G4UIcommand *command)
G4UIcommand * loopCommand
G4UIcmdWithAString * HTMLCommand
G4String FindMacroPath(const G4String &fname) const
void SetRange(const char *rs)
void SetDefaultValue(const char *defVal)
void SetVerboseLevel(G4int val)
static G4UImanager * GetUIpointer()
static G4bool GetNewBoolValue(const char *paramString)
G4UIcommand * subtractCommand
void SetParameterRange(const char *theRange)
G4UIcommand * divideCommand
void SetParameter(G4UIparameter *const newParameter)
G4UIcmdWithAString * unaliasCommand
G4String SolveAlias(const char *aCmd)
void SetDefaultValue(const char *theDefaultValue)
G4int GetMaxHistSize() const
G4UIcmdWithAnInteger * verboseCommand
G4String GetCurrentValues(const char *aCommand)
G4UIcmdWithAString * doifBatchCommand
G4UIcmdWithAString * macroPathCommand
void SetSuppressAbortion(G4int i)
void SetAlias(const char *aliasLine)
G4UIcommand * aliasCommand
G4GLOB_DLL std::ostream G4cerr
static G4String ConvertToString(G4bool boolVal)
void ListCommands(const char *direc)
G4UIcmdWithAnInteger * suppressAbortionCommand
G4UIcommand * strifCommand
G4UIcommand * multiplyCommand
G4UIcmdWithAString * doifInteractiveCommand
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
G4UIcmdWithABool * doublePrecCommand
G4int GetVerboseLevel() const
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
G4UIcmdWithAString * shellCommand
void ForeachS(const char *valueList)
G4UIcmdWithAString * ifInteractiveCommand
G4UIcmdWithAString * getEnvCmd
G4double StoD(G4String s)
G4UIcmdWithAString * historyCommand
G4GLOB_DLL std::ostream G4cout
G4UIcmdWithAString * ExecuteCommand
G4UIcmdWithAnInteger * maxStoredHistCommand
G4UIcommand * foreachCommand
G4UIcommand * doifCommand
G4UIcommand * strdoifCommand
void SetParameterCandidates(const char *theString)
G4UIdirectory * controlDirectory
static void UseDoublePrecisionStr(G4bool val)
void ExecuteMacroFile(const char *fileName)
void LoopS(const char *valueList)
void SetToBeBroadcasted(G4bool val)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String DtoS(G4double a)
static G4StateManager * GetStateManager()