![]() |
GemaCoreLib
The GeMA Core library
|
Implementation of utilitary functions for parsing model constructions. More...
#include "gmParseUtils.h"
#include "gmMatrix.h"
#include "gmMatrixUtils.h"
#include "gmTrace.h"
#include <luaTable.h>
Namespaces | |
GmParseUtils | |
Groups utilitary routines for parsing models. | |
Functions | |
int | GmParseUtils::parseDimension (QVariant dim, int *nlin, int *ncol, int *ndepth) |
An auxiliary function to parse dimension values that can be expressed both as a single number or a string in the format 'dxd' (and optionally in the format 'dxdxd' if ndepth != NULL). More... | |
bool | GmParseUtils::parseFormat (QString formatStr, int *fieldWidth, char *format, int *precision) |
An auxiliary function used to parse a format string using the syntax: "%d.%d[fgeGE]" Returns the parsed formats in the arguments fieldWidth, format and precision. More... | |
void | GmParseUtils::parseDefault (QVariant def, int nlin, int ncol, QString &defString, double *defVal) |
An auxilliary function used to parse a default value definition, accepting scalars, tables or function/constant names. More... | |
bool | GmParseUtils::parseDataSrcString (QString str, QString &src, QString *unit, int *dim, QString *as) |
bool | GmParseUtils::parseDataSrc (QVariant def, QString &srcId, QString *unit, int *dim, QString *alias, int *history, bool acceptsNoInterp, GmInterpolatorType *interpType, QVariant *interpParam, QString &err) |
Implementation of utilitary functions for parsing model constructions.