X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FmodelCDMBlackBox.h;h=c58b16739dbbe887fea211dc7ffcc1a22393d4c7;hb=311bdcc514f85386f3bbbef9ff6a88bf69fd930f;hp=7c0bb089e65aa2d6e6f7c4b39a7cf7e21632a663;hpb=58e994c7ddc088821aa0f583354216c6376405c8;p=crea.git diff --git a/lib/creaDevManagerLib/modelCDMBlackBox.h b/lib/creaDevManagerLib/modelCDMBlackBox.h index 7c0bb08..c58b167 100644 --- a/lib/creaDevManagerLib/modelCDMBlackBox.h +++ b/lib/creaDevManagerLib/modelCDMBlackBox.h @@ -43,19 +43,25 @@ class modelCDMBlackBox : public modelCDMFolder { public: modelCDMBlackBox(); + modelCDMBlackBox(const std::string& path, const std::string& name, const int& level = 1); ~modelCDMBlackBox(); const std::string& GetNameBlackBox() const; const std::string& GetAuthors() const; - const std::string& GetAuthorsEmail() const; const std::string& GetCategories() const; const std::string& GetDescription() const; + modelCDMFile* GetHeaderFile() const; + modelCDMFile* GetSourceFile() const; + + bool SetNameBlackBox(const std::string& name, std::string*& result); bool SetAuthors(const std::string& authors, std::string*& result); - bool SetAuthorsEmail(const std::string& email, std::string*& result); bool SetCategories(const std::string& version, std::string*& result); bool SetDescription(const std::string& description, std::string*& result); + void SetHeaderFile(modelCDMFile* file); + void SetSourceFile(modelCDMFile* file); + bool OpenCxx(std::string*& result); bool OpenHxx(std::string*& result); @@ -64,9 +70,11 @@ public: private: std::string nameBlackBox; std::string authors; - std::string authorsEmail; std::string categories; std::string description; + + modelCDMFile* header; + modelCDMFile* source; }; #endif /* MODELCDMBLACKBOX_H_ */