GetOperationObject
Get operation object from specified object
OperationBase & GetOperationObject( UINT uid, LPCSTR lpcszGUID = NULL )
Operation object
EX1
///Before run this example. Pls create a worksheet, set some numbers and do some analysis like Fit Linear. void Project_GetOperationObject_ex1() { Worksheet wks = Project.ActiveLayer(); if(wks) { vector<uint> unOpIDs; if( wks.FindIncomingOperations(unOpIDs) <= 0 ) return; OperationBase& op = Project.GetOperationObject(unOpIDs[0]); if(op) { out_str("Class Name -- " + op.GetClassName()); } } }
Project::GetObject
origin.h