p6comptr.h File Reference

P6COM smart interface pointer template. More...

Go to the source code of this file.

Classes

class  P6R::p6ComPtr< I >
 A smart pointer implementation to help manage and use [p6]COM based interfaces. More...
class  P6R::p6ComPtr< p6ICom >
 A template specialization to support the p6ICom interface. More...
class  P6R::p6ComPtrBase< I >
 Base class which implements common functionality for p6ComPtr and it's p6ICom specialization. More...

Defines

#define VALIDATECOMPTR(type, smartComPtr)   IID_##type, reinterpret_cast<P6R::P6VOID**>(static_cast<type**>((smartComPtr).addressofWithRelease()))
 Like VALIDATEIF() but meant for use with p6ComPtr<> This macro attempts to provide compile time type safety when assigning interface pointers via getters and prevents leaks by using the p6ComPtr's addressOfWithRelease() method.

Detailed Description

P6COM smart interface pointer template.

Definition in file p6comptr.h.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.