Re: [ROOT] TStreamerStl

From: Henk Jan Bulten (henkjan@nikhef.nl)
Date: Wed Oct 03 2001 - 13:47:04 MEST


Dear Rene,

I indeed had a multi-dimensional vector, which I needed because I
wanted to be able to resize an object with 3 indices. I am glad that
vector, list etc. are supported. I work around the limitation by putting
everything in a TObjArray with NX*NY*NZ elements, so there is a
(less elegant) way around.
Thanks for your response.

On Mon, 1 Oct 2001, Rene Brun wrote:

> Did you try to process your class through rootcint?
> In version 3.0, then 3.01, I added support for the most common use
> of STL. Not supported are things like vector < vector <...> >
> Only in these complex cases, you have to implement the Streamer function
> by hand.
> 
> Rene Brun
> 
> On Mon, 1 Oct 2001, Henk Jan Bulten wrote:
> 
> > I have some code using standard library containers and like to use it
> > in root. I suppose I have to write a streamer then, since std::vector
> > etc. is not a root type. There is an TStreamerStl method implemented
> > that I'd like to use, but I cannot find any documentation how to do so.
> > Can someone help me out?
> > 
> > Thanks,
> > Henk Jan Bulten
> > 
> 
> 



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:02 MET