#include <Xabsl2DecimalExpression.h>
Inheritance diagram for Xabsl2ConditionalExpression:
Public Member Functions | |
Xabsl2ConditionalExpression (Xabsl2InputSource &input, Xabsl2Option *subsequentOption, Xabsl2ErrorHandler &errorHandler, Xabsl2Array< double > ¶meters, Xabsl2Symbols &symbols, unsigned long &timeOfOptionExecution, unsigned long &timeOfStateExecution) | |
Constructor. | |
~Xabsl2ConditionalExpression () | |
Destructor. | |
virtual double | getValue () |
Calculates the value of the decimal expression. | |
Private Attributes | |
Xabsl2BooleanExpression * | condition |
The condition. | |
Xabsl2DecimalExpression * | expression1 |
The expression that is returned when the condition evaluates true. | |
Xabsl2DecimalExpression * | expression2 |
The expression that is returned when the condition evaluates false. |
Definition at line 349 of file Xabsl2DecimalExpression.h.
|
Constructor. Creates the expression
Definition at line 307 of file Xabsl2DecimalExpression.cpp. References condition, Xabsl2BooleanExpression::create(), Xabsl2DecimalExpression::createOperand(), Xabsl2ErrorHandler::error(), Xabsl2ErrorHandler::errorsOccurred, expression1, expression2, Xabsl2ErrorHandler::message(), and XABSL2_DEBUG_INIT. |
Here is the call graph for this function:
|
Destructor.
Definition at line 346 of file Xabsl2DecimalExpression.cpp. References condition, expression1, and expression2. |
|
Calculates the value of the decimal expression.
Implements Xabsl2DecimalExpression. Definition at line 353 of file Xabsl2DecimalExpression.cpp. References condition, expression1, expression2, Xabsl2DecimalExpression::getValue(), and Xabsl2BooleanExpression::getValue(). |
Here is the call graph for this function:
|
The condition.
Definition at line 379 of file Xabsl2DecimalExpression.h. Referenced by getValue(), Xabsl2ConditionalExpression(), and ~Xabsl2ConditionalExpression(). |
|
The expression that is returned when the condition evaluates true.
Definition at line 382 of file Xabsl2DecimalExpression.h. Referenced by getValue(), Xabsl2ConditionalExpression(), and ~Xabsl2ConditionalExpression(). |
|
The expression that is returned when the condition evaluates false.
Definition at line 385 of file Xabsl2DecimalExpression.h. Referenced by getValue(), Xabsl2ConditionalExpression(), and ~Xabsl2ConditionalExpression(). |