namespace tree
{
/**
- * \ingroup Model
- */
+ * \ingroup Tree
+ */
//=====================================================================
- /// Abstract class to store user data on a tree
+ /// Abstract class to store user data on a Tree
struct TreeData
{
TreeData() {}
//=====================================================================
//=====================================================================
- /// An attributed tree structure
- /**
+ /// An attributed Tree structure
+ /** \ingroup Tree
*/
class Tree : public Node
{
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;