Changeset 1471 for trunk/MagicSoft/Mars/mbase/MTaskList.cc
- Timestamp:
- 08/01/02 12:31:56 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MTaskList.cc
r1337 r1471 57 57 #include "MTaskList.h" 58 58 59 #include <fstream.h> // ofstream, SavePrimitive 60 59 61 #include <TClass.h> 60 62 #include <TBaseClass.h> … … 512 514 } 513 515 516 517 void MTaskList::SavePrimitive(ofstream &out, Option_t *o="") 518 { 519 out << " MTaskList " << ToLower(fName) << ";" << endl << endl; 520 521 TIter Next(fTasks); 522 523 TObject *cont = NULL; 524 while ((cont=Next())) 525 { 526 cont->SavePrimitive(out, ""); 527 out << " " << ToLower(fName) << ".AddToList(&"; 528 out << ToLower(cont->GetName()) << ");" << endl << endl; 529 } 530 }
Note:
See TracChangeset
for help on using the changeset viewer.