46 for (
size_t i=0; i< fMedVector->size(); i++) {
48 if (
id == mte->
GetID())
return mte;
58 fMedVector->push_back(mte);
63 if (i<0 || i>=
G4int(fMedVector->size()))
66 return (*fMedVector)[i];
71 return fMedVector->size();
77 while (fMedVector->size()>0) {
78 a = fMedVector->back();
79 fMedVector->pop_back();
80 for (G3MediumVector::iterator i=fMedVector->begin();
81 i!=fMedVector->end();){
83 i = fMedVector->erase(i);