25#include "addInMgrDefines.h"
26#include "../common/sharedStructures.h"
27#include "../common/param.h"
28#include "../common/paramMeta.h"
31#include <qsharedpointer.h>
57 static ito::RetVal validateStringMeta(
const ito::StringMeta *meta,
const char* value,
bool mandatory =
false,
const char* name =
nullptr);
102 static ito::RetVal validateDoubleMetaAndRoundToStepSize(
const ito::DoubleMeta *meta,
double &value,
bool allowRounding =
true,
const char* name =
nullptr);
106 static ito::RetVal validateCharArrayMeta(
const ito::ParamMeta *meta,
const char* values,
size_t len,
const char* name =
nullptr);
107 static ito::RetVal validateIntArrayMeta(
const ito::ParamMeta *meta,
const int* values,
size_t len,
const char* name =
nullptr);
108 static ito::RetVal validateDoubleArrayMeta(
const ito::ParamMeta *meta,
const double* values,
size_t len,
const char* name =
nullptr);
116 static ito::RetVal getParamFromMapByKey( QMap<QString,ito::Param> ¶mMap,
const QString &key, QMap<QString,ito::Param>::iterator &found,
bool errorIfReadOnly);
136 static ito::RetVal parseParamName(
const QString &key, QString ¶mName,
bool &hasIndex,
int &index, QString &additionalTag);
141 static ito::RetVal updateParameters(QMap<QString, ito::Param> ¶mMap,
const QVector<QSharedPointer<ito::ParamBase> > &values);
144 static bool fitToDoubleStepSize(
double min,
double step,
double val);
145 static QString parseNamePrefix(
const char *name);
Base class for all plugins.
Definition addInInterface.h:386
This is a Qt-free class for byte arrays (strings) without specific encoding information.
Definition byteArray.h:65
dataObject contains a n-dimensional matrix
Definition dataobj.h:591
Definition paramHelper.h:39
class for parameter handling e.g. to pass parameters to plugins
Definition param.h:477
Class for managing status values (like errors or warning)
Definition retVal.h:54
Definition apiFunctionsGraph.cpp:40
PyObject * getParam(ito::AddInBase *addInObj, PyObject *args)
Definition pythonPlugins.cpp:770
tCompareResult
Definition typeDefs.h:67
ITOMCOMMONQT_EXPORT ito::RetVal parseParamName(const QString &key, QString ¶mName, bool &hasIndex, int &index, QString &additionalTag)
searches and returns a parameter from a map based on its full key.
Definition helperCommon.cpp:676