Changeset 2710 for trunk/MagicSoft/Mars/mdata
- Timestamp:
- 12/18/03 12:05:36 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mdata
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mdata/MDataMember.cc
r2173 r2710 63 63 fCall = call; 64 64 65 if (fCall->ReturnType()==TMethodCall::kLong) 66 SetBit(kIsInt); 67 else 68 ResetBit(kIsInt); 69 65 70 fDataMember = (TString)obj->GetName() + "." + call->GetName(); 66 71 } … … 77 82 fObject = obj; 78 83 fCall = obj->GetterMethod(call); 84 85 if (fCall->ReturnType()==TMethodCall::kLong) 86 SetBit(kIsInt); 87 else 88 ResetBit(kIsInt); 79 89 80 90 fDataMember = (TString)obj->GetName() + "." + call; -
trunk/MagicSoft/Mars/mdata/MDataMember.h
r1574 r2710 20 20 TMethodCall *fCall; 21 21 22 enum { kIsInt = BIT(14) }; 23 22 24 public: 23 25 MDataMember(const char *member=NULL) : fObject(NULL), fCall(NULL) … … 39 41 TString GetDataMember() const; 40 42 43 Bool_t IsInt() const { return TestBit(kIsInt); } 44 41 45 ClassDef(MDataMember, 1) // MData object corresponding to a single data member of a Mars container 42 46 };
Note:
See TracChangeset
for help on using the changeset viewer.