Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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#include "RVersion.h"
16
17/** \class TVersionCheck
18\ingroup Base
19
20Used to check if the shared library or plugin is compatible with
21the current version of ROOT.
22*/
23
25public:
26 TVersionCheck(int versionCode); // implemented in TSystem.cxx
27};
28
29namespace ROOT {
30namespace Internal {
32}
33}
34#endif
#define ROOT_VERSION_CODE
Definition RVersion.hxx:24
Used to check if the shared library or plugin is compatible with the current version of ROOT.
static TVersionCheck gVersionCheck(ROOT_VERSION_CODE)
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.