Hi Rene, On Thu, Dec 06, 2001 at 09:46:02AM +0000, Rene Brun wrote: > Assuming > class Myclass { > int fSize; //current size of array fData > int fN; //effective length of array fData (<= fSize) > int* fData; //[fN] my variable length array > [...] > When reading, ROOT knows how to build the array again with the right size. ... and builds an array fData[] with size fN and the variable fSize does not represent the current size of the array any longer. Sorry, but that does not work at all. You have to adjust fSize to fN whenever the class is read! However, that was only an example. It will not effect my principle suggestions. Volker -- Dr. Volker Hejny Tel: 02461/616853 ** Institut f. Kernphysik Fax: 02461/613930 ** ---------------------------------------------------------------- ** ** --- Forschungszentrum Juelich GmbH, D-52425 Juelich **
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:11 MET