125 fIn.open(fileName, std::ios::in | std::ios::binary);
129 fIn.open(fileName, std::ios::in);
136 G4cerr <<
"G4OrderedTable::Retrieve():";
150 fIn.read((
char*) (&tableSize),
sizeof tableSize);
159 G4cerr <<
"G4OrderedTable::Retrieve():";
160 G4cerr <<
" Invalid table size: " << tableSize <<
G4endl;
167 for(
G4int idx = 0; idx < tableSize; ++idx)
172 fIn.read((
char*) (&vType),
sizeof vType);
181 G4cerr <<
"G4OrderedTable::Retrieve():";
182 G4cerr <<
" Illegal Data Vector type: " << vType <<
" in ";
191 if(!(pVec->Retrieve(fIn, ascii)))
194 G4cerr <<
"G4OrderedTable::Retrieve(): ";
195 G4cerr <<
" Error in retreiving " << idx
196 <<
"-th Physics Vector from file: ";