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 virtual ~TPaveClass();
33
34 void Copy(TObject &PaveVar) const;
35 virtual void DrawClasses(const char *classes="this"); // *MENU*
37 virtual void SaveAs(const char *filename="",Option_t *option="") const; // *MENU*
38 virtual void SavePrimitive(std::ostream &out, Option_t *option = "");
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 ClassDef(TPaveClass,1) //A TPaveLabel specialized for TClassTree objects
46};
47
48#endif
static const double x2[5]
static const double x1[5]
double Double_t
Definition RtypesCore.h:59
const char Option_t
Definition RtypesCore.h:66
#define ClassDef(name, id)
Definition Rtypes.h:325
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
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.
virtual ~TPaveClass()
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.
virtual void SaveAs(const char *filename="", Option_t *option="") const
Save as.
TClassTree * GetClassTree() const
Definition TPaveClass.h:36
virtual void SetClassTree(TClassTree *classtree)
Definition TPaveClass.h:42
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
A Pave (see TPave) with a text centered in the Pave.
Definition TPaveLabel.h:20