32 #ifndef G4UIparameter_h
33 #define G4UIparameter_h 1
79 G4bool currentAsDefaultFlag;
84 { defaultValue = theDefaultValue; }
90 {
return defaultValue; }
92 {
return parameterType; }
96 { parameterRange = theRange; }
104 {
return parameterRange; }
108 { parameterName = theName; }
110 {
return parameterName; }
114 { parameterCandidate = theString; }
119 {
return parameterCandidate; }
125 {
return omittable; }
129 { currentAsDefaultFlag = val; }
131 {
return currentAsDefaultFlag; }
135 { widget = theWidget; }
137 {
return parameterGuidance; }
139 { parameterGuidance = theGuidance; }
143 G4int TypeCheck(
const char* newValue );
144 G4int RangeCheck(
const char* newValue );
145 G4int CandidateCheck(
const char* newValue );
146 G4int IsInt(
const char* str,
short maxDigit);
147 G4int IsDouble(
const char* str);
148 G4int ExpectExponent(
const char* str);
151 yystype LogicalORExpression(
void );
152 yystype LogicalANDExpression(
void );
153 yystype EqualityExpression (
void );
154 yystype RelationalExpression(
void );
155 yystype AdditiveExpression(
void );
156 yystype MultiplicativeExpression(
void );
157 yystype UnaryExpression(
void );
158 yystype PrimaryExpression(
void );
162 G4int CompareDouble(
double arg1,
G4int op,
double arg2);
165 G4int G4UIpGetc(
void );
G4String GetParameterCandidates() const
void SetParameterRange(const char *theRange)
void SetOmittable(G4bool om)
void SetParameterCandidates(const char *theString)
G4String GetParameterName() const
void SetDefaultValue(const char *theDefaultValue)
void SetParameterName(const char *theName)
G4int operator==(const G4UIparameter &right) const
void SetCurrentAsDefault(G4bool val)
G4bool IsOmittable() const
G4int CheckNewValue(const char *newValue)
void SetWidget(G4int theWidget)
G4int operator!=(const G4UIparameter &right) const
G4String GetDefaultValue() const
char GetParameterType() const
const G4String GetParameterGuidance() const
void SetGuidance(const char *theGuidance)
G4String GetParameterRange() const
G4bool GetCurrentAsDefault() const