Saving a object derived from TObject

Hello,

My class has a pointer on a TObject as member and I use it to put derived object from TObject. My question is : If I save an object of my class into a root file, will the derived object be saved correctly in the file?

thanks

Hi,

Yes, it should.

Cheers,
Philippe