Computer Assisted Medical Intervention Tool Kit  version 5.2
LibraryGenerator Class Reference

Generate the library. More...

#include <LibraryGenerator.h>

+ Inheritance diagram for LibraryGenerator:
+ Collaboration diagram for LibraryGenerator:

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)
 

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

◆ generateExtensionClass()

void LibraryGenerator::generateExtensionClass ( QString  directory)
inlineoverrideprotectedvirtual

generate an action, a component of a viewer

Implements ExtensionGenerator.

◆ generateExtensionCMakeLists()

void LibraryGenerator::generateExtensionCMakeLists ( QString  directory)
overrideprotectedvirtual

◆ generateTestDataFiles()

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

Implements ExtensionGenerator.

◆ writeCFile()

void LibraryGenerator::writeCFile ( QString  directory)
inlineoverrideprotectedvirtual

Implements ExtensionGenerator.

◆ writeHFile()

void LibraryGenerator::writeHFile ( QString  directory)
inlineoverrideprotectedvirtual

Implements ExtensionGenerator.


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