]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOTreeNode.h
correction sur la sélection.
[creaImageIO.git] / src2 / creaImageIOTreeNode.h
index d69051bbe89cdfadb65ac25060231e841fd5cc25..fca904ca53a216609933bf7459d121fed0cce84a 100644 (file)
@@ -12,7 +12,7 @@ namespace creaImageIO
   namespace tree
   {
          /**
-       * \ingroup Model
+       * \ingroup Tree
        */
     //=====================================================================
     /// Forward declaration of Tree
@@ -20,7 +20,7 @@ namespace creaImageIO
     //=====================================================================  
     
     //=====================================================================
-    /// Abstract class to store user data on a tree node
+    /// Abstract class to store user data on a Tree node
     struct NodeData
     { 
       NodeData() {}
@@ -30,7 +30,7 @@ namespace creaImageIO
 
 
     //=====================================================================
-    /// Node of an attributed tree structure
+    /// Node of an attributed Tree structure
     class Node
     {
     public:
@@ -81,7 +81,7 @@ namespace creaImageIO
       const ChildrenListType& GetChildrenList() const { return mChildren; }
 
       /// Remove the given children from the children list
-      void RemoveChildrenFromList(Node*);
+      int RemoveChildrenFromList(Node*);
 
 
       AttributeMapType& GetAttributeMap() { return mAttributeMap; }
@@ -94,8 +94,7 @@ namespace creaImageIO
       void UnsafeSetAttribute(const std::string& k, const std::string& v)
       { mAttributeMap[k] = v; }
     
-      const AttributeDescriptor& GetAttributeDescriptor(const std::string& k)
-       const;
+      const AttributeDescriptor& GetAttributeDescriptor(const std::string& k)const;
       //      { return GetTypeDescription().GetFieldDescription(k); }
 
 
@@ -112,7 +111,6 @@ namespace creaImageIO
       /// Sorts the children of the node 
       void SortChildren(const LexicographicalComparator&);
 
-
       virtual void Print() const;
       std::string GetLabel() const;
       /*