26 #ifndef CEPGENERATOR_H 27 #define CEPGENERATOR_H 39 #if defined(_WIN32) && !defined(__MINGW32__) // MSVC only 40 #pragma warning( disable : 4290 ) 72 CepGenerator(QString xmlFilename, QString devDirectoryName);
82 CepGenerator(std::unique_ptr<cepcoreschema::Cep> domCep, QString devDirectoryName);
95 virtual void setXmlFileName(QString xmlFileName);
98 virtual void createDomTree();
101 virtual void setDevDirectoryName(QString devDirectoryName);
104 virtual void serializeManifest(QString fileName =
"");
128 virtual void generateDirectoryTree();
132 virtual void generateGlobalCMakeLists();
136 virtual void generateCopyright();
139 virtual void generateReadme();
142 virtual void copyFindCamiTK();
145 virtual void generateActionsDirectory();
148 virtual void generateApplicationsDirectory();
151 virtual void generateComponentsDirectory();
154 virtual void generateLibrariesDirectory();
157 virtual void setLicence();
163 virtual void createActionExtensionDoms();
168 virtual void createComponentExtensionDoms();
173 virtual void createLibrarieDoms();
175 virtual void generateExtensions();
181 std::unique_ptr<cepcoreschema::Cep>
domCep;
200 #endif // CEPGENERATOR_H QVector< ExtensionGenerator * > extensions
Action or Component Extensions.
Definition: CepGenerator.h:193
QString cepDirectoryName
Subdirectory where the CEP sources will be stored (updated when generating the directory tree) ...
Definition: CepGenerator.h:190
QString licence
overall licence of the CEP
Definition: CepGenerator.h:196
QFileInfo xmlFileName
Where to find the original XML description of the CEP.
Definition: CepGenerator.h:184
QDir devDirectoryName
Where to store the produced files.
Definition: CepGenerator.h:187
Definition: ActionExtensionGenerator.h:36
Common abstract class to generate extensions.
Definition: ExtensionGenerator.h:49
This class contains the entry points to generate CEP.
Definition: CepGenerator.h:62
std::unique_ptr< cepcoreschema::Cep > domCep
XML DOM Element create by CodeSynthesis This cep instance contains all of the informations of the xml...
Definition: CepGenerator.h:181