81 G4cout <<
"WARNING - Attempt to delete the physical volume store"
82 <<
" while geometry closed !" <<
G4endl;
95 #ifdef G4GEOMETRY_VOXELDEBUG
96 G4cout <<
"Deleting Physical Volumes ... ";
99 for(iterator
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; }
169 if ((*i)->GetName() ==
name) {
return *i; }
174 message <<
"Volume NOT found in store !" <<
G4endl
175 <<
" Volume " << name <<
" NOT found in store !" <<
G4endl
176 <<
" Returning NULL pointer.";
virtual void NotifyDeRegistration()=0
static const G4double pos
static G4ThreadLocal G4bool locked
static void Register(G4VPhysicalVolume *pSolid)
static void SetNotifier(G4VStoreNotifier *pNotifier)
void message(RunManager *runmanager)
G4VPhysicalVolume * GetVolume(const G4String &name, G4bool verbose=true) const
static void DeRegister(G4VPhysicalVolume *pSolid)
static G4ThreadLocal G4VStoreNotifier * fgNotifier
virtual void NotifyRegistration()=0
G4LogicalVolume * GetMotherLogical() const
void RemoveDaughter(const G4VPhysicalVolume *p)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
static G4bool IsGeometryClosed()
virtual ~G4PhysicalVolumeStore()
static G4PhysicalVolumeStore * GetInstance()
G4GLOB_DLL std::ostream G4cout
static G4PhysicalVolumeStore * fgInstance