40#if !defined(Q_MOC_RUN) || defined(ITOMCOMMONQT_MOC)
50 QVector<ito::Param>* paramsMand,
51 QVector<ito::Param>* paramsOpt,
52 QVector<ito::Param>* paramsOut);
56 QVector<ito::Param>* paramVec,
const char* name,
ito::RetVal* retval =
nullptr);
60 QVector<ito::ParamBase>* paramVec,
const char* name,
ito::RetVal* retval =
nullptr);
64 const ito::Param& param,
double& value,
bool* ok =
nullptr);
68 const QString& key, QString& paramName,
bool& hasIndex,
int& index, QString& additionalTag);
72 const QMap<QString, Param>* params,
80 QMap<QString, Param>* params,
89ITOMCOMMONQT_EXPORT QString
90getMetaDocstringFromParam(
const Param& param,
bool translate, QString& pythonLikeTypename);
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
ITOMCOMMONQT_EXPORT bool checkNumericParamRange(const ito::Param ¶m, double &value, bool *ok=nullptr)
parses a parameter name key and extracts the real name, an optional index and / or suffix tag.
Definition helperCommon.cpp:212
ITOMCOMMONQT_EXPORT ito::Param * getParamByName(QVector< ito::Param > *paramVec, const char *name, ito::RetVal *retval=nullptr)
searches for a specific base parameter in the vector and returns it.
Definition helperCommon.cpp:119
ITOMCOMMONQT_EXPORT ito::RetVal setParamValue(QMap< QString, Param > *params, const QString &key, const ito::ParamBase &value, QString &name, int &index)
Sets the value of a parameter to a given new value val.
Definition helperCommon.cpp:494
ITOMCOMMONQT_EXPORT ito::RetVal checkParamVector(const QVector< ito::Param > *params)
< checks param vector to be not a nullptr.
Definition helperCommon.cpp:46
ITOMCOMMONQT_EXPORT ito::RetVal checkParamVectors(QVector< ito::Param > *paramsMand, QVector< ito::Param > *paramsOpt, QVector< ito::Param > *paramsOut)
searches for a specific parameter in the vector and returns it.
Definition helperCommon.cpp:70
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
ITOMCOMMONQT_EXPORT ito::RetVal getParamValue(const QMap< QString, Param > *params, const QString &key, ito::Param &value, QString &name, int &index)
searches a parameter from a map based on its full key and sets its value.
Definition helperCommon.cpp:300