Logo ROOT  
Reference Guide
Go to the documentation of this file.
1// @(#)root/gpad:$Id$
2// Author: Rene Brun 06/08/99
5 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
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#ifndef ROOT_TPaveClass
12#define ROOT_TPaveClass
15#include "TPaveLabel.h"
18class TClassTree;
20#include "TClassTree.h"
23class TPaveClass : public TPaveLabel {
26 TClassTree *fClassTree; ///< Pointer to the TClassTree referencing this object
29 TPaveClass();
30 TPaveClass(Double_t x1, Double_t y1,Double_t x2 ,Double_t y2, const char *label, TClassTree *classtree);
31 TPaveClass(const TPaveClass &PaveVar);
32 virtual ~TPaveClass();
34 void Copy(TObject &PaveVar) const override;
35 virtual void DrawClasses(const char *classes="this"); // *MENU*
37 void SaveAs(const char *filename="",Option_t *option="") const override; // *MENU*
38 void SavePrimitive(std::ostream &out, Option_t *option = "") override;
39 virtual void SetClasses(const char *classes="this", Option_t *option="ID"); // *MENU*
40 virtual void ShowClassesUsedBy(const char *classes="this"); // *MENU*
41 virtual void ShowClassesUsing(const char *classes="this"); // *MENU*
42 virtual void SetClassTree(TClassTree *classtree) {fClassTree = classtree;}
43 virtual void ShowLinks(Option_t *option="HMR"); // *MENU*
45 ClassDefOverride(TPaveClass,1) //A TPaveLabel specialized for TClassTree objects
const char Option_t
Definition: RtypesCore.h:66
#define ClassDefOverride(name, id)
Definition: Rtypes.h:339
Option_t Option_t option
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
Option_t Option_t TPoint TPoint const char x2
Option_t Option_t TPoint TPoint const char x1
Option_t Option_t TPoint TPoint const char y2
Option_t Option_t TPoint TPoint const char y1
Draw inheritance tree and their relations for a list of classes.
Definition: TClassTree.h:22
Mother of all ROOT objects.
Definition: TObject.h:41
A TPaveLabel specialized to process classes inside a TClassTree.
Definition: TPaveClass.h:23
void Copy(TObject &PaveVar) const override
Copy this PaveClass to PaveClass.
Definition: TPaveClass.cxx:70
virtual void ShowLinks(Option_t *option="HMR")
Set link options in the ClassTree object.
Definition: TPaveClass.cxx:113
virtual void ShowClassesUsedBy(const char *classes="this")
Show classes used by.
Definition: TPaveClass.cxx:122
virtual void DrawClasses(const char *classes="this")
Draw classes.
Definition: TPaveClass.cxx:79
PaveClass default constructor.
Definition: TPaveClass.cxx:36
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save primitive as a C++ statement(s) on output stream out.
Definition: TPaveClass.cxx:142
virtual ~TPaveClass()
PaveClass default destructor.
Definition: TPaveClass.cxx:55
TClassTree * fClassTree
Pointer to the TClassTree referencing this object.
Definition: TPaveClass.h:26
virtual void ShowClassesUsing(const char *classes="this")
Show classes using.
Definition: TPaveClass.cxx:132
virtual void SetClasses(const char *classes="this", Option_t *option="ID")
Set classes.
Definition: TPaveClass.cxx:98
TClassTree * GetClassTree() const
Definition: TPaveClass.h:36
virtual void SetClassTree(TClassTree *classtree)
Definition: TPaveClass.h:42
void SaveAs(const char *filename="", Option_t *option="") const override
Save as.
Definition: TPaveClass.cxx:89
A Pave (see TPave) with a text centered in the Pave.
Definition: TPaveLabel.h:20