Import Geant4 11.3.0 source tree
This commit is contained in:
@@ -46,7 +46,7 @@ class G4UImanager;
|
||||
class G4UIbridge
|
||||
{
|
||||
public:
|
||||
G4UIbridge(G4UImanager* localUI, G4String dir);
|
||||
G4UIbridge(G4UImanager* localUI, const G4String& dir);
|
||||
~G4UIbridge() = default;
|
||||
|
||||
G4int ApplyCommand(const G4String& aCmd);
|
||||
|
||||
@@ -46,7 +46,7 @@ class G4UIcmdWith3VectorAndUnit : public G4UIcommand
|
||||
// and the pointer to the messenger must be given
|
||||
G4UIcmdWith3VectorAndUnit(const char* theCommandPath, G4UImessenger* theMessenger);
|
||||
|
||||
G4int DoIt(G4String parameterList) override;
|
||||
G4int DoIt(const G4String& parameterList) override;
|
||||
|
||||
// Convert a 3 vector value to a string of digits and unit. Best unit is
|
||||
// chosen from the unit category of default unit (in case SetDefaultUnit()
|
||||
|
||||
@@ -45,7 +45,7 @@ class G4UIcmdWithADoubleAndUnit : public G4UIcommand
|
||||
// and the pointer to the messenger must be given
|
||||
G4UIcmdWithADoubleAndUnit(const char* theCommandPath, G4UImessenger* theMessenger);
|
||||
|
||||
G4int DoIt(G4String parameterList) override;
|
||||
G4int DoIt(const G4String& parameterList) override;
|
||||
|
||||
// Convert a double value to a string of digits and unit. Best unit is
|
||||
// chosen from the unit category of default unit (in case SetDefaultUnit()
|
||||
|
||||
@@ -65,7 +65,7 @@ class G4UIcommand
|
||||
G4bool operator==(const G4UIcommand& right) const;
|
||||
G4bool operator!=(const G4UIcommand& right) const;
|
||||
|
||||
virtual G4int DoIt(G4String parameterList);
|
||||
virtual G4int DoIt(const G4String& parameterList);
|
||||
|
||||
G4String GetCurrentValue();
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ class G4UImessenger
|
||||
G4int StoI(const G4String& s);
|
||||
G4long StoL(const G4String& s);
|
||||
G4double StoD(const G4String& s);
|
||||
G4bool StoB(G4String s);
|
||||
G4bool StoB(const G4String& s);
|
||||
|
||||
void AddUIcommand(G4UIcommand* newCommand);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user