Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/Go4Analysis/TGo4Version.h

Go to the documentation of this file.
00001 //---------------------------------------------------------------
00002 //        Go4 Release Package v2.10-5 (build 21005) 
00003 //                      03-Nov-2005
00004 //---------------------------------------------------------------
00005 //       The GSI Online Offline Object Oriented (Go4) Project
00006 //       Experiment Data Processing at DVEE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 #ifndef TGO4VERSION_H
00017 #define TGO4VERSION_H
00018 
00019 #include "Rtypes.h"
00020 
00021 // This central definition will set the current Go4 Build Version
00022 // will be used by TGo4Analysis (dynamic) and TGo4Version (static) singletons
00023 // to check the user analysis against framework version on runtime
00024 // 10205 means Version 1.02.05 or release number  1.2-5,
00025 #define __GO4BUILDVERSION__ 21005
00026 #define __GO4RELEASE__ "v2.10-5"
00027 
00028 class TGo4Version {
00029    protected:
00030       TGo4Version();
00031       
00032    public:
00033    
00034       virtual ~TGo4Version();
00035 
00036       static TGo4Version * Instance();
00037 
00040       Bool_t CheckVersion(Int_t version);
00041 
00043       Int_t GetBuildVersion() const;
00044 
00045    private:
00049       static const Int_t fgiGO4VERSION;
00050 
00051       static TGo4Version * fxInstance;
00052 
00053 };
00054 
00055 #endif //TGO4VERSION_H
00056 
00057 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Tue Nov 8 10:55:49 2005 for Go4-v2.10-5 by doxygen1.2.15