70 #ifndef G4MULTITHREADED
85 G4cout <<
"WARNING - Attempt to delete the solid store"
86 <<
" while geometry closed !" <<
G4endl;
98 #ifdef G4GEOMETRY_VOXELDEBUG
99 G4cout <<
"Deleting Solids ... ";
102 for(iterator
pos=store->begin();
pos!=store->end();
pos++)
105 if (*
pos) {
delete *
pos; }
109 #ifdef G4GEOMETRY_VOXELDEBUG
110 if (store->size() < i-1)
111 {
G4cout <<
"No solids deleted. Already deleted by user ?" <<
G4endl; }
168 if ((*i)->GetName() ==
name) {
return *i; }
172 std::ostringstream message;
173 message <<
"Solid " << name <<
" not found in store !" <<
G4endl
174 <<
"Returning NULL pointer.";
G4VSolid * GetSolid(const G4String &name, G4bool verbose=true) const
static void SetNotifier(G4VStoreNotifier *pNotifier)
virtual void NotifyDeRegistration()=0
static void Register(G4VSolid *pSolid)
static void DeRegister(G4VSolid *pSolid)
static G4ThreadLocal G4VStoreNotifier * fgNotifier
G4GLOB_DLL std::ostream G4cout
static G4SolidStore * GetInstance()
static G4GeometryManager * GetInstance()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static G4ThreadLocal G4bool locked
static G4SolidStore * fgInstance
virtual void NotifyRegistration()=0
static const G4double pos