OperationManager::GetCount

Description

Get number of operations in the OperationManager.

Syntax

int GetCount();

Parameters

Return

The number of operations.

Examples

//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);
    }
}

Remark

See Also

Header to Include

origin.h