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

Last change on this file since 1360 was 1348, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 1.1 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 MParContainer *fObject;
18 TMethodCall *fCall;
19
20public:
21 MDataMember(const char *member) : fObject(NULL), fCall(NULL)
22 {
23 fName = member;
24 }
25 MDataMember(MParContainer *obj, TMethodCall *call);
26 MDataMember(MParContainer *obj, const TString call);
27
28 Double_t GetValue() const;
29 Bool_t PreProcess(const MParList *plist);
30
31 Bool_t IsValid() const { return fCall ? kTRUE : kFALSE; }
32 Bool_t IsReadyToSave() const;
33
34 void Print(Option_t *opt = "") const;
35
36 ClassDef(MDataMember, 0) // MData object corresponding to a single data member of a Mars container
37};
38
39#endif
Note: See TracBrowser for help on using the repository browser.