Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
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