In Reset method of folders. Support folder members are ignored currently.
Reset method of support folder member had better to be called.
In addition, isModified() should check if the member support folders were modified.
For example
class A : public TObject
{
protected:
TypeB* B;
TClonesArray* C;
.
.
public:
A() {
B = 0;
C = 0;
};
.
.
.
void Reset() {
int i;
fModified = false;
if(B) B->Reset();
if(C) for(i=0;i<C->GetEntries();i++) { ((TypeC*)C->At(i))->Reset(); }
};
ClassDef(A,1)
}; |