My Project  debian-1:4.1.2-p1+ds-2
idrec.h
Go to the documentation of this file.
1 #ifndef IDREC_H
2 #define IDREC_H
3 /****************************************
4 * Computer Algebra System SINGULAR *
5 ****************************************/
6 /*
7 * ABSTRACT interpreter type for variables
8 */
9 
10 #include "Singular/lists.h"
11 #include "Singular/attrib.h"
12 #include "Singular/links/silink.h"
13 
14 class bigintmat;
15 typedef union uutypes utypes;
16 union uutypes
17 {
18  int i;
19  ring uring;
20  poly p;
21  number n;
22  ideal uideal;
25  char * ustring;
30  package pack;
31  procinfo * pinf;
32 };
33 
34 class idrec
35 {
36  public:
37  /* !! do not change the first 6 entries !! (see subexpr.h: sleftv) */
39  const char *id;
40  utypes data;
41  attr attribute;
42  BITSET flag;
43  int typ;
44 
45  short lev;
46  short ref;
47  int id_i;
48 
49  idrec() { memset(this,0,sizeof(*this)); }
50  idhdl get(const char * s, int lev);
51  idhdl set(const char * s, int lev, int t/*typ*/, BOOLEAN init=TRUE);
52  char * String(BOOLEAN typed = FALSE);
53 // ~idrec();
54 };
55 
56 #endif
57 
uutypes::umap
map umap
Definition: idrec.h:22
FALSE
#define FALSE
Definition: auxiliary.h:96
ip_smatrix
Definition: matpol.h:13
uutypes::pinf
procinfo * pinf
Definition: idrec.h:30
bigintmat
Definition: bigintmat.h:49
uutypes::i
int i
Definition: idrec.h:17
uutypes::uideal
ideal uideal
Definition: idrec.h:21
lists.h
attrib.h
uutypes::n
number n
Definition: idrec.h:20
map
CanonicalForm map(const CanonicalForm &primElem, const Variable &alpha, const CanonicalForm &F, const Variable &beta)
map from to such that is mapped onto
Definition: cf_map_ext.cc:400
BITSET
#define BITSET
Definition: structs.h:19
procinfo
Definition: subexpr.h:52
sattr
Definition: attrib.h:16
uutypes::umatrix
matrix umatrix
Definition: idrec.h:23
next
ListNode * next
Definition: janet.h:31
uutypes::l
lists l
Definition: idrec.h:27
TRUE
#define TRUE
Definition: auxiliary.h:100
BOOLEAN
int BOOLEAN
Definition: auxiliary.h:87
intvec
Definition: intvec.h:18
uutypes::ustring
char * ustring
Definition: idrec.h:24
uutypes
Definition: idrec.h:15
uutypes::iv
intvec * iv
Definition: idrec.h:25
uutypes::uring
ring uring
Definition: idrec.h:18
slists
Definition: lists.h:22
idrec
Definition: idrec.h:33
uutypes::p
poly p
Definition: idrec.h:19
s
const CanonicalForm int s
Definition: facAbsFact.cc:55
uutypes::bim
bigintmat * bim
Definition: idrec.h:26
uutypes::li
si_link li
Definition: idrec.h:28