source: trunk/MagicSoft/Mars/mdata/MDataMember.h@ 2553

Last change on this file since 2553 was 1574, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.2 KB
Line 
1#ifndef MARS_MDataMember
2#define MARS_MDataMember
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MDataMember //
7// //
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef MARS_MData
11#include "MData.h"
12#endif
13
14class MDataMember : public MData
15{
16private:
17 TString fDataMember;
18
19 MParContainer *fObject;
20 TMethodCall *fCall;
21
22public:
23 MDataMember(const char *member=NULL) : fObject(NULL), fCall(NULL)
24 {
25 fDataMember = member;
26 }
27
28 MDataMember(MParContainer *obj, TMethodCall *call);
29 MDataMember(MParContainer *obj, const TString call);
30
31 Double_t GetValue() const;
32 Bool_t PreProcess(const MParList *plist);
33
34 Bool_t IsValid() const { return fCall ? kTRUE : kFALSE; }
35 Bool_t IsReadyToSave() const;
36
37 //void Print(Option_t *opt = "") const;
38 TString GetRule() const;
39 TString GetDataMember() const;
40
41 ClassDef(MDataMember, 1) // MData object corresponding to a single data member of a Mars container
42};
43
44#endif
Note: See TracBrowser for help on using the repository browser.