Geant4-11
Public Member Functions | Private Member Functions
G4VExceptionHandler Class Referenceabstract

#include <G4VExceptionHandler.hh>

Inheritance diagram for G4VExceptionHandler:
G4ExceptionHandler PyG4ExceptionHandler

Public Member Functions

 G4VExceptionHandler ()
 
virtual G4bool Notify (const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)=0
 
G4bool operator!= (const G4VExceptionHandler &right) const
 
G4bool operator== (const G4VExceptionHandler &right) const
 
virtual ~G4VExceptionHandler ()
 

Private Member Functions

 G4VExceptionHandler (const G4VExceptionHandler &right)
 
G4VExceptionHandleroperator= (const G4VExceptionHandler &right)
 

Detailed Description

Definition at line 43 of file G4VExceptionHandler.hh.

Constructor & Destructor Documentation

◆ G4VExceptionHandler() [1/2]

G4VExceptionHandler::G4VExceptionHandler ( )

Definition at line 34 of file G4VExceptionHandler.cc.

35{
37 stateManager->SetExceptionHandler(this);
38}
static G4StateManager * GetStateManager()
void SetExceptionHandler(G4VExceptionHandler *eh)

References G4StateManager::GetStateManager(), and G4StateManager::SetExceptionHandler().

◆ ~G4VExceptionHandler()

G4VExceptionHandler::~G4VExceptionHandler ( )
virtual

Definition at line 40 of file G4VExceptionHandler.cc.

40{}

◆ G4VExceptionHandler() [2/2]

G4VExceptionHandler::G4VExceptionHandler ( const G4VExceptionHandler right)
private

Definition at line 42 of file G4VExceptionHandler.cc.

43{
44 *this = right;
45}

Member Function Documentation

◆ Notify()

virtual G4bool G4VExceptionHandler::Notify ( const char *  originOfException,
const char *  exceptionCode,
G4ExceptionSeverity  severity,
const char *  description 
)
pure virtual

Implemented in PyG4ExceptionHandler, and G4ExceptionHandler.

Referenced by G4Exception().

◆ operator!=()

G4bool G4VExceptionHandler::operator!= ( const G4VExceptionHandler right) const

Definition at line 63 of file G4VExceptionHandler.cc.

64{
65 return (this != &right);
66}

◆ operator=()

G4VExceptionHandler & G4VExceptionHandler::operator= ( const G4VExceptionHandler right)
private

Definition at line 47 of file G4VExceptionHandler.cc.

49{
50 if(&right == this)
51 {
52 return *this;
53 }
54 *this = right;
55 return *this;
56}

◆ operator==()

G4bool G4VExceptionHandler::operator== ( const G4VExceptionHandler right) const

Definition at line 58 of file G4VExceptionHandler.cc.

59{
60 return (this == &right);
61}

The documentation for this class was generated from the following files: