#include <G4PhysicalVolumeStore.hh>
Definition at line 62 of file G4PhysicalVolumeStore.hh.
◆ ~G4PhysicalVolumeStore()
G4PhysicalVolumeStore::~G4PhysicalVolumeStore |
( |
| ) |
|
|
virtual |
◆ G4PhysicalVolumeStore()
G4PhysicalVolumeStore::G4PhysicalVolumeStore |
( |
| ) |
|
|
protected |
◆ Clean()
void G4PhysicalVolumeStore::Clean |
( |
| ) |
|
|
static |
Definition at line 74 of file G4PhysicalVolumeStore.cc.
80 G4cout <<
"WARNING - Attempt to delete the physical volume store" 81 <<
" while geometry closed !" <<
G4endl;
93 std::vector<G4VPhysicalVolume*>::iterator
pos;
95 #ifdef G4GEOMETRY_VOXELDEBUG 96 G4cout <<
"Deleting Physical Volumes ... ";
99 for(pos=store->begin(); pos!=store->end(); pos++)
102 if (*pos) {
delete *
pos; }
106 #ifdef G4GEOMETRY_VOXELDEBUG 107 if (store->size() < i-1)
108 {
G4cout <<
"No volumes deleted. Already deleted by user ?" <<
G4endl; }
static G4ThreadLocal G4VStoreNotifier * fgNotifier
virtual void NotifyDeRegistration()=0
static G4ThreadLocal G4bool locked
static G4PhysicalVolumeStore * GetInstance()
G4GLOB_DLL std::ostream G4cout
static G4GeometryManager * GetInstance()
static const G4double pos
◆ DeRegister()
Definition at line 142 of file G4PhysicalVolumeStore.cc.
static G4ThreadLocal G4VStoreNotifier * fgNotifier
virtual void NotifyDeRegistration()=0
static G4ThreadLocal G4bool locked
static G4PhysicalVolumeStore * GetInstance()
void RemoveDaughter(const G4VPhysicalVolume *p)
◆ GetInstance()
◆ GetVolume()
Definition at line 165 of file G4PhysicalVolumeStore.cc.
169 if ((*i)->GetName() ==
name) {
return *i; }
173 std::ostringstream message;
174 message <<
"Volume NOT found in store !" <<
G4endl 175 <<
" Volume " << name <<
" NOT found in store !" <<
G4endl 176 <<
" Returning NULL pointer.";
static G4PhysicalVolumeStore * GetInstance()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ Register()
Definition at line 131 of file G4PhysicalVolumeStore.cc.
static G4ThreadLocal G4VStoreNotifier * fgNotifier
static G4PhysicalVolumeStore * GetInstance()
virtual void NotifyRegistration()=0
◆ SetNotifier()
Definition at line 121 of file G4PhysicalVolumeStore.cc.
static G4ThreadLocal G4VStoreNotifier * fgNotifier
static G4PhysicalVolumeStore * GetInstance()
◆ fgInstance
◆ fgNotifier
◆ locked
The documentation for this class was generated from the following files: