2.2.4.31 OperationManager


Name

OperationManager

Remark

Many recalculating analysis tools, such as the Statistics on Columns dialog, the Nonlinear Curve Fitting dialog, etc.,are the internal Origin Operations.

The OperationManager class is used to access the methods and properties of the recalculating analysis tools.

Hierarchy

  • OperationManager

Examples

EX1

//The following function is used to get all operations objects and print out the operation names. 

Void OperationManager_GetCount_Ex1()
{
    OperationManager opManager;
    opManager = Project.Operations;
 
    int count = opManager.GetCount();
    for(int index=0; index < count; index++)
    {		
	   OperationBase& op = opManager.GetOperation(index);
	   string strName = op.GetName();
	   out_str(strName);
    }
}

Header to Include

origin.h


Reference

Members

Name Brief Example
FindOutgoingOperation Get the operation that is using specified datarange and x-function name as input. Examples
GetCount Get number of operations in the OperationManager. Examples
GetOperation Get an Operation with specified index from OperationManager. Examples
IsAutoUpdate Check if the Operation Manager is Auto Update. Examples
IsBatchProcessing Check if the OperationManager is batch processing. Examples
OperationManager Default OperationManager constructor. Examples
Run Run the operations in the operation manager, wait for autoupdate to finish. Examples
SetAutoUpdate Set the status of the recalculate to be enable or disable. Examples
SetBatchProcessing Set the OperationManager as batch processing. Examples