39#if defined(_WIN32) && !defined(__MINGW32__)
40#pragma warning( disable : 4290 )
72 CepGenerator(QString xmlFilename, QString devDirectoryName);
83 CepGenerator(std::unique_ptr<cepcoreschema::Cep> domCep, QString devDirectoryName);
197 std::unique_ptr<cepcoreschema::Cep> domCep;
200 QFileInfo xmlFileName;
203 QDir devDirectoryName;
206 QString cepDirectoryName;
209 QVector<ExtensionGenerator*> extensions;
virtual void generateReadme()
Generate Readme File.
Definition CepGenerator.cpp:308
void setDevDirectoryName(QString devDirectoryName)
Where to generate the CEP directories and files.
Definition CepGenerator.cpp:95
virtual void generateCopyright()
Generate copyright file.
Definition CepGenerator.cpp:281
virtual void generateDirectoryTree()
Create the general directory tree (the same for every CEP).
Definition CepGenerator.cpp:120
virtual void generateLibrariesDirectory()
Generate the Libraries directory.
Definition CepGenerator.cpp:389
virtual void generateApplicationsDirectory()
Generate the Applications directory.
Definition CepGenerator.cpp:365
virtual void generateActionsDirectory()
Generate the Actions directory.
Definition CepGenerator.cpp:352
virtual void createActionExtensionDoms()
Create the ActionExtensionDom if needed and call the appropriate methods to generate the action exten...
Definition CepGenerator.cpp:415
void serializeManifest(QString fileName="")
Serialize the manifest ie serialize the domCep to a std::string.
Definition CepGenerator.cpp:161
virtual void createViewersExtensionDoms()
Create the ViewersDom if needed and call the appropriate methods to generate the viewer extensions.
Definition CepGenerator.cpp:470
virtual void generateExtensions()
Definition CepGenerator.cpp:488
virtual void generateViewersDirectory()
Generate the Libraries directory.
Definition CepGenerator.cpp:402
void process()
call all methods to generate the CEP from the DomTree.
Definition CepGenerator.cpp:495
void setXmlFileName(QString xmlFileName)
Set the input XML CEP manifest (ant check its xml validity).
Definition CepGenerator.cpp:85
virtual void generateGlobalCMakeLists()
Generate CMakeLists file.
Definition CepGenerator.cpp:208
virtual void copyFindCamiTK()
Generate the FindCamiTK file.
Definition CepGenerator.cpp:343
virtual void createLibrarieDoms()
Create the LibrariesDom if needed and call the appropriate methods to generate the libraries.
Definition CepGenerator.cpp:451
virtual void createComponentExtensionDoms()
Create the ComponentExtensionDom if needed and call the appropriate methods to generate the component...
Definition CepGenerator.cpp:433
CepGenerator()
Create an empty CepGenerator.
Definition CepGenerator.cpp:62
CepGenerator(QString xmlFilename, QString devDirectoryName)
Create a CEPGenerator from the XML file xmlFileName in the directory devDirectoryName.
Definition CepGenerator.cpp:66
virtual ~CepGenerator()
Definition CepGenerator.cpp:79
virtual void setLicence()
Set the licence ine the licence variable to be included later in the generated files.
Definition CepGenerator.cpp:259
void createDomTree()
Create the DOM attribute domCep from the XML CEP manifest.
Definition CepGenerator.cpp:106
virtual void generateComponentsDirectory()
Generate the Components directory.
Definition CepGenerator.cpp:377
Common abstract class to generate extensions.
Definition cepgenerator/ExtensionGenerator.h:49
Definition ActionExtensionGenerator.h:36