Marcus (Marcus++at++multigenuunet.UU.NET)
Fri, 23 Sep 1994 10:19:50 PST
But Kent, cleanTree() does not create new nodes. It recursively:
[1] removes groups that have no children and
[2] collapses singleton group hierarchies (paths) from the bottom.
Apparently you find it useful, in case [2], to transfer the name of
the group being deleted into its (former and only) child.
Hmm ... so you're trying to preserve some set path? What about
the child's original name? It may have been important too?
Renaming like this could occur repeatly during the process,
leaving the ultimate child (say a pfDCS) with the name of the
top most group that was removed. What if said pfDCS's name
was important too?
I understand the need to track the nodes that cleanTree() is
removing from the hierarchy. My intention is to provide a
better loader callback facility that gives the user various
veto powers and node (subtree) substitution.
Regards,
Marcus Barnes, Member Technical Staff
MultiGen Inc., 1884 The Alameda, San Jose CA, 95126
PH: (408) 261 4118 FX: (408) 247 4329
EMAIL: multigen!marcus++at++uunet.UU.NET
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:33 PDT