Re: [ROOT] array of pointers

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Thu Aug 22 2002 - 22:36:08 MEST


Hi Tommaso, 

On Thu, 22 Aug 2002 21:33:40 +0200
Tommaso Chiarusi <Tommaso.Chiarusi@bo.infn.it> wrote
concerning "[ROOT] array of pointers":
> Dear rooters,
> ...

You may want to try something like the attached.   It's a templated
container class that stores tuples of data, with the additional
possibility of reading from a stream.   It's not a really clever class
though, so don't expect it to do miracles - it just shows a 
principle. 

I haven't tried it with ROOT, but in principle you should be able to
add the needed ClassDef and ClassImp yourself and do the instantations
you need, and it should work with CINT (I think).  

Yours, 

 ____ |  Christian Holm Christensen 
  |_| |	 -------------------------------------------------------------
    | |	 Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
     _|	          DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
    _|	          Denmark                    Office: (+45) 353  25 305
 ____|	 Email:   cholm@nbi.dk               Web:    www.nbi.dk/~cholm
 | |






This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:05 MET