Import Geant4 10.5.1 source tree
This commit is contained in:
@@ -61,8 +61,8 @@ class G4UIparameter
|
||||
// NOT to invoke this by him/herself.
|
||||
|
||||
public:
|
||||
G4int operator==(const G4UIparameter &right) const;
|
||||
G4int operator!=(const G4UIparameter &right) const;
|
||||
G4bool operator==(const G4UIparameter &right) const;
|
||||
G4bool operator!=(const G4UIparameter &right) const;
|
||||
|
||||
G4int CheckNewValue(const char* newValue);
|
||||
void List();
|
||||
@@ -84,6 +84,12 @@ class G4UIparameter
|
||||
void SetDefaultValue(G4int theDefaultValue);
|
||||
void SetDefaultValue(G4double theDefaultValue);
|
||||
// These methods set the default value of the parameter.
|
||||
void SetDefaultUnit(const char * theDefaultUnit);
|
||||
// This method can be used for a string-type parameter that is
|
||||
// used to specify a unit. This method is valid only for a
|
||||
// string-type parameter. With this set-method, not only the
|
||||
// default unit but also candidate units that belong to the
|
||||
// same unit category (a.k.a. dimension) as the default unit.
|
||||
public:
|
||||
inline G4String GetDefaultValue() const
|
||||
{ return defaultValue; }
|
||||
|
||||
Reference in New Issue
Block a user