adding arrays of objects to a TMapFile

Stephen Markacs (stephen@cuphy3.phys.columbia.edu)
Tue, 9 Mar 1999 15:18:20 -0500 (EST)


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/