#include <condexpression.h>


Public Member Functions | |
| CondExpression (EXP_TYPE _type) | |
| Constructor. | |
| virtual | ~CondExpression () |
| virtual bool | evalCond (OutputStream &eos, Environment *env, unsigned modus)=0 |
| Evaluates the corresponding CondExpression. | |
Represents base class of all conditional expressions.
Definition at line 49 of file condexpression.h.
| CondExpression::CondExpression | ( | EXP_TYPE | _type | ) |
Constructor.
Constructor - creating object for an EXP_TYPE.
| [in] | _type | EXP_TYPE. |
Definition at line 37 of file condexpression.cpp.
| CondExpression::~CondExpression | ( | ) | [virtual] |
Destructor.
Definition at line 40 of file condexpression.cpp.
| bool CondExpression::evalCond | ( | OutputStream & | eos, | |
| Environment * | env, | |||
| unsigned | modus | |||
| ) | [pure virtual] |
Evaluates the corresponding CondExpression.
Evaluates the corresponding CondExpression.
| [in] | eos | Pointer to a OutputStream object. |
| [in] | env | Pointer to a Environment object. |
| [in] | modus | Evaluation modus. |
| bool | true if the corresponding CondExpression is true, false otherwise. |
| RuntimeException | If illegal evaluation mode (argument: unsigned modus). |
Implemented in AndCondExpression, CondOperandExpression, EmptyCondExpression, ExistsCondExpression, FalseCondExpression, NotCondExpression, OrCondExpression, TrueCondExpression, and VarstepCondExpression.
Referenced by IfExpression::eval(), OrCondExpression::evalCond(), NotCondExpression::evalCond(), and AndCondExpression::evalCond().
1.5.9