#include<iostream>
-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_ */