| title | CInterfaceArray Class | |||
|---|---|---|---|---|
| ms.date | 11/04/2016 | |||
| f1_keywords |
|
|||
| helpviewer_keywords |
|
|||
| ms.assetid | 1f29cf66-a086-4a7b-b6a8-64f73da39f79 |
This class provides methods useful when constructing an array of COM interface pointers.
template <class I, const IID* piid=& __uuidof(I)>
class CInterfaceArray :
public CAtlArray<ATL::CComQIPtr<I, piid>,
CComQIPtrElementTraits<I, piid>>
I
A COM interface specifying the type of pointer to be stored.
piid
A pointer to the IID of I.
| Name | Description |
|---|---|
| CInterfaceArray::CInterfaceArray | The constructor for the interface array. |
This class provides a constructor and derived methods for creating an array of COM interface pointers. Use CInterfaceList when a list is required.
For more information, see ATL Collection Classes.
CAtlArray
CInterfaceArray
Header: atlcoll.h
The constructor.
CInterfaceArray() throw();
Initializes the smart pointer array.
CAtlArray Class
CComQIPtr Class
CComQIPtrElementTraits Class
Class Overview