Logo ROOT   6.08/07
Reference Guide
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 #ifndef ROOT_TPaveLabel
16 #include "TPaveLabel.h"
17 #endif
18 #ifndef ROOT_TClassTree
19 #include "TClassTree.h"
20 #endif
21 
22 
23 class TPaveClass : public TPaveLabel{
24 
25 protected:
26  TClassTree *fClassTree; ///< Pointer to the TClassTree referencing this object
27 
28 public:
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*
36  TClassTree *GetClassTree() const {return fClassTree;}
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
A TPaveLabel specialized to process classes inside a TClassTree.
Definition: TPaveClass.h:23
TPaveClass()
PaveClass default constructor.
Definition: TPaveClass.cxx:34
TClassTree * fClassTree
Pointer to the TClassTree referencing this object.
Definition: TPaveClass.h:26
virtual ~TPaveClass()
PaveClass default destructor.
Definition: TPaveClass.cxx:53
const char Option_t
Definition: RtypesCore.h:62
static const double x2[5]
#define ClassDef(name, id)
Definition: Rtypes.h:254
virtual void ShowClassesUsing(const char *classes="this")
Show classes using.
Definition: TPaveClass.cxx:130
A Pave (see TPave) with a text centered in the Pave.
Definition: TPaveLabel.h:24
virtual void SetClasses(const char *classes="this", Option_t *option="ID")
Set classes.
Definition: TPaveClass.cxx:96
static const double x1[5]
virtual void DrawClasses(const char *classes="this")
Draw classes.
Definition: TPaveClass.cxx:77
double Double_t
Definition: RtypesCore.h:55
void Copy(TObject &PaveVar) const
Copy this PaveClass to PaveClass.
Definition: TPaveClass.cxx:68
virtual void SaveAs(const char *filename="", Option_t *option="") const
Save as.
Definition: TPaveClass.cxx:87
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
Definition: TPaveClass.cxx:140
Mother of all ROOT objects.
Definition: TObject.h:37
virtual void ShowLinks(Option_t *option="HMR")
Set link options in the ClassTree object.
Definition: TPaveClass.cxx:111
virtual void ShowClassesUsedBy(const char *classes="this")
Show classes used by.
Definition: TPaveClass.cxx:120
TClassTree * GetClassTree() const
Definition: TPaveClass.h:36
virtual void SetClassTree(TClassTree *classtree)
Definition: TPaveClass.h:42
Draw inheritance tree and their relations for a list of classes.
Definition: TClassTree.h:23