]> Creatis software - crea.git/blob - lib/creaDevManagerLib/ModelCreaDevManagerTreeNode.h
Feature #1711
[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     const std::string& GetPath() const;
23     const std::string& GetName() const;
24     const unsigned char& GetType() const;
25     const int& GetLevel() const;
26     const std::vector<ModelCreaDevManagerTreeNode>& GetChildren() const;
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_ */