ROOT
v6-20
Reference Guide
TVersionCheck.h
Go to the documentation of this file.
1
// @(#)root/base:$Id$
2
// Author: Fons Rademakers 9/5/2007
3
4
/*************************************************************************
5
* Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_TVersionCheck
13
#define ROOT_TVersionCheck
14
15
//////////////////////////////////////////////////////////////////////////
16
// //
17
// TVersionCheck //
18
// //
19
// Used to check if the shared library or plugin is compatible with //
20
// the current version of ROOT. //
21
// //
22
//////////////////////////////////////////////////////////////////////////
23
24
#include "
RVersion.h
"
25
26
class
TVersionCheck
{
27
public
:
28
TVersionCheck
(
int
versionCode);
// implemented in TSystem.cxx
29
};
30
31
namespace
ROOT
{
32
namespace
Internal {
33
static
TVersionCheck
gVersionCheck
(
ROOT_VERSION_CODE
);
34
}
35
}
36
#endif
RVersion.h
ROOT_VERSION_CODE
#define ROOT_VERSION_CODE
Definition:
RVersion.h:21
TVersionCheck
Definition:
TVersionCheck.h:26
TVersionCheck::TVersionCheck
TVersionCheck(int versionCode)
Register version of plugin library.
Definition:
TSystem.cxx:4354
ROOT::Internal::gVersionCheck
static TVersionCheck gVersionCheck(ROOT_VERSION_CODE)
ROOT
VSD Structures.
Definition:
StringConv.hxx:21
core
base
inc
TVersionCheck.h
ROOT v6-20 - Reference Guide Generated on Fri Apr 1 2022 00:19:41 (GVA Time) using Doxygen 1.9.4