Changeset 8963 for trunk/MagicSoft/Mars/mreport/MReportFileRead.cc
- Timestamp:
- 06/16/08 00:48:18 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mreport/MReportFileRead.cc
r8955 r8963 68 68 69 69 fIn = new ifstream; 70 70 71 fList = new THashTable(1,1); 71 72 fList->SetOwner(); … … 89 90 MReportHelp *MReportFileRead::GetReportHelp(const TString &str) const 90 91 { 91 return (MReportHelp*)fList->FindObject(str);92 return static_cast<MReportHelp*>(fList->FindObject(str)); 92 93 } 93 94 … … 143 144 Int_t MReportFileRead::PreProcess(MParList *pList) 144 145 { 145 //MTime *time = (MTime*)pList->FindCreateObj("MTime");146 //if (!time)147 // return kFALSE;148 146 fNumLine = 0; 149 147 148 // Add the MReport instances first to the paramter list 149 // so that SetupReading can find them if needed 150 fList->R__FOR_EACH(MReportHelp, AddToList)(*pList); 151 152 // Setup reading 150 153 TIter Next(fList); 151 154 MReportHelp *help=0; … … 153 156 if (!help->SetupReading(*pList)) 154 157 return kFALSE; 155 156 fList->R__FOR_EACH(MReportHelp, AddToList)(*pList);157 158 158 159 //
Note:
See TracChangeset
for help on using the changeset viewer.