25 #ifndef COMPONENTEXTENSIONGENERATOR_H
26 #define COMPONENTEXTENSIONGENERATOR_H
28 #if defined(_WIN32) && !defined(__MINGW32__)
29 #pragma warning( disable : 4290 )
41 class ComponentExtension;
74 void createFromDom(cepcoreschema::ComponentExtension& dom);
76 QString findComponentClass(QString suffix);
78 QVector<ComponentGenerator*> components;
static const QString testDataDirName
Definition: ExtensionGenerator.cpp:44
Generate a component extension.
Definition: ComponentExtensionGenerator.h:53
void generateTestDataFiles(QString directory, QString testDataDirName) override
Definition: ComponentExtensionGenerator.cpp:295
ComponentExtensionGenerator(cepcoreschema::ComponentExtension &domComponentExtension, QString componentExtensionsDirectory, QString licence="")
void generateExtensionClass(QString directory) override
Helpers methods.
Definition: ComponentExtensionGenerator.cpp:100
~ComponentExtensionGenerator()
Definition: ComponentExtensionGenerator.cpp:93
void writeHFile(QString directory) override
Definition: ComponentExtensionGenerator.cpp:108
void writeCFile(QString directory) override
Definition: ComponentExtensionGenerator.cpp:139
ComponentExtensionGenerator(QString xmlFileName, QString componentExtensionsDirectory, QString licence="")
Definition: ComponentExtensionGenerator.cpp:49
Create a component.
Definition: ComponentGenerator.h:53
Common abstract class to generate extensions.
Definition: ExtensionGenerator.h:49
QString licence
Definition: ExtensionGenerator.h:86
Definition: ActionExtensionGenerator.h:36