]> git.mxchange.org Git - simgear.git/blobdiff - simgear/props/props.hxx
Harald JOHNSEN:
[simgear.git] / simgear / props / props.hxx
index 092fc224d3ace2d15174353f55348fc4335ed6e6..9ce7df4bf52524d315366884ae72b97b292da427 100644 (file)
@@ -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.
   //