|
Last change
on this file since f712e16 was
57728c1,
checked in by Mateusz Hromada <ruanda@…>, 16 years ago
|
|
Move old files to _old dir.
|
-
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.