Statistics
| Revision:

root / logic / trunk / src / logics / operators.h @ 55

History | View | Annotate | Download (407 Bytes)

1 32 Janez1
#ifndef OPERATORS_H_INCLUDED
2
#define OPERATORS_H_INCLUDED
3
4 36 Janez1
#define TOP_NODE           -1
5 32 Janez1
#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 40 Janez1
int evalOperators(int opr, int a, int b);
15 32 Janez1
16 36 Janez1
#endif // OPERATORS_H_INCLUDED