#include <ActionGenerator.h>
Protected Attributes |
| std::set< QString > | additionalIncludes |
| | Set of additional files to include.
|
| QString | className |
| | Name of the created Action class redundant information already contained in theAction, for practicle purpose.
|
| QDir | devDirectoryName |
| | Where to store the produced files.
|
| bool | hasParameters |
| | Does the action have parameters stored as properties ?
|
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:
|
| std::auto_ptr< Action > | theAction |
| | XML DOM Element create by CodeSynthesis This action contains all of the informations of the xml file.
|
| QFileInfo | xmlFileName |
| | Where to find the XML description of the Action.
|
Constructor & Destructor Documentation
| ActionGenerator::ActionGenerator |
( |
QString |
xmlFilename, |
|
|
QString |
devDirectoryName |
|
) |
| |
|
protected |
Member Function Documentation
| void ActionGenerator::createElement |
( |
| ) |
throw (QString) |
|
protectedvirtual |
| bool ActionGenerator::generateActionFiles |
( |
QString |
xmlFileName, |
|
|
QString |
devDirectoryName, |
|
|
QString * |
elementClassName = NULL |
|
) |
| |
|
static |
| void ActionGenerator::generateActionFiles |
( |
| ) |
throw (QString) |
|
protectedvirtual |
| void ActionGenerator::setDevDirectoryName |
( |
QString |
devDirectoryName | ) |
throw (QString) |
|
protectedvirtual |
| void ActionGenerator::setXmlFileName |
( |
QString |
xmlFileName | ) |
throw (QString) |
|
protectedvirtual |
| void ActionGenerator::writeCFile |
( |
| ) |
throw (QString) |
|
protectedvirtual |
| void ActionGenerator::writeHFile |
( |
| ) |
throw (QString) |
|
protectedvirtual |
| void ActionGenerator::writeImplementationFile |
( |
| ) |
throw (QString) |
|
protectedvirtual |
Member Data Documentation
| std::set<QString> ActionGenerator::additionalIncludes |
|
protected |
| QString ActionGenerator::className |
|
protected |
| QDir ActionGenerator::devDirectoryName |
|
protected |
| bool ActionGenerator::hasParameters |
|
protected |
| bool ActionGenerator::isItkFilter |
|
private |
| QMap<QString, QPair<QString, QString> > ActionGenerator::parameters |
|
protected |
List containing all parameters of the action stored as properties of theAction For practical reasons, this map contains for each parameter:
- key: the name of the parameter
- value: a QPair of element:
- first: the type of the parameter
- second: the default value of the parameter (if non exists in the XML file, a default one is given)
Referenced by createElement(), and writeCFile().
| std::auto_ptr<Action> ActionGenerator::theAction |
|
protected |
| QFileInfo ActionGenerator::xmlFileName |
|
protected |
Where to find the XML description of the Action.
Referenced by createElement().
The documentation for this class was generated from the following files: