35typedef std::map<G4String, G3VolTableEntry*, std::less<G4String> >
39 : G3toG4TopVTE(0), _FirstKey(
"UnDefined"), _NG3Pos(0){
45 for (
VTDiterator i=VTD.begin(); i != VTD.end(); i++) {
55 if (i == VTD.end())
return 0;
56 else return (*i).second;
63 G4cout <<
"Dump of VTD - " << VTD.size() <<
" entries:" <<
G4endl;
65 for (
VTDiterator v=VTD.begin(); v != VTD.end(); v++){
67 G4cout <<
"G3VolTable element " << std::setw(3) << i++ <<
" name "
82 if (_FirstKey ==
"UnDefined") _FirstKey = HashID;
85 VTD[HashID] = aG3VolTableEntry;
97 G3toG4TopVTE = VTD[_FirstKey];
112 G4cout <<
"Instantiated " << VTD.size() <<
113 " volume table entries \n"
114 <<
" " << _NG3Pos <<
" positions." <<
G4endl;
120 for (
VTDiterator i=VTD.begin(); i != VTD.end(); i++) {
126 _FirstKey =
"UnDefined";
std::map< G4String, G3VolTableEntry *, std::less< G4String > >::iterator VTDiterator
G4GLOB_DLL std::ostream G4cout
G3VolTableEntry * GetMother(G4int i)
G3VolTableEntry * GetFirstVTE()
G3VolTableEntry * PutVTE(G3VolTableEntry *aVTE)
G3VolTableEntry * GetVTE(const G4String &Vname)