#include <G4PhysicalVolumeStore.hh>
Definition at line 62 of file G4PhysicalVolumeStore.hh.
G4PhysicalVolumeStore::~G4PhysicalVolumeStore |
( |
| ) |
|
|
virtual |
G4PhysicalVolumeStore::G4PhysicalVolumeStore |
( |
| ) |
|
|
protected |
void G4PhysicalVolumeStore::Clean |
( |
| ) |
|
|
static |
Definition at line 74 of file G4PhysicalVolumeStore.cc.
80 G4cout <<
"WARNING - Attempt to delete the physical volume store"
81 <<
" while geometry closed !" <<
G4endl;
93 std::vector<G4VPhysicalVolume*>::iterator
pos;
95 #ifdef G4GEOMETRY_VOXELDEBUG
96 G4cout <<
"Deleting Physical Volumes ... ";
99 for(pos=store->begin(); pos!=store->end(); pos++)
102 if (*pos) {
delete *
pos; }
106 #ifdef G4GEOMETRY_VOXELDEBUG
107 if (store->size() < i-1)
108 {
G4cout <<
"No volumes deleted. Already deleted by user ?" <<
G4endl; }
virtual void NotifyDeRegistration()=0
static G4PhysicalVolumeStore * GetInstance()
G4GLOB_DLL std::ostream G4cout
static G4GeometryManager * GetInstance()
static const G4double pos
Definition at line 142 of file G4PhysicalVolumeStore.cc.
virtual void NotifyDeRegistration()=0
static G4PhysicalVolumeStore * GetInstance()
void RemoveDaughter(const G4VPhysicalVolume *p)
Definition at line 165 of file G4PhysicalVolumeStore.cc.
169 if ((*i)->GetName() ==
name) {
return *i; }
173 std::ostringstream message;
174 message <<
"Volume NOT found in store !" <<
G4endl
175 <<
" Volume " << name <<
" NOT found in store !" <<
G4endl
176 <<
" Returning NULL pointer.";
static G4PhysicalVolumeStore * GetInstance()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition at line 131 of file G4PhysicalVolumeStore.cc.
static G4PhysicalVolumeStore * GetInstance()
virtual void NotifyRegistration()=0
The documentation for this class was generated from the following files: