25 #ifndef PARAMETERGENERATOR_H
26 #define PARAMETERGENERATOR_H
28 #if defined(_WIN32) && !defined(__MINGW32__)
29 #pragma warning( disable : 4290 )
91 static QMap<ParameterGenerator::ParameterTypeGenerator, QString>& getTypeNames();
92 static QMap<ParameterGenerator::ParameterTypeGenerator, QString>& getDefaultValues();
94 static void initNamesAndValues();
Generate parameters.
Definition: ParameterGenerator.h:48
bool isEditable() const
Definition: ParameterGenerator.cpp:121
QString getPropertyQVariant() const
Definition: ParameterGenerator.cpp:186
QString getAdditionalInclude() const
Definition: ParameterGenerator.cpp:140
QString getQVariantConversion() const
Definition: ParameterGenerator.cpp:168
ParameterTypeGenerator
Definition: ParameterGenerator.h:50
@ UNKNOWN
Definition: ParameterGenerator.h:62
@ QTIME
Definition: ParameterGenerator.h:56
@ QVECTOR4D
Definition: ParameterGenerator.h:61
@ QCOLOR
Definition: ParameterGenerator.h:57
@ DOUBLE
Definition: ParameterGenerator.h:52
@ BOOLEAN
Definition: ParameterGenerator.h:53
@ QSTRING
Definition: ParameterGenerator.h:54
@ INT
Definition: ParameterGenerator.h:51
@ QPOINTF
Definition: ParameterGenerator.h:59
@ QVECTOR3D
Definition: ParameterGenerator.h:60
@ QDATE
Definition: ParameterGenerator.h:55
@ QPOINT
Definition: ParameterGenerator.h:58
QString getToString() const
Definition: ParameterGenerator.cpp:202
ParameterGenerator(cepcoreschema::Parameter &domParameter)
Definition: ParameterGenerator.cpp:43
QString getUnit() const
Definition: ParameterGenerator.cpp:348
QString getType() const
Definition: ParameterGenerator.cpp:117
QString getDefaultValue() const
Definition: ParameterGenerator.cpp:109
QString getCppName() const
create a name that can be used as C++ variable name (remove all white space)
Definition: ParameterGenerator.cpp:149
QString getDescription() const
Definition: ParameterGenerator.cpp:344
bool needsAdditionalInclude() const
Definition: ParameterGenerator.cpp:125
static QString getTypeDefaultValue(QString typeName)
Definition: ParameterGenerator.cpp:299
QString getName() const
Definition: ParameterGenerator.cpp:113
Definition: ActionExtensionGenerator.h:36