source: trunk/MagicSoft/Mars/mbase/MPrint.h@ 992

Last change on this file since 992 was 991, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 840 bytes
Line 
1#ifndef MPRINT_H
2#define MPRINT_H
3
4#ifndef MAGIC_H
5#include "MAGIC.h"
6#endif
7
8#ifndef MTASK_H
9#include "MTask.h"
10#endif
11
12class MParList;
13
14class MPrint : public MTask
15{
16private:
17 const TObject *fObject; // pointer to container which has to be printed
18 TString fObjName; // given name to search for in the parameterlist
19 TString fOption; // Print option
20
21 void Init(const char *name, const char *title);
22
23public:
24 MPrint(const char *obj, const char *option="", const char *name=NULL, const char *title=NULL);
25 MPrint(const TObject *obj, const char *option="", const char *name=NULL, const char *title=NULL);
26
27 void SetOption(Option_t *option) { fOption = option; }
28
29 Bool_t PreProcess(MParList *pList);
30 Bool_t Process();
31
32 ClassDef(MPrint, 0) // Task to call Print() function
33};
34
35#endif
36
Note: See TracBrowser for help on using the repository browser.