Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4Version.h

Go to the documentation of this file.
00001 //-------------------------------------------------------------
00002 //        Go4 Release Package v3.04-01 (build 30401)
00003 //                      28-November-2008
00004 //---------------------------------------------------------------
00005 //   The GSI Online Offline Object Oriented (Go4) Project
00006 //   Experiment Data Processing at EE 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 
00026 #define __GO4BUILDVERSION__ 30401
00027 #define __GO4RELEASE__ "v3.4-1"
00028 
00029 class TGo4Version {
00030    protected:
00031       TGo4Version();
00032 
00033    public:
00034 
00035       virtual ~TGo4Version();
00036 
00037       static TGo4Version * Instance();
00038 
00041       Bool_t CheckVersion(Int_t version);
00042 
00044       Int_t GetBuildVersion() const;
00045 
00046    private:
00050       static const Int_t fgiGO4VERSION;
00051 
00052       static TGo4Version * fxInstance;
00053 
00054 };
00055 
00056 #endif //TGO4VERSION_H
00057 
00058 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:04 2008 for Go4-v3.04-1 by  doxygen 1.4.2