Generate the library. More...
#include <LibraryGenerator.h>
Public Member Functions | |
LibraryGenerator (cepcoreschema::Library &domLibrary, QString librariesDirectory, QString licence="") | |
LibraryGenerator (QString xmlFileName, QString actionExtensionsDirectory, QString licence="") | |
~LibraryGenerator () | |
Public Member Functions inherited from ExtensionGenerator | |
ExtensionGenerator (QString actionExtensionsDirectory, QString licence="", QString extensionType="NONE") | |
virtual void | generateExtension () |
virtual | ~ExtensionGenerator () |
Protected Member Functions | |
void | generateExtensionCMakeLists (QString directory) override |
Helpers methods. More... | |
void | generateExtensionClass (QString directory) override |
generate an action, a component of a viewer More... | |
void | writeCFile (QString directory) override |
void | writeHFile (QString directory) override |
void | generateTestDataFiles (QString directory, QString testDataDirName) override |
Protected Member Functions inherited from ExtensionGenerator | |
void | setExtensionsDirectory (QString extensionsDirectory) |
Private Member Functions | |
void | createFromDom (cepcoreschema::Library &dom) |
Helper method for constructors. More... | |
Private Attributes | |
bool | isStatic |
Additional Inherited Members | |
Protected Attributes inherited from ExtensionGenerator | |
QVector< DependencyGenerator * > | dependencyGenerators |
QString | description |
QString | extensionsDirectory |
Absolute path to the extensions directory. More... | |
QString | extensionType |
Extension type: Action or Component extension. More... | |
QString | licence |
QString | name |
Name of the extension. More... | |
Generate the library.
LibraryGenerator::LibraryGenerator | ( | QString | xmlFileName, |
QString | actionExtensionsDirectory, | ||
QString | licence = "" |
||
) |
LibraryGenerator::LibraryGenerator | ( | cepcoreschema::Library & | domLibrary, |
QString | librariesDirectory, | ||
QString | licence = "" |
||
) |
LibraryGenerator::~LibraryGenerator | ( | ) |
|
private |
Helper method for constructors.
References ExtensionGenerator::dependencyGenerators, ExtensionGenerator::description, isStatic, and ExtensionGenerator::name.
Referenced by LibraryGenerator().
|
inlineoverrideprotectedvirtual |
generate an action, a component of a viewer
Implements ExtensionGenerator.
|
overrideprotectedvirtual |
Helpers methods.
Reimplemented from ExtensionGenerator.
References ExtensionGenerator::dependencyGenerators, ExtensionGenerator::description, DependencyGenerator::getCepLibsString(), ClassNameHandler::getClassName(), DependencyGenerator::getExternalLibsString(), DependencyGenerator::getNeededActionsString(), DependencyGenerator::getNeededComponentsString(), isStatic, and ExtensionGenerator::name.
|
inlineoverrideprotectedvirtual |
Implements ExtensionGenerator.
|
inlineoverrideprotectedvirtual |
Implements ExtensionGenerator.
|
inlineoverrideprotectedvirtual |
Implements ExtensionGenerator.
|
private |
Referenced by createFromDom(), and generateExtensionCMakeLists().