#include <evaluator_impl.h>
Definition at line 223 of file evaluator_impl.h.
Definition at line 228 of file evaluator_impl.h.
ExpressionElement * m_pEE1
ExpressionElement * m_pEE2
EE_Divide::~EE_Divide |
( |
void |
| ) |
|
|
inline |
Implements ExpressionElement.
Definition at line 233 of file evaluator_impl.h.
References ASSERT, ExpressionElement::Eval(), TypedValue::GetBool(), TypedValue::GetInt(), TypedValue::GetReal(), TypedValue::GetType(), m_pEE1, m_pEE2, TypedValue::VAR_BOOL, TypedValue::VAR_INT, and TypedValue::VAR_REAL.
244 if (std::abs(value) < std::numeric_limits<double>::epsilon()) {
246 std::cout <<
"denominator cannot be zero" << std::endl;
TypedValue::Type GetType(void) const
ExpressionElement * m_pEE1
virtual TypedValue Eval(void) const =0
ExpressionElement * m_pEE2
#define ASSERT(expression)
std::ostream& EE_Divide::Output |
( |
std::ostream & |
out | ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following file: