X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FcreaDevManagerLib%2FmodelCDMFile.cpp;h=dcafc8e1c8e0995babff83ef93376d0e6d294f69;hb=568ae730865efa12b53def3779d38067afd8963a;hp=039de4784d1e55e029e84429a73f7b6ea8a0d98b;hpb=cfa883d25e73975f73c20fefc1ec2c947d827938;p=crea.git diff --git a/lib/creaDevManagerLib/modelCDMFile.cpp b/lib/creaDevManagerLib/modelCDMFile.cpp index 039de47..dcafc8e 100644 --- a/lib/creaDevManagerLib/modelCDMFile.cpp +++ b/lib/creaDevManagerLib/modelCDMFile.cpp @@ -44,8 +44,10 @@ modelCDMFile::modelCDMFile() { } -modelCDMFile::modelCDMFile(const std::string& path, const std::string& name, const int& level) +modelCDMFile::modelCDMFile(modelCDMIProjectTreeNode* parent, const std::string& path, const std::string& name, const int& level) { + std::cout << "creating file: " + path + "\n"; + this->parent = parent; this->children.clear(); this->level = level; this->name = name; @@ -76,6 +78,7 @@ bool modelCDMFile::OpenFile(std::string*& result, const std::string& command) const bool modelCDMFile::Refresh(std::string*& result) { + //std::cout << "refreshing file " << this->name << std::endl; std::ifstream in((this->path).c_str()); if(!in.is_open()) {