#include <boost_shared_ptr.h>
Public Member Functions | |
shared_count () | |
template<typename _Ptr, typename _Deleter> | |
shared_count (_Ptr __p, _Deleter __d) | |
template<typename _Tp> | |
shared_count (std::auto_ptr< _Tp > &__r) | |
shared_count (const weak_count &__r) | |
~shared_count () | |
shared_count (const shared_count &__r) | |
shared_count & | operator= (const shared_count &__r) |
void | swap (shared_count &__r) |
long | use_count () const |
bool | unique () const |
void * | get_deleter (const std::type_info &__ti) const |
Private Attributes | |
_Sp_counted_base * | _M_pi |
Friends | |
class | weak_count |
bool | operator== (const shared_count &__a, const shared_count &__b) |
bool | operator< (const shared_count &__a, const shared_count &__b) |
Definition at line 234 of file boost_shared_ptr.h.
std::tr1::shared_count::shared_count | ( | ) | [inline] |
Definition at line 244 of file boost_shared_ptr.h.
std::tr1::shared_count::shared_count | ( | _Ptr | __p, | |
_Deleter | __d | |||
) | [inline] |
std::tr1::shared_count::shared_count | ( | std::auto_ptr< _Tp > & | __r | ) | [inline, explicit] |
std::tr1::shared_count::shared_count | ( | const weak_count & | __r | ) | [inline, explicit] |
Definition at line 413 of file boost_shared_ptr.h.
References std::tr1::__throw_bad_weak_ptr(), _M_pi, and std::tr1::_Sp_counted_base::add_ref_lock().
std::tr1::shared_count::~shared_count | ( | ) | [inline] |
Definition at line 274 of file boost_shared_ptr.h.
References _M_pi, and std::tr1::_Sp_counted_base::release().
std::tr1::shared_count::shared_count | ( | const shared_count & | __r | ) | [inline] |
Definition at line 280 of file boost_shared_ptr.h.
References _M_pi, and std::tr1::_Sp_counted_base::add_ref_copy().
void* std::tr1::shared_count::get_deleter | ( | const std::type_info & | __ti | ) | const [inline] |
Definition at line 327 of file boost_shared_ptr.h.
References _M_pi, and std::tr1::_Sp_counted_base::get_deleter().
Referenced by std::tr1::shared_ptr< _Tp >::_M_get_deleter().
shared_count& std::tr1::shared_count::operator= | ( | const shared_count & | __r | ) | [inline] |
Definition at line 288 of file boost_shared_ptr.h.
References _M_pi, std::tr1::_Sp_counted_base::add_ref_copy(), and std::tr1::_Sp_counted_base::release().
void std::tr1::shared_count::swap | ( | shared_count & | __r | ) | [inline] |
Definition at line 303 of file boost_shared_ptr.h.
References _M_pi.
Referenced by std::tr1::shared_ptr< _Tp >::swap().
bool std::tr1::shared_count::unique | ( | ) | const [inline] |
Definition at line 315 of file boost_shared_ptr.h.
References use_count().
Referenced by std::tr1::shared_ptr< _Tp >::unique().
long std::tr1::shared_count::use_count | ( | ) | const [inline] |
Definition at line 311 of file boost_shared_ptr.h.
References _M_pi, and std::tr1::_Sp_counted_base::use_count().
Referenced by unique(), and std::tr1::shared_ptr< _Tp >::use_count().
bool operator< | ( | const shared_count & | __a, | |
const shared_count & | __b | |||
) | [friend] |
Definition at line 323 of file boost_shared_ptr.h.
bool operator== | ( | const shared_count & | __a, | |
const shared_count & | __b | |||
) | [friend] |
Definition at line 319 of file boost_shared_ptr.h.
friend class weak_count [friend] |
Definition at line 240 of file boost_shared_ptr.h.
_Sp_counted_base* std::tr1::shared_count::_M_pi [private] |
Definition at line 238 of file boost_shared_ptr.h.
Referenced by get_deleter(), std::tr1::weak_count::operator=(), operator=(), shared_count(), swap(), use_count(), and ~shared_count().