My Project  UNKNOWN_GIT_VERSION
Public Member Functions | Data Fields
proclevel Class Reference

#include <ipid.h>

Public Member Functions

 proclevel ()
 
void push (char *)
 
void pop ()
 

Data Fields

proclevelnext
 
idhdl cPackHdl
 
package cPack
 
char * name
 

Detailed Description

Definition at line 54 of file ipid.h.

Constructor & Destructor Documentation

◆ proclevel()

proclevel::proclevel ( )
inline

Definition at line 61 of file ipid.h.

61 { memset(this,0,sizeof(*this)); }

Member Function Documentation

◆ pop()

void proclevel::pop ( )

Definition at line 734 of file ipid.cc.

735 {
736  //Print("pop %s\n",name);
737  //if (currRing!=::currRing) PrintS("currRing wrong\n");;
738  //::currRing=this->currRing;
739  //if (r==NULL) Print("set ring to NULL at lev %d(%s)\n",myynest,name);
740  //::currRingHdl=this->currRingHdl;
741  //if((::currRingHdl==NULL)||(IDRING(::currRingHdl)!=(::currRing)))
742  // ::currRingHdl=rFindHdl(::currRing,NULL,NULL);
743  //Print("restore pack=%s,1.obj=%s\n",IDID(currPackHdl),IDID(currPack->idroot));
744  currPackHdl=this->cPackHdl;
745  currPack=this->cPack;
747  proclevel *p=this;
748  procstack=next;
749  omFreeSize(p,sizeof(proclevel));
750 }

◆ push()

void proclevel::push ( char *  n)

Definition at line 724 of file ipid.cc.

725 {
726  //Print("push %s\n",n);
727  proclevel *p=(proclevel*)omAlloc0(sizeof(proclevel));
728  p->name=n;
729  p->cPackHdl=currPackHdl;
730  p->cPack=currPack;
731  p->next=this;
732  procstack=p;
733 }

Field Documentation

◆ cPack

package proclevel::cPack

Definition at line 59 of file ipid.h.

◆ cPackHdl

idhdl proclevel::cPackHdl

Definition at line 58 of file ipid.h.

◆ name

char* proclevel::name

Definition at line 60 of file ipid.h.

◆ next

proclevel* proclevel::next

Definition at line 57 of file ipid.h.


The documentation for this class was generated from the following files:
iiCheckPack
void iiCheckPack(package &p)
Definition: ipshell.cc:1541
proclevel::cPackHdl
idhdl cPackHdl
Definition: ipid.h:58
currPack
package currPack
Definition: ipid.cc:59
procstack
proclevel * procstack
Definition: ipid.cc:54
proclevel::next
proclevel * next
Definition: ipid.h:57
omFreeSize
#define omFreeSize(addr, size)
Definition: omAllocDecl.h:260
proclevel
Definition: ipid.h:54
currPackHdl
idhdl currPackHdl
Definition: ipid.cc:57
proclevel::cPack
package cPack
Definition: ipid.h:59
p
int p
Definition: cfModGcd.cc:4019
omAlloc0
#define omAlloc0(size)
Definition: omAllocDecl.h:211