Logo ROOT  
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 
17 #ifdef R__LESS_INCLUDES
18 class TClassTree;
19 #else
20 #include "TClassTree.h"
21 #endif
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
TPaveClass::~TPaveClass
virtual ~TPaveClass()
PaveClass default destructor.
Definition: TPaveClass.cxx:55
TPaveClass::TPaveClass
TPaveClass()
PaveClass default constructor.
Definition: TPaveClass.cxx:36
TPaveClass::SaveAs
virtual void SaveAs(const char *filename="", Option_t *option="") const
Save as.
Definition: TPaveClass.cxx:89
TPaveClass::ShowLinks
virtual void ShowLinks(Option_t *option="HMR")
Set link options in the ClassTree object.
Definition: TPaveClass.cxx:113
TPaveClass::SetClasses
virtual void SetClasses(const char *classes="this", Option_t *option="ID")
Set classes.
Definition: TPaveClass.cxx:98
TClassTree.h
TPaveLabel.h
x1
static const double x1[5]
Definition: RooGaussKronrodIntegrator1D.cxx:346
TPaveClass::ShowClassesUsing
virtual void ShowClassesUsing(const char *classes="this")
Show classes using.
Definition: TPaveClass.cxx:132
TPaveClass::Copy
void Copy(TObject &PaveVar) const
Copy this PaveClass to PaveClass.
Definition: TPaveClass.cxx:70
Option_t
const typedef char Option_t
Definition: RtypesCore.h:66
TClassTree
Definition: TClassTree.h:21
TPaveClass
Definition: TPaveClass.h:23
TPaveClass::SavePrimitive
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
Definition: TPaveClass.cxx:142
TPaveLabel
Definition: TPaveLabel.h:20
TPaveClass::ShowClassesUsedBy
virtual void ShowClassesUsedBy(const char *classes="this")
Show classes used by.
Definition: TPaveClass.cxx:122
Double_t
double Double_t
Definition: RtypesCore.h:59
TPaveClass::DrawClasses
virtual void DrawClasses(const char *classes="this")
Draw classes.
Definition: TPaveClass.cxx:79
TObject
Definition: TObject.h:37
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
x2
static const double x2[5]
Definition: RooGaussKronrodIntegrator1D.cxx:364
TPaveClass::fClassTree
TClassTree * fClassTree
Pointer to the TClassTree referencing this object.
Definition: TPaveClass.h:32
TPaveClass::GetClassTree
TClassTree * GetClassTree() const
Definition: TPaveClass.h:42
TPaveClass::SetClassTree
virtual void SetClassTree(TClassTree *classtree)
Definition: TPaveClass.h:48