[ROOT] Re: saving pointers

From: Clark McGrew (clark.mcgrew@sunysb.edu)
Date: Fri Dec 21 2001 - 17:55:41 MET


My apologies for replying to my own message, but I accidentally
truncated the last paragraph.

On Fri, 2001-12-21 at 11:51, Clark McGrew wrote:
> At some point the parent class will be placed into a tree and saved to a
> file.  Are all of the self referential pointers written, and then
> restored when the classes is read?  Do I need to write a specialized
> streamer so that only one copy of d1, and d2 are saved to the file?  
> 
> In particular, before saving "(p->d2 == p->d1->fSibling)" is true.

After reading "p" from the file, is "p->d2" still equal to
"p->d1->fSibling"?  

Thanks and Merry Christmas,

Clark
-- 
Clark McGrew	                State University of New York, Stony Brook
(clark.mcgrew@sunysb.edu)	631-632-8299 (office)



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:13 MET