All Frameworks Class Hierarchy This Framework Previous Next Indexes
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATIContainer
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIContainer
Interface to structure a document.
| public virtual CATLONG32 ListMembersHere( | const CATIdent | interfaceID, |
| SEQUENCE(CATBaseUnknown_ptr)& | ioListObj)=0 |
| CATIContainer* pCATIContainer = ... // we suppose that pointer is well initialized. |
| SEQUENCE(CATBaseUnknown_ptr) ListObj; |
| CATLONG32 NbObj = pCATIContainer->ListMembersHere("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 © 2003, Dassault Systèmes. All rights reserved.