24#ifndef _GEMA_PARSE_UTILS_H_
25#define _GEMA_PARSE_UTILS_H_
Declaration of useful configuration definitions for the Core library.
#define GMC_API_EXPORT
Macro for controlling if the class is being exported (GEMA_CORE_LIB defined) or imported (GEMA_CORE_L...
Definition gmCoreConfig.h:35
Declaration of the GmInterpolator and GmInterpolatorObject classes.
GmInterpolatorType
Available interpolation methods. Not every method is suitable for every kind of interpolator class....
Definition gmInterpolator.h:64
Groups utilitary routines for parsing models.
Definition gmParseUtils.cpp:34
int stringOptionIndex(QString value, const char **optionNames, const char *fieldName, QString &err)
Looks for value in optionNames. If found returns the index. If not found returns -1 and fills err wit...
Definition gmParseUtils.cpp:404
QVector< quint64 > parseHexMask(QString hexStr, int max64Groups, const char *fieldName, QString &err)
Receives a string with Hex values, like 'a24df5' or '0xa24df5' and returns a vector with max64Groups ...
Definition gmParseUtils.cpp:431
bool parseFormat(QString formatStr, int *fieldWidth, char *format, int *precision, bool useDefaults)
An auxiliary function used to parse a format string using the syntax: "%d.%d[fgeGE]" Returns the pars...
Definition gmParseUtils.cpp:110
int 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 st...
Definition gmParseUtils.cpp:49
void parseDefault(QVariant def, int nlin, int ncol, QString &defString, double *defVal)
An auxiliary function used to parse a default value definition, accepting scalars,...
Definition gmParseUtils.cpp:167