5 #include <TDataMember.h>
25 *(Double_t*)addr = value;
35 return (addr ? *(Double_t*)addr : 0.0);
45 *(TString*)addr = value;
54 return (addr ? (TString*)addr : 0);
61 TList *dataList = gROOT->GetClass(ClassName())->GetListOfRealData();
65 while ((data=(TRealData*)next())) {
66 TDataMember *member = data->GetDataMember();
68 if (!strcmp(data->GetName(), vname) &&
69 !strcmp(member->GetFullTypeName(), vtype))
70 return (
char*)
this + member->GetOffset();