Logo ROOT   6.12/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 #include "TPaveLabel.h"
16 #include "TClassTree.h"
17 
18 
19 class TPaveClass : public TPaveLabel{
20 
21 protected:
22  TClassTree *fClassTree; ///< Pointer to the TClassTree referencing this object
23 
24 public:
25  TPaveClass();
26  TPaveClass(Double_t x1, Double_t y1,Double_t x2 ,Double_t y2, const char *label, TClassTree *classtree);
27  TPaveClass(const TPaveClass &PaveVar);
28  virtual ~TPaveClass();
29 
30  void Copy(TObject &PaveVar) const;
31  virtual void DrawClasses(const char *classes="this"); // *MENU*
32  TClassTree *GetClassTree() const {return fClassTree;}
33  virtual void SaveAs(const char *filename="",Option_t *option="") const; // *MENU*
34  virtual void SavePrimitive(std::ostream &out, Option_t *option = "");
35  virtual void SetClasses(const char *classes="this", Option_t *option="ID"); // *MENU*
36  virtual void ShowClassesUsedBy(const char *classes="this"); // *MENU*
37  virtual void ShowClassesUsing(const char *classes="this"); // *MENU*
38  virtual void SetClassTree(TClassTree *classtree) {fClassTree = classtree;}
39  virtual void ShowLinks(Option_t *option="HMR"); // *MENU*
40 
41  ClassDef(TPaveClass,1) //A TPaveLabel specialized for TClassTree objects
42 };
43 
44 #endif
A TPaveLabel specialized to process classes inside a TClassTree.
Definition: TPaveClass.h:19
TPaveClass()
PaveClass default constructor.
Definition: TPaveClass.cxx:34
TClassTree * fClassTree
Pointer to the TClassTree referencing this object.
Definition: TPaveClass.h:22
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:320
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:20
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:32
virtual void SetClassTree(TClassTree *classtree)
Definition: TPaveClass.h:38
Draw inheritance tree and their relations for a list of classes.
Definition: TClassTree.h:21