1 #ifndef __BOOLEANEXPRESSION_H__ 2 #define __BOOLEANEXPRESSION_H__ 14 enum Operation_Type { AND, OR, PLUS, MINUS, MUL, DIV};
15 enum Comparison_Type { EQ, NEQ, GT, GTE, LT, LTE };
16 enum Element_Type { NUMBER, T, F, I, U, ALL, OP, COMP};
19 Operation_Type operation;
20 Comparison_Type comparison;
27 void add_element(Element_Type type,
data_type data = {0});
28 int calculate(
int i,
int t,
int f,
int u);
32 std::vector<bool_elem> elems;
Definition: BooleanExpression.h:17
Definition: Application.cc:37
Definition: BooleanExpression.h:22
Definition: BooleanExpression.h:8