63 { fOut.open(fileName, std::ios::out|std::ios::binary); }
65 { fOut.open(fileName, std::ios::out); }
71 G4cerr <<
"G4OrderedTable::::Store():";
82 fOut.write( (
char*)(&tableSize),
sizeof tableSize);
86 fOut << tableSize <<
G4endl;
95 fOut.write( (
char*)(&vType),
sizeof vType);
101 (*itr)->Store(fOut,ascii);
123 G4cerr <<
"G4OrderedTable::Retrieve():";
137 fIn.read((
char*)(&tableSize),
sizeof tableSize);
146 G4cerr <<
"G4OrderedTable::Retrieve():";
147 G4cerr <<
" Invalid table size: " << tableSize <<
G4endl;
159 fIn.read( (
char*)(&vType),
sizeof vType);
168 G4cerr <<
"G4OrderedTable::Retrieve():";
169 G4cerr <<
" Illegal Data Vector type: " << vType <<
" in ";
181 G4cerr <<
"G4OrderedTable::Retrieve(): ";
183 <<
"-th Physics Vector from file: ";
205 out << std::setw(8) << i <<
"-th Vector ";