I am writing a class derived from the TTask class. I plan to overwrite Write() so that the TList data member, fTasks, and its objects are is written with one key.
Can I code the default constructor is such a way that fTasks will initalize containing all the saved objects(in order) and still use the ROOT I/O?
I know that the default contructor cannot allocate memory, but I am uncertain as to how the TList and its objects work when written with a single key.
Let me know if, and why, this is a stupid question.
Thanks Rene.
If the keys are written individually does the TList still load the objects?
What happens if another program overwrites the object but not the list?