work an interactive variable definition in mupp. Up to checking it is already working. Add variable still missing.

This commit is contained in:
2020-05-11 16:09:13 +02:00
parent 867246874b
commit f19a94651b
11 changed files with 635 additions and 192 deletions

View File

@@ -42,15 +42,16 @@
class PVarHandler {
public:
PVarHandler();
PVarHandler(PmuppCollection *coll, std::string parse_str, std::string var_name);
PVarHandler(PmuppCollection *coll, std::string parse_str, std::string var_name="");
bool isValid() { return fIsValid; }
QString getCollName() { return fColl->GetName(); }
QString getVarName() { return QString(fVarName.c_str()); }
std::vector<double> getValues();
std::vector<double> getErrors();
private:
PmuppCollection *fColl; ///< collection need for parsing and evaluation
PmuppCollection *fColl; ///< collection needed for parsing and evaluation
std::string fParseStr; ///< the variable input to be parsed
std::string fVarName; ///< variable name
mupp::prog::PVarHandler fVar; ///< values of the evaluation