GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Go4Analysis
TGo4Version.cxx
Go to the documentation of this file.
1
// $Id: TGo4Version.cxx 932 2013-01-29 13:32:22Z linev $
2
//-----------------------------------------------------------------------
3
// The GSI Online Offline Object Oriented (Go4) Project
4
// Experiment Data Processing at EE department, GSI
5
//-----------------------------------------------------------------------
6
// Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
7
// Planckstr. 1, 64291 Darmstadt, Germany
8
// Contact: http://go4.gsi.de
9
//-----------------------------------------------------------------------
10
// This software can be used under the license agreements as stated
11
// in Go4License.txt file which is part of the distribution.
12
//-----------------------------------------------------------------------
13
14
#include "
TGo4Version.h
"
15
16
#include "Riostream.h"
17
18
const
Int_t
TGo4Version::fgiGO4VERSION
=
__GO4BUILDVERSION__
;
19
20
TGo4Version
*
TGo4Version::fxInstance
= 0;
21
22
TGo4Version
*
TGo4Version::Instance
()
23
{
24
if
(
fxInstance
== 0)
25
fxInstance
=
new
TGo4Version
();
26
return
fxInstance
;
27
}
28
29
Int_t
TGo4Version::GetBuildVersion
()
30
{
31
return
fgiGO4VERSION
;
32
}
33
34
TGo4Version::TGo4Version
()
35
{
36
}
37
38
TGo4Version::~TGo4Version
()
39
{
40
}
41
42
Bool_t
TGo4Version::CheckVersion
(Int_t
version
)
43
{
44
//
45
if
(
fgiGO4VERSION
==version)
return
kTRUE;
46
47
std::cerr <<
" !!!! VERSION MISMATCH: \n\tUser Analysis Build \tVersion "
<<
fgiGO4VERSION
<< std::endl;
48
std::cerr <<
"\tdoes not match current \tVersion "
<< version << std:: endl;
49
return
kFALSE;
50
}
TGo4Version::GetBuildVersion
static Int_t GetBuildVersion()
Definition:
TGo4Version.cxx:29
TGo4Version::fxInstance
static TGo4Version * fxInstance
Definition:
TGo4Version.h:50
TGo4Version::CheckVersion
static Bool_t CheckVersion(Int_t version)
Definition:
TGo4Version.cxx:42
TGo4Version::~TGo4Version
virtual ~TGo4Version()
Definition:
TGo4Version.cxx:38
TGo4Version
Definition:
TGo4Version.h:27
TGo4Version::TGo4Version
TGo4Version()
Definition:
TGo4Version.cxx:34
version
function GO4 version
Definition:
go4.js:11
TGo4Version.h
TGo4Version::fgiGO4VERSION
static const Int_t fgiGO4VERSION
Definition:
TGo4Version.h:48
__GO4BUILDVERSION__
#define __GO4BUILDVERSION__
Definition:
TGo4Version.h:24
TGo4Version::Instance
static TGo4Version * Instance()
Definition:
TGo4Version.cxx:22
Generated on Fri Oct 26 2018 08:34:50 for GSI Object Oriented Online Offline (Go4) by
1.8.8