Changeset 1009
- Timestamp:
- 10/29/01 13:44:11 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MTask.h
r1003 r1009 39 39 AddToBranchList((const char*)str); 40 40 } 41 void AddToBranchList(const char *master, const char *sub, const UInt_t first, const UInt_t last) 42 { 43 if (first==0 && last==0) 44 { 45 AddToBranchList(sub); 46 return; 47 } 48 49 for (unsigned int i=first; i<last+1; i++) 50 AddToBranchList(Form("%s;%d.%s", master, i, sub)); 51 } 52 void AddToBranchList(TString &master, TString &sub, const UInt_t first, const UInt_t last) 53 { 54 AddToBranchList((const char*)master, (const char*)sub, first, last); 55 } 56 void AddToBranchList(const char *master, const char *sub, const UInt_t num) 57 { 58 AddToBranchList(master, sub, 0, num); 59 } 60 void AddToBranchList(TString &master, TString &sub, const UInt_t num) 61 { 62 AddToBranchList(master, sub, 0, num); 63 } 41 64 42 65 public:
Note:
See TracChangeset
for help on using the changeset viewer.