39#define G4UIcommand_hh 1
121 inline void SetRange(
const char* rs) { rangeExpression = rs; }
130 inline std::vector<G4ApplicationState>*
GetStateList() {
return &availabelStateList; }
139 parameter.push_back(newParameter);
140 newVal.resize(parameter.size());
147 inline void SetGuidance(
const char* aGuidance) { commandGuidance.emplace_back(aGuidance); }
151 return (commandGuidance.empty()) ?
G4String(
"...Title not available...") : commandGuidance[0];
217 void G4UIcommandCommonConstructorCode(
const char* theCommandPath);
219 G4bool RangeCheck(
const char* t);
224 yystype LogicalANDExpression();
226 yystype RelationalExpression();
228 yystype MultiplicativeExpression();
235 unsigned IndexOf(
const char*);
236 unsigned IsParameter(
const char*);
250 std::vector<G4UIparameter*> parameter;
251 std::vector<G4String> commandGuidance;
252 std::vector<G4ApplicationState> availabelStateList;
257 std::vector<yystype> newVal;
std::ostringstream G4ExceptionDescription
void SetToBeBroadcasted(G4bool val)
G4bool IsWorkerThreadOnly() const
G4UImessenger * GetMessenger() const
std::size_t GetParameterEntries() const
const G4String & GetGuidanceLine(G4int i) const
static G4ThreeVector ConvertTo3Vector(const char *st)
G4UIparameter * GetParameter(G4int i) const
static G4String CategoryOf(const char *unitName)
static G4double ValueOf(const char *unitName)
void SetCommandType(CommandType)
G4bool ToBeBroadcasted() const
static G4long ConvertToLongInt(const char *st)
virtual G4int DoIt(G4String parameterList)
const G4String GetTitle() const
G4bool operator==(const G4UIcommand &right) const
static G4String ConvertToString(G4bool boolVal)
const G4String & GetCommandPath() const
void SetParameter(G4UIparameter *const newParameter)
void SetGuidance(const char *aGuidance)
CommandType GetCommandType() const
G4int CheckNewValue(const char *newValue)
void CommandFailed(G4int errCode, G4ExceptionDescription &ed)
std::size_t GetGuidanceEntries() const
static G4int ConvertToInt(const char *st)
static G4String UnitsList(const char *unitCategory)
void SetToBeFlushed(G4bool val)
static G4bool ConvertToBool(const char *st)
std::vector< G4ApplicationState > * GetStateList()
void SetRange(const char *rs)
void SetWorkerThreadOnly(G4bool val=true)
static G4double ConvertToDouble(const char *st)
static G4double ConvertToDimensionedDouble(const char *st)
const G4String & GetFailureDescription()
G4bool ToBeFlushed() const
void AvailableForStates(G4ApplicationState s1)
const G4String & GetCommandName() const
G4bool operator!=(const G4UIcommand &right) const
const G4String & GetRange() const
G4String failureDescription
static G4ThreeVector ConvertToDimensioned3Vector(const char *st)
void SetDefaultSortFlag(G4bool val)
void CommandFailed(G4ExceptionDescription &ed)
G4String GetCurrentValue()