Logo ROOT   6.12/07
Reference Guide
TClassGenerator.cxx
Go to the documentation of this file.
1 // @(#)root/base:$Id$
2 // Author: Philippe Canal 24/06/2003
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2003, 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 /** \class TClassGenerator
13 Objects following this interface can be passed onto the TROOT object
14 to implement a user customized way to create the TClass objects.
15 
16 Use TROOT::AddClassGenerator to register a concrete instance.
17 */
18 
19 
20 #include "TClassGenerator.h"
21 
23 
24 //////////////////////////////////////////////////////////////////////////
25 TClass *TClassGenerator::GetClass(const char* classname, Bool_t load, Bool_t /* silent */)
26 {
27  // Default implementation for backward compatibility ignoring the value of 'silent'
28  return GetClass(classname,load);
29 }
30 
31 //////////////////////////////////////////////////////////////////////////
32 TClass *TClassGenerator::GetClass(const std::type_info& typeinfo, Bool_t load, Bool_t /* silent */)
33 {
34  // Default implementation for backward compatibility ignoring the value of 'silent'
35  return GetClass(typeinfo,load);
36 }
bool Bool_t
Definition: RtypesCore.h:59
Objects following this interface can be passed onto the TROOT object to implement a user customized w...
The ROOT global object gROOT contains a list of all defined classes.
Definition: TClass.h:75
#define ClassImp(name)
Definition: Rtypes.h:359
virtual TClass * GetClass(const char *classname, Bool_t load)=0