Changeset 11432
- Timestamp:
- 07/18/11 09:30:07 (13 years ago)
- Location:
- trunk/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mbase/MParContainer.cc
r9578 r11432 724 724 } 725 725 726 void *MParContainer::DataMember(const char *member) 727 { 728 const Long_t off = IsA()->GetDataMemberOffset(member); 729 if (off>0) 730 return reinterpret_cast<char*>(this)+off; 731 732 *fLog << err << "Data member '" << member << "' not found in " << GetDescriptor() << endl; 733 return 0; 734 } 735 726 736 // -------------------------------------------------------------------------- 727 737 // -
trunk/Mars/mbase/MParContainer.h
r9578 r11432 115 115 116 116 virtual TMethodCall *GetterMethod(const char *name) const; 117 virtual void *DataMember(const char *name); 117 118 118 119 Bool_t WriteDataMember(ostream &out, const char *member, Double_t scale=1) const;
Note:
See TracChangeset
for help on using the changeset viewer.