adding arrays of objects to a TMapFile

From: Stephen Markacs (stephen@cuphy3.phys.columbia.edu)
Date: Tue Mar 09 1999 - 21:18:20 MET


Is there a way to add an array of objects to a TMapFile?  I can't use
TObjArray or TClonesArray because they don't derive from TNamed.  I tried
to make my own object that derived from both TClonesArray and TNamed, but
ran into problems because they both derive from TObject and the compiler
complained the delete method was ambiguous because they both had one.  I
tried virtual inheritance to get around this, but it didn't work.  Is
there some straightforward way?


   S t e p h e n   M a r k a c s
   stephen@phys.columbia.edu
   http://phys.columbia.edu/~stephen/ 



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:30 MET