IDLitDataOperation::Execute
Syntax | Return Value | Arguments | Keywords | Version History | See Also
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
Every operation based directly on the IDLitDataOperation class must implement its own Execute method. See Creating an Operation (iTool Developer's Guide) for details.
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.
Syntax
Result = Obj->[IDLitDataOperation::]Execute(Data)
Return Value
The return value is 1 if the operation executed successfully, or 0 otherwise.
Arguments
Data
A single data item on which the operation should be performed. Note that Data is not an IDLitData object, but actual data.
Keywords
None
Version History
See Also
IDLitDataOperation::UndoExecute