uStrata.MathDaemon.Computation ExpressionEngine
Namespace: uStrata.MathDaemon.Computation
Assembly: uStrata.MathDaemon.Computation (in uStrata.MathDaemon.Computation.dll) Version: 1.1.5779.28281
The ExpressionEngine type exposes the following members.
| Name | Description | |
|---|---|---|
| ExpressionEngine |
Constructor. Creates an instance of ExpressionEngine class
|
| Name | Description | |
|---|---|---|
| CheckSyntax |
Performs parsing (syntax check) for all expressions (including ternary) stored in the engine. Provides a detailed information about error in case of failure
| |
| CheckSyntax(String) |
Performs parsing (syntax check) for passed expression. Provides a detailed information about error in case of failure
| |
| Clean |
Removes all expressions and parameters from its collections and removes compiled code from the memory.
| |
| CleanExpressions |
Removes compiled code from the memory. Parameters and expressions are not removed and becomes available for editing.
| |
| Compile |
Compiles all defined expressions, if parsing passed
| |
| Execute(String) |
Performs a calculation of previously compiled formula by its name
| |
| Execute(String, Dictionary String, Double ) |
Performs a calculation of previously compiled formula by its name using passed values.
| |
| ExecuteAll |
Performs a calculation for all stored formulas
| |
| ExecuteAll(Dictionary String, Double ) |
Performs a calculation for all stored formulas using passed values.
| |
| ExecuteExpressions |
Performs a calculation for all stored expressions (ternary expressions are not included)
| |
| ExecuteExpressions(Dictionary String, Double ) |
Performs a calculation for all stored expressions (ternary expressions are not included) using passed values.
| |
| ExecuteTernaryExpressions |
Performs a calculation for all stored ternary expressions
| |
| ExecuteTernaryExpressions(Dictionary String, Double ) |
Performs a calculation for all stored ternary expressions using passed values.
| |
| ExpressionAdd |
Add a single expression to the storage. Only 3 expressions should be added for free version.
Passed formula is not checked for correct syntax. | |
| ExpressionEdit |
Edit a formula of the expression
Passed formula is not checked for correct syntax. | |
| ExpressionEditName |
Renames expression. All dependent expressions will be updated.
| |
| ExpressionExists |
Check if passed expression name stored within the collection
| |
| ExpressionRemove |
Removes passed expression from the collection.
If the expression is used within any another expression, error will be raised on parsing only. | |
| FindCircularReferences |
Find all expressions and ternary expressions that points to themselves directly or via intermediate expression.
| |
| GetExpression |
Retrieve an expression by its name
| |
| GetParameterValue |
Retrieve currently stored parameter value by its name
| |
| GetTernaryExpression |
Retrieve an ternary expression structure by its name
| |
| ParameterAdd |
Add a single parameter to the storage. Only 3 parameters should be added for free version.
| |
| ParameterEdit |
Renames parameter. All dependent expressions will be updated.
| |
| ParameterExists |
Check if passed parameter name stored within the collection
| |
| ParameterRemove |
Removes passed parameter from the collection.
If the parameter is used within any expression, error will be raised on parsing only. | |
| SetParameterValue(Dictionary String, Double ) |
Assign new values to all parameters passed in the list
| |
| SetParameterValue(String, Double) |
Assigned new value to passed parameter name
| |
| TernaryExpressionAdd |
Add a single ternary expression to the storage. Only 3 ternary expressions should be added for free version.
Passed formula is not checked for correct syntax. Ternary expression will be composed in the followed way: ifLeft compareType ifRight THEN thenExpression ELSE elseExpression Or, in ternary way ifLeft compareType ifRight ? thenExpression : elseExpression | |
| TernaryExpressionEdit |
Edit a formula of the ternary expression
Passed formula is not checked for correct syntax. Ternary expression will be composed in the followed way: ifLeft compareType ifRight THEN thenExpression ELSE elseExpression Or, in ternary way ifLeft compareType ifRight ? thenExpression : elseExpression | |
| TernaryExpressionEditName |
Renames ternary expression. All dependent expressions will be updated.
| |
| TernaryExpressionExists |
Check if passed ternary expression name stored within the collection
| |
| TernaryExpressionRemove |
Removes passed ternary expression from the collection.
If the expression is used within any another expression, error will be raised on parsing only. |
| Name | Description | |
|---|---|---|
| AngleMode |
AngleMode value to be used for all trigonometrical calculations
| |
| Description |
Optional description for the instance
| |
| Estimate |
Estimate value to be used for comparison evaluations such as Equal, NotEqual, GreaterEqual and LessEqual
Field ValueType:double | |
| FormulaCount |
Number of expressions stored within the instance. Ternary expressions are not included.
| |
| FormulaList |
Collection of expressions stored within the instance. Ternary expressions are not included.
| |
| InstanceId |
Unique object identifier generated once when the object is created.
Used internally to support an instance tree belongs to several users. May be set via object initializer only. | |
| Name |
Optional name for the instance
| |
| ParameterCount |
Number of parameters stored within the instance.
| |
| ParameterList |
Collection of parameters defined for the instance.
| |
| RegisteredFunctionCount |
Number of built-in functions supported by the engine
| |
| RegisteredFunctionList |
Collection of standard built-in mathematical functions supported by the engine
| |
| SessionId |
Unique identifier describes the session that current instance belongs
Used internally to support an instance tree belongs to several users and their sessions. May be set via object initializer only. | |
| StandardConstantCount |
Number of standard constants supported by the engine
| |
| StandardConstantList |
Collection of standard constants supported by the engine
| |
| StopReason |
The property stored last error occurred while object instance is used
| |
| TernaryExpressionCount |
Number of ternary expressions stored within the instance
| |
| TernaryExpressionList |
Collection of ternary expressions stored within the instance
|