23 #ifndef BAGEL_BAGLIB_EXPRESSION_H 24 #define BAGEL_BAGLIB_EXPRESSION_H 26 #include "bagel/baglib/parse_object.h" 27 #include "bagel/baglib/var.h" 28 #include "bagel/boflib/list.h" 42 OP_GREATER_THAN_EQUAL,
70 static void initialize();
71 static void shutdown();
76 bool evaluate(
bool negFl =
false,
CBagVar &result = *_tempVar);
85 bool negEvaluate(
CBagVar &result = *_tempVar);
87 void setNegative(
bool b =
true) {
90 bool isNegative()
const {
94 CBagVar *getVariable(
int itemPos);
95 OPERATION getOperation(
int itemPos);
98 ErrorCode getOperatorFromStream(
CBagIfstream &istr, OPERATION &oper);
101 return _prevExpression;
104 _prevExpression = expr;
Definition: ifstream.h:31
Definition: parse_object.h:45
bool evalLeftToRight(bool negFl=false, CBagVar &result= *_tempVar)
Definition: expression.h:32