Changeset 2589 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 12/02/03 15:09:21 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MTask.h
r2470 r2589 73 73 virtual void PrintStatistics(const Int_t lvl=0, Bool_t title=kFALSE) const; 74 74 75 static TString AddSerialNumber(const char *str, UInt_t num) { TString s(str); if (num==0) return s; s += ";"; s += num; return s; } 76 static TString AddSerialNumber(const TString &str, UInt_t num) { return AddSerialNumber((const char*)str, num); } 77 TString AddSerialNumber(const char *str) const { return AddSerialNumber(str, fSerialNumber); } 78 TString AddSerialNumber(const TString &str) const { return AddSerialNumber(str, fSerialNumber); } 79 75 80 virtual void SetSerialNumber(Byte_t num) { fSerialNumber = num; } 76 81 Byte_t GetSerialNumber() const { return fSerialNumber; } 77 TString AddSerialNumber(const char *str) const { TString s(str); if (fSerialNumber==0) return s; s += ";"; s += fSerialNumber; return s; }78 TString AddSerialNumber(const TString &str) const { return AddSerialNumber((const char*)str); }79 82 80 83 const char *GetDescriptor() const;
Note:
See TracChangeset
for help on using the changeset viewer.