X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fprops%2Fprops.hxx;h=9ce7df4bf52524d315366884ae72b97b292da427;hb=68eb7031e2dce999d112d0164fa28d4b8d66922e;hp=9a3e4a7e315065109aac4ee6cc68149bb97c8ad9;hpb=84e87f0e8a649847285b42d43fcf9c64a9615653;p=simgear.git diff --git a/simgear/props/props.hxx b/simgear/props/props.hxx index 9a3e4a7e..9ce7df4b 100644 --- a/simgear/props/props.hxx +++ b/simgear/props/props.hxx @@ -707,25 +707,12 @@ public: /** - * Detach a child node from the tree and return guarded pointr to it. + * Remove a child node */ - SGPropertyNode_ptr detachChild (const char * name, int index = 0, + SGPropertyNode_ptr removeChild (const char * name, int index = 0, bool keep = true); - /** - * Remove a child node. Returns "true" if at least one node had to remain, - * because it was tied, aliased, or refcounted through SGPropertyNode_ptr. - */ - bool removeChild (const char * name, int index = 0); - - - /** - * Remove all children nodes, or all with a given name. - */ - bool removeChildren(const char * name = 0); - - // // Alias support. //