#include <iostream>
#include <vector>
+#include <creaWx.h>
+#include "wx/treectrl.h"
class modelCDMIProjectTreeNode
{
public:
- virtual ~modelCDMIProjectTreeNode(){}
+ virtual ~modelCDMIProjectTreeNode() {}
+ static bool CompareNodeItem(const modelCDMIProjectTreeNode& x, const modelCDMIProjectTreeNode& y);
+
+ const wxTreeItemId& GetId() const;
const std::string& GetPath() const;
const std::string& GetName() const;
const unsigned char& GetType() const;
const int& GetLevel() const;
const std::vector<modelCDMIProjectTreeNode*>& GetChildren() const;
+ void SetId(const wxTreeItemId& id);
void SetChildren(const std::vector<modelCDMIProjectTreeNode*>& children);
- const bool& Refresh(std::string*& result);
- const bool& OpenInFileExplorer(std::string*& result) const;
+ virtual const bool Refresh(std::string*& result);
+ const bool OpenInFileExplorer(std::string*& result) const;
protected:
+ wxTreeItemId id;
std::string path;
std::string name;
unsigned char type;