ConversionT Class

Parent class contains logic to convert string of math expression to the reverse polish notation (RPN).

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.2.9018.0
C#
public abstract class Conversion<T>
where T : IPrimitive
Inheritance
Object    ConversionT

Type Parameters

T
Expression component type to store the primitives in.

Constructors

ConversionTInitializes a new instance of the ConversionT class

Methods

CreateBracket Creates Bracket.
CreateFunction(String) Creates a Function.
CreateFunction(T, Int32) Preparing of the next stack element.
CreateOperand Creates Operand.
CreateOperator Creates Operator.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
PushFromStack Moving an expression component from the stack to result.
ToPostfix Converts math expression represented as a string to the array of expression components in reverse polish notation (RPN).
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

result Result stack.

See Also