]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOTree.h
move directory
[creaImageIO.git] / src2 / creaImageIOTree.h
index 3a4ba0556a29cee0bbb889c825e1be87eb9bc4c1..de5b94a062c84b57a4b42f913e71ff6dcfbf44df 100644 (file)
@@ -8,9 +8,11 @@ namespace creaImageIO
 
   namespace tree
   {
-    
+    /**
+     * \ingroup Tree
+     */
     //=====================================================================
-    /// Abstract class to store user data on a tree
+    /// Abstract class to store user data on a Tree
     struct TreeData
     { 
       TreeData() {}
@@ -19,8 +21,8 @@ namespace creaImageIO
     //=====================================================================
     
     //=====================================================================
-    /// An attributed tree structure
-    /**
+    /// An attributed Tree structure
+    /** \ingroup Tree
      */
     class Tree : public Node
     {
@@ -48,22 +50,16 @@ namespace creaImageIO
       unsigned int GetNumberOfLevels() 
       { return GetDescriptor().GetNumberOfLevels(); }
 
-    /// Returns the LevelDescriptor of a given level (const ref)
+      /// Returns the LevelDescriptor of a given level (const ref)
       const LevelDescriptor& GetLevelDescriptor(int level) const
       { return GetDescriptor().GetLevelDescriptor(level); }
-      /// Returns the LevelDescriptor of a given level (ref)
-      LevelDescriptor& GetLevelDescriptor(int level) 
-      { return GetDescriptor().GetLevelDescriptor(level); }
 
       /// Returns the AttributeDescriptorList of a given level (const ref)
       const LevelDescriptor::AttributeDescriptorListType& 
       GetAttributeDescriptorList(int level) const
       { return GetDescriptor().GetAttributeDescriptorList(level); }
-      /// Returns the AttributeDescriptorList of a given level (ref)
-      LevelDescriptor::AttributeDescriptorListType& 
-      GetAttributeDescriptorList(int level) 
-      { return GetDescriptor().GetAttributeDescriptorList(level); }
   
+      virtual void Print() const;
 
     private:
       Descriptor mDescriptor;