![]() |
Computer Assited Medical Intervention Tool Kit
version 3.3
|
TODO Celine comment here please. More...
#include <ActionGenerator.h>
Public Types | |
| enum | ActionProperty { modal, embeded, delayed } |
Public Member Functions | |
| ActionGenerator (QString xmlFileName, QString licence) throw (QString) | |
| ActionGenerator (cepcoreschema::Action &domAction, QString licence) | |
| void | generateFiles (QString directoryName) |
| QString | getClassName () const |
| ~ActionGenerator () | |
Static Public Member Functions | |
| static bool | generateActionFiles (QString xmlFileName, QString devDirectoryName, QString *elementClassName=NULL) |
Protected Member Functions | |
| ActionGenerator (QString xmlFilename, QString devDirectoryName) | |
| virtual void | createElement () throw (QString) |
| virtual void | generateActionFiles () 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) |
| virtual void | writeImplementationFile () 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 action have parameters stored as properties ? More... | |
| QMap< QString, QPair< QString, QString > > | parameters |
| List containing all parameters of the action stored as properties of theAction For practical reasons, this map contains for each parameter: More... | |
| std::auto_ptr< coreschema::Action > | theAction |
| XML DOM Element create by CodeSynthesis This action 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::Action &dom) |
| Helper methods for constructors. More... | |
| void | writeCFile (QString directoryName) |
| void | writeHFile (QString directoryName) |
| void | writeSpecialItkFile (QString directoryName) |
Private Attributes | |
| QVector< ParameterGenerator * > | actionParameters |
| QString | className |
| Name of the created Action class redundant information already contained in theAction, for practicle purpose. More... | |
| QString | componentName |
| QString | description |
| QString | family |
| bool | isItkFilter |
| QString | itkFilterOutputType |
| QString | licence |
| QString | name |
| Name of the action. More... | |
| QStringList | tags |
TODO Celine comment here please.
| ActionGenerator::ActionGenerator | ( | QString | xmlFileName, |
| QString | licence | ||
| ) | |||
| throw | ( | QString | |
| ) | |||
| ActionGenerator::ActionGenerator | ( | cepcoreschema::Action & | domAction, |
| QString | licence | ||
| ) |
| ActionGenerator::~ActionGenerator | ( | ) |
|
protected |
|
protectedvirtual | |||||||||||||
|
private |
Helper methods for constructors.
|
static |
|
protectedvirtual | |||||||||||||
| void ActionGenerator::generateFiles | ( | QString | directoryName | ) |
| QString ActionGenerator::getClassName | ( | ) | const |
|
protectedvirtual | ||||||||||||||
|
protectedvirtual | ||||||||||||||
|
protectedvirtual | |||||||||||||
|
private |
|
protectedvirtual | |||||||||||||
|
private |
|
protectedvirtual | |||||||||||||
|
private |
|
private |
|
protected |
Set of additional files to include.
|
private |
Name of the created Action class redundant information already contained in theAction, for practicle purpose.
|
private |
|
private |
|
protected |
Where to store the produced files.
|
private |
|
protected |
Does the action have parameters stored as properties ?
|
private |
|
private |
|
private |
|
private |
Name of the action.
|
protected |
List containing all parameters of the action stored as properties of theAction For practical reasons, this map contains for each parameter:
|
private |
|
protected |
XML DOM Element create by CodeSynthesis This action contains all of the informations of the xml file.
|
protected |
Where to find the XML description of the Action.
1.8.8