TBoldExternalVariable¶
External variables are used to send additional values to an OCL-expression
Unit: BoldElements
Declaration¶
Hierarchy¶
- TObject
TBoldMemoryManagedObject- TBoldExternalVariable
- Direct subclasses
TBoldHandleBasedExternalVariable
Description¶
This is an abstract class and needs to be subclassed. The two operations that must be overridden are GetValue and GetValueType
Once an external variable is created, it can be added to an instance of TBoldExternalVariablelist and sent to EvaluateExpression. One available implementation of this class is the class used for TBoldOCLVariables (TBoldHandleBasedExternalVariable)
Properties¶
| Name | Summary | Notes |
|---|---|---|
| Name | The name of the variable | read-only |
| Value | Returns the value of the variable. | read-only |
| ValueType | Returns the value type of the variable | read-only |
Name¶
The name of the variable
Value¶
Returns the value of the variable.
ValueType¶
Returns the value type of the variable
Methods¶
| Name | Summary | Notes |
|---|---|---|
| Create | ||
| GetValue | Abstract method to return the value of the variable | protected, abstract |
| GetValueType | protected, abstract |
Create¶
GetValue¶
Override this method to define how the variable stores the value. It might store the value directly in a private field variable, or it might store for example a handle from which the value is retrieved
GetValueType¶
Generated from the Bold 4.0 help (Help/BfD.chm) by Tools/chm2mkdocs.py; member lists reflect Bold 4.0, see the source for members added since.