std::tr1::enable_shared_from_this< _Tp > Class Template Reference

#include <boost_shared_ptr.h>

List of all members.

Public Member Functions

shared_ptr< _Tp > shared_from_this ()
shared_ptr< const _Tp > shared_from_this () const

Protected Member Functions

 enable_shared_from_this ()
 enable_shared_from_this (const enable_shared_from_this &)
enable_shared_from_thisoperator= (const enable_shared_from_this &)
 ~enable_shared_from_this ()

Private Member Functions

template<typename _Tp1>
void _M_weak_assign (_Tp1 *__p, const shared_count &__n) const

Private Attributes

weak_ptr< _Tp > _M_weak_this

Friends

template<typename _Tp1>
void __enable_shared_from_this (const shared_count &__pn, const enable_shared_from_this *__pe, const _Tp1 *__px)


Detailed Description

template<typename _Tp>
class std::tr1::enable_shared_from_this< _Tp >

Definition at line 928 of file boost_shared_ptr.h.


Constructor & Destructor Documentation

template<typename _Tp>
std::tr1::enable_shared_from_this< _Tp >::enable_shared_from_this (  )  [inline, protected]

Definition at line 932 of file boost_shared_ptr.h.

template<typename _Tp>
std::tr1::enable_shared_from_this< _Tp >::enable_shared_from_this ( const enable_shared_from_this< _Tp > &   )  [inline, protected]

Definition at line 935 of file boost_shared_ptr.h.

template<typename _Tp>
std::tr1::enable_shared_from_this< _Tp >::~enable_shared_from_this (  )  [inline, protected]

Definition at line 942 of file boost_shared_ptr.h.


Member Function Documentation

template<typename _Tp>
template<typename _Tp1>
void std::tr1::enable_shared_from_this< _Tp >::_M_weak_assign ( _Tp1 *  __p,
const shared_count __n 
) const [inline, private]

Definition at line 964 of file boost_shared_ptr.h.

References std::tr1::enable_shared_from_this< _Tp >::_M_weak_this.

template<typename _Tp>
enable_shared_from_this& std::tr1::enable_shared_from_this< _Tp >::operator= ( const enable_shared_from_this< _Tp > &   )  [inline, protected]

Definition at line 939 of file boost_shared_ptr.h.

template<typename _Tp>
shared_ptr<const _Tp> std::tr1::enable_shared_from_this< _Tp >::shared_from_this (  )  const [inline]

Definition at line 955 of file boost_shared_ptr.h.

template<typename _Tp>
shared_ptr<_Tp> std::tr1::enable_shared_from_this< _Tp >::shared_from_this (  )  [inline]

Definition at line 948 of file boost_shared_ptr.h.


Friends And Related Function Documentation

template<typename _Tp>
template<typename _Tp1>
void __enable_shared_from_this ( const shared_count __pn,
const enable_shared_from_this< _Tp > *  __pe,
const _Tp1 *  __px 
) [friend]

Definition at line 969 of file boost_shared_ptr.h.


Member Data Documentation

template<typename _Tp>
weak_ptr<_Tp> std::tr1::enable_shared_from_this< _Tp >::_M_weak_this [mutable, private]

Definition at line 977 of file boost_shared_ptr.h.

Referenced by std::tr1::enable_shared_from_this< _Tp >::_M_weak_assign().


The documentation for this class was generated from the following file:
Generated on Tue Feb 2 16:59:36 2010 for GNU C++ STL by  doxygen 1.4.7