X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FmodelCDMBlackBox.h;h=c58b16739dbbe887fea211dc7ffcc1a22393d4c7;hb=752294dd30e2ee94f38be513d441f4716509ce13;hp=f3d986a7ba4519b204b6e687a81f8f17e415c0da;hpb=9db3dcfa7151c22fb19fe0202ec03b4e8ac3f4b4;p=crea.git diff --git a/lib/creaDevManagerLib/modelCDMBlackBox.h b/lib/creaDevManagerLib/modelCDMBlackBox.h index f3d986a..c58b167 100644 --- a/lib/creaDevManagerLib/modelCDMBlackBox.h +++ b/lib/creaDevManagerLib/modelCDMBlackBox.h @@ -43,22 +43,25 @@ class modelCDMBlackBox : public modelCDMFolder { public: modelCDMBlackBox(); - modelCDMBlackBox(const std::string& hName, const std::string& path, const int& level = 1); + 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& GetVersion() 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 SetVersion(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); @@ -67,10 +70,11 @@ public: private: std::string nameBlackBox; std::string authors; - std::string authorsEmail; std::string categories; std::string description; - std::string version; + + modelCDMFile* header; + modelCDMFile* source; }; #endif /* MODELCDMBLACKBOX_H_ */