45#ifndef G4PHYSICALVOLUMESTORE_HH
46#define G4PHYSICALVOLUMESTORE_HH
115 G4bool reverseSearch =
false)
const;
127 std::vector<G4VPhysicalVolume*> >&
GetMap()
const {
return bmap; }
147 std::map<G4String, std::vector<G4VPhysicalVolume*> > bmap;
G4VNotifier G4VStoreNotifier
G4VStoreNotifier is a simple abstract class allowing for the implementation of user notifiers to be a...
G4PhysicalVolumeStore is a singleton class, acting as container for all physical volumes,...
static G4PhysicalVolumeStore * GetInstance()
static void Register(G4VPhysicalVolume *pVolume)
G4bool IsMapValid() const
static void DeRegister(G4VPhysicalVolume *pVolume)
static void SetNotifier(G4VStoreNotifier *pNotifier)
void SetMapValid(G4bool val)
const std::map< G4String, std::vector< G4VPhysicalVolume * > > & GetMap() const
virtual ~G4PhysicalVolumeStore()
G4PhysicalVolumeStore & operator=(const G4PhysicalVolumeStore &)=delete
G4VPhysicalVolume * GetVolume(const G4String &name, G4bool verbose=true, G4bool reverseSearch=false) const
G4PhysicalVolumeStore(const G4PhysicalVolumeStore &)=delete
G4VPhysicalVolume is an abstract base class for the representation of a positioned volume....