current version
[opsoft_test.git] / silentbob / include / TT.h
blobbcb8327df040cad0cbc9017e645a43a7694a4c38
1 /*
2 * (c) Oleg Puchinin 2007
3 * graycardinalster@gmail.com
4 *
5 */
7 #ifndef DEFINE_TT_H
8 #define DEFINE_TT_H
9 class TT
11 public:
12 TT ();
13 ~TT ();
15 int loadFile (char * fileName);
16 int init ();
17 int drop ();
18 char * op ();
19 char * nextOperator ();
20 int wit ();
22 inline int line () {
23 if (! tt)
24 return -1;
25 return tt->attachment[ENV->t_op_no].pair_line + 1;
28 char ch;
29 tt_state_t * tt;
30 int bracketDepth;
32 private:
33 char *d_out, *d_ptr;
34 int depthModif;
37 #endif