74 G4cout <<
"WARNING - Attempt to delete the solid store"
75 <<
" while geometry closed !" <<
G4endl;
87#ifdef G4GEOMETRY_VOXELDEBUG
88 G4cout <<
"Deleting Solids ... ";
91 for(
auto pos=store->cbegin(); pos!=store->cend(); ++pos)
97#ifdef G4GEOMETRY_VOXELDEBUG
98 if (store->size() < i-1)
99 {
G4cout <<
"No solids deleted. Already deleted by user ?" <<
G4endl; }
115 fgNotifier = pNotifier;
156 if ((*i)->GetName() == name) {
return *i; }
160 std::ostringstream message;
161 message <<
"Solid " << name <<
" not found in store !" <<
G4endl
162 <<
"Returning NULL pointer.";
176 if (fgInstance ==
nullptr)
178 fgInstance = &worldStore;
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
static G4bool IsGeometryClosed()
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