diff options
| author | 2017-11-28 15:47:45 +0100 | |
|---|---|---|
| committer | 2017-11-28 15:47:45 +0100 | |
| commit | 9f08ef2435310b9b6910ac838d3895996a48ec66 (patch) | |
| tree | dbaafa024dd5dda7b8e724f05ca186668c561873 /parsingtoolbox.h | |
| parent | afd142aa0042575a37c4a56954b320c68b3466c1 (diff) | |
| download | OneRoll-9f08ef2435310b9b6910ac838d3895996a48ec66.tar.gz OneRoll-9f08ef2435310b9b6910ac838d3895996a48ec66.zip | |
-syntax parsing for dynamic variables.
Diffstat (limited to 'parsingtoolbox.h')
| -rw-r--r-- | parsingtoolbox.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/parsingtoolbox.h b/parsingtoolbox.h index 5a87573..8328dc8 100644 --- a/parsingtoolbox.h +++ b/parsingtoolbox.h @@ -125,6 +125,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 * @param list |