TClassTable Class Reference

#include <TClassTable.h>

Inheritance diagram for TClassTable:

TObject TObject List of all members.

Public Types

enum  
enum  

Public Member Functions

 ~TClassTable ()
int Classes ()
void Print (Option_t *option="") const
 ~TClassTable ()
int Classes ()
void Print (Option_t *option="") const

Static Public Member Functions

static void Add (const char *cname, Version_t id, const type_info &info, VoidFuncPtr_t dict, Int_t pragmabits)
static char * At (int index)
static Version_t GetID (const char *cname)
static Int_t GetPragmaBits (const char *name)
static VoidFuncPtr_t GetDict (const char *cname)
static VoidFuncPtr_t GetDict (const type_info &info)
static void Init ()
static char * Next ()
static void PrintTable ()
static void Remove (const char *cname)
static void Terminate ()
static void Add (const char *cname, Version_t id, const type_info &info, VoidFuncPtr_t dict, Int_t pragmabits)
static char * At (int index)
static Version_t GetID (const char *cname)
static Int_t GetPragmaBits (const char *name)
static VoidFuncPtr_t GetDict (const char *cname)
static VoidFuncPtr_t GetDict (const type_info &info)
static void Init ()
static char * Next ()
static void PrintTable ()
static void Remove (const char *cname)
static void Terminate ()

Private Types

typedef ROOT::TMapTypeToClassRec IdMap_t
typedef ROOT::TMapTypeToClassRec IdMap_t

Private Member Functions

 TClassTable ()
 TClassTable ()

Static Private Member Functions

static TClassRecFindElementImpl (const char *cname, Bool_t insert)
static TClassRecFindElement (const char *cname, Bool_t insert=kFALSE)
static void SortTable ()
static TClassRecFindElementImpl (const char *cname, Bool_t insert)
static TClassRecFindElement (const char *cname, Bool_t insert=kFALSE)
static void SortTable ()

Static Private Attributes

static TClassRec ** fgTable
static TClassRec ** fgSortedTable
static IdMap_tfgIdMap
static int fgSize
static int fgTally
static Bool_t fgSorted
static int fgCursor
static TClassRec ** fgTable
static TClassRec ** fgSortedTable
static IdMap_tfgIdMap

Friends

void ResetClassVersion (TClass *, const char *, Short_t)
void ResetClassVersion (TClass *, const char *, Short_t)

Detailed Description

Definition at line 46 of file TClassTable.h.


Member Typedef Documentation

typedef ROOT::TMapTypeToClassRec TClassTable::IdMap_t [private]

Definition at line 51 of file TClassTable.h.

typedef ROOT::TMapTypeToClassRec TClassTable::IdMap_t [private]

Definition at line 51 of file TClassTable.h.


Member Enumeration Documentation

anonymous enum

Definition at line 69 of file TClassTable.h.

anonymous enum

Definition at line 69 of file TClassTable.h.


Constructor & Destructor Documentation

TClassTable::TClassTable (  )  [private]

Definition at line 148 of file TClassTable.cxx.

References fgIdMap, fgSize, fgTable, and gClassTable.

TClassTable::~TClassTable (  ) 

Definition at line 162 of file TClassTable.cxx.

References fgIdMap, fgSize, fgSortedTable, fgTable, TClassRec::fName, gClassTable, and i.

TClassTable::TClassTable (  )  [private]

TClassTable::~TClassTable (  ) 


Member Function Documentation

TClassRec * TClassTable::FindElementImpl ( const char *  cname,
Bool_t  insert 
) [static, private]

Definition at line 325 of file TClassTable.cxx.

References fgSize, fgTable, if(), and p.

Referenced by Add(), and FindElement().

TClassRec * TClassTable::FindElement ( const char *  cname,
Bool_t  insert = kFALSE 
) [static, private]

Definition at line 357 of file TClassTable.cxx.

References fgTable, FindElementImpl(), TClassEdit::kDropStlDefault, TClassEdit::kLong64, and TClassEdit::TSplitType::ShortType().

