80 G4cout <<
"WARNING - Attempt to delete the logical volume store"
81 <<
" while geometry closed !" <<
G4endl;
93 #ifdef G4GEOMETRY_VOXELDEBUG
94 G4cout <<
"Deleting Logical Volumes ... ";
97 for(iterator
pos=store->begin();
pos!=store->end();
pos++)
100 if (*
pos) { (*pos)->Lock();
delete *
pos; }
104 #ifdef G4GEOMETRY_VOXELDEBUG
105 if (store->size() < i-1)
106 {
G4cout <<
"No volumes deleted. Already deleted by user ?" <<
G4endl; }
164 if ((*i)->GetName() ==
name) {
return *i; }
169 message <<
"Volume NOT found in store !" <<
G4endl
170 <<
" Volume " << name <<
" NOT found in store !" <<
G4endl
171 <<
" Returning NULL pointer.";
virtual void NotifyDeRegistration()=0
static const G4double pos
void message(RunManager *runmanager)
static G4ThreadLocal G4VStoreNotifier * fgNotifier
static void DeRegister(G4LogicalVolume *pVolume)
static void SetNotifier(G4VStoreNotifier *pNotifier)
static void Register(G4LogicalVolume *pVolume)
virtual void NotifyRegistration()=0
static G4LogicalVolumeStore * fgInstance
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
static G4bool IsGeometryClosed()
G4GLOB_DLL std::ostream G4cout
virtual ~G4LogicalVolumeStore()
static G4LogicalVolumeStore * GetInstance()
static G4ThreadLocal G4bool locked
G4LogicalVolume * GetVolume(const G4String &name, G4bool verbose=true) const