32 #define G4UIcommand_h 1
110 void G4UIcommandCommonConstructorCode (
const char * theCommandPath);
115 std::vector<G4UIparameter*> parameter;
116 std::vector<G4String> commandGuidance;
117 std::vector<G4ApplicationState> availabelStateList;
121 { rangeString = rs; }
129 {
return rangeString; };
131 {
return commandGuidance.size(); }
133 {
return commandGuidance[i]; }
135 {
return commandPath; }
137 {
return commandName; }
139 {
return parameter.size(); }
141 {
return parameter[i]; }
143 {
return &availabelStateList; }
145 {
return messenger; }
149 parameter.push_back( newParameter );
150 newVal.resize( parameter.size() );
158 commandGuidance.push_back(
G4String( aGuidance ) );
167 if(commandGuidance.size() == 0)
168 {
return G4String(
"...Title not available..."); }
170 {
return commandGuidance[0]; }
178 G4int TypeCheck(
const char* t);
179 G4int RangeCheck(
const char* t);
180 G4int IsInt(
const char* str,
short maxLength);
181 G4int IsDouble(
const char* str);
182 G4int ExpectExponent(
const char* str);
185 yystype LogicalORExpression(
void );
186 yystype LogicalANDExpression(
void );
187 yystype EqualityExpression (
void );
188 yystype RelationalExpression(
void );
189 yystype AdditiveExpression(
void );
190 yystype MultiplicativeExpression(
void );
191 yystype UnaryExpression(
void );
192 yystype PrimaryExpression(
void );
199 unsigned IndexOf(
const char* );
200 unsigned IsParameter(
const char* );
201 G4int G4UIpGetc(
void );
206 void PrintToken(
void);
212 std::vector<yystype> newVal;