Files
geant4/source/run/src/G4VPersistencyManager.cc
T
2016-06-08 15:55:53 +02:00

32 lines
748 B
C++

// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VPersistencyManager.cc,v 1.2 1999/12/15 14:53:54 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
#include "G4VPersistencyManager.hh"
G4VPersistencyManager* G4VPersistencyManager::fPersistencyManager = 0;
G4VPersistencyManager* G4VPersistencyManager::GetPersistencyManager()
{
return fPersistencyManager;
}
G4VPersistencyManager::G4VPersistencyManager()
{
fPersistencyManager = this;
}
G4VPersistencyManager::~G4VPersistencyManager()
{
fPersistencyManager = NULL;
}