diff options
| author | 2016-03-22 19:27:45 +0100 | |
|---|---|---|
| committer | 2016-03-22 19:27:45 +0100 | |
| commit | d466a529fe2ed5c09c2353c67c82df5c83d831cf (patch) | |
| tree | 6807e3729cf4eff1c750e5de04113af4809059bb /parsingtoolbox.h | |
| parent | 37320ce7aa23c52f950a97c756a2d9c618467d1d (diff) | |
| download | OneRoll-d466a529fe2ed5c09c2353c67c82df5c83d831cf.tar.gz OneRoll-d466a529fe2ed5c09c2353c67c82df5c83d831cf.zip | |
fix cpp check
Diffstat (limited to 'parsingtoolbox.h')
| -rw-r--r-- | parsingtoolbox.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/parsingtoolbox.h b/parsingtoolbox.h index 8c80d13..4aeb16e 100644 --- a/parsingtoolbox.h +++ b/parsingtoolbox.h @@ -45,6 +45,11 @@ public: * @brief ParsingToolBox */ ParsingToolBox(); + /** + * @brief ParsingToolBox + * @param data + */ + ParsingToolBox(const ParsingToolBox & data); /** * @brief ~ParsingToolBox */ @@ -61,7 +66,7 @@ public: * @param str * @return */ - bool readAscending(QString& str); + static bool readAscending(QString& str); /** * @brief readLogicOperator * @param str @@ -88,7 +93,7 @@ public: * @param myNumber reference to the found number * @return true, succeed to read number, false otherwise. */ - bool readNumber(QString& str, qint64& myNumber); + static bool readNumber(QString& str, qint64& myNumber); /** @@ -96,13 +101,13 @@ public: * @param str * @return */ - bool readOpenParentheses(QString& str); + static bool readOpenParentheses(QString& str); /** * @brief readCloseParentheses * @param str * @return */ - bool readCloseParentheses(QString& str); + static bool readCloseParentheses(QString& str); /** * @brief readList @@ -138,7 +143,7 @@ public: * @param str * @return */ - LIST_OPERATOR readListOperator(QString& str); + static LIST_OPERATOR readListOperator(QString& str); void readProbability(QStringList& str,QList<Range>& ranges); @@ -148,7 +153,7 @@ public: bool readArithmeticOperator(QString& str, ScalarOperatorNode::ArithmeticOperator& op); - void readPainterParameter(PainterNode *painter, QString &str); + static void readPainterParameter(PainterNode *painter, QString &str); private: QMap<QString,BooleanCondition::LogicOperator>* m_logicOp; QMap<QString,CompositeValidator::LogicOperation>* m_logicOperation; |