When I try to save a class object into a tree, how are the static members saved in the tree? Is only one copy saved in the tree, or every time when I fill the tree with the object, a copy will be save?
Hi,
The static data member are not saved. To save information that is semantically relevant for the whole tree use tree->GetUserInfo()->Add(…)
Cheers,
Philippe