source: git/kernel/idrec.h @ 724944

spielwiese
Last change on this file since 724944 was 724944, checked in by Hans Schönemann <hannes@…>, 13 years ago
idrec -> idrec.h git-svn-id: file:///usr/local/Singular/svn/trunk@12708 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 677 bytes
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 "structs.h"
12
13class idrec
14{
15  public:
16  /* !! do not change the first 6 entries !! (see subexpr.h: sleftv) */
17  idhdl      next;
18  const char *id;
19  utypes     data;
20  attr       attribute;
21  BITSET     flag;
22  int        typ;
23
24  short      lev;
25  short      ref;
26  int        id_i;
27
28  idrec() { memset(this,0,sizeof(*this)); }
29  idhdl get(const char * s, int lev);
30  idhdl set(const char * s, int lev, int t/*typ*/, BOOLEAN init=TRUE);
31  char * String();
32//  ~idrec();
33};
34
35#endif
36
Note: See TracBrowser for help on using the repository browser.