repo.or.cz
/
opsoft_test.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
current version
[opsoft_test.git]
/
silentbob
/
include
/
TT.h
blob
bcb8327df040cad0cbc9017e645a43a7694a4c38
1
/*
2
* (c) Oleg Puchinin 2007
3
* graycardinalster@gmail.com
4
*
5
*/
6
7
#ifndef DEFINE_TT_H
8
#define DEFINE_TT_H
9
class
TT
10
{
11
public
:
12
TT
();
13
~
TT
();
14
15
int
loadFile
(
char
*
fileName
);
16
int
init
();
17
int
drop
();
18
char
*
op
();
19
char
*
nextOperator
();
20
int
wit
();
21
22
inline
int
line
() {
23
if
(!
tt
)
24
return
-
1
;
25
return
tt
->
attachment
[
ENV
->
t_op_no
].
pair_line
+
1
;
26
}
27
28
char
ch
;
29
tt_state_t
*
tt
;
30
int
bracketDepth
;
31
32
private
:
33
char
*
d_out
, *
d_ptr
;
34
int
depthModif
;
35
};
36
37
#endif
38