![]() |
Computer Assited Medical Intervention Tool Kit
version 3.3
|
TODO Celine comment here please. More...
#include <ComponentGenerator.h>
Public Types | |
| enum | RepresentationType { IMAGE, MESH, NONE } |
Public Member Functions | |
| ComponentGenerator (QString xmlFileName, QString licence) throw (QString) | |
| ComponentGenerator (cepcoreschema::Component &domComponent, QString licence) | |
| void | generateFiles (QString directoryName) |
| QString | getClassName () const |
| QStringList | getSuffixesList () |
| ~ComponentGenerator () | |
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... | |
| 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 < coreschema::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... | |
Private Member Functions | |
| void | createFromDom (cepcoreschema::Component &dom) |
| Helper methods for constructors. More... | |
| QString | getParentClassName () |
| void | writeCFile (QString directoryName) |
| void | writeHFile (QString directoryName) |
Private Attributes | |
| QString | className |
| Name of the created Component class redundant information already contained in theAction, for practicle purpose. More... | |
| QVector< ParameterGenerator * > | componentProperties |
| QString | description |
| QString | licence |
| QString | name |
| Name of the action. More... | |
| QString | representation |
| QStringList | suffixesList |
TODO Celine comment here please.
| ComponentGenerator::ComponentGenerator | ( | QString | xmlFileName, |
| QString | licence | ||
| ) | |||
| throw | ( | QString | |
| ) | |||
| ComponentGenerator::ComponentGenerator | ( | cepcoreschema::Component & | domComponent, |
| QString | licence | ||
| ) |
| ComponentGenerator::~ComponentGenerator | ( | ) |
|
protected |
|
protectedvirtual | |||||||||||||
|
private |
Helper methods for constructors.
|
static |
|
protectedvirtual | |||||||||||||
| void ComponentGenerator::generateFiles | ( | QString | directoryName | ) |
| QString ComponentGenerator::getClassName | ( | ) | const |
|
private |
| QStringList ComponentGenerator::getSuffixesList | ( | ) |
|
protectedvirtual | ||||||||||||||
|
protectedvirtual | ||||||||||||||
|
protectedvirtual | |||||||||||||
|
private |
|
protectedvirtual | |||||||||||||
|
private |
|
protected |
Set of additional files to include.
|
private |
Name of the created Component class redundant information already contained in theAction, for practicle purpose.
|
private |
|
private |
|
protected |
Where to store the produced files.
|
protected |
Does the component have properties ?
|
private |
|
private |
Name of the action.
|
protected |
List containing all properties of the component For practical reasons, this map contains for each parameter:
|
private |
|
protected |
|
private |
|
protected |
XML DOM Element create by CodeSynthesis This component contains all of the informations of the xml file.
|
protected |
Where to find the XML description of the Action.
1.8.8