Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Private Attributes

TGo4Version Class Reference

#include <TGo4Version.h>

List of all members.

Public Member Functions

virtual ~TGo4Version ()

Static Public Member Functions

static TGo4VersionInstance ()
static Bool_t CheckVersion (Int_t version)
static Int_t GetBuildVersion ()

Protected Member Functions

 TGo4Version ()

Static Private Attributes

static const Int_t fgiGO4VERSION = __GO4BUILDVERSION__
static TGo4VersionfxInstance = 0

Detailed Description

Definition at line 27 of file TGo4Version.h.


Constructor & Destructor Documentation

TGo4Version::TGo4Version (  )  [protected]

Definition at line 34 of file TGo4Version.cxx.

Referenced by Instance().

TGo4Version::~TGo4Version (  )  [virtual]

Definition at line 38 of file TGo4Version.cxx.


Member Function Documentation

Bool_t TGo4Version::CheckVersion ( Int_t  version  )  [static]

Returns true if Version number matches the argument of the Method.

Definition at line 42 of file TGo4Version.cxx.

References fgiGO4VERSION.

Referenced by TGo4Analysis::Constructor(), main(), TMeshAnalysis::TMeshAnalysis(), TXXXAnalysis::TXXXAnalysis(), and TYYYAnalysis::TYYYAnalysis().

Int_t TGo4Version::GetBuildVersion (  )  [static]

Version number at build time of user analysis.

Definition at line 29 of file TGo4Version.cxx.

References fgiGO4VERSION.

TGo4Version * TGo4Version::Instance (  )  [static]

Definition at line 22 of file TGo4Version.cxx.

References fxInstance, and TGo4Version().

Referenced by TGo4Analysis::Constructor().


Member Data Documentation

const Int_t TGo4Version::fgiGO4VERSION = __GO4BUILDVERSION__ [static, private]

Version Number of the Go4 build. Number 10000 means Version 1.00.00. Will be compared to the Version number in static Version singleton on runtime.

Definition at line 48 of file TGo4Version.h.

Referenced by CheckVersion(), and GetBuildVersion().

TGo4Version * TGo4Version::fxInstance = 0 [static, private]

Definition at line 50 of file TGo4Version.h.

Referenced by Instance().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines