- QString eval(QString line, QTextStream& out);\r
- QString evalComplex(QString line, int num);\r
- QString evalString(QString s);\r
- QList<AbstractInterface*>* evalStringComplex(QString s);\r
- QString evalValue(QString s);\r
- QString calculateWidth(QString s);\r
+ inline QString getDelta() { return delta; }\r
+ inline QHash<QString,QString> getConsumptionPattern() { return consumptionPattern; }\r
+ inline QHash<QString,QString> getProductionPattern() { return productionPattern; }\r
+ inline QString getProductionCounter() { return productionCounter; }\r
+ inline QList<QString> getResources() { return resources; }\r
+\r
+ // setters\r
+ inline void setDelta(QString _delta) { delta = _delta; }\r
+ inline void setConsumptionPattern(QHash<QString,QString> pattern) { consumptionPattern = pattern; }\r
+ inline void setProductionPattern(QHash<QString,QString> pattern) { productionPattern = pattern; }\r
+ inline void setProductionCounter(QString pattern) { productionCounter = pattern; }\r
+ \r
+ // testers\r
+\r
+ inline bool hasNoPatterns() { return noPatterns; }\r