【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.38.32 Project::GetOperationObject
Contents
Description
Get operation object from specified object
Syntax
OperationBase & GetOperationObject( UINT uid, LPCSTR lpcszGUID = NULL )
Parameters
- uid
- [input]operation ID
- lpcszGUID
- [input]defaut value is NULL
Return
Operation object
Examples
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()); } } }
Remark
See Also
Header to Include
origin.h