source: trunk/Mars/mdata/MDataValue.h@ 19344

Last change on this file since 19344 was 3572, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 660 bytes
Line 
1#ifndef MARS_MDataValue
2#define MARS_MDataValue
3
4#ifndef MARS_MData
5#include "MData.h"
6#endif
7
8class TArrayD;
9
10class MDataValue : public MData
11{
12private:
13 Double_t fValue;
14 Int_t fIndex;
15
16public:
17 MDataValue(Double_t v = 0, Int_t idx=-1) : fValue(v), fIndex(idx)
18 {
19 }
20
21 Double_t GetValue() const { return fValue; }
22 Bool_t PreProcess(const MParList *plist) { return kTRUE; }
23
24 Bool_t IsValid() const { return kTRUE; }
25 Bool_t IsReadyToSave() const { return kFALSE; }
26
27 TString GetRule() const;
28
29 void SetVariables(const TArrayD &arr);
30
31 ClassDef(MDataValue, 1) // MData object corresponding to a single value
32};
33
34#endif
Note: See TracBrowser for help on using the repository browser.