![]() |
Computer Assited Medical Intervention Tool Kit
|
#include <ComponentGenerator.h>
Public Types | |
enum | RepresentationType { IMAGE, MESH, NONE } |
Static Public Member Functions | |
static bool | generateComponentFiles (QString xmlFileName, QString devDirectoryName, QString *elementClassName=NULL) |
Protected Member Functions | |
ComponentGenerator (QString xmlFilename, QString devDirectoryName) | |
virtual void | createElement () throw (QString) |
virtual void | generateComponentFiles () throw (QString) |
virtual void | setDevDirectoryName (QString devDirectoryName) throw (QString) |
virtual void | setXmlFileName (QString xmlFileName) throw (QString) |
virtual void | writeCFile () throw (QString) |
virtual void | writeHFile () throw (QString) |
Protected Attributes | |
std::set< QString > | additionalIncludes |
Set of additional files to include. More... | |
QString | className |
Name of the created Component class redundant information already contained in theAction, for practicle purpose. More... | |
QDir | devDirectoryName |
Where to store the produced files. More... | |
bool | hasParameters |
Does the component have properties ? More... | |
QMap< QString, QPair< QString, QString > > | parameters |
List containing all properties of the component For practical reasons, this map contains for each parameter: More... | |
RepresentationType | representation |
std::auto_ptr< Component > | theComponent |
XML DOM Element create by CodeSynthesis This component contains all of the informations of the xml file. More... | |
QFileInfo | xmlFileName |
Where to find the XML description of the Action. More... | |
|
protected |
References className, createElement(), hasParameters, setDevDirectoryName(), and setXmlFileName().
Referenced by generateComponentFiles().
|
protectedvirtual |
References additionalIncludes, className, hasParameters, IMAGE, MESH, NONE, parameters, representation, theComponent, and xmlFileName.
Referenced by ComponentGenerator().
|
static |
References className, ComponentGenerator(), and generateComponentFiles().
Referenced by generateComponentFiles().
|
protectedvirtual |
References writeCFile(), and writeHFile().
Referenced by ExtensionGenerator::generateComponentFiles().
|
protectedvirtual |
Referenced by ComponentGenerator().
|
protectedvirtual |
Referenced by ComponentGenerator().
|
protectedvirtual |
References additionalIncludes, className, devDirectoryName, IMAGE, MESH, NONE, parameters, and representation.
Referenced by generateComponentFiles().
|
protectedvirtual |
References className, devDirectoryName, IMAGE, MESH, NONE, and representation.
Referenced by generateComponentFiles().
|
protected |
Set of additional files to include.
Referenced by createElement(), and writeCFile().
|
protected |
Name of the created Component class redundant information already contained in theAction, for practicle purpose.
Referenced by ComponentGenerator(), createElement(), generateComponentFiles(), writeCFile(), and writeHFile().
|
protected |
Where to store the produced files.
Referenced by writeCFile(), and writeHFile().
|
protected |
Does the component have properties ?
Referenced by ComponentGenerator(), and createElement().
|
protected |
List containing all properties of the component For practical reasons, this map contains for each parameter:
Referenced by createElement(), and writeCFile().
|
protected |
Referenced by createElement(), writeCFile(), and writeHFile().
|
protected |
XML DOM Element create by CodeSynthesis This component contains all of the informations of the xml file.
Referenced by createElement().
|
protected |
Where to find the XML description of the Action.
Referenced by createElement().