Changeset 2589 for trunk/MagicSoft
- Timestamp:
- 12/02/03 15:09:21 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2587 r2589 13 13 - renamed nonsens fErrors to fCounter 14 14 - fixed usage of fDisplay 15 16 * mbase/MTask.h: 17 - added static member functions AddDerialNumber to simplify 18 using different Serial numbers. 15 19 16 20 … … 740 744 formal compatibility with the overloaded method of the mother 741 745 class TH1 *MH::GetHistByName(TString name) 746 742 747 743 748 -
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.