void RGHashTable :: RestoreAll (RGFile& f) { RGPersistent::RestoreAll (f); ClearAndDelete (); int TempNumberOfLists; f.Read (TempNumberOfLists); RGDList** TempArray; if (TempNumberOfLists < NumberOfLists) { TempArray = new RGDList* [TempNumberOfLists]; for (int i=0; i<NumberOfLists; i++) { if (i >= TempNumberOfLists) delete ListArray [i]; else TempArray [i] = ListArray [i]; } delete[] ListArray; ListArray = TempArray; NumberOfLists = TempNumberOfLists; } else if (TempNumberOfLists > NumberOfLists) { TempArray = new RGDList* [TempNumberOfLists]; for (int i=0; i<TempNumberOfLists; i++) { if (i < NumberOfLists) TempArray [i] = ListArray [i]; else TempArray [i] = new RGDList; } delete[] ListArray; ListArray = TempArray; NumberOfLists = TempNumberOfLists; } f.Read (NumberOfEntries); for (int i=0; i<NumberOfLists; i++) ListArray [i]->RestoreAll (f); }
void DataInterval :: RestoreAll (RGFile& f) { RGPersistent::RestoreAll (f); f.Read (Left); f.Read (Right); f.Read (Center); f.Read (Mass); f.Read (Height); f.Read (Mode); f.Read (MaxAtMode); f.Read (FixedLeft); f.Read (FixedRight); }
void NoiseInterval :: RestoreAll (RGFile& f) { RGPersistent::RestoreAll (f); f.Read (Left); f.Read (Right); f.Read (Maximum); f.Read (Minimum); f.Read (Average); f.Read (NumberOfMaxima); f.Read (NumberOfMinima); f.Read (NumberOfSamples); f.Read (Norm2); }
void STRBaseLocus :: RestoreAll (RGFile& f) { BaseLocus::RestoreAll (f); f.Read (MinimumBP); f.Read (MaximumBP); }
void STRBaseAllele :: RestoreAll (RGFile& f) { BaseAllele::RestoreAll (f); f.Read (BP); }
void RGXmlSizeRestriction :: RestoreAll (RGFile& f) { RGXmlDataRestriction::RestoreAll (f); f.Read (SizeLimit); }
void STRTracePrequalification :: RestoreAll (RGFile& f) { TracePrequalification::RestoreAll (f); f.Read (WindowWidth); }