Hello,
I want to store a TMap in a file via the TFile class but my map if made with pairs of strings and pointers on root objects.
So my question is : Will only the pointers be saved or also the objects pointed?
thanks
francois
Hello,
I want to store a TMap in a file via the TFile class but my map if made with pairs of strings and pointers on root objects.
So my question is : Will only the pointers be saved or also the objects pointed?
thanks
francois
The objects will bne saved too
Rene
Thank you Rene.
A last question : what append if I have a pointer on a stl::vector in a class (or other object not from root) and I store it using TFile? Will The stl::vector be also saved on the disk?
yes
Rene
Thank you very much.