Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface DELIMfgFeatureContainer
Interface to manage the machining feature container.
Role: manage the machining feature container
public virtual ListMachiningFeature( | const | interfaceID, |
ioListObj) |
CATIMfgFeatureContainer* pCATIContainer = ... // we suppose that pointer is well initialized. |
CATListPtrCATBaseUnknown ListObj; |
CATLONG32 NbObj = pCATIContainer->ListMachiningFeature("CATIexample", ListObj); |
for (int i=0; i < NbObj; i++) |
{ |
CATIexample* pCATIexample = NULL; |
if (ListObj[i] && SUCCEEDED(ListObj[i]->QueryInterface(IID_CATIexample, (void**)&pCATIexample)) |
{ |
pCATIexample->Release(); |
pCATIexample = NULL; |
ListObj[i]->Release(); |
ListObj[i] = NULL;; |
} |
} |
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.