/* * modelCDMIProjectTreeNode.h * * Created on: 13/11/2012 * Author: daniel */ #ifndef MODELCDMIPROJECTTREENODE_H_ #define MODELCDMIPROJECTTREENODE_H_ #include #include class modelCDMIProjectTreeNode { public: virtual ~modelCDMIProjectTreeNode(){} const std::string& GetPath() const { return this->path; } const std::string& GetName() const { return this->name; } const unsigned char& GetType() const { return this->type; } const int& GetLevel() const { return this->level; } const std::vector& GetChildren() const { return this->children; } void SetChildren(std::vector& children) { this->children.clear(); this->children = children; } protected: std::string path; std::string name; unsigned char type; int level; std::vector children; }; #endif /* MODELCDMIPROJECTTREENODE_H_ */