All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | List of all members
neo::ComPtr< T > Class Template Reference

Smart pointer to COM classes. More...

#include <ComPtr.h>

Public Member Functions

 ComPtr (T *p)
 ComPtr (const ComPtr< T > &other)
 ComPtr (ComPtr &&other)
 operator T * () const
T & operator* () const
T * operator-> () const
ComPtroperator= (const ComPtr &other)
ComPtroperator= (ComPtr &&other)
T ** PtrPtr ()
void Release ()

Detailed Description

template<typename T>
class neo::ComPtr< T >

Smart pointer to COM classes.

Manages the calls to AddRef() and Release(). Supports move semantics.

Member Function Documentation

template<typename T>
T** neo::ComPtr< T >::PtrPtr ( )
Releases previously held pointer
Address of the pointer, to allow overriding the pointer, which many COM functions do

The documentation for this class was generated from the following file: