GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4Version Class Reference

#include <TGo4Version.h>

Public Member Functions

virtual ~TGo4Version ()
 

Static Public Member Functions

static Bool_t CheckVersion (Int_t version)
 Returns true if Version number matches the argument of the Method.
 
static Int_t GetBuildVersion ()
 Version number at build time of user analysis.
 
static TGo4VersionInstance ()
 

Protected Member Functions

 TGo4Version ()
 

Static Private Attributes

static const Int_t fgiGO4VERSION = __GO4BUILDVERSION__
 Version Number of the Go4 build.
 
static TGo4VersionfxInstance = nullptr
 

Detailed Description

Definition at line 27 of file TGo4Version.h.

Constructor & Destructor Documentation

◆ TGo4Version()

TGo4Version::TGo4Version ( )
protected

Definition at line 34 of file TGo4Version.cxx.

Referenced by Instance().

◆ ~TGo4Version()

TGo4Version::~TGo4Version ( )
virtual

Definition at line 38 of file TGo4Version.cxx.

Member Function Documentation

◆ CheckVersion()

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 TMeshAnalysis::TMeshAnalysis(), TXXXAnalysis::TXXXAnalysis(), TYYYAnalysis::TYYYAnalysis(), TGo4Analysis::Constructor(), and main().

◆ GetBuildVersion()

Int_t TGo4Version::GetBuildVersion ( )
static

Version number at build time of user analysis.

Definition at line 29 of file TGo4Version.cxx.

References fgiGO4VERSION.

◆ Instance()

TGo4Version * TGo4Version::Instance ( )
static

Definition at line 22 of file TGo4Version.cxx.

References TGo4Version(), and fxInstance.

Referenced by TGo4Analysis::Constructor().

Field Documentation

◆ fgiGO4VERSION

const Int_t TGo4Version::fgiGO4VERSION = __GO4BUILDVERSION__
staticprivate

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().

◆ fxInstance

TGo4Version * TGo4Version::fxInstance = nullptr
staticprivate

Definition at line 50 of file TGo4Version.h.

Referenced by Instance().


The documentation for this class was generated from the following files: