Computer Assited Medical Intervention Tool Kit  version 4.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
LibraryGenerator Class Reference

Generate the library. More...

#include <LibraryGenerator.h>

Inherits ExtensionGenerator.

Public Member Functions

 LibraryGenerator (QString xmlFileName, QString actionExtensionsDirectory, QString licence="")
 
 LibraryGenerator (cepcoreschema::Library &domLibrary, QString librariesDirectory, QString licence="")
 
 ~LibraryGenerator ()
 
- Public Member Functions inherited from ExtensionGenerator
 ExtensionGenerator (QString actionExtensionsDirectory, QString licence="", QString extensionType="NONE")
 
virtual void generateExtension ()
 
 ~ExtensionGenerator ()
 

Protected Member Functions

void generateExtensionCMakeLists (QString directory) override
 Helpers methods. More...
 
void generateActionOrComponent (QString directory)
 
void writeCFile (QString directory)
 
void writeHFile (QString directory)
 
void generateTestDataFiles (QString directory, QString testDataDirName)
 
- Protected Member Functions inherited from ExtensionGenerator
virtual 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...
 

Detailed Description

Generate the library.

Constructor & Destructor Documentation

◆ LibraryGenerator() [1/2]

LibraryGenerator::LibraryGenerator ( QString  xmlFileName,
QString  actionExtensionsDirectory,
QString  licence = "" 
)

◆ LibraryGenerator() [2/2]

LibraryGenerator::LibraryGenerator ( cepcoreschema::Library &  domLibrary,
QString  librariesDirectory,
QString  licence = "" 
)

◆ ~LibraryGenerator()

LibraryGenerator::~LibraryGenerator ( )

Member Function Documentation

◆ createFromDom()

void LibraryGenerator::createFromDom ( cepcoreschema::Library &  dom)
private

◆ generateActionOrComponent()

void LibraryGenerator::generateActionOrComponent ( QString  directory)
inlineprotectedvirtual

Implements ExtensionGenerator.

◆ generateExtensionCMakeLists()

void LibraryGenerator::generateExtensionCMakeLists ( QString  directory)
overrideprotectedvirtual

◆ generateTestDataFiles()

void LibraryGenerator::generateTestDataFiles ( QString  directory,
QString  testDataDirName 
)
inlineprotectedvirtual

Implements ExtensionGenerator.

◆ writeCFile()

void LibraryGenerator::writeCFile ( QString  directory)
inlineprotectedvirtual

Implements ExtensionGenerator.

◆ writeHFile()

void LibraryGenerator::writeHFile ( QString  directory)
inlineprotectedvirtual

Implements ExtensionGenerator.

Member Data Documentation

◆ isStatic

bool LibraryGenerator::isStatic
private

The documentation for this class was generated from the following files: