[ROOT] Writing map<TString, TString> to root file

From: H.-Gerd Rosarius (rosarius@getit.de)
Date: Mon Feb 03 2003 - 08:17:50 MET


Hello Rooters,

I have some problems writing a simple map with
TString objects to my root file.

Although rootcint appears to parse maps correctly (there are no
error messages or warnings when rootcint parses a class deriving from
TObject that contains a map<TString, TString>),
the generated Streamer either doesn't write them to a file properly,
read them from a file properly, or both.
However, map::size() returns 0 after a read.

Any ideas or workarounds?

Thanks

--
H.-Gerd Rosarius



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET