Поделиться через


CComQIPtrElementTraits Class

This class provides methods, static functions, and typedefs useful when creating collections of COM interface pointers.

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

Параметры

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

  • piid
    A pointer to the IID of I.

Заметки

This class derives methods and provides a typedef useful when creating a collection class of CComQIPtr COM interface pointer objects. This class is utilized by both the CInterfaceArray and CInterfaceList classes.

For more information, see ATL Collection Classes.

Требования

Header: atlcoll.h

См. также

Основные понятия

CComQIPtrElementTraits Members

CDefaultElementTraits Class

ATL Class Overview