32 #define G4UIcommand_h 1
126 { rangeString = rs; }
136 {
return commandGuidance.size(); }
138 {
return commandGuidance[i]; }
144 {
return parameter.size(); }
146 {
return parameter[i]; }
154 parameter.push_back( newParameter );
155 newVal.resize( parameter.size() );
163 commandGuidance.push_back(
G4String( aGuidance ) );
172 if(commandGuidance.size() == 0)
173 {
return G4String(
"...Title not available..."); }
175 {
return commandGuidance[0]; }
185 { toBeBroadcasted = val; }
189 { toBeFlushed = val; }
193 { workerThreadOnly = val; }
204 G4int IsInt(
const char* str,
short maxLength);
223 unsigned IndexOf(
const char* );
G4UImessenger * messenger
yystype MultiplicativeExpression(void)
void SetParameter(G4UIparameter *const newParameter)
std::vector< yystype > newVal
G4int Eval2(yystype arg1, G4int op, yystype arg2)
const G4String & GetRange() const
G4bool IsWorkerThreadOnly() const
CLHEP::Hep3Vector G4ThreeVector
G4int operator!=(const G4UIcommand &right) const
G4int IsInt(const char *str, short maxLength)
unsigned IndexOf(const char *)
void SetToBeBroadcasted(G4bool val)
yystype PrimaryExpression(void)
static G4String ConvertToString(G4bool boolVal)
G4int CompareDouble(G4double arg1, G4int op, G4double arg2)
G4int TypeCheck(const char *t)
std::vector< G4ApplicationState > availabelStateList
const G4String GetTitle() const
yystype UnaryExpression(void)
const G4String & GetGuidanceLine(G4int i) const
static G4ThreeVector ConvertTo3Vector(const char *st)
static G4double ConvertToDimensionedDouble(const char *st)
G4int Follow(G4int expect, G4int ifyes, G4int ifno)
G4int ExpectExponent(const char *str)
G4bool ToBeBroadcasted() const
yystype LogicalANDExpression(void)
G4int CheckNewValue(const char *newValue)
yystype LogicalORExpression(void)
void G4UIcommandCommonConstructorCode(const char *theCommandPath)
static G4String UnitsList(const char *unitCategory)
static G4bool ConvertToBool(const char *st)
unsigned IsParameter(const char *)
G4int IsDouble(const char *str)
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
G4UIparameter * GetParameter(G4int i) const
static G4double ConvertToDouble(const char *st)
const G4String & GetCommandPath() const
void AvailableForStates(G4ApplicationState s1)
G4bool ToBeFlushed() const
yystype AdditiveExpression(void)
static G4int ConvertToInt(const char *st)
G4int operator==(const G4UIcommand &right) const
const G4String & GetCommandName() const
void SetWorkerThreadOnly(G4bool val=true)
G4int G4UIpUngetc(G4int c)
static G4double ValueOf(const char *unitName)
std::vector< G4ApplicationState > * GetStateList()
yystype EqualityExpression(void)
G4UImessenger * GetMessenger() const
yystype RelationalExpression(void)
G4String TokenToStr(G4int token)
std::vector< G4String > commandGuidance
G4int GetGuidanceEntries() const
std::vector< G4UIparameter * > parameter
G4int GetParameterEntries() const
static G4String CategoryOf(const char *unitName)
virtual G4int DoIt(G4String parameterList)
G4int CompareInt(G4int arg1, G4int op, G4int arg2)
G4String GetCurrentValue()
G4int RangeCheck(const char *t)
static G4ThreeVector ConvertToDimensioned3Vector(const char *st)
void SetToBeFlushed(G4bool val)