Florian Schopper wrote: > > Dear Rooters, > > I want to use a linked list for Objects of my detector class. > Each Detector Object contains Objects of my Asic class. > > If I store the pointers to the asic objects in an array to fill > them with new data, will those pointers get lost once I add the > detectors to the list? > Is it worth to use this array of pointers or is it as fast > to look into the list? > > It might sound confusing but I couldn't figure it out clearer, sorry. > Florian, Adding an object to a Root container cannot modify other pointers pointing to this object. I do not understand perfectly what you try to do. May be a solution to your problem is a TObjArray? I need your object model and more explanations on what you try to implement. Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:38 MET