Container question

Florian Schopper (fls@ipp-garching.mpg.de)
Fri, 18 Sep 1998 14:59:14 +0200 (MET DST)


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.

thanks
Florian

----------------------------------------------------------------------
Florian Schopper office: Max-Plank-Institut fuer
extraterrestrische physik
Ludwig-Merk str. 3 Postfach 1603
80805 Muenchen Giessenbachstr.
phone: 49/89/3226157 Garching bei Muenchen

phone: 49/89/3299 3625
fax: 49/89/3299 3569
e-mail: fls@mpe-garching.mpg.de
http://wwwcn1.cern.ch/~fschoppe
----------------------------------------------------------------------
-----------------------------------------------------------------------