Planeshift
google_breakpad::scoped_ptr_malloc< T, FreeProc > Class Template Reference

#include <scoped_ptr.h>

Public Types

typedef T element_type
 

Public Member Functions

T * get () const
 
bool operator!= (T *p) const
 
T & operator* () const
 
T * operator-> () const
 
bool operator== (T *p) const
 
T * release ()
 
void reset (T *p=0)
 
 scoped_ptr_malloc (T *p=0)
 
void swap (scoped_ptr_malloc &b)
 
 ~scoped_ptr_malloc ()
 

Detailed Description

template<typename T, typename FreeProc = ScopedPtrMallocFree>
class google_breakpad::scoped_ptr_malloc< T, FreeProc >

Definition at line 242 of file scoped_ptr.h.

Member Typedef Documentation

template<typename T, typename FreeProc = ScopedPtrMallocFree>
typedef T google_breakpad::scoped_ptr_malloc< T, FreeProc >::element_type

Definition at line 252 of file scoped_ptr.h.

Constructor & Destructor Documentation

template<typename T, typename FreeProc = ScopedPtrMallocFree>
google_breakpad::scoped_ptr_malloc< T, FreeProc >::scoped_ptr_malloc ( T *  p = 0)
inlineexplicit

Definition at line 254 of file scoped_ptr.h.

template<typename T, typename FreeProc = ScopedPtrMallocFree>
google_breakpad::scoped_ptr_malloc< T, FreeProc >::~scoped_ptr_malloc ( )
inline

Definition at line 256 of file scoped_ptr.h.

Member Function Documentation

template<typename T, typename FreeProc = ScopedPtrMallocFree>
T* google_breakpad::scoped_ptr_malloc< T, FreeProc >::get ( ) const
inline

Definition at line 288 of file scoped_ptr.h.

template<typename T, typename FreeProc = ScopedPtrMallocFree>
bool google_breakpad::scoped_ptr_malloc< T, FreeProc >::operator!= ( T *  p) const
inline

Definition at line 284 of file scoped_ptr.h.

template<typename T, typename FreeProc = ScopedPtrMallocFree>
T& google_breakpad::scoped_ptr_malloc< T, FreeProc >::operator* ( ) const
inline

Definition at line 270 of file scoped_ptr.h.

template<typename T, typename FreeProc = ScopedPtrMallocFree>
T* google_breakpad::scoped_ptr_malloc< T, FreeProc >::operator-> ( ) const
inline

Definition at line 275 of file scoped_ptr.h.

template<typename T, typename FreeProc = ScopedPtrMallocFree>
bool google_breakpad::scoped_ptr_malloc< T, FreeProc >::operator== ( T *  p) const
inline

Definition at line 280 of file scoped_ptr.h.

template<typename T, typename FreeProc = ScopedPtrMallocFree>
T* google_breakpad::scoped_ptr_malloc< T, FreeProc >::release ( )
inline

Definition at line 298 of file scoped_ptr.h.

template<typename T, typename FreeProc = ScopedPtrMallocFree>
void google_breakpad::scoped_ptr_malloc< T, FreeProc >::reset ( T *  p = 0)
inline

Definition at line 261 of file scoped_ptr.h.

template<typename T, typename FreeProc = ScopedPtrMallocFree>
void google_breakpad::scoped_ptr_malloc< T, FreeProc >::swap ( scoped_ptr_malloc< T, FreeProc > &  b)
inline

Definition at line 292 of file scoped_ptr.h.


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