+bool modelCDMFolder::CreateClass(const std::string& name)
+{
+ if (!CDMUtilities::createEmptyClass(name, this->path))
+ {
+ return false;
+ }
+ else
+ {
+ this->children.push_back(new modelCDMFile(this, this->path + CDMUtilities::SLASH + name + ".h", name + ".h", this->level + 1));
+ this->children.push_back(new modelCDMFile(this, this->path + CDMUtilities::SLASH + name + ".cpp", name + ".cpp", this->level + 1));
+ this->SortChildren();
+ return true;
+ }
+}
+