]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/modelCDMIProjectTreeNode.h
Feature #1711
[crea.git] / lib / creaDevManagerLib / modelCDMIProjectTreeNode.h
index 6d5c680f0dfca9b6c3336062a8a53f78690028f2..eca8088c93c981b6d3bb4d9453b9207c3952d435 100644 (file)
@@ -52,6 +52,8 @@ public:
   const std::string& GetName() const;
   const unsigned char& GetType() const;
   const int& GetLevel() const;
+  modelCDMIProjectTreeNode* GetParent() const;
+  std::vector<modelCDMIProjectTreeNode*> GetParents() const;
   const std::vector<modelCDMIProjectTreeNode*>& GetChildren() const;
   const int& GetLength();
   void SetId(const wxTreeItemId& id);
@@ -68,6 +70,7 @@ protected:
   unsigned char type;
   int level;
   int length;
+  modelCDMIProjectTreeNode* parent;
   std::vector<modelCDMIProjectTreeNode*> children;
 
 };