Generate parameters.
More...
#include <ParameterGenerator.h>
|
enum | ParameterTypeGenerator {
INT,
DOUBLE,
BOOLEAN,
QSTRING,
QDATE,
QTIME,
QCOLOR,
QPOINT,
QPOINTF,
QVECTOR3D,
QVECTOR4D,
UNKNOWN
} |
|
◆ ParameterTypeGenerator
Enumerator |
---|
INT | |
DOUBLE | |
BOOLEAN | |
QSTRING | |
QDATE | |
QTIME | |
QCOLOR | |
QPOINT | |
QPOINTF | |
QVECTOR3D | |
QVECTOR4D | |
UNKNOWN | |
◆ ParameterGenerator()
ParameterGenerator::ParameterGenerator |
( |
cepcoreschema::Parameter & |
domParameter | ) |
|
◆ getAdditionalInclude()
QString ParameterGenerator::getAdditionalInclude |
( |
| ) |
const |
◆ getCppName()
QString ParameterGenerator::getCppName |
( |
| ) |
const |
create a name that can be used as C++ variable name (remove all white space)
◆ getDefaultValue()
QString ParameterGenerator::getDefaultValue |
( |
| ) |
const |
◆ getDefaultValues()
◆ getDescription()
QString ParameterGenerator::getDescription |
( |
| ) |
const |
◆ getName()
QString ParameterGenerator::getName |
( |
| ) |
const |
◆ getPropertyQVariant()
QString ParameterGenerator::getPropertyQVariant |
( |
| ) |
const |
◆ getQVariantConversion()
QString ParameterGenerator::getQVariantConversion |
( |
| ) |
const |
◆ getToString()
QString ParameterGenerator::getToString |
( |
| ) |
const |
◆ getType()
QString ParameterGenerator::getType |
( |
| ) |
const |
◆ getTypeDefaultValue()
QString ParameterGenerator::getTypeDefaultValue |
( |
QString |
typeName | ) |
|
|
static |
◆ getTypeNames()
◆ getUnit()
QString ParameterGenerator::getUnit |
( |
| ) |
const |
◆ initNamesAndValues()
void ParameterGenerator::initNamesAndValues |
( |
| ) |
|
|
staticprivate |
References BOOLEAN, DOUBLE, INT, isInitialized, QCOLOR, QDATE, QPOINT, QPOINTF, QSTRING, QTIME, QVECTOR3D, QVECTOR4D, and UNKNOWN.
Referenced by getTypeDefaultValue(), and ParameterGenerator().
◆ isEditable()
bool ParameterGenerator::isEditable |
( |
| ) |
const |
◆ needsAdditionalInclude()
bool ParameterGenerator::needsAdditionalInclude |
( |
| ) |
const |
◆ defaultValue
QString ParameterGenerator::defaultValue |
|
private |
◆ description
QString ParameterGenerator::description |
|
private |
◆ editable
bool ParameterGenerator::editable |
|
private |
◆ name
QString ParameterGenerator::name |
|
private |
◆ type
◆ unit
QString ParameterGenerator::unit |
|
private |
The documentation for this class was generated from the following files: