Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TPaveClass.h
Go to the documentation of this file.
1// @(#)root/gpad:$Id$
2// Author: Rene Brun 06/08/99
3
4/*************************************************************************
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
13
14
15#include "TPaveLabel.h"
16
17#ifdef R__LESS_INCLUDES
18class TClassTree;
19#else
20#include "TClassTree.h"
21#endif
22
23class TPaveClass : public TPaveLabel {
24
25protected:
26 TClassTree *fClassTree; ///< Pointer to the TClassTree referencing this object
27
28public:
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 ~TPaveClass() override;
33
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*
44
45 ClassDefOverride(TPaveClass,1) //A TPaveLabel specialized for TClassTree objects
46};
47
48#endif
const char Option_t
Definition RtypesCore.h:66
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
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.
virtual void ShowLinks(Option_t *option="HMR")
Set link options in the ClassTree object.
virtual void ShowClassesUsedBy(const char *classes="this")
Show classes used by.
virtual void DrawClasses(const char *classes="this")
Draw classes.
TPaveClass()
PaveClass default constructor.
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save primitive as a C++ statement(s) on output stream out.
~TPaveClass() override
PaveClass default destructor.
TClassTree * fClassTree
Pointer to the TClassTree referencing this object.
Definition TPaveClass.h:26
virtual void ShowClassesUsing(const char *classes="this")
Show classes using.
virtual void SetClasses(const char *classes="this", Option_t *option="ID")
Set classes.
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.
A Pave (see TPave) with a text centered in the Pave.
Definition TPaveLabel.h:20