12#ifndef ROOT_TClassTree
13#define ROOT_TClassTree
60 virtual void Draw(
const char *classes =
"");
66 virtual void SaveAs(
const char *filename=
"",
Option_t *option=
"")
const;
#define ClassDef(name, id)
Draw inheritance tree and their relations for a list of classes.
virtual void ShowClassesUsedBy(const char *classes)
mark classes used by the list of classes in classes
virtual void Paint(Option_t *option="")
Draw the current class setting in fClasses and fStatus.
virtual void ShowHas()
Draw the "Has a" relationships.
virtual void ShowLinks(Option_t *option="HMR")
Set link options in the ClassTree object.
char ** fDerived
![fNclasses] table to indicate if i derives from j
virtual void ScanClasses(Int_t iclass)
Select all classes used by/referenced/referencing the class number iclass and build the list of these...
virtual void SetClasses(const char *classes, Option_t *option="ID")
Set the list of classes for which the hierarchy is to be drawn See Paint for the syntax.
Int_t * fCstatus
[fNclasses] classes status
Int_t fNclasses
current number of classes
virtual void PaintClass(Int_t iclass, Float_t xleft, Float_t y)
Paint one class level.
virtual void FindClassesUsing(Int_t iclass)
Select all classes using/referencing the class number iclass.
Int_t * fParents
[fNclasses] parent number of classes (permanent)
Int_t fShowRef
if 1 show classes relationship other than inheritance
virtual void Init()
Initialize the data structures.
TString ** fOptions
![fNclasses] List of options per class
Int_t fShowHas
if 1 show "has a" relationship
Int_t fShowCod
if 1 show classes referenced by implementation
Int_t * fCparent
!parent number of classes (temporary)
TString fSourceDir
Concatenated source directories.
virtual Int_t FindClass(const char *classname)
Find class number corresponding to classname in list of local classes.
virtual void SaveAs(const char *filename="", Option_t *option="") const
save current configuration in a Root file if filename is blank, the name of the file will be the curr...
TString ** fCtitles
![fNclasses] class titles
virtual void SetLabelDx(Float_t labeldx=0.15)
Set the size along x of the TPaveLabel showing the class name.
virtual ~TClassTree()
TClassTree default destructor.
virtual const char * GetSourceDir() const
virtual void SetYoffset(Float_t offset=0)
Set the offset at the top of the picture The default offset is computed automatically taking into acc...
virtual void SetSourceDir(const char *dir="src")
Float_t fLabelDx
width along x of TPaveLabels in per cent of pad
virtual void FindClassPosition(const char *classname, Float_t &x, Float_t &y)
Search the TPaveClass object in the pad with label=classname returns the x and y position of the cent...
virtual void ShowRef()
Draw the References relationships (other than inheritance or composition)
virtual void ShowCod()
Draw the Code References relationships.
TList ** fLinks
![fNclasses] for each class, the list of referenced(ing) classes
virtual void ShowMul()
Draw the Multiple inheritance relationships.
virtual void ls(Option_t *option="") const
list classes names and titles
virtual void ShowClassesUsing(const char *classes)
mark classes using any class in the list of classes in classes
TClassTree()
TClassTree default constructor.
Float_t fYoffset
offset at top of picture in per cent of pad
TClass ** fCpointer
![fNclasses] pointers to the TClass objects
virtual void FindClassesUsedBy(Int_t iclass)
Select all classes used/referenced by the class number iclass.
TString fClasses
List of classes to be drawn.
TObjString * Mark(const char *classname, TList *los, Int_t abit)
set bit abit in class classname in list los
Int_t fShowMul
if 1 show multiple inheritance
TString ** fCnames
![fNclasses] class names
const char * GetClasses() const
Int_t * fNdata
[fNclasses] Number of data members per class
TClass instances represent classes, structs and namespaces in the ROOT type system.
The TNamed class is the base class for all named ROOT classes.
Collectable string class.
const char * Data() const