X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fprops%2Fprops.hxx;h=9ce7df4bf52524d315366884ae72b97b292da427;hb=68eb7031e2dce999d112d0164fa28d4b8d66922e;hp=092fc224d3ace2d15174353f55348fc4335ed6e6;hpb=fdd9bb1af626c02e562c63be14fc8da196c867ce;p=simgear.git diff --git a/simgear/props/props.hxx b/simgear/props/props.hxx index 092fc224..9ce7df4b 100644 --- a/simgear/props/props.hxx +++ b/simgear/props/props.hxx @@ -707,27 +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 the node and all subnodes could - * be removed, and "false" 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. True if all nodes - * were removed. - */ - bool removeChildren(const char * name = 0); - - // // Alias support. //