46#ifndef G4LOGICALVOLUMESTORE_HH
47#define G4LOGICALVOLUMESTORE_HH
114 G4bool reverseSearch=
false)
const;
126 std::vector<G4LogicalVolume*> >&
GetMap()
const {
return bmap; }
146 std::map<G4String, std::vector<G4LogicalVolume*> > bmap;
G4VNotifier G4VStoreNotifier
G4VStoreNotifier is a simple abstract class allowing for the implementation of user notifiers to be a...
G4LogicalVolumeStore is a singleton class, acting as container for all logical volumes,...
G4LogicalVolumeStore(const G4LogicalVolumeStore &)=delete
G4bool IsMapValid() const
const std::map< G4String, std::vector< G4LogicalVolume * > > & GetMap() const
virtual ~G4LogicalVolumeStore()
static void DeRegister(G4LogicalVolume *pVolume)
G4LogicalVolume * GetVolume(const G4String &name, G4bool verbose=true, G4bool reverseSearch=false) const
void SetMapValid(G4bool val)
static void Register(G4LogicalVolume *pVolume)
static G4LogicalVolumeStore * GetInstance()
static void SetNotifier(G4VStoreNotifier *pNotifier)
G4LogicalVolumeStore & operator=(const G4LogicalVolumeStore &)=delete
G4LogicalVolume represents a leaf node or unpositioned subtree in the geometry hierarchy....