]> Creatis software - crea.git/blob - lib/creaDevManagerLib/ModelCreaDevManagerTreeNode.h
0cf4a56241d7d10f0b66c9cd132bcce72bbdc489
[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
15
16 class ModelCreaDevManagerTreeNode
17 {
18   public:
19     ModelCreaDevManagerTreeNode(std::string path, std::string name, unsigned char type, int level);
20     ~ModelCreaDevManagerTreeNode();
21
22     std::string GetPath();
23     std::string GetName();
24     unsigned char GetType();
25     int GetLevel();
26     std::vector<ModelCreaDevManagerTreeNode>& GetChildren();
27
28     void SetChildren(std::vector<ModelCreaDevManagerTreeNode>& children);
29
30
31   private:
32     std::string _path;
33     std::string _name;
34     unsigned char _type;
35     int _level;
36     std::vector<ModelCreaDevManagerTreeNode> _children;
37
38 };
39
40 #endif /* MODELCREADEVMANAGERTREENODE_H_ */