Import Geant4 10.5.1 source tree
This commit is contained in:
@@ -46,8 +46,8 @@ class G4UIaliasList
|
||||
~G4UIaliasList();
|
||||
|
||||
private:
|
||||
G4int operator==(const G4UIaliasList &right) const;
|
||||
G4int operator!=(const G4UIaliasList &right) const;
|
||||
G4bool operator==(const G4UIaliasList &right) const;
|
||||
G4bool operator!=(const G4UIaliasList &right) const;
|
||||
|
||||
public:
|
||||
void RemoveAlias(const char* aliasName);
|
||||
|
||||
@@ -63,8 +63,8 @@ class G4UIcommand
|
||||
public:
|
||||
virtual ~G4UIcommand();
|
||||
|
||||
G4int operator==(const G4UIcommand &right) const;
|
||||
G4int operator!=(const G4UIcommand &right) const;
|
||||
G4bool operator==(const G4UIcommand &right) const;
|
||||
G4bool operator!=(const G4UIcommand &right) const;
|
||||
|
||||
virtual G4int DoIt(G4String parameterList);
|
||||
G4String GetCurrentValue();
|
||||
|
||||
@@ -46,8 +46,8 @@ class G4UIcommandTree
|
||||
G4UIcommandTree();
|
||||
G4UIcommandTree(const char * thePathName);
|
||||
~G4UIcommandTree();
|
||||
G4int operator==(const G4UIcommandTree &right) const;
|
||||
G4int operator!=(const G4UIcommandTree &right) const;
|
||||
G4bool operator==(const G4UIcommandTree &right) const;
|
||||
G4bool operator!=(const G4UIcommandTree &right) const;
|
||||
|
||||
public:
|
||||
void AddNewCommand(G4UIcommand * newCommand, G4bool workerThreadOnly=false);
|
||||
|
||||
@@ -69,8 +69,8 @@ class G4UImanager : public G4VStateDependent
|
||||
private:
|
||||
G4UImanager(const G4UImanager &right);
|
||||
const G4UImanager & operator=(const G4UImanager &right);
|
||||
G4int operator==(const G4UImanager &right) const;
|
||||
G4int operator!=(const G4UImanager &right) const;
|
||||
G4bool operator==(const G4UImanager &right) const;
|
||||
G4bool operator!=(const G4UImanager &right) const;
|
||||
|
||||
public: // with description
|
||||
G4String GetCurrentValues(const char * aCommand);
|
||||
|
||||
@@ -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; }
|
||||
|
||||
@@ -67,7 +67,7 @@ typedef struct yystype
|
||||
yystype() : type(NONE), D(0.0), I(0), C(' '), S("")
|
||||
{
|
||||
}
|
||||
G4int operator==(const yystype& right) const
|
||||
G4bool operator==(const yystype& right) const
|
||||
{
|
||||
return (this == &right)?1:0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user