- Timestamp:
- 06/16/08 00:48:18 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mreport
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mreport/MReportCC.cc
r8955 r8963 77 77 return kFALSE; 78 78 79 fRecTime = (MTime*)plist.FindCreateObj("MTime", "MTimeRec");80 if (!fRecTime)81 return kFALSE;82 83 79 84 80 fTH = (MCameraTH*)plist.FindCreateObj("MCameraTH"); … … 147 143 { 148 144 fRecRep->InterpreteRec(str, ver, *fTH, *fTD, *fRecTemp); 149 fRecRep->Copy(*this);145 Copy(*fRecRep); 150 146 fRecRep->SetReadyToSave(); 151 147 } -
trunk/MagicSoft/Mars/mreport/MReportCC.h
r8955 r8963 27 27 28 28 MReportRec *fRecRep; //! Pipe interpretation to MReportRec if necessary 29 MTime *fRecTime; //! Time stamp for Receiver part of reports30 29 31 30 // Internal -
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 // -
trunk/MagicSoft/Mars/mreport/MReportFileRead.h
r8955 r8963 8 8 #include "MTime.h" 9 9 #endif 10 11 /*// gcc 3.212 //class ifstream;13 #include <iosfwd>14 */15 10 16 11 class THashTable;
Note:
See TracChangeset
for help on using the changeset viewer.