36typedef 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;
66 for (
VTDiterator v=VTD.begin(); v != VTD.end(); v++){
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";
std::map< G4String, G3VolTableEntry *, std::less< G4String > >::iterator VTDiterator
G4DLLIMPORT std::ostream G4cout
G3VolTableEntry * GetMother(G4int i)
G3VolTableEntry * GetFirstVTE()
G3VolTableEntry * PutVTE(G3VolTableEntry *aVTE)
G3VolTableEntry * GetVTE(const G4String &Vname)