52 "with colon-separated list.");
143 getValCmd->
SetGuidance(
"Command is ignored if the UI command does not support GetCurrentValue().");
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);
512 currentValue = UI-> GetMacroSearchPath();
void ForeachS(const char *valueList)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void ExecuteMacroFile(const char *fileName)
void SetParameter(G4UIparameter *const newParameter)
void RemoveAlias(const char *aliasName)
G4UIcmdWithAnInteger * verboseCommand
G4UIcmdWithAString * ManualCommand
void SetAlias(const char *aliasLine)
G4UIcmdWithAString * HTMLCommand
G4UIcommand * doifCommand
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
G4UIcmdWithAnInteger * suppressAbortionCommand
void SetParameterRange(const char *theRange)
void SetParameterCandidates(const char *theString)
G4UIcmdWithAnInteger * maxStoredHistCommand
void SetNewValue(G4UIcommand *command, G4String newValue)
G4UIcmdWithAString * macroPathCommand
void SetToBeBroadcasted(G4bool val)
G4UIcmdWithAString * shellCommand
void SetDefaultValue(const char *theDefaultValue)
static G4String ConvertToString(G4bool boolVal)
G4int GetVerboseLevel() const
void SetVerboseLevel(G4int val)
static G4UImanager * GetUIpointer()
void SetSuppressAbortion(G4int i)
static G4StateManager * GetStateManager()
G4UIdirectory * controlDirectory
G4GLOB_DLL std::ostream G4cout
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
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
G4String GetCurrentValue(G4UIcommand *command)
void SetDefaultValue(const char *defVal)
G4double StoD(G4String s)
G4UIcmdWithoutParameter * stopStoreHistoryCommand
const G4double x[NPOINTSGL]
G4UIcmdWithoutParameter * listAliasCommand
G4String SolveAlias(const char *aCmd)
void LoopS(const char *valueList)
void SetDefaultValue(G4int defVal)
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
G4int GetMaxHistSize() const