Planeshift
Public Types | Public Member Functions

google_breakpad::scoped_ptr< T > Class Template Reference

#include <scoped_ptr.h>

List of all members.

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 (T *p=0)
void swap (scoped_ptr &b)
 ~scoped_ptr ()

Detailed Description

template<typename T>
class google_breakpad::scoped_ptr< T >

Definition at line 59 of file scoped_ptr.h.


Member Typedef Documentation

template<typename T>
typedef T google_breakpad::scoped_ptr< T >::element_type

Definition at line 69 of file scoped_ptr.h.


Constructor & Destructor Documentation

template<typename T>
google_breakpad::scoped_ptr< T >::scoped_ptr ( T *  p = 0) [inline, explicit]

Definition at line 71 of file scoped_ptr.h.

template<typename T>
google_breakpad::scoped_ptr< T >::~scoped_ptr ( ) [inline]

Definition at line 73 of file scoped_ptr.h.


Member Function Documentation

template<typename T>
T* google_breakpad::scoped_ptr< T >::get ( ) const [inline]

Definition at line 105 of file scoped_ptr.h.

template<typename T>
bool google_breakpad::scoped_ptr< T >::operator!= ( T *  p) const [inline]

Definition at line 101 of file scoped_ptr.h.

template<typename T>
T& google_breakpad::scoped_ptr< T >::operator* ( ) const [inline]

Definition at line 87 of file scoped_ptr.h.

template<typename T>
T* google_breakpad::scoped_ptr< T >::operator-> ( ) const [inline]

Definition at line 92 of file scoped_ptr.h.

template<typename T>
bool google_breakpad::scoped_ptr< T >::operator== ( T *  p) const [inline]

Definition at line 97 of file scoped_ptr.h.

template<typename T>
T* google_breakpad::scoped_ptr< T >::release ( ) [inline]

Definition at line 115 of file scoped_ptr.h.

template<typename T>
void google_breakpad::scoped_ptr< T >::reset ( T *  p = 0) [inline]

Definition at line 78 of file scoped_ptr.h.

template<typename T>
void google_breakpad::scoped_ptr< T >::swap ( scoped_ptr< T > &  b) [inline]

Definition at line 109 of file scoped_ptr.h.


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