1 #ifndef MATH_Expression_H
2 #define MATH_Expression_H
112 return evaluate(ALGEBRIC,symbols,value);
MATH_Expression(void)
create
Definition: MATH_Expression.cpp:15
static const tFlag COMPUTE_BOUNDS
Definition: MATH_Expression.h:35
This class decribes a variable class for evaluation.
Definition: MATH_Variable.h:16
static const int OUT_OF_BOUNDS
Definition: MATH_Expression.h:45
This class is the base class of a math expression.
Definition: MATH_Expression.h:24
static const int SIZE_MISMATCHED
Definition: MATH_Expression.h:44
static const tFlag IS_INSIDE
Definition: MATH_Expression.h:34
This class is a root expression The MATH_RootExpression::newClassFactoryInstance() creates the class ...
Definition: MATH_RootExpression.h:24
virtual ~MATH_Expression(void)
destroy
Definition: MATH_Expression.cpp:18
virtual int evaluate(const tFlag &action, MATH_Environment &symbols, MATH_Variable &value) const =0
void evaluate the expression
static const int FAIL
Definition: MATH_Expression.h:42
abstract base class for most classes.
Definition: CORE_Object.h:30
static const int TYPE_MISMATCHED
Definition: MATH_Expression.h:43
int evaluate(MATH_Environment &symbols, MATH_Variable &value) const
void evaluate the algebric expression
Definition: MATH_Expression.h:111
DEFINE_SPTR(MATH_Expression)
This class decribes an environment class.
Definition: MATH_Environment.h:14
static const int SUCCESS
Definition: MATH_Expression.h:41
static const int NULL_OPERAND
Definition: MATH_Expression.h:46
static const tFlag ALGEBRIC
Definition: MATH_Expression.h:31
#define tFlag
Definition: types.h:14