X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FmodelCDMBlackBox.h;h=c58b16739dbbe887fea211dc7ffcc1a22393d4c7;hb=752294dd30e2ee94f38be513d441f4716509ce13;hp=6755448723716dc7d2d9aee73f0b944db256ce74;hpb=e2223b619fa37daaf6103b34b39e789efc1a0b94;p=crea.git diff --git a/lib/creaDevManagerLib/modelCDMBlackBox.h b/lib/creaDevManagerLib/modelCDMBlackBox.h index 6755448..c58b167 100644 --- a/lib/creaDevManagerLib/modelCDMBlackBox.h +++ b/lib/creaDevManagerLib/modelCDMBlackBox.h @@ -37,34 +37,44 @@ #include -class modelCDMBlackBox +#include"modelCDMFolder.h" + +class modelCDMBlackBox : public modelCDMFolder { public: modelCDMBlackBox(); + modelCDMBlackBox(const std::string& path, const std::string& name, const int& level = 1); ~modelCDMBlackBox(); - const std::string& GetName() const; + 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); - bool Refresh(std::string*& result); + const bool Refresh(std::string*& result); private: - std::string name; + std::string nameBlackBox; std::string authors; - std::string authorsEmail; std::string categories; std::string description; + + modelCDMFile* header; + modelCDMFile* source; }; #endif /* MODELCDMBLACKBOX_H_ */