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;
68 virtual void SetSourceDir(
const char *dir=
"src") {fSourceDir = dir;}
TString fClasses
List of classes to be drawn.
virtual ~TClassTree()
TClassTree default destructor.
virtual void FindClassesUsedBy(Int_t iclass)
Select all classes used/referenced by the class number iclass.
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 ls(Option_t *option="") const
list classes names and titles
Collectable string class.
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...
TString fSourceDir
Concatenated source directories.
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.
TString ** fCtitles
![fNclasses] class titles
Int_t fShowCod
if 1 show classes referenced by implementation
Int_t * fNdata
[fNclasses] Number of data members per class
TClassTree()
TClassTree default constructor.
virtual void ShowClassesUsing(const char *classes)
mark classes using any class in the list of classes in classes
TObjString * Mark(const char *classname, TList *los, Int_t abit)
set bit abit in class classname in list los
TString ** fCnames
![fNclasses] class names
virtual void Paint(Option_t *option="")
Draw the current class setting in fClasses and fStatus.
virtual void ShowMul()
Draw the Multiple inheritance relationships.
Float_t fLabelDx
width along x of TPaveLabels in per cent of pad
Int_t fShowMul
if 1 show multiple inheritance
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...
virtual void ShowClassesUsedBy(const char *classes)
mark classes used by the list of classes in classes
virtual void ShowLinks(Option_t *option="HMR")
Set link options in the ClassTree object.
virtual void ScanClasses(Int_t iclass)
Select all classes used by/referenced/referencing the class number iclass and build the list of these...
TClass ** fCpointer
![fNclasses] pointers to the TClass objects
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
virtual Int_t FindClass(const char *classname)
Find class number corresponding to classname in list of local classes.
virtual void SetSourceDir(const char *dir="src")
char ** fDerived
![fNclasses] table to indicate if i derives from j
virtual void SetLabelDx(Float_t labeldx=0.15)
Set the size along x of the TPaveLabel showing the class name.
Int_t fNclasses
current number of classes
Int_t * fParents
[fNclasses] parent number of classes (permanent)
Int_t fShowRef
if 1 show classes relationship other than inheritance
virtual void FindClassesUsing(Int_t iclass)
Select all classes using/referencing the class number iclass.
The ROOT global object gROOT contains a list of all defined classes.
virtual void ShowRef()
Draw the References relationships (other than inheritance or composition)
virtual void ShowCod()
Draw the Code References relationships.
virtual void Draw(const char *classes="")
Draw the inheritance tree and relations for the list of classes see this class header for the syntax ...
virtual void ShowHas()
Draw the "Has a" relationships.
Int_t fShowHas
if 1 show "has a" relationship
virtual const char * GetSourceDir() const
const char * GetClasses() const
TString ** fOptions
![fNclasses] List of options per class
Int_t * fCstatus
[fNclasses] classes status
virtual void PaintClass(Int_t iclass, Float_t xleft, Float_t y)
Paint one class level.
Float_t fYoffset
offset at top of picture in per cent of pad
Int_t * fCparent
!parent number of classes (temporary)
Draw inheritance tree and their relations for a list of classes.
const char * Data() const
virtual void Init()
Initialize the data structures.
TList ** fLinks
![fNclasses] for each class, the list of referenced(ing) classes