47G4bool G4SolidStore::locked =
false;
79 G4cout <<
"WARNING - Attempt to delete the solid store"
80 <<
" while geometry closed !" <<
G4endl;
92#ifdef G4GEOMETRY_VOXELDEBUG
93 G4cout <<
"Deleting Solids ... ";
96 for(iterator pos=store->begin(); pos!=store->end(); pos++)
99 if (*pos) {
delete *pos; }
103#ifdef G4GEOMETRY_VOXELDEBUG
104 if (store->size() < i-1)
105 {
G4cout <<
"No solids deleted. Already deleted by user ?" <<
G4endl; }
121 fgNotifier = pNotifier;
162 if ((*i)->GetName() == name) {
return *i; }
166 std::ostringstream message;
167 message <<
"Solid " << name <<
" not found in store !" <<
G4endl
168 <<
"Returning NULL pointer.";
184 fgInstance = &worldStore;
G4DLLIMPORT std::ostream G4cout
static G4GeometryManager * GetInstance()
static void Register(G4VSolid *pSolid)
static void SetNotifier(G4VStoreNotifier *pNotifier)
static void DeRegister(G4VSolid *pSolid)
G4VSolid * GetSolid(const G4String &name, G4bool verbose=true) const
static G4SolidStore * GetInstance()
virtual void NotifyRegistration()=0
virtual void NotifyDeRegistration()=0
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)