STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
msclr::_detail::smart_com_ptr< _interface_type > Class Template Reference

#include <msclr/com/ptr.h>

Public Member Functions

 smart_com_ptr (_interface_type *p)
 
 smart_com_ptr (smart_com_ptr%ip)
 
_interface_type * operator-> ()
 
 ~smart_com_ptr ()
 

Private Attributes

_interface_type * ptr
 

Constructor & Destructor Documentation

template<class _interface_type>
msclr::_detail::smart_com_ptr< _interface_type >::smart_com_ptr ( _interface_type *  p)
inline
38  {
39  ptr= p;
40  }
_interface_type * ptr
Definition: ptr.h:59
template<class _interface_type>
msclr::_detail::smart_com_ptr< _interface_type >::smart_com_ptr ( smart_com_ptr< _interface_type >%  ip)
inline
43  {
44  ptr = ip.ptr;
45  ptr->AddRef();
46  }
_interface_type * ptr
Definition: ptr.h:59
template<class _interface_type>
msclr::_detail::smart_com_ptr< _interface_type >::~smart_com_ptr ( )
inline
54  {
55  ptr->Release();
56  }
_interface_type * ptr
Definition: ptr.h:59

Member Function Documentation

template<class _interface_type>
_interface_type* msclr::_detail::smart_com_ptr< _interface_type >::operator-> ( )
inline
49  {
50  return ptr;
51  }
_interface_type * ptr
Definition: ptr.h:59

Member Data Documentation

template<class _interface_type>
_interface_type* msclr::_detail::smart_com_ptr< _interface_type >::ptr
private

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