39#ifndef G4UIparameter_hh
40#define G4UIparameter_hh 1
72 defaultValue = theDefaultValue;
94 parameterRange = theRange;
106 parameterCandidate = theString;
111 return parameterCandidate;
125 return parameterGuidance;
129 parameterGuidance = theGuidance;
140 G4int TypeCheck(
const char* newValue);
141 G4int RangeCheck(
const char* newValue);
142 G4int CandidateCheck(
const char* newValue);
143 G4int IsInt(
const char* str,
short maxDigit);
144 G4int IsDouble(
const char* str);
145 G4int ExpectExponent(
const char* str);
149 yystype LogicalANDExpression();
151 yystype RelationalExpression();
153 yystype MultiplicativeExpression();
160 G4int CompareDouble(
double arg1,
G4int op,
double arg2);
176 char parameterType =
'\0';
178 G4bool currentAsDefaultFlag =
false;
const G4String & GetParameterCandidates() const
void SetDefaultValue(const char *theDefaultValue)
G4int CheckNewValue(const char *newValue)
void SetParameterName(const char *pName)
const G4String & GetParameterGuidance() const
G4bool IsOmittable() const
void SetOmittable(G4bool om)
const G4String & GetParameterRange() const
void SetGuidance(const char *theGuidance)
G4UItokenNum::yystype yystype
void SetParameterRange(const char *theRange)
G4bool GetCurrentAsDefault() const
void SetWidget(G4int theWidget)
void SetParameterCandidates(const char *theString)
char GetParameterType() const
G4bool operator!=(const G4UIparameter &right) const
void SetCurrentAsDefault(G4bool val)
const G4String & GetParameterName() const
const G4String & GetDefaultValue() const
G4bool operator==(const G4UIparameter &right) const
void SetDefaultUnit(const char *theDefaultUnit)
yystype { tokenNum type{ tokenNum::NONE } yystype