Go to the source code of this file.
Enumerations | |
| enum | State { Init = 0 , Sign = 1 , Thousand = 2 , Mantissa = 3 , Dot = 4 , Abscissa = 5 , ExpMark = 6 , ExpSign = 7 , Exponent = 8 , Done = 9 } |
| enum | InputToken { InputSign = 1 , InputThousand = 2 , InputDigit = 3 , InputDot = 4 , InputExp = 5 } |
Functions | |
| static QChar | GetChar (const QString &formula, int &index) |
| static QChar | EatWhiteSpace (const QString &formula, int &index) |
| static int | CheckChar (QChar &c, const QLocale &locale, const QChar &decimal, const QChar &thousand) |
| int | ReadVal (const QString &formula, qreal &val, const QLocale &locale, const QChar &decimal, const QChar &thousand) |
| QString | NameRegExp () |
Variables | |
| static const QChar | QmuEOF = QChar(static_cast<ushort>(0xffff)) |
| enum InputToken |
| Enumerator | |
|---|---|
| InputSign | |
| InputThousand | |
| InputDigit | |
| InputDot | |
| InputExp | |
Definition at line 41 of file qmudef.cpp.
| enum State |
| Enumerator | |
|---|---|
| Init | |
| Sign | |
| Thousand | |
| Mantissa | |
| Dot | |
| Abscissa | |
| ExpMark | |
| ExpSign | |
| Exponent | |
| Done | |
Definition at line 27 of file qmudef.cpp.
|
static |
Definition at line 77 of file qmudef.cpp.
References INIT_LOCALE_VARIABLES, InputDigit, InputDot, InputExp, InputSign, and InputThousand.
Referenced by ReadVal().
|
static |
Definition at line 64 of file qmudef.cpp.
References GetChar(), and QmuEOF.
Referenced by ReadVal().
|
static |
Definition at line 53 of file qmudef.cpp.
References QmuEOF.
Referenced by EatWhiteSpace(), and ReadVal().
| QString NameRegExp | ( | ) |
Definition at line 281 of file qmudef.cpp.
Referenced by DialogTrueDarts::CheckName(), DialogVariables::DialogVariables(), TMainWindow::InitWindow(), DialogTool::NamePointChanged(), VToolOptionsPropertyBrowser::setOperationSuffix(), VToolOptionsPropertyBrowser::setPointName(), VToolOptionsPropertyBrowser::setPointName1(), VToolOptionsPropertyBrowser::setPointName2(), DialogMirrorByAxis::suffixChanged(), DialogMirrorByLine::suffixChanged(), DialogMove::suffixChanged(), and DialogRotation::suffixChanged().
| int ReadVal | ( | const QString & | formula, |
| qreal & | val, | ||
| const QLocale & | locale, | ||
| const QChar & | decimal, | ||
| const QChar & | thousand | ||
| ) |
Definition at line 170 of file qmudef.cpp.
References Abscissa, CheckChar(), Done, Dot, EatWhiteSpace(), ExpMark, Exponent, ExpSign, GetChar(), Init, INIT_LOCALE_VARIABLES, Mantissa, Sign, and Thousand.
Referenced by qmu::QmuParser::IsVal().
|
static |
Definition at line 50 of file qmudef.cpp.
Referenced by EatWhiteSpace(), and GetChar().