Computer Assited Medical Intervention Tool Kit  version 5.0
ViewerGenerator Class Reference

Generate a viewer. More...

#include <ViewerGenerator.h>

+ Collaboration diagram for ViewerGenerator:

Public Member Functions

void generateFiles (QString directoryName)
 
QString getClassName () const
 
 ViewerGenerator (cepcoreschema::Viewer &domViewer, QString licence)
 
 ViewerGenerator (QString xmlFileName, QString licence)
 
 ~ViewerGenerator ()=default
 

Private Member Functions

void createFromDom (cepcoreschema::Viewer &dom)
 Helper methods for constructors. More...
 
void writeCFile (QString directoryName)
 
void writeHFile (QString directoryName)
 
void writeSpecialItkFile (QString directoryName)
 

Private Attributes

QString className
 
QStringList components
 
QString description
 
QString licence
 
QString name
 Name of the viewer. More...
 
QString type
 

Detailed Description

Generate a viewer.

Constructor & Destructor Documentation

◆ ViewerGenerator() [1/2]

ViewerGenerator::ViewerGenerator ( QString  xmlFileName,
QString  licence 
)

◆ ViewerGenerator() [2/2]

ViewerGenerator::ViewerGenerator ( cepcoreschema::Viewer &  domViewer,
QString  licence 
)

◆ ~ViewerGenerator()

ViewerGenerator::~ViewerGenerator ( )
default

Member Function Documentation

◆ createFromDom()

void ViewerGenerator::createFromDom ( cepcoreschema::Viewer &  dom)
private

Helper methods for constructors.

References description, and ClassNameHandler::getClassName().

+ Here is the call graph for this function:

◆ generateFiles()

void ViewerGenerator::generateFiles ( QString  directoryName)

Referenced by ViewerExtensionGenerator::generateExtensionClass().

+ Here is the caller graph for this function:

◆ getClassName()

QString ViewerGenerator::getClassName ( ) const

Referenced by ViewerExtensionGenerator::writeCFile().

+ Here is the caller graph for this function:

◆ writeCFile()

void ViewerGenerator::writeCFile ( QString  directoryName)
private

References description.

◆ writeHFile()

void ViewerGenerator::writeHFile ( QString  directoryName)
private

◆ writeSpecialItkFile()

void ViewerGenerator::writeSpecialItkFile ( QString  directoryName)
private

Member Data Documentation

◆ className

QString ViewerGenerator::className
private

◆ components

QStringList ViewerGenerator::components
private

◆ description

QString ViewerGenerator::description
private

◆ licence

QString ViewerGenerator::licence
private

◆ name

QString ViewerGenerator::name
private

Name of the viewer.

◆ type

QString ViewerGenerator::type
private

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