From e7e79a8a74657ca6f8488a7cd3742bb2af734b0a Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 30 Jan 2016 17:52:32 +0100 Subject: -management of scalaroperation inside if block. --- parsingtoolbox.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'parsingtoolbox.h') diff --git a/parsingtoolbox.h b/parsingtoolbox.h index 94ef624..1af0efd 100644 --- a/parsingtoolbox.h +++ b/parsingtoolbox.h @@ -30,6 +30,7 @@ #include "operationcondition.h" #include "compositevalidator.h" #include "range.h" +#include "node/scalaroperatornode.h" /** * @brief The ParsingToolBox is gathering many useful methods for dice parsing. @@ -39,6 +40,7 @@ class ParsingToolBox { public: enum LIST_OPERATOR {NONE,UNIQUE}; + /** * @brief ParsingToolBox */ @@ -144,12 +146,13 @@ public: bool readDiceLogicOperator(QString &str, OperationCondition::ConditionOperator &op); - + bool readArithmeticOperator(QString& str, ScalarOperatorNode::ArithmeticOperator& op); private: QMap* m_logicOp; QMap* m_logicOperation; QMap* m_conditionOperation; + QHash* m_arithmeticOperation; }; #endif // PARSINGTOOLBOX_H -- cgit v1.2.3-70-g09d2