
Public Member Functions | |
| Add (const string Name, const TZVariant Value) | |
| Adds a new variable with value. | |
| Clear () | |
| Clears all variables. | |
| ClearValues () | |
| Clears only variable values. | |
| Integer | FindByName (const string Name) |
| Finds a variable by specified name. | |
| Integer | GetCount () |
| Gets a number of registered variables. | |
| string | GetName (Integer Index) |
| Gets a variable name by it's index. | |
| TZVariant | GetValue (Integer Index) |
| Gets a variable value by it's index. | |
| TZVariant | GetValueByName (const string Name) |
| Gets a variable name by it's name. | |
| Remove (const string Name) | |
| Removes a variable by specified name. | |
| SetValue (Integer Index, const TZVariant Value) | |
| Sets a variable name by it's index. | |
| SetValueByName (const string Name, const TZVariant Value) | |
| Sets a variable name by it's name. | |
| TZVariablesList () | |
| Creates this variable list object. | |
| ~TZVariablesList () | |
| Destroys this object and cleanups the memory. | |
Private Attributes | |
| Integer | Count |
| TObjectList | FVariables |
| TZVariant | NamedValues |
| string | Names |
| TZVariant | Values |
Definition at line 89 of file ZVariables.pas.
| TZVariablesList::TZVariablesList | ( | ) |
| TZVariablesList::~TZVariablesList | ( | ) |
| TZVariablesList::Add | ( | const string | Name, | |
| const TZVariant | Value | |||
| ) |
Adds a new variable with value.
| Name | a name of the new variable. | |
| Value | a value for the new variable. |
Reimplemented from IZVariablesList.
Definition at line 235 of file ZVariables.pas.
| TZVariablesList::Clear | ( | ) |
Clears all variables.
Reimplemented from IZVariablesList.
Definition at line 272 of file ZVariables.pas.
| TZVariablesList::ClearValues | ( | ) |
Clears only variable values.
Reimplemented from IZVariablesList.
Definition at line 283 of file ZVariables.pas.
| Integer TZVariablesList::FindByName | ( | const string | Name | ) |
Finds a variable by specified name.
| Name | a name of the variable. |
-1 otherwise. Reimplemented from IZVariablesList.
Definition at line 206 of file ZVariables.pas.
| Integer TZVariablesList::GetCount | ( | ) |
Gets a number of registered variables.
Reimplemented from IZVariablesList.
Definition at line 303 of file ZVariables.pas.
| string TZVariablesList::GetName | ( | Integer | Index | ) |
Gets a variable name by it's index.
| Index | a variable index. |
Reimplemented from IZVariablesList.
Definition at line 316 of file ZVariables.pas.
| TZVariant TZVariablesList::GetValue | ( | Integer | Index | ) |
Gets a variable value by it's index.
| Index | a variable index. |
Reimplemented from IZVariablesList.
Definition at line 330 of file ZVariables.pas.
| TZVariant TZVariablesList::GetValueByName | ( | const string | Name | ) |
Gets a variable name by it's name.
| Name | a variable name. |
Reimplemented from IZVariablesList.
Definition at line 344 of file ZVariables.pas.
| TZVariablesList::Remove | ( | const string | Name | ) |
Removes a variable by specified name.
| Name | a name of variable to be removed. |
Reimplemented from IZVariablesList.
Definition at line 251 of file ZVariables.pas.
| TZVariablesList::SetValue | ( | Integer | Index, | |
| const TZVariant | Value | |||
| ) |
Sets a variable name by it's index.
| Index | a variable index. | |
| Value | a variable value. |
Reimplemented from IZVariablesList.
Definition at line 368 of file ZVariables.pas.
| TZVariablesList::SetValueByName | ( | const string | Name, | |
| const TZVariant | Value | |||
| ) |
Sets a variable name by it's name.
| Index | a variable name. | |
| Value | a variable value. |
Reimplemented from IZVariablesList.
Definition at line 383 of file ZVariables.pas.
Integer IZVariablesList::Count [inherited] |
TObjectList TZVariablesList::FVariables [private] |
Definition at line 94 of file ZVariables.pas.
TZVariant IZVariablesList::NamedValues [inherited] |
SetValueByName For writing
Definition at line 184 of file ZExpression.pas.
string IZVariablesList::Names [inherited] |
TZVariant IZVariablesList::Values [inherited] |
1.5.7.1