Logo ROOT  
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
13Objects following this interface can be passed onto the TROOT object
14to implement a user customized way to create the TClass objects.
15
16Use TROOT::AddClassGenerator to register a concrete instance.
17*/
18
19
20#include "TClassGenerator.h"
21
23
24//////////////////////////////////////////////////////////////////////////
25TClass *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//////////////////////////////////////////////////////////////////////////
32TClass *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}
#define ClassImp(name)
Definition: Rtypes.h:361
Objects following this interface can be passed onto the TROOT object to implement a user customized w...
virtual TClass * GetClass(const char *classname, Bool_t load)=0
TClass instances represent classes, structs and namespaces in the ROOT type system.
Definition: TClass.h:80