Ignore:
Timestamp:
12/02/03 15:09:21 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MTask.h

    r2470 r2589  
    7373    virtual void PrintStatistics(const Int_t lvl=0, Bool_t title=kFALSE) const;
    7474
     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
    7580    virtual void SetSerialNumber(Byte_t num) { fSerialNumber = num; }
    7681    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); }
    7982
    8083    const char *GetDescriptor() const;
Note: See TracChangeset for help on using the changeset viewer.