]> Creatis software - crea.git/blob - lib/creaDevManagerLib/ModelCreaDevManagerTreeNode.h
442dd58afc313f9e5d9499c323e934e24810a78c
[crea.git] / lib / creaDevManagerLib / ModelCreaDevManagerTreeNode.h
1 /*
2  * ModelCreaDevManagerTreeNode.h
3  *
4  *  Created on: 22/10/2012
5  *      Author: daniel
6  */
7
8 #ifndef MODELCREADEVMANAGERTREENODE_H_
9 #define MODELCREADEVMANAGERTREENODE_H_
10
11 #include <vector>
12 #include <iostream>
13
14 using namespace std;
15
16 class ModelCreaDevManagerTreeNode
17 {
18   public:
19     ModelCreaDevManagerTreeNode(string path, string name, unsigned char type, int level);
20     ~ModelCreaDevManagerTreeNode();
21
22     string GetPath();
23     string GetName();
24     unsigned char GetType();
25     int GetLevel();
26     vector<ModelCreaDevManagerTreeNode>& GetChildren();
27
28     void SetChildren(vector<ModelCreaDevManagerTreeNode>& children);
29
30
31   private:
32     string _path;
33     string _name;
34     unsigned char _type;
35     int _level;
36     vector<ModelCreaDevManagerTreeNode> _children;
37
38 };
39
40 #endif /* MODELCREADEVMANAGERTREENODE_H_ */