Public Member Functions | |
Clear () | |
Clears this class from all data. | |
CreateVariables (IZVariablesList Variables) | |
Creates an empty variables. | |
TZVariant | Evaluate () |
Evaluates this expression. | |
TZVariant | Evaluate2 (IZVariablesList Variables) |
Evaluates this expression. | |
TZVariant | Evaluate3 (IZVariablesList Variables, IZFunctionsList Functions) |
Evaluates this expression. | |
TZVariant | Evaluate4 (IZVariablesList Variables, IZFunctionsList Functions, TZExecutionStack Stack) |
Evaluates this expression. | |
TZExpression (const string Expression) | |
Creates this expression calculator and assignes expression string. | |
TZExpression () | |
Creates this expression calculator object. | |
~TZExpression () | |
Destroys this object and cleanups the memory. | |
Public Attributes | |
Boolean | AutoVariables |
IZFunctionsList | DefaultFunctions |
IZVariablesList | DefaultVariables |
string | Expression |
IZVariantManager | VariantManager |
Private Member Functions | |
Boolean | GetAutoVariables () |
Gets the current auto variables create flag. | |
IZFunctionsList | GetDefaultFunctions () |
Gets a list of default functions. | |
IZVariablesList | GetDefaultVariables () |
Gets a list of default variables. | |
string | GetExpression () |
Gets the current set expression string. | |
IZTokenizer | GetTokenizer () |
Gets the current expression tokenizer. | |
IZVariantManager | GetVariantManager () |
Gets a reference to the current variant manager. | |
SetAutoVariables (Boolean Value) | |
Sets a new auto variables create flag. | |
SetDefaultFunctions (IZFunctionsList Value) | |
Sets a new list of functions. | |
SetDefaultVariables (IZVariablesList Value) | |
Sets a new list of variables. | |
SetExpression (const string Value) | |
Sets a new expression string. | |
SetTokenizer (IZTokenizer Value) | |
Sets a new expression tokenizer. | |
SetVariantManager (IZVariantManager Value) | |
Sets a new variant manager. | |
Private Attributes | |
Boolean | FAutoVariables |
IZFunctionsList | FDefaultFunctions |
IZVariablesList | FDefaultVariables |
TObject | FParser |
IZTokenizer | FTokenizer |
IZVariantManager | FVariantManager |
IZTokenizer | Tokenizer |
Definition at line 361 of file ZExpression.pas.
TZExpression::TZExpression | ( | ) |
TZExpression::TZExpression | ( | const string | Expression | ) |
Creates this expression calculator and assignes expression string.
Expression | an expression string. |
Definition at line 635 of file ZExpression.pas.
TZExpression::~TZExpression | ( | ) |
TZExpression::Clear | ( | ) |
Clears this class from all data.
Reimplemented from IZExpression.
Definition at line 818 of file ZExpression.pas.
TZExpression::CreateVariables | ( | IZVariablesList | Variables | ) |
Creates an empty variables.
Variables | a list of variables. |
Reimplemented from IZExpression.
Definition at line 831 of file ZExpression.pas.
TZVariant TZExpression::Evaluate | ( | ) |
Evaluates this expression.
Reimplemented from IZExpression.
Definition at line 857 of file ZExpression.pas.
TZVariant TZExpression::Evaluate2 | ( | IZVariablesList | Variables | ) |
Evaluates this expression.
Variables | a list of variables. |
Reimplemented from IZExpression.
Definition at line 870 of file ZExpression.pas.
TZVariant TZExpression::Evaluate3 | ( | IZVariablesList | Variables, | |
IZFunctionsList | Functions | |||
) |
Evaluates this expression.
Variables | a list of variables. | |
Functions | a list of functions. |
Reimplemented from IZExpression.
Definition at line 885 of file ZExpression.pas.
TZVariant TZExpression::Evaluate4 | ( | IZVariablesList | Variables, | |
IZFunctionsList | Functions, | |||
TZExecutionStack | Stack | |||
) |
Evaluates this expression.
Variables | a list of variables. | |
Functions | a list of functions. | |
Stack | an execution stack. |
Reimplemented from IZExpression.
Definition at line 914 of file ZExpression.pas.
Boolean TZExpression::GetAutoVariables | ( | ) | [private] |
Gets the current auto variables create flag.
Reimplemented from IZExpression.
Definition at line 666 of file ZExpression.pas.
IZFunctionsList TZExpression::GetDefaultFunctions | ( | ) | [private] |
Gets a list of default functions.
Reimplemented from IZExpression.
Definition at line 691 of file ZExpression.pas.
IZVariablesList TZExpression::GetDefaultVariables | ( | ) | [private] |
Gets a list of default variables.
Reimplemented from IZExpression.
Definition at line 716 of file ZExpression.pas.
string TZExpression::GetExpression | ( | ) | [private] |
Gets the current set expression string.
Reimplemented from IZExpression.
Definition at line 741 of file ZExpression.pas.
IZTokenizer TZExpression::GetTokenizer | ( | ) | [private] |
Gets the current expression tokenizer.
Reimplemented from IZExpression.
Definition at line 793 of file ZExpression.pas.
IZVariantManager TZExpression::GetVariantManager | ( | ) | [private] |
Gets a reference to the current variant manager.
Reimplemented from IZExpression.
Definition at line 768 of file ZExpression.pas.
TZExpression::SetAutoVariables | ( | Boolean | Value | ) | [private] |
Sets a new auto variables create flag.
value | a new auto variables create flag. |
Reimplemented from IZExpression.
Definition at line 678 of file ZExpression.pas.
TZExpression::SetDefaultFunctions | ( | IZFunctionsList | Value | ) | [private] |
Sets a new list of functions.
Value | a new list of functions. |
Reimplemented from IZExpression.
Definition at line 703 of file ZExpression.pas.
TZExpression::SetDefaultVariables | ( | IZVariablesList | Value | ) | [private] |
Sets a new list of variables.
Value | a new list of variables. |
Reimplemented from IZExpression.
Definition at line 728 of file ZExpression.pas.
TZExpression::SetExpression | ( | const string | Value | ) | [private] |
Sets a new expression string.
Value | a new expression string. |
Reimplemented from IZExpression.
Definition at line 753 of file ZExpression.pas.
TZExpression::SetTokenizer | ( | IZTokenizer | Value | ) | [private] |
Sets a new expression tokenizer.
Value | a new expression tokenizer. |
Reimplemented from IZExpression.
Definition at line 805 of file ZExpression.pas.
TZExpression::SetVariantManager | ( | IZVariantManager | Value | ) | [private] |
Sets a new variant manager.
Value | a new variant manager. |
Reimplemented from IZExpression.
Definition at line 780 of file ZExpression.pas.
Boolean TZExpression::AutoVariables |
SetAutoVariables For writing
Reimplemented from IZExpression.
Definition at line 477 of file ZExpression.pas.
SetDefaultFunctions For writing
Reimplemented from IZExpression.
Definition at line 473 of file ZExpression.pas.
SetDefaultVariables For writing
Reimplemented from IZExpression.
Definition at line 469 of file ZExpression.pas.
string TZExpression::Expression |
SetExpression For writing
Reimplemented from IZExpression.
Definition at line 461 of file ZExpression.pas.
Boolean TZExpression::FAutoVariables [private] |
Definition at line 376 of file ZExpression.pas.
Definition at line 370 of file ZExpression.pas.
Definition at line 368 of file ZExpression.pas.
TObject TZExpression::FParser [private] |
Definition at line 374 of file ZExpression.pas.
IZTokenizer TZExpression::FTokenizer [private] |
Definition at line 366 of file ZExpression.pas.
Definition at line 372 of file ZExpression.pas.
IZTokenizer IZExpression::Tokenizer [inherited] |
SetTokenizer For writing
Definition at line 336 of file ZExpression.pas.
SetVariantManager For writing
Reimplemented from IZExpression.
Definition at line 465 of file ZExpression.pas.