Changeset 7064 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 05/19/05 15:38:38 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MTaskList.cc
r5779 r7064 928 928 return kTRUE; 929 929 } 930 931 // -------------------------------------------------------------------------- 932 // 933 // Can be used to create an iterator over all tasks, eg: 934 // MTaskList tlist; 935 // TIter Next(tlist); // Be aware: Use a object here rather than a pointer! 936 // TObject *o=0; 937 // while ((o=Next())) 938 // { 939 // [...] 940 // } 941 // 942 MTaskList::operator TIterator*() const 943 { 944 return new TListIter(fTasks); 945 } -
trunk/MagicSoft/Mars/mbase/MTaskList.h
r5692 r7064 84 84 Bool_t WriteEnv(TEnv &env, TString prefix, Bool_t print=kFALSE) const; 85 85 86 operator TIterator*() const; 87 86 88 ClassDef(MTaskList, 1) //collection of tasks to be performed in the eventloop 87 89 };
Note:
See TracChangeset
for help on using the changeset viewer.