#include <vector>
#include "environment.h"
#include "typeenums.h"
#include "fsamap.h"
#include "runtimeexception.h"
Go to the source code of this file.
Classes | |
class | Expression |
Represents base class of all expressions. More... | |
Defines | |
#define | EVAL_QUERY 0 |
Predefined variable for use as third argument of method eval() and represents a query evaluation mode. | |
#define | EVAL_QUERY_SILENT 1 |
Predefined variable for use as third argument of method eval() and represents a query evaluation mode. | |
#define | EVAL_SIGNOFF 2 |
Predefined variable for use as third argument of method eval() and represents a query evaluation mode. | |
#define | EVAL_QUERY 0 |
#define | EVAL_QUERY_SILENT 1 |
#define | EVAL_SIGNOFF 2 |
Header file specifying constructors, destructor and functions for expression.cpp.
Definition in file expression.h.
#define EVAL_QUERY 0 |
Predefined variable for use as third
argument of method eval() and represents a query evaluation mode.
Predefined variable for use as third
argument of method eval() and represents a query evaluation mode. This is the standard evaluation mode. When method eval() is called using this mode, the query is evaluated, the result is written to the output stream and signOff-statements are evaluated.
Definition at line 52 of file expression.h.
Referenced by VarStepExpression::eval(), VarExpression::eval(), StringConstExpression::eval(), SequenceExpression::eval(), NumericConstExpression::eval(), NodeConstructExpression::eval(), IfExpression::eval(), FunctTruncateExpression::eval(), FunctRoundHalfToEvenExpression::eval(), FunctRoundExpression::eval(), FunctFloorExpression::eval(), FunctCoverExpression::eval(), FunctCeilingExpression::eval(), FunctAbsExpression::eval(), ForExpression::eval(), AggregateFunctVarSampExpression::eval(), AggregateFunctVarPopExpression::eval(), AggregateFunctSumExpression::eval(), AggregateFunctStdDevSampExpression::eval(), AggregateFunctStdDevPopExpression::eval(), AggregateFunctMinExpression::eval(), AggregateFunctMedianExpression::eval(), AggregateFunctMaxExpression::eval(), AggregateFunctCountExpression::eval(), AggregateFunctAvgExpression::eval(), ExistsCondExpression::evalCond(), CondOperandExpression::evalCond(), and Executor::evalQuery().
#define EVAL_QUERY_SILENT 1 |
Predefined variable for use as third
argument of method eval() and represents a query evaluation mode.
Predefined variable for use as third
argument of method eval() and represents a query evaluation mode. Equal to evaluation mode EVAL_QUERY, except that in this mode the result is not written to the output stream but passed to the calling function instead.
Definition at line 62 of file expression.h.
Referenced by FunctTruncateExpression::eval(), FunctRoundHalfToEvenExpression::eval(), FunctRoundExpression::eval(), FunctFloorExpression::eval(), FunctCoverExpression::eval(), FunctCeilingExpression::eval(), FunctAbsExpression::eval(), AggregateFunctVarSampExpression::eval(), AggregateFunctVarPopExpression::eval(), AggregateFunctSumExpression::eval(), AggregateFunctStdDevSampExpression::eval(), AggregateFunctStdDevPopExpression::eval(), AggregateFunctMinExpression::eval(), AggregateFunctMedianExpression::eval(), AggregateFunctMaxExpression::eval(), AggregateFunctCountExpression::eval(), AggregateFunctAvgExpression::eval(), RoundingExpression::prepareOperand(), and AggregateFunctExpression::prepareOperand().
#define EVAL_SIGNOFF 2 |
Predefined variable for use as third
argument of method eval() and represents a query evaluation mode.
Predefined variable for use as third
argument of method eval() and represents a query evaluation mode. In this query evaluation mode, no query evaluation is performed, but only signOff-statements are evaluated. This mode is used to evaluate signOff-statements in the part of if-statements that has not been been matched by the if-condition. These signOff-statements must be evaluated, because at projection time we do not know the exact condition and, for this reason, assign roles for both parts of the expression.
Definition at line 75 of file expression.h.
Referenced by VarStepExpression::eval(), VarExpression::eval(), StringConstExpression::eval(), SequenceExpression::eval(), OrCondExpression::eval(), NumericConstExpression::eval(), NotCondExpression::eval(), NodeConstructExpression::eval(), IfExpression::eval(), FunctTruncateExpression::eval(), FunctRoundHalfToEvenExpression::eval(), FunctRoundExpression::eval(), FunctFloorExpression::eval(), FunctCoverExpression::eval(), FunctCeilingExpression::eval(), FunctAbsExpression::eval(), ForExpression::eval(), AndCondExpression::eval(), AggregateFunctVarSampExpression::eval(), AggregateFunctVarPopExpression::eval(), AggregateFunctSumExpression::eval(), AggregateFunctStdDevSampExpression::eval(), AggregateFunctStdDevPopExpression::eval(), AggregateFunctMinExpression::eval(), AggregateFunctMedianExpression::eval(), AggregateFunctMaxExpression::eval(), AggregateFunctCountExpression::eval(), AggregateFunctAvgExpression::eval(), OrCondExpression::evalCond(), ExistsCondExpression::evalCond(), CondOperandExpression::evalCond(), AndCondExpression::evalCond(), and ForExpression::evalSignOffForBinding().