36 typedef std::map<G4String, G3VolTableEntry*, std::less<G4String> >
40 : G3toG4TopVTE(0), _FirstKey(
"UnDefined"), _NG3Pos(0){
46 for (
VTDiterator i=VTD.begin(); i != VTD.end(); i++) {
56 if (i == VTD.end())
return 0;
57 else return (*i).second;
64 G4cout <<
"Dump of VTD - " << VTD.size() <<
" entries:" <<
G4endl;
68 G4cout <<
"G3VolTable element " << std::setw(3) << i++ <<
" name "
83 if (_FirstKey ==
"UnDefined") _FirstKey = HashID;
86 VTD[HashID] = aG3VolTableEntry;
98 G3toG4TopVTE = VTD[_FirstKey];
113 G4cout <<
"Instantiated " << VTD.size() <<
114 " volume table entries \n"
115 <<
" " << _NG3Pos <<
" positions." <<
G4endl;
121 for (
VTDiterator i=VTD.begin(); i != VTD.end(); i++) {
127 _FirstKey =
"UnDefined";
G3VolTableEntry * GetFirstVTE()
G3VolTableEntry * GetVTE(const G4String &Vname)
G3VolTableEntry * GetMother(G4int i)
G4GLOB_DLL std::ostream G4cout
std::map< G4String, G3VolTableEntry *, std::less< G4String > >::iterator VTDiterator
G3VolTableEntry * PutVTE(G3VolTableEntry *aVTE)