root / logic / trunk / src / logics / operators.h @ 93
History | View | Annotate | Download (407 Bytes)
1 |
#ifndef OPERATORS_H_INCLUDED
|
---|---|
2 |
#define OPERATORS_H_INCLUDED
|
3 |
|
4 |
#define TOP_NODE -1 |
5 |
#define AND 0 |
6 |
#define NOT_AND 1 |
7 |
#define OR 2 |
8 |
#define XOR 3 |
9 |
#define GREATER 4 |
10 |
#define GREATER_OR_EQUAL 5 |
11 |
#define LESS 6 |
12 |
#define LESS_OR_EQUAL 7 |
13 |
|
14 |
int evalOperators(int opr, int a, int b); |
15 |
|
16 |
#endif // OPERATORS_H_INCLUDED |