TMap in Persistant Custom Object

I’ve created a custom object with either a TMap or a TMap* as member. When I write an instance of this class to a file with the automatically generated streamer and read it back from disk, the TMap is empty in both cases. The map contains pointers to histograms stored in the same file as values and TObjStrings as keys. Is there a way to tell rootcint that the content of the map shall be saved to the file, too?

Cheers, J.

Finally I solved the (non existing) problem. Accitenditally I’ve set the Version to 0 ( ClassImpl(MyClass,0) ) , and only a dummy streamer was created. After setting the version to “1” everything works fine.