]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOTreeNode.h
*** empty log message ***
[creaImageIO.git] / src2 / creaImageIOTreeNode.h
index a97925ec05b5b4e4f25493c29737b5847e4399d7..91bda3786bbe93e6c06a0499ca161f371da2ee5b 100644 (file)
@@ -11,13 +11,16 @@ namespace creaImageIO
 
   namespace tree
   {
+         /**
+       * \ingroup Model
+       */
     //=====================================================================
     /// Forward declaration of Tree
     class Tree;
     //=====================================================================  
     
     //=====================================================================
-    /// Abstract class to store user data on a tree node
+    /// Abstract class to store user data on a Tree node
     struct NodeData
     { 
       NodeData() {}
@@ -27,7 +30,7 @@ namespace creaImageIO
 
 
     //=====================================================================
-    /// Node of an attributed tree structure
+    /// Node of an attributed Tree structure
     class Node
     {
     public:
@@ -41,6 +44,8 @@ namespace creaImageIO
       /// Virtual destructor
       virtual ~Node();
 
+      /// Initializes the attribute map i.e. creates the entries
+      void InitializeAttributeMap();
  
       /// Returns the level descriptor of the node
       const LevelDescriptor& GetLevelDescriptor() const;
@@ -107,9 +112,10 @@ namespace creaImageIO
       /// Sorts the children of the node 
       void SortChildren(const LexicographicalComparator&);
 
-      /*
-     virtual void Print() const;
+
+      virtual void Print() const;
       std::string GetLabel() const;
+      /*
        int ImageGetRows() const;
        int ImageGetColumns() const;
        int ImageGetFrames() const;