From 9f08ef2435310b9b6910ac838d3895996a48ec66 Mon Sep 17 00:00:00 2001 From: Renaud Guezennec Date: Tue, 28 Nov 2017 15:47:45 +0100 Subject: -syntax parsing for dynamic variables. --- parsingtoolbox.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'parsingtoolbox.h') diff --git a/parsingtoolbox.h b/parsingtoolbox.h index 5a87573..8328dc8 100644 --- a/parsingtoolbox.h +++ b/parsingtoolbox.h @@ -124,6 +124,14 @@ public: */ static bool readCloseParentheses(QString& str); + /** + * @brief readNumber read number in the given str and remove from the string the read character. + * @param str the command line + * @param myNumber reference to the found number + * @return true, succeed to read number, false otherwise. + */ + static bool readDynamicVariable(QString& str, qint64& index); + /** * @brief readList * @param str -- cgit v1.2.3-70-g09d2