Referenced by GetDict(), GetID(), GetPragmaBits(), and ROOT::ResetClassVersion().

void TClassTable::SortTable (  )  [static, private]

Definition at line 483 of file TClassTable.cxx.

References ClassComp(), fgSize, fgSorted, fgSortedTable, fgTable, fgTally, i, j, and kTRUE.

Referenced by At(), Init(), Print(), and PrintTable().

void TClassTable::Add ( const char *  cname,
Version_t  id,
const type_info &  info,
VoidFuncPtr_t  dict,
Int_t  pragmabits 
) [static]

Definition at line 249 of file TClassTable.cxx.

References fgIdMap, fgSorted, fgTally, FindElementImpl(), gClassTable, TClassEdit::TSplitType::IsSTLCont(), TClassEdit::kDropStlDefault, kFALSE, TClassEdit::kLong64, kTRUE, name, TClassEdit::TSplitType::ShortType(), StrDup(), and TObject::Warning().

Referenced by ROOT::AddClass(), G__G__Cont_135_0_5(), and G__setup_memfuncTClassTable().

char * TClassTable::At ( int  index  )  [static]

Definition at line 226 of file TClassTable.cxx.

References fgSortedTable, fgTally, and SortTable().

Referenced by G__G__Cont_135_0_6(), and G__setup_memfuncTClassTable().

int TClassTable::Classes (  ) 

Definition at line 242 of file TClassTable.cxx.

References fgTally.

Referenced by THtml::CreateListOfClasses(), and TClassTree::Init().

Version_t TClassTable::GetID ( const char *  cname  )  [static]

Definition at line 374 of file TClassTable.cxx.

References FindElement().

Referenced by G__G__Cont_135_0_8(), and G__setup_memfuncTClassTable().

Int_t TClassTable::GetPragmaBits ( const char *  name  )  [static]

Definition at line 384 of file TClassTable.cxx.

References FindElement().

Referenced by G__G__Cont_135_0_9(), and G__setup_memfuncTClassTable().

VoidFuncPtr_t TClassTable::GetDict ( const char *  cname  )  [static]

Definition at line 394 of file TClassTable.cxx.

References fgIdMap, FindElement(), gDebug, and TObject::Info().

Referenced by RooWorkspace::CodeRepo::compileClasses(), dt_MakeRef(), dt_RunDrawTest(), G__G__Cont_135_0_10(), G__G__Cont_135_0_11(), G__setup_memfuncTClassTable(), TClass::GetClass(), TClass::GetDict(), TApplication::InitializeGraphics(), TROOT::LoadClass(), stress8(), TApplication::TApplication(), and tree4r().

VoidFuncPtr_t TClassTable::GetDict ( const type_info &  info  )  [static]

Definition at line 410 of file TClassTable.cxx.

References fgIdMap, gDebug, and TObject::Info().

void TClassTable::Init (  )  [static]

Definition at line 244 of file TClassTable.cxx.

References fgCursor, and SortTable().

Referenced by THtml::CreateListOfClasses(), G__G__Cont_135_0_12(), G__setup_memfuncTClassTable(), and TClassTree::Init().

char * TClassTable::Next (  )  [static]

Definition at line 437 of file TClassTable.cxx.

References fgCursor, fgSortedTable, and fgTally.

Referenced by THtml::CreateListOfClasses(), G__G__Cont_135_0_13(), G__setup_memfuncTClassTable(), and TClassTree::Init().

void TClassTable::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TObject.

Definition at line 184 of file TClassTable.cxx.

References fgSortedTable, fgTable, fgTally, TClass::GetClass(), i, kFALSE, kNPOS, kTRUE, n, Printf(), s, and SortTable().

void TClassTable::PrintTable (  )  [static]

Definition at line 451 of file TClassTable.cxx.

References fgSortedTable, fgTable, fgTally, TClass::GetClass(), i, kFALSE, n, Printf(), and SortTable().

Referenced by G__G__Cont_135_0_15(), and G__setup_memfuncTClassTable().

void TClassTable::Remove ( const char *  cname  )  [static]

