|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
25 #ifndef COMPONENTGENERATOR_H
26 #define COMPONENTGENERATOR_H
28 #if defined(_WIN32) && !defined(__MINGW32__) // MSVC only
29 #pragma warning( disable : 4290 )
37 #include <QStringList>
QString representation
Definition: ComponentGenerator.h:83
void get(std::string attName, std::string &attVal) const
field accessor: get the field attName as a string value in attVal, if field does not exist,...
Definition: Properties.h:189
QString getParentClassName()
Definition: ComponentGenerator.cpp:108
Create a component.
Definition: ComponentGenerator.h:53
ComponentGenerator(QString xmlFileName, QString licence)
Definition: ComponentGenerator.cpp:48
QString description
Definition: ComponentGenerator.h:79
QString className
Definition: ComponentGenerator.h:81
Properties * properties
Definition: modeling/libraries/pml/Component.h:118
QString licence
Definition: ComponentGenerator.h:85
QStringList getSuffixesList()
Definition: ComponentGenerator.cpp:99
~ComponentGenerator()=default
QStringList suffixesList
Definition: ComponentGenerator.h:89
void writeHFile(QString directoryName)
Definition: ComponentGenerator.cpp:127
void writeCFile(QString directoryName)
Definition: ComponentGenerator.cpp:187
Generate parameters.
Definition: ParameterGenerator.h:48
const char * description
Definition: applications/cepgenerator/main.cpp:38
static QString getClassName(QString genericName)
Definition: ClassNameHandler.cpp:31
QString name
Name of the action.
Definition: ComponentGenerator.h:77
A component is something that composed something and could also be a part of something.
Definition: modeling/libraries/pml/Component.h:48
void generateFiles(QString directoryName)
Definition: ComponentGenerator.cpp:103
void createFromDom(cepcoreschema::Component &dom)
Helper methods for constructors.
Definition: ComponentGenerator.cpp:70
Definition: ActionExtensionGenerator.h:36
QString getClassName() const
Definition: ComponentGenerator.cpp:95
QVector< ParameterGenerator * > componentProperties
Definition: ComponentGenerator.h:87