The PostfixMathCommand type exposes the following members.
Methods
Name | Description | |
---|---|---|
CheckNumberOfParameters |
Checks the number of parameters of the function.
Functions which set numberOfParameter=-1 should overload this method
|
|
CheckStack |
Check whether the stack is not null, throw a EvaluationException if it is.
|
|
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetNumberOfParameters |
Return the required number of parameters.
|
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
Run |
Throws an exception because this method should never be called under
normal circumstances. Each function should use it's own run() method
for evaluating the function. This includes popping off the parameters
from the stack, and pushing the result back on the stack.
|
|
SetCurNumberOfParameters |
Sets the number of current number of parameters used in the next call of
run(). This method is only called when the reqNumberOfParameters is -1.
|
|
ToString | (Inherited from Object.) |