source: trunk/MagicSoft/Mars/mbase/MStatusArray.h@ 8284

Last change on this file since 8284 was 8284, checked in by tbretz, 18 years ago
*** empty log message ***
File size: 1.4 KB
Line 
1#ifndef MARS_MStatusArray
2#define MARS_MStatusArray
3
4#ifndef ROOT_TObjArray
5#include <TObjArray.h>
6#endif
7
8class TClass;
9class TCanvas;
10class TVirtualPad;
11
12class MStatusDisplay;
13
14class MStatusArray : public TObjArray
15{
16private:
17 void SetCanDelete(const TCollection *list) const;
18 void PrintObjectsInPad(const TCollection *list, const TString &name, Int_t lvl=0) const;
19 TObject *FindObjectInPad(TVirtualPad *pad, const char *object, TClass *base) const;
20 TClass *GetClass(const char *name) const;
21
22public:
23 MStatusArray() : TObjArray() { }
24
25 TObject *DisplayIn(Option_t *o=0) const; // *MENU*
26 void DisplayIn(MStatusDisplay &d, const char *tab=0) const;
27 TObject *Display() const { return DisplayIn(); } // *MENU*
28
29 TCanvas *FindCanvas(const char *name) const;
30
31 TObject *FindObjectInCanvas(const char *object, const char *base, const char *canvas) const;
32 TObject *FindObjectInCanvas(const char *object, const char *canvas) const;
33
34 void Print(Option_t *o="") const;
35 void Print(Option_t *wildcard, Option_t *) const
36 {
37 Print(wildcard);
38 }
39
40 TObject *FindObject(const char *object, const char *base) const;
41 TObject *FindObject(const char *object) const;
42 TObject *FindObject(const TObject *) const { return 0; }
43
44 Int_t Read(const char *name=NULL);
45
46 ClassDef(MStatusArray, 0) // Helper class for status display
47};
48
49#endif
Note: See TracBrowser for help on using the repository browser.