00001 // @(#)root/base:$Id: TClassGenerator.cxx 30784 2009-10-17 08:17:45Z brun $ 00002 // Author: Philippe Canal 24/06/2003 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2003, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 ////////////////////////////////////////////////////////////////////////// 00013 // // 00014 // TClassGenerator // 00015 // // 00016 // Objects following this interface can be passed onto the TROOT object // 00017 // to implement a user customized way to create the TClass objects. // 00018 // // 00019 // Use TROOT::AddClassGenerator to register a concrete instance. // 00020 // // 00021 ////////////////////////////////////////////////////////////////////////// 00022 00023 00024 #include "TClassGenerator.h" 00025 00026 ClassImp(TClassGenerator); 00027 00028 ////////////////////////////////////////////////////////////////////////// 00029 TClass *TClassGenerator::GetClass(const char* classname, Bool_t load, Bool_t /* silent */) 00030 { 00031 // Default implementation for backward compatibility ignoring the value of 'silent' 00032 return GetClass(classname,load); 00033 } 00034 00035 ////////////////////////////////////////////////////////////////////////// 00036 TClass *TClassGenerator::GetClass(const type_info& typeinfo, Bool_t load, Bool_t /* silent */) 00037 { 00038 // Default implementation for backward compatibility ignoring the value of 'silent' 00039 return GetClass(typeinfo,load); 00040 }