Import Geant4 11.2.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2023-06-30 09:09:57 +02:00
parent aef78ca386
commit dd1f179cda
3780 changed files with 212808 additions and 142780 deletions
+17 -19
View File
@@ -45,29 +45,27 @@
class G4UIcmdWithABool : public G4UIcommand
{
public:
// Constructor. The command string with full path directory
// and the pointer to the messenger must be given
G4UIcmdWithABool(const char* theCommandPath, G4UImessenger* theMessenger);
// Constructor. The command string with full path directory
// and the pointer to the messenger must be given
static G4bool GetNewBoolValue(const char* paramString);
// Convert string which represents a boolean value to G4bool
void SetParameterName(const char* theName, G4bool omittable,
G4bool currentAsDefault = false);
// Set the parameter name for a Boolean parameter.
// If "omittable" is set as true, the user of this command can omit
// the value when the command is applied. If "omittable" is false,
// the user must supply a Boolean value.
// "currentAsDefault" flag is valid only if "omittable" is true. If this
// flag is true, the current value is used as the default value when the
// user omits the parameter. If this flag is false, the value given by the
// next SetDefaultValue() method is used
// Set the parameter name for a Boolean parameter.
// If "omittable" is set as true, the user of this command can omit
// the value when the command is applied. If "omittable" is false,
// the user must supply a Boolean value.
// "currentAsDefault" flag is valid only if "omittable" is true. If this
// flag is true, the current value is used as the default value when the
// user omits the parameter. If this flag is false, the value given by the
// next SetDefaultValue() method is used
void SetParameterName(const char* theName, G4bool omittable, G4bool currentAsDefault = false);
// Set the default value of the parameter. This default value is used
// when the user of this command omits the parameter value, and
// "omittable" is true and "currentAsDefault" is false
void SetDefaultValue(G4bool defVal);
// Set the default value of the parameter. This default value is used
// when the user of this command omits the parameter value, and
// "omittable" is true and "currentAsDefault" is false
// Convert string which represents a boolean value to G4bool
static G4bool GetNewBoolValue(const char* paramString);
};
#endif