> Do you think you could get a different result from looping over members and bases than what is stored in here? Does that not 
contradict our assumptions?

No, we must be getting the same result in both case.

However, as I mentioned, this conver 'only' GetCheckSum(0) there is 4 other valid input values and those will need
to be recalculated (that's yet another reason that moving to storing the TDataMember is 'better').

So the storing this value is 'just' superfluous (and/or could be used as for verification that things are somewhat
loaded back correctly).

Cheers,
Philippe.


On 4/28/14, 12:34 PM, karies wrote:
>
> In core/meta/inc/TProtoClass.h:
>
> > +#endif
> > +
> > +//////////////////////////////////////////////////////////////////////////
> > +//                                                                      //
> > +// TProtoClass                                                          //
> > +//                                                                      //
> > +// Stores enough data to create a TClass from a dictionary.             //
> > +//                                                                      //
> > +//////////////////////////////////////////////////////////////////////////
> > +
> > +class TProtoClass: public TNamed {
> > +public:
> > +   TList              *fRealData; // TRealData for members + bases
> > +   TList              *fBase;     // List of base classes
> > +   TListOfDataMembers *fData;     // List of data members
> > +   UInt_t              fCheckSum; // Checksum of data members and base classes
> Do you think you could get a different result from looping over members and bases than what is stored in here? Does that not 
> contradict our assumptions?
>
> —
> Reply to this email directly or view it on GitHub <https://github.com/karies/root/pull/74/files#r12057626>.
>