Skip to content

Latest commit

 

History

History
90 lines (74 loc) · 2.19 KB

File metadata and controls

90 lines (74 loc) · 2.19 KB
title CInterfaceArray Class | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic reference
f1_keywords
CInterfaceArray
ATLCOLL/ATL::CInterfaceArray
ATLCOLL/ATL::CInterfaceArray::CInterfaceArray
dev_langs
C++
helpviewer_keywords
CInterfaceArray class
ms.assetid 1f29cf66-a086-4a7b-b6a8-64f73da39f79
caps.latest.revision 18
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

CInterfaceArray Class

This class provides methods useful when constructing an array of COM interface pointers.

Syntax

template <class I, const IID* piid=& __uuidof(I)>  
class CInterfaceArray : 
   public CAtlArray<ATL::CComQIPtr<I, piid>,
                    CComQIPtrElementTraits<I, piid>>

Parameters

I
A COM interface specifying the type of pointer to be stored.

piid
A pointer to the IID of I.

Members

Public Constructors

Name Description
CInterfaceArray::CInterfaceArray The constructor for the interface array.

Remarks

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.

Inheritance Hierarchy

CAtlArray

CInterfaceArray

Requirements

Header: atlcoll.h

CInterfaceArray::CInterfaceArray

The constructor.

CInterfaceArray() throw();

Remarks

Initializes the smart pointer array.

See Also

CAtlArray Class
CComQIPtr Class
CComQIPtrElementTraits Class
Class Overview