The IDLitDataOperation::Execute function method contains the execution logic for the operation. This method is called automatically when the iTool user requests an operation based on the IDLitDataOperation class.
| Note |
When the iTool system executes an IDLitDataOperation, it passes the raw data (of the appropriate iTools data type) from the selected objects to the Execute method. This means that the Execute method itself does not need to "unpack" a data object before performing the operations, allowing rapid and simple operation execution. For example, if the operation expects data of the iTools data type IDLARRAY2D, the iTool system will include the selected two-dimensional array as the Data argument.
Result = Obj->[IDLitDataOperation::]Execute(Data)
The return value is 1 if the operation executed successfully, or 0 otherwise.
A single data item on which the operation should be performed. Note that Data is not an IDLitData object, but actual data.
None
Introduced: 6.0
IDLitDataOperation::UndoExecute