]> Creatis software - crea.git/blob - lib/creaDevManagerLib/ModelCreaDevManagerTree.h
ebf067ea3dac0ae7515e6f7c11525b9c2d873082
[crea.git] / lib / creaDevManagerLib / ModelCreaDevManagerTree.h
1 /*
2  * ModelCreaDevManagerTree.h
3  *
4  *  Created on: 22/10/2012
5  *      Author: daniel
6  */
7
8 #ifndef MODELCREADEVMANAGERTREE_H_
9 #define MODELCREADEVMANAGERTREE_H_
10
11 #include <vector>
12 #include <iostream>
13 #include "ModelCreaDevManagerTreeNode.h"
14
15 using namespace std;
16
17 class ModelCreaDevManagerTree
18 {
19   public:
20     ModelCreaDevManagerTree();
21     ~ModelCreaDevManagerTree();
22
23
24     static bool CompareNodeItem(ModelCreaDevManagerTreeNode x, ModelCreaDevManagerTreeNode y);
25
26     void addRoot(string path);
27     void populateNode(string path);
28
29     vector<ModelCreaDevManagerTreeNode> projectRoots;
30   private:
31     void populateNode(ModelCreaDevManagerTreeNode& node);
32 };
33
34 #endif /* MODELCREADEVMANAGERTREE_H_ */