// -*- mode: c++ -*- // // $Id: BrVersion.h,v 1.2 2001/06/25 14:24:10 cholm Exp $ // $Author: cholm $ // $Date: 2001/06/25 14:24:10 $ // $Copyright: (C) 2001 BRAHMS Collaboration // #ifndef BRAT_BrVersion #define BRAT_BrVersion #ifndef ROOT_TObject #include "TObject.h" #endif #ifndef ROOT_TDatime #include "TDatime.h" #endif class BrVersion : public TObject { private: Short_t fMajor; Short_t fMinor; Short_t fRevision; TDatime fTime; public: BrVersion(); Short_t GetMajor() const { return fMajor; } Short_t GetMinor() const { return fMinor; } Short_t GetRevision() const { return fRevision; } const TDatime& GetTime() const { return fTime; } const Char_t* AsString() const; const Char_t* When() const { return fTime.AsString(); } void Print(Option_t* option="D") const; //*MENU* ClassDef(BrVersion,1) // Version information on BRAT }; #endif //____________________________________________________________________ // // $Log: BrVersion.h,v $ // Revision 1.2 2001/06/25 14:24:10 cholm // packages/ // // Revision 1.1.1.1 2001/06/21 14:54:58 hagel // Initial revision of brat2 // // Revision 1.1 2001/06/04 13:32:13 cholm // Warm-up for BRAT2. // Added file tag class. Added version class. Added path manager. // //