Import Geant4 10.7.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2020-06-26 10:23:25 +02:00
parent c02c370437
commit 67ba86d073
1871 changed files with 174422 additions and 131884 deletions
@@ -23,47 +23,44 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// G4VExceptionHandler class implementation
//
//
//
// ------------------------------------------------------------
// GEANT 4 class implementation file
//
// ---------------- G4VExceptionHandler ----------------
// by Makoto Asai (August 2002)
// ------------------------------------------------------------
// Author: M.Asai, August 2002
// --------------------------------------------------------------------
#include "G4VExceptionHandler.hh"
#include "G4StateManager.hh"
G4VExceptionHandler::G4VExceptionHandler()
G4VExceptionHandler::G4VExceptionHandler()
{
G4StateManager * stateManager = G4StateManager::GetStateManager();
G4StateManager* stateManager = G4StateManager::GetStateManager();
stateManager->SetExceptionHandler(this);
}
G4VExceptionHandler::~G4VExceptionHandler()
G4VExceptionHandler::~G4VExceptionHandler() {}
G4VExceptionHandler::G4VExceptionHandler(const G4VExceptionHandler& right)
{
*this = right;
}
G4VExceptionHandler::G4VExceptionHandler(const G4VExceptionHandler &right)
G4VExceptionHandler& G4VExceptionHandler::operator=(
const G4VExceptionHandler& right)
{
*this = right;
if(&right == this)
{
return *this;
}
*this = right;
return *this;
}
G4VExceptionHandler& G4VExceptionHandler::operator=(const G4VExceptionHandler &right)
G4bool G4VExceptionHandler::operator==(const G4VExceptionHandler& right) const
{
if (&right == this) { return *this; }
*this = right;
return *this;
return (this == &right);
}
G4bool G4VExceptionHandler::operator==(const G4VExceptionHandler &right) const
G4bool G4VExceptionHandler::operator!=(const G4VExceptionHandler& right) const
{
return (this == &right);
}
G4bool G4VExceptionHandler::operator!=(const G4VExceptionHandler &right) const
{
return (this != &right);
return (this != &right);
}