My Project
Loading...
Searching...
No Matches
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 55 of file ipid.h.

Constructor & Destructor Documentation

◆ proclevel()

proclevel::proclevel ( )
inline

Definition at line 62 of file ipid.h.

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

Member Function Documentation

◆ pop()

void proclevel::pop ( )

Definition at line 813 of file ipid.cc.

814{
815 //Print("pop %s\n",name);
816 //if (currRing!=::currRing) PrintS("currRing wrong\n");;
817 //::currRing=this->currRing;
818 //if (r==NULL) Print("set ring to NULL at lev %d(%s)\n",myynest,name);
819 //::currRingHdl=this->currRingHdl;
820 //if((::currRingHdl==NULL)||(IDRING(::currRingHdl)!=(::currRing)))
821 // ::currRingHdl=rFindHdl(::currRing,NULL,NULL);
822 //Print("restore pack=%s,1.obj=%s\n",IDID(currPackHdl),IDID(currPack->idroot));
823 currPackHdl=this->cPackHdl;
824 currPack=this->cPack;
826 proclevel *p=this;
828 omFreeSize(p,sizeof(proclevel));
829}
int p
Definition: cfModGcd.cc:4078
Definition: ipid.h:56
proclevel * next
Definition: ipid.h:58
package cPack
Definition: ipid.h:60
idhdl cPackHdl
Definition: ipid.h:59
EXTERN_VAR proclevel * procstack
Definition: ipid.h:66
EXTERN_VAR package currPack
Definition: ipid.h:17
EXTERN_VAR idhdl currPackHdl
Definition: ipid.h:15
void iiCheckPack(package &p)
Definition: ipshell.cc:1630
#define omFreeSize(addr, size)
Definition: omAllocDecl.h:260

◆ push()

void proclevel::push ( char *  n)

Definition at line 803 of file ipid.cc.

804{
805 //Print("push %s\n",n);
807 p->name=n;
808 p->cPackHdl=currPackHdl;
809 p->cPack=currPack;
810 p->next=this;
811 procstack=p;
812}
#define omAlloc0(size)
Definition: omAllocDecl.h:211

Field Documentation

◆ cPack

package proclevel::cPack

Definition at line 60 of file ipid.h.

◆ cPackHdl

idhdl proclevel::cPackHdl

Definition at line 59 of file ipid.h.

◆ name

char* proclevel::name

Definition at line 61 of file ipid.h.

◆ next

proclevel* proclevel::next

Definition at line 58 of file ipid.h.


The documentation for this class was generated from the following files: