X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src2%2FcreaImageIOTreeNode.h;h=3ca036274802fd72f3b22d8d2749ae55e9364f07;hb=2f0e50f69eb904d629cf8db62eb9a4094db93097;hp=2b18acd2ca1e8d3cb84fb6801ecef8ba24c73c79;hpb=74deda5137bba320405e3c4f50cc2a3f40a9dfc7;p=creaImageIO.git diff --git a/src2/creaImageIOTreeNode.h b/src2/creaImageIOTreeNode.h index 2b18acd..3ca0362 100644 --- a/src2/creaImageIOTreeNode.h +++ b/src2/creaImageIOTreeNode.h @@ -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: @@ -44,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; @@ -110,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;