Loading [MathJax]/extensions/tex2jax.js
ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
core
base
inc
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
#ifndef ROOT_RVersion
25
#include "
RVersion.h
"
26
#endif
27
28
class
TVersionCheck
{
29
public
:
30
TVersionCheck
(
int
versionCode);
// implemented in TSystem.cxx
31
};
32
33
#ifndef __CINT__
34
static
TVersionCheck
gVersionCheck
(
ROOT_VERSION_CODE
);
35
#endif
36
37
#endif
TVersionCheck::TVersionCheck
TVersionCheck(int versionCode)
Register version of plugin library.
Definition:
TSystem.cxx:4168
ROOT_VERSION_CODE
#define ROOT_VERSION_CODE
Definition:
RVersion.h:21
RVersion.h
TVersionCheck
Definition:
TVersionCheck.h:28
gVersionCheck
static TVersionCheck gVersionCheck(ROOT_VERSION_CODE)