Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes
boost::scoped_ptr< T > Class Template Reference

#include <scoped_ptr.hpp>

List of all members.

Public Types

typedef T element_type

Public Member Functions

T * get () const
T & operator* () const
T * operator-> () const
void reset (T *p=0)
 scoped_ptr (T *p=0)
 scoped_ptr (std::auto_ptr< T > p)
void swap (scoped_ptr &b)
 ~scoped_ptr ()

Private Types

typedef scoped_ptr< T > this_type

Private Member Functions

void operator!= (scoped_ptr const &) const
scoped_ptroperator= (scoped_ptr const &)
void operator== (scoped_ptr const &) const
 scoped_ptr (scoped_ptr const &)

Private Attributes

T * px

Detailed Description

template<class T>
class boost::scoped_ptr< T >

Definition at line 39 of file scoped_ptr.hpp.


Member Typedef Documentation

template<class T >
typedef T boost::scoped_ptr< T >::element_type

Definition at line 55 of file scoped_ptr.hpp.

template<class T >
typedef scoped_ptr<T> boost::scoped_ptr< T >::this_type [private]

Definition at line 48 of file scoped_ptr.hpp.


Constructor & Destructor Documentation

template<class T >
boost::scoped_ptr< T >::scoped_ptr ( scoped_ptr< T > const &  ) [private]
template<class T >
boost::scoped_ptr< T >::scoped_ptr ( T *  p = 0) [inline, explicit]

Definition at line 57 of file scoped_ptr.hpp.

template<class T >
boost::scoped_ptr< T >::scoped_ptr ( std::auto_ptr< T >  p) [inline, explicit]

Definition at line 66 of file scoped_ptr.hpp.

template<class T >
boost::scoped_ptr< T >::~scoped_ptr ( ) [inline]

Definition at line 75 of file scoped_ptr.hpp.


Member Function Documentation

template<class T >
T* boost::scoped_ptr< T >::get ( ) const [inline]

Definition at line 101 of file scoped_ptr.hpp.

template<class T >
void boost::scoped_ptr< T >::operator!= ( scoped_ptr< T > const &  ) const [private]
template<class T >
T& boost::scoped_ptr< T >::operator* ( ) const [inline]

Definition at line 89 of file scoped_ptr.hpp.

template<class T >
T* boost::scoped_ptr< T >::operator-> ( ) const [inline]

Definition at line 95 of file scoped_ptr.hpp.

template<class T >
scoped_ptr& boost::scoped_ptr< T >::operator= ( scoped_ptr< T > const &  ) [private]
template<class T >
void boost::scoped_ptr< T >::operator== ( scoped_ptr< T > const &  ) const [private]
template<class T >
void boost::scoped_ptr< T >::reset ( T *  p = 0) [inline]

Definition at line 83 of file scoped_ptr.hpp.

template<class T >
void boost::scoped_ptr< T >::swap ( scoped_ptr< T > &  b) [inline]

Definition at line 109 of file scoped_ptr.hpp.


Member Data Documentation

template<class T >
T* boost::scoped_ptr< T >::px [private]

Definition at line 43 of file scoped_ptr.hpp.


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


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:30