Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
TYSolverParamsDataModel Class Reference

Objet contenant les informations concernant les parametres du solveur. More...

#include <TYSolverParamsWidget.h>

Public Member Functions

 TYSolverParamsDataModel (QString paramName, QString type, QStringList valuesLabel=QStringList(), QString defaultValue="0")
 
virtual ~TYSolverParamsDataModel ()
 
bool isLabeledValues ()
 
bool isBool ()
 
bool isInt ()
 
bool isNumber ()
 

Static Public Member Functions

static TYSolverParamsDataModelfromJsonObject (QString paramName, QJsonObject dataModelJson)
 

Public Attributes

QString paramName
 
QString type
 
QString defaultValue
 
QStringList valueLabels
 

Detailed Description

Objet contenant les informations concernant les parametres du solveur.

Definition at line 40 of file TYSolverParamsWidget.h.

Constructor & Destructor Documentation

◆ TYSolverParamsDataModel()

TYSolverParamsDataModel::TYSolverParamsDataModel ( QString  paramName,
QString  type,
QStringList  valuesLabel = QStringList(),
QString  defaultValue = "0" 
)

Definition at line 38 of file TYSolverParamsWidget.cpp.

◆ ~TYSolverParamsDataModel()

virtual TYSolverParamsDataModel::~TYSolverParamsDataModel ( )
inlinevirtual

Definition at line 47 of file TYSolverParamsWidget.h.

Member Function Documentation

◆ fromJsonObject()

TYSolverParamsDataModel * TYSolverParamsDataModel::fromJsonObject ( QString  paramName,
QJsonObject  dataModelJson 
)
static

Definition at line 48 of file TYSolverParamsWidget.cpp.

Here is the caller graph for this function:

◆ isBool()

bool TYSolverParamsDataModel::isBool ( )
inline

Definition at line 53 of file TYSolverParamsWidget.h.

Here is the caller graph for this function:

◆ isInt()

bool TYSolverParamsDataModel::isInt ( )
inline

Definition at line 57 of file TYSolverParamsWidget.h.

Here is the caller graph for this function:

◆ isLabeledValues()

bool TYSolverParamsDataModel::isLabeledValues ( )
inline

Definition at line 49 of file TYSolverParamsWidget.h.

Here is the caller graph for this function:

◆ isNumber()

bool TYSolverParamsDataModel::isNumber ( )
inline

Definition at line 61 of file TYSolverParamsWidget.h.

Member Data Documentation

◆ defaultValue

QString TYSolverParamsDataModel::defaultValue

Definition at line 68 of file TYSolverParamsWidget.h.

◆ paramName

QString TYSolverParamsDataModel::paramName

Definition at line 66 of file TYSolverParamsWidget.h.

◆ type

QString TYSolverParamsDataModel::type

Definition at line 67 of file TYSolverParamsWidget.h.

◆ valueLabels

QStringList TYSolverParamsDataModel::valueLabels

Definition at line 69 of file TYSolverParamsWidget.h.


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