Last change
on this file since a26cf42 was
2f8d6d8,
checked in by to <to@…>, 15 years ago
|
Poprawki kodu w C++ (nazwy plikow naglowkowych, using ...).
modified: compiledic/aut2fsa.cc
modified: dgp/grammar.hh
modified: dgp/mgraph.hh
modified: dgp/sgraph.hh
modified: dgp/thesymbols.hh
modified: gue/guess.cc
modified: kor/corlist.cc
modified: lem/lem.cc
modified: lib/symtab.cc
modified: lib/tft.h
modified: lib/tfti.h
modified: lib/ttrans.h
modified: lib/word.cc
modified: lib/word.h
|
-
Property mode set to
100644
|
File size:
578 bytes
|
Line | |
---|
1 | #ifndef __THESYMBOLS__HH |
---|
2 | #define __THESYMBOLS__HH |
---|
3 | |
---|
4 | #include "symbol.hh" |
---|
5 | #include "const.hh" |
---|
6 | |
---|
7 | #include <list> |
---|
8 | #include <set> |
---|
9 | #include <bitset> |
---|
10 | |
---|
11 | |
---|
12 | using namespace std; |
---|
13 | |
---|
14 | typedef Symbol<1> Cat; |
---|
15 | |
---|
16 | typedef Symbol<2> Role; |
---|
17 | typedef list<Role> RoleList; |
---|
18 | typedef list<Role>::iterator RoleListIter; |
---|
19 | typedef bitset<MAXTYPES> RoleSet; |
---|
20 | typedef set<Role> Roles; |
---|
21 | typedef Roles::iterator RolesIter; |
---|
22 | |
---|
23 | typedef Symbol<3> Constr; |
---|
24 | typedef list<Constr> ConstrList; |
---|
25 | typedef list<Constr>::iterator ConstrListIter; |
---|
26 | |
---|
27 | typedef Symbol<4> Rel; |
---|
28 | |
---|
29 | typedef Symbol<5> Flag; |
---|
30 | typedef bitset<MAXFLAGS> FlagSet; |
---|
31 | |
---|
32 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.