Changeset 12858
- Timestamp:
- 02/06/12 20:23:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mbase/MParContainer.cc
r11432 r12858 726 726 void *MParContainer::DataMember(const char *member) 727 727 { 728 const Long_t off = IsA()->GetDataMemberOffset(member); 729 if (off>0) 730 return reinterpret_cast<char*>(this)+off; 728 TDataMember *m = IsA()->GetDataMember(member); 729 if (m) 730 { 731 const Long_t off = m->GetOffset(); 732 if (off>0) 733 return reinterpret_cast<char*>(this)+off; 734 } 731 735 732 736 *fLog << err << "Data member '" << member << "' not found in " << GetDescriptor() << endl;
Note:
See TracChangeset
for help on using the changeset viewer.