https://github.com/root-project/root
Revision e8566737a39516a4fd43d432e6df184b2ccf5d16 authored by Rene Brun on 30 March 2005, 21:09:19 UTC, committed by Rene Brun on 30 March 2005, 21:09:19 UTC
TBranch::fOffset stores permanently the offset of the data member in the
object.
When the branch is reloaded without the library, this offset might be
incorrect.
We introduce SetupAddresses (called by GetEntry and TTreeFormula) which
insures
the offset are correctly set.

In case of a fixed size char array nested inside a collection, the indexing
was inconsistent (It is drawn as a string but one of the inner mechanism was
still using the fixed size to calculate the index)

In case of string (like char* or char array) was within a collection,
the TFormLeafInfo 'chain' was incorrectly set (it was not using the
fact the branch has the address of the collection instead of the
addresses of the container of the collection).


git-svn-id: http://root.cern.ch/svn/root/trunk@11457 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 2b5ab1f
History
Tip revision: e8566737a39516a4fd43d432e6df184b2ccf5d16 authored by Rene Brun on 30 March 2005, 21:09:19 UTC
From Philippe:
Tip revision: e856673

back to top