Computer Assited Medical Intervention Tool Kit  version 5.0
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)
 

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 = "" 
)

References createFromDom().

+ Here is the call graph for this function:

◆ 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

Helper method for constructors.

References ExtensionGenerator::dependencyGenerators, ExtensionGenerator::description, isStatic, and ExtensionGenerator::name.

Referenced by LibraryGenerator().

+ Here is the caller graph for this function:

◆ 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.

Member Data Documentation

◆ isStatic

bool LibraryGenerator::isStatic
private

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