Definition at line 291 of file TClassTable.cxx.

References fgIdMap, fgSize, fgSorted, fgTable, fgTally, gClassTable, if(), kFALSE, and p.

Referenced by G__G__Cont_135_0_16(), G__setup_memfuncTClassTable(), and ROOT::RemoveClass().

void TClassTable::Terminate (  )  [static]

Definition at line 502 of file TClassTable.cxx.

References fgIdMap, fgSize, fgSortedTable, fgTable, gClassTable, i, SafeDelete, and t.

Referenced by G__G__Cont_135_0_17(), and G__setup_memfuncTClassTable().

static TClassRec* TClassTable::FindElementImpl ( const char *  cname,
Bool_t  insert 
) [static, private]

static TClassRec* TClassTable::FindElement ( const char *  cname,
Bool_t  insert = kFALSE 
) [static, private]

static void TClassTable::SortTable (  )  [static, private]

static void TClassTable::Add ( const char *  cname,
Version_t  id,
const type_info &  info,
VoidFuncPtr_t  dict,
Int_t  pragmabits 
) [static]

static char* TClassTable::At ( int  index  )  [static]

int TClassTable::Classes (  ) 

static Version_t TClassTable::GetID ( const char *  cname  )  [static]

static Int_t TClassTable::GetPragmaBits ( const char *  name  )  [static]

static VoidFuncPtr_t TClassTable::GetDict ( const char *  cname  )  [static]

static VoidFuncPtr_t TClassTable::GetDict ( const type_info &  info  )  [static]

static void TClassTable::Init (  )  [static]

static char* TClassTable::Next (  )  [static]

void TClassTable::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TObject.

static void TClassTable::PrintTable (  )  [static]

static void TClassTable::Remove ( const char *  cname  )  [static]

static void TClassTable::Terminate (  )  [static]


Friends And Related Function Documentation

void ResetClassVersion ( TClass cl,
const char *  cname,
Short_t  newid 
) [friend]

Definition at line 536 of file TClassTable.cxx.

void ResetClassVersion ( TClass cl,
const char *  cname,
Short_t  newid 
) [friend]

Definition at line 536 of file TClassTable.cxx.


Member Data Documentation

TClassRec ** TClassTable::fgTable [static, private]

Definition at line 53 of file TClassTable.h.

Referenced by FindElement(), FindElementImpl(), Print(), PrintTable(), Remove(), SortTable(), TClassTable(), Terminate(), and ~TClassTable().

TClassRec ** TClassTable::fgSortedTable [static, private]

Definition at line 54 of file TClassTable.h.

Referenced by At(), Next(), Print(), PrintTable(), SortTable(), Terminate(), and ~TClassTable().

TClassTable::IdMap_t * TClassTable::fgIdMap [static, private]

Definition at line 55 of file TClassTable.h.

Referenced by Add(), GetDict(), Remove(), TClassTable(), Terminate(), and ~TClassTable().

static int TClassTable::fgSize [static, private]

Definition at line 56 of file TClassTable.h.

Referenced by FindElementImpl(), Remove(), SortTable(), TClassTable(), Terminate(), and ~TClassTable().

static int TClassTable::fgTally [static, private]

Definition at line 57 of file TClassTable.h.

Referenced by Add(), At(), Classes(), Next(), Print(), PrintTable(), Remove(), and SortTable().

static Bool_t TClassTable::fgSorted [static, private]

Definition at line 58 of file TClassTable.h.

Referenced by Add(), Remove(), and SortTable().

static int TClassTable::fgCursor [static, private]

Definition at line 59 of file TClassTable.h.

Referenced by Init(), and Next().

TClassRec** TClassTable::fgTable [static, private]

Definition at line 53 of file TClassTable.h.

TClassRec** TClassTable::fgSortedTable [static, private]

Definition at line 54 of file TClassTable.h.

IdMap_t* TClassTable::fgIdMap [static, private]

Definition at line 55 of file TClassTable.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:35:36 2011 for ROOT_528-00b_version by  doxygen 1.5.1