Christoph Borgmeier wrote: > Hi, > > how does TBranchObject store NULL pointers? It seems to me, that they are > simply ignored when reading a file, since the pointer like `event->fH' > remains always constant while the contents of the object it points to are > exchanged. > > Can I store NULL pointers or do I need a workaround for them? > In the version 1.03/07, I have implemented support for NULL pointers. If Root finds a NULL pointer in a TBranchObject, a Zombie object is written to the branch buffer. When reading back the branch, if a Zombie object is detected, it is deleted and the pointer set to NULL as in the producer. Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:22 MET