spielwiese
Last change
on this file since 79ea48 was
79ea48,
checked in by Martin Lee <martinlee84@…>, 13 years ago
|
fixed includes in idrec.h and ipid.h
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | #ifndef IDREC_H |
---|
2 | #define IDREC_H |
---|
3 | /**************************************** |
---|
4 | * Computer Algebra System SINGULAR * |
---|
5 | ****************************************/ |
---|
6 | /* $Id$ */ |
---|
7 | /* |
---|
8 | * ABSTRACT |
---|
9 | */ |
---|
10 | |
---|
11 | #include <Singular/lists.h> |
---|
12 | #include <Singular/attrib.h> |
---|
13 | #include <Singular/silink.h> |
---|
14 | |
---|
15 | typedef union uutypes utypes; |
---|
16 | union uutypes |
---|
17 | { |
---|
18 | int i; |
---|
19 | ring uring; |
---|
20 | poly p; |
---|
21 | number n; |
---|
22 | ideal uideal; |
---|
23 | map umap; |
---|
24 | matrix umatrix; |
---|
25 | char * ustring; |
---|
26 | intvec * iv; |
---|
27 | lists l; |
---|
28 | si_link li; |
---|
29 | package pack; |
---|
30 | procinfo * pinf; |
---|
31 | }; |
---|
32 | |
---|
33 | class idrec |
---|
34 | { |
---|
35 | public: |
---|
36 | /* !! do not change the first 6 entries !! (see subexpr.h: sleftv) */ |
---|
37 | idhdl next; |
---|
38 | const char *id; |
---|
39 | utypes data; |
---|
40 | attr attribute; |
---|
41 | BITSET flag; |
---|
42 | int typ; |
---|
43 | |
---|
44 | short lev; |
---|
45 | short ref; |
---|
46 | int id_i; |
---|
47 | |
---|
48 | idrec() { memset(this,0,sizeof(*this)); } |
---|
49 | idhdl get(const char * s, int lev); |
---|
50 | idhdl set(const char * s, int lev, int t/*typ*/, BOOLEAN init=TRUE); |
---|
51 | char * String(); |
---|
52 | // ~idrec(); |
---|
53 | }; |
---|
54 | |
---|
55 | #endif |
---|
56 | |
---|
Note: See
TracBrowser
for help on using the repository browser.