ROOT
master
Reference Guide
TClassGenerator.h
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, and al. *
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_TClassGenerator
13
#define ROOT_TClassGenerator
14
15
//////////////////////////////////////////////////////////////////////////
16
// //
17
// TClassGenerator //
18
// //
19
// Objects following this interface can be passed onto the TROOT object //
20
// to implement a user customized way to create the TClass objects. //
21
// //
22
//////////////////////////////////////////////////////////////////////////
23
24
#include "
TObject.h
"
25
26
class
TClass
;
27
28
class
TClassGenerator
:
public
TObject
{
29
30
protected
:
31
TClassGenerator
() :
TObject
() { }
32
virtual
~TClassGenerator
() { }
33
34
public
:
35
virtual
TClass
*
GetClass
(
const
char
* classname,
Bool_t
load) = 0;
36
virtual
TClass
*
GetClass
(
const
std::type_info& typeinfo,
Bool_t
load) = 0;
37
virtual
TClass
*
GetClass
(
const
char
* classname,
Bool_t
load,
Bool_t
silent);
38
virtual
TClass
*
GetClass
(
const
std::type_info& typeinfo,
Bool_t
load,
Bool_t
silent);
39
40
ClassDef
(
TClassGenerator
,1);
// interface for TClass generators
41
};
42
43
#endif
TClassGenerator::GetClass
virtual TClass * GetClass(const std::type_info &typeinfo, Bool_t load)=0
TClassGenerator::~TClassGenerator
virtual ~TClassGenerator()
Definition:
TClassGenerator.h:32
bool
TClassGenerator::GetClass
virtual TClass * GetClass(const char *classname, Bool_t load)=0
TClassGenerator
Objects following this interface can be passed onto the TROOT object to implement a user customized w...
Definition:
TClassGenerator.h:28
TObject.h
TClassGenerator::TClassGenerator
TClassGenerator()
Definition:
TClassGenerator.h:31
TClass
TClass instances represent classes, structs and namespaces in the ROOT type system.
Definition:
TClass.h:80
TObject
Mother of all ROOT objects.
Definition:
TObject.h:37
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:325
core
meta
inc
TClassGenerator.h
ROOT master - Reference Guide Generated on Thu Feb 25 2021 11:58:54 (GVA Time) using Doxygen 1.9.0