[ROOT] Saving a vector<string> in TFile.

From: Cyril Lachaud (lachaud@lpnhep.in2p3.fr)
Date: Fri Jun 29 2001 - 10:55:39 MEST


Hi all,
I'm trying to save a vector<string> in a TFile.

The first time it works correctly.
Then I need to get this vector from the
file, and to add a string. Till this point it works.
Then I want to save this new vector with the same key in the same file, to
do that I use:
 ->Write("",TObject::kOverwrite)
and then it does not work. The new string is not written, only the old
vector.
Is there something like size specification when using TObject::kOverwrite?

If you've got any answer ?

	Cyril Lachaud



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