
Public Member Functions | |
| PSStack () | |
| void | pushBool (GBool booln) |
| void | pushInt (int intg) |
| void | pushReal (fouble real) |
| GBool | popBool () |
| int | popInt () |
| fouble | popNum () |
| GBool | empty () |
| GBool | topIsInt () |
| GBool | topTwoAreInts () |
| GBool | topIsReal () |
| GBool | topTwoAreNums () |
| void | copy (int n) |
| void | roll (int n, int j) |
| void | index (int i) |
| void | pop () |
Private Member Functions | |
| GBool | checkOverflow (int n=1) |
| GBool | checkUnderflow () |
| GBool | checkType (PSObjectType t1, PSObjectType t2) |
Private Attributes | |
| PSObject | stack [psStackSize] |
| int | sp |
|
|
Definition at line 813 of file Function.cc. References psStackSize, and sp. |
|
|
Definition at line 846 of file Function.cc. References error(), gFalse, gTrue, and sp. Referenced by copy(), index(), pushBool(), pushInt(), and pushReal(). |
|
||||||||||||
|
Definition at line 862 of file Function.cc. |
|
|
Definition at line 854 of file Function.cc. References error(), gFalse, gTrue, psStackSize, and sp. |
|
|
Definition at line 916 of file Function.cc. References checkOverflow(), i, sp, and stack. Referenced by PostScriptFunction::exec(). |
|
|
Definition at line 820 of file Function.cc. References psStackSize, and sp. |
|
|
Definition at line 952 of file Function.cc. References checkOverflow(), sp, and stack. Referenced by PostScriptFunction::exec(). |
|
|
Definition at line 960 of file Function.cc. References checkUnderflow(), and sp. Referenced by PostScriptFunction::exec(). |
|
|
Definition at line 891 of file Function.cc. References PSObject::booln, checkType(), checkUnderflow(), gFalse, psBool, sp, and stack. Referenced by PostScriptFunction::exec(). |
|
|
Definition at line 898 of file Function.cc. References checkType(), checkUnderflow(), PSObject::intg, psInt, sp, and stack. Referenced by PostScriptFunction::exec(). |
|
|
Definition at line 905 of file Function.cc. References checkType(), checkUnderflow(), PSObject::intg, psInt, psReal, PSObject::real, sp, stack, and PSObject::type. Referenced by PostScriptFunction::exec(). |
|
|
Definition at line 870 of file Function.cc. References PSObject::booln, checkOverflow(), psBool, sp, stack, and PSObject::type. Referenced by PostScriptFunction::exec(). |
|
|
Definition at line 877 of file Function.cc. References checkOverflow(), PSObject::intg, psInt, sp, stack, and PSObject::type. Referenced by PostScriptFunction::exec(). |
|
|
Definition at line 884 of file Function.cc. References checkOverflow(), psReal, PSObject::real, sp, stack, and PSObject::type. Referenced by PostScriptFunction::exec(), and PostScriptFunction::transform(). |
|
||||||||||||
|
Definition at line 928 of file Function.cc. Referenced by PostScriptFunction::exec(). |
|
|
Definition at line 821 of file Function.cc. References psInt, psStackSize, sp, stack, and PSObject::type. Referenced by PostScriptFunction::exec(). |
|
|
Definition at line 826 of file Function.cc. References psReal, psStackSize, sp, stack, and PSObject::type. Referenced by PostScriptFunction::exec(). |
|
|
Definition at line 822 of file Function.cc. References psInt, psStackSize, sp, stack, and PSObject::type. Referenced by PostScriptFunction::exec(). |
|
|
Definition at line 827 of file Function.cc. References psInt, psReal, psStackSize, sp, stack, and PSObject::type. Referenced by PostScriptFunction::exec(). |
|
|
Definition at line 843 of file Function.cc. Referenced by checkOverflow(), checkType(), checkUnderflow(), copy(), empty(), index(), pop(), popBool(), popInt(), popNum(), PSStack(), pushBool(), pushInt(), pushReal(), roll(), topIsInt(), topIsReal(), topTwoAreInts(), and topTwoAreNums(). |
|
|
Definition at line 842 of file Function.cc. Referenced by checkType(), copy(), index(), popBool(), popInt(), popNum(), pushBool(), pushInt(), pushReal(), roll(), topIsInt(), topIsReal(), topTwoAreInts(), and topTwoAreNums(). |
1.4.2