Computer Assisted Medical Intervention Tool Kit  version 5.2
ParameterGenerator Class Reference

Generate parameters. More...

#include <ParameterGenerator.h>

+ Collaboration diagram for ParameterGenerator:

Public Types

enum  ParameterTypeGenerator {
  INT , DOUBLE , BOOLEAN , QSTRING ,
  QDATE , QTIME , QCOLOR , QPOINT ,
  QPOINTF , QVECTOR3D , QVECTOR4D , UNKNOWN
}
 

Public Member Functions

QString getAdditionalInclude () const
 
QString getCppName () const
 create a name that can be used as C++ variable name (remove all white space) More...
 
QString getDefaultValue () const
 
QString getDescription () const
 
QString getName () const
 
QString getPropertyQVariant () const
 
QString getQVariantConversion () const
 
QString getToString () const
 
QString getType () const
 
QString getUnit () const
 
bool isEditable () const
 
bool needsAdditionalInclude () const
 
 ParameterGenerator (cepcoreschema::Parameter &domParameter)
 

Static Public Member Functions

static QString getTypeDefaultValue (QString typeName)
 

Detailed Description

Generate parameters.

Member Enumeration Documentation

◆ ParameterTypeGenerator

Enumerator
INT 
DOUBLE 
BOOLEAN 
QSTRING 
QDATE 
QTIME 
QCOLOR 
QPOINT 
QPOINTF 
QVECTOR3D 
QVECTOR4D 
UNKNOWN 

Constructor & Destructor Documentation

◆ ParameterGenerator()

ParameterGenerator::ParameterGenerator ( cepcoreschema::Parameter &  domParameter)

References description.

Member Function Documentation

◆ 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

◆ getDescription()

QString ParameterGenerator::getDescription ( ) const

References description.

◆ 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

Referenced by ActionParameterWidget::typeChanged(), and ComponentPropertyWidget::typeChanged().

+ Here is the caller graph for this function:

◆ getUnit()

QString ParameterGenerator::getUnit ( ) const

◆ isEditable()

bool ParameterGenerator::isEditable ( ) const

◆ needsAdditionalInclude()

bool ParameterGenerator::needsAdditionalInclude ( ) const

The documentation for this class was generated from the following files: