79 G4cout <<
"WARNING - Attempt to delete the logical volume store"
80 <<
" while geometry closed !" <<
G4endl;
92 #ifdef G4GEOMETRY_VOXELDEBUG
93 G4cout <<
"Deleting Logical Volumes ... ";
96 for(iterator
pos=store->begin();
pos!=store->end();
pos++)
99 if (*
pos) { (*pos)->Lock();
delete *
pos; }
103 #ifdef G4GEOMETRY_VOXELDEBUG
104 if (store->size() < i-1)
105 {
G4cout <<
"No volumes deleted. Already deleted by user ?" <<
G4endl; }
121 fgNotifier = pNotifier;
163 if ((*i)->GetName() ==
name) {
return *i; }
167 std::ostringstream message;
168 message <<
"Volume NOT found in store !" <<
G4endl
169 <<
" Volume " << name <<
" NOT found in store !" <<
G4endl
170 <<
" Returning NULL pointer.";
186 fgInstance = &worldStore;
virtual void NotifyDeRegistration()=0
static void DeRegister(G4LogicalVolume *pVolume)
G4LogicalVolume * GetVolume(const G4String &name, G4bool verbose=true) const
G4GLOB_DLL std::ostream G4cout
static G4LogicalVolumeStore * GetInstance()
static G4GeometryManager * GetInstance()
virtual ~G4LogicalVolumeStore()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static void SetNotifier(G4VStoreNotifier *pNotifier)
virtual void NotifyRegistration()=0
static void Register(G4LogicalVolume *pVolume)
static const G4double pos