|
TPCCLIB
|
Model and function codes and descriptions for other libraries. More...
#include "tpcclibConfig.h"#include <stdio.h>#include <stdlib.h>#include <math.h>#include <time.h>#include <string.h>#include "tpcextensions.h"#include "tpcmodels.h"Go to the source code of this file.
Functions | |
| unsigned int | modelNr () |
| char * | modelCode (const unsigned int i) |
| unsigned int | modelOldId (const unsigned int i) |
| unsigned int | modelOld2New (const unsigned int i) |
| char * | modelDesc (const unsigned int i) |
| unsigned int | modelCodeIndex (const char *s) |
| unsigned int | modelParNr (const unsigned int code) |
Model and function codes and descriptions for other libraries.
Definition in file modell.c.
| char * modelCode | ( | const unsigned int | i | ) |
Get string representation of a model code.
| i | model list index. |
Definition at line 175 of file modell.c.
Referenced by parWriteCSV(), and parWriteXML().
| unsigned int modelCodeIndex | ( | const char * | s | ) |
Get model index for the string representation of model code.
| s | model code as a string; code is case-insensitive, but otherwise exact match is required. |
Definition at line 236 of file modell.c.
Referenced by parExamplePerfectBolus(), parExampleTTACs(), and parReadCSV().
| char * modelDesc | ( | const unsigned int | i | ) |
| unsigned int modelNr | ( | ) |
Number of listed models.
Definition at line 161 of file modell.c.
Referenced by modelCode(), modelDesc(), modelOld2New(), and modelParNr().
| unsigned int modelOld2New | ( | const unsigned int | i | ) |
Convert the deprecated function id to the model list index.
| i | Deprecated function id. |
Definition at line 204 of file modell.c.
Referenced by parReadFIT().
| unsigned int modelOldId | ( | const unsigned int | i | ) |
Get the deprecated function id for working with older file formats.
| i | model list index. |
Definition at line 190 of file modell.c.
Referenced by parWriteFIT().
| unsigned int modelParNr | ( | const unsigned int | code | ) |
Get model parameter number.
| code | model code; can be retrieved using modelCodeIndex(). |
Definition at line 255 of file modell.c.
Referenced by parExamplePerfectBolus(), and parExampleTTACs().