ehofman 24f908d9be Melchior FRANZ:
- introduce removeChildren() and removeChildren(name)  to remove all children
  or all with a given name
- let removeChild() and removeChildren() also remove child trees, and let them
  return a "dirty" boolean that indicates if one or more subnodes had to be
  kept because of refcounting (removeChild returned a SGPropertyNode_ptr before)
- make alias/unalias increase/decrease the refcounter
- don't remove refcounted or tied nodes

This patch makes the SGPropertyNode_ptr actually useful. Until today, they did
proper refcounting (except for aliases), but no other part did check this counter.

But SGPropertyNode_ptr aren't only useful for the first time, they are now
highly recommended for every place that relies on a node address, and wants
to "lock" it (so that removeChild(ren) will never try to remove them). This
is not guaranteed for SGPropertyNode* (and never was). Of course, that's not
an imminent problem, as only four places currently use removeChild(ren) and
these are careful to only remove their own data.
2005-06-27 13:49:28 +00:00
2005-06-27 13:49:28 +00:00
2004-04-04 14:24:06 +00:00
2005-02-15 18:13:15 +00:00
2000-02-09 19:27:02 +00:00
2005-06-25 11:22:06 +00:00
2004-12-15 16:34:14 +00:00
2003-06-11 18:55:36 +00:00
2004-10-12 14:35:42 +00:00
2005-01-18 14:34:13 +00:00
2001-12-17 16:52:20 +00:00
2002-09-02 22:18:31 +00:00
2002-05-10 13:31:44 +00:00
2000-03-29 00:00:46 +00:00
2002-09-07 02:58:19 +00:00

[ Nothing here at this time. ]
Description
No description provided
Readme 14 MiB
Languages
C++ 85.5%
C 13.1%
CMake 1.4%