LCOV - code coverage report
Current view: top level - STEER/STEERBase - AliVersion.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 6 16.7 %
Date: 2016-06-14 17:26:59 Functions: 1 12 8.3 %

          Line data    Source code
       1             : #include <TNamed.h>
       2             : 
       3             : class AliVersion : public TNamed
       4             : {
       5             : public: 
       6             :   AliVersion();
       7           0 :   virtual ~AliVersion() {if (fgInstance==this) fgInstance=0;};
       8             :   static AliVersion* Instance();
       9           0 :   const TString& GetHash() const { return fHash; }
      10           0 :   const TString& GetTag() const { return fTag; }
      11           0 :   UInt_t GetSerial() const { return GetUniqueID(); }
      12           0 :   Bool_t IsSortable() const { return kTRUE; }
      13             :   Int_t Compare(const TObject* other) const;
      14             :   virtual void Print(Option_t *opt) const;
      15             : protected:
      16             :   //
      17             :   TString fHash;                                  //last hash
      18             :   TString fTag;                                   //revision/tag name
      19             :   static AliVersion* fgInstance;
      20             :   //
      21             :   AliVersion &operator=(const AliVersion& c);     //dummy assignment operator
      22             :   AliVersion(const AliVersion& c);                //dummy copy constructor
      23             :   //
      24         176 :   ClassDef(AliVersion,1);
      25             : };

Generated by: LCOV version 1.11