Provides different standard constants.
#include <QtxEvalExpr.h>
|
static QString | Name () |
| Get operations set name. More...
|
|
QtxEvalSetConst::QtxEvalSetConst |
( |
| ) |
|
QtxEvalSetConst::~QtxEvalSetConst |
( |
| ) |
|
|
virtual |
void QtxEvalSetConst::bracketsList |
( |
QStringList & |
, |
|
|
bool |
open |
|
) |
| const |
|
virtual |
- Parameters
-
list | returning list of brackets (not used) |
open | if true , collect opening brackets, or closing brackets otherwise (not used) |
Implements QtxEvalSet.
bool QtxEvalSetConst::createValue |
( |
const QString & |
str, |
|
|
QVariant & |
val |
|
) |
| const |
|
virtual |
Convert constant name to its value.
- Parameters
-
str | string representration of the constant |
val | returning value |
- Returns
true
if str can be evaluated as custom value and false
otherwise (parameter)
Reimplemented from QtxEvalSet.
QString QtxEvalSetConst::Name |
( |
| ) |
|
|
static |
- Returns
- operations set name
QString QtxEvalSetConst::name |
( |
| ) |
const |
|
virtual |
void QtxEvalSetConst::operationList |
( |
QStringList & |
| ) |
const |
|
virtual |
- Parameters
-
list | returning list of operations supported by the class (not used) |
Implements QtxEvalSet.
int QtxEvalSetConst::priority |
( |
const QString & |
, |
|
|
bool |
isBin |
|
) |
| const |
|
virtual |
Operation priority counts from 1. If the operation is impossible, this function returns value <= 0.
- Parameters
-
op | operation (not used) |
isBin | true if the operation is binary and false if it is unary (not used) |
- Returns
- operation priority
Implements QtxEvalSet.
The documentation for this class was generated from the following files: