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

From: H.-Gerd Rosarius (rosarius@getit.de)
Date: Fri Jan 31 2003 - 17:31:35 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
-----
GETIT - Gesellschaft für Technologie- und Informationstransfer mbH

                                             Fon: +49.231.9742.298
                                             Fax: +49.231.9742.356

Emil-Figge-Straße 76-80                        http://www.getit.de
44227 Dortmund                                mailto:info@getit.de



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