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

#include <shared_ptr_nmt.hpp>

List of all members.

Public Types

typedef T element_type
typedef T element_type
typedef T * pointer
typedef
boost::detail::shared_ptr_traits
< T >::reference 
reference
typedef T value_type
typedef T value_type

Public Member Functions

bool _internal_equiv (shared_ptr const &r) const
void * _internal_get_deleter (detail::sp_typeinfo const &ti) const
template<class Y >
bool _internal_less (shared_ptr< Y > const &rhs) const
T * get () const
T * get () const
T & operator* () const
reference operator* () const
T * operator-> () const
T * operator-> () const
shared_ptroperator= (shared_ptr const &r)
shared_ptroperator= (std::auto_ptr< T > &r)
shared_ptroperator= (shared_ptr const &r)
template<class Y >
shared_ptroperator= (shared_ptr< Y > const &r)
template<class Y >
shared_ptroperator= (std::auto_ptr< Y > &r)
template<class Ap >
boost::detail::sp_enable_if_auto_ptr
< Ap, shared_ptr & >::type 
operator= (Ap r)
void reset (T *p=0)
void reset ()
template<class Y >
void reset (Y *p)
template<class Y , class D >
void reset (Y *p, D d)
template<class Y , class D , class A >
void reset (Y *p, D d, A a)
template<class Y >
void reset (shared_ptr< Y > const &r, T *p)
 shared_ptr (T *p=0)
 shared_ptr (shared_ptr const &r)
 shared_ptr (std::auto_ptr< T > &r)
 shared_ptr ()
template<class Y >
 shared_ptr (Y *p)
template<class Y , class D >
 shared_ptr (Y *p, D d)
template<class Y , class D , class A >
 shared_ptr (Y *p, D d, A a)
template<class Y >
 shared_ptr (weak_ptr< Y > const &r)
template<class Y >
 shared_ptr (weak_ptr< Y > const &r, boost::detail::sp_nothrow_tag)
template<class Y >
 shared_ptr (shared_ptr< Y > const &r, typename detail::sp_enable_if_convertible< Y, T >::type=detail::sp_empty())
template<class Y >
 shared_ptr (shared_ptr< Y > const &r, T *p)
template<class Y >
 shared_ptr (shared_ptr< Y > const &r, boost::detail::static_cast_tag)
template<class Y >
 shared_ptr (shared_ptr< Y > const &r, boost::detail::const_cast_tag)
template<class Y >
 shared_ptr (shared_ptr< Y > const &r, boost::detail::dynamic_cast_tag)
template<class Y >
 shared_ptr (shared_ptr< Y > const &r, boost::detail::polymorphic_cast_tag)
template<class Y >
 shared_ptr (std::auto_ptr< Y > &r)
template<class Ap >
 shared_ptr (Ap r, typename boost::detail::sp_enable_if_auto_ptr< Ap, int >::type=0)
void swap (shared_ptr< T > &other)
void swap (shared_ptr< T > &other)
bool unique () const
bool unique () const
long use_count () const
long use_count () const
 ~shared_ptr ()

Private Types

typedef detail::atomic_count count_type
typedef shared_ptr< T > this_type

Private Attributes

count_typepn
boost::detail::shared_count pn
T * px

Friends

class shared_ptr
class weak_ptr

Detailed Description

template<class T>
class boost::shared_ptr< T >

Definition at line 33 of file shared_ptr_nmt.hpp.


Member Typedef Documentation

template<class T>
typedef detail::atomic_count boost::shared_ptr< T >::count_type [private]

Definition at line 37 of file shared_ptr_nmt.hpp.

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

Definition at line 41 of file shared_ptr_nmt.hpp.

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

Definition at line 168 of file shared_ptr.hpp.

template<class T>
typedef T* boost::shared_ptr< T >::pointer

Definition at line 170 of file shared_ptr.hpp.

Definition at line 171 of file shared_ptr.hpp.

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

Definition at line 164 of file shared_ptr.hpp.

template<class T>
typedef T boost::shared_ptr< T >::value_type

Definition at line 42 of file shared_ptr_nmt.hpp.

template<class T>
typedef T boost::shared_ptr< T >::value_type

Definition at line 169 of file shared_ptr.hpp.


Constructor & Destructor Documentation

template<class T>
boost::shared_ptr< T >::shared_ptr ( T *  p = 0) [inline, explicit]

Definition at line 44 of file shared_ptr_nmt.hpp.

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

Definition at line 71 of file shared_ptr_nmt.hpp.

template<class T>
boost::shared_ptr< T >::shared_ptr ( shared_ptr< T > const &  r) [inline]

Definition at line 80 of file shared_ptr_nmt.hpp.

template<class T>
boost::shared_ptr< T >::shared_ptr ( std::auto_ptr< T > &  r) [inline, explicit]

Definition at line 94 of file shared_ptr_nmt.hpp.

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

Definition at line 173 of file shared_ptr.hpp.

template<class T>
template<class Y >
boost::shared_ptr< T >::shared_ptr ( Y *  p) [inline, explicit]

Definition at line 178 of file shared_ptr.hpp.

template<class T>
template<class Y , class D >
boost::shared_ptr< T >::shared_ptr ( Y *  p,
d 
) [inline]

Definition at line 189 of file shared_ptr.hpp.

template<class T>
template<class Y , class D , class A >
boost::shared_ptr< T >::shared_ptr ( Y *  p,
d,
a 
) [inline]

Definition at line 196 of file shared_ptr.hpp.

template<class T>
template<class Y >
boost::shared_ptr< T >::shared_ptr ( weak_ptr< Y > const &  r) [inline, explicit]

Definition at line 204 of file shared_ptr.hpp.

template<class T>
template<class Y >
boost::shared_ptr< T >::shared_ptr ( weak_ptr< Y > const &  r,
boost::detail::sp_nothrow_tag   
) [inline]

Definition at line 211 of file shared_ptr.hpp.

template<class T>
template<class Y >
boost::shared_ptr< T >::shared_ptr ( shared_ptr< Y > const &  r,
typename detail::sp_enable_if_convertible< Y, T >::type  = detail::sp_empty() 
) [inline]

Definition at line 222 of file shared_ptr.hpp.

template<class T>
template<class Y >
boost::shared_ptr< T >::shared_ptr ( shared_ptr< Y > const &  r,
T *  p 
) [inline]

Definition at line 235 of file shared_ptr.hpp.

template<class T>
template<class Y >
boost::shared_ptr< T >::shared_ptr ( shared_ptr< Y > const &  r,
boost::detail::static_cast_tag   
) [inline]

Definition at line 240 of file shared_ptr.hpp.

template<class T>
template<class Y >
boost::shared_ptr< T >::shared_ptr ( shared_ptr< Y > const &  r,
boost::detail::const_cast_tag   
) [inline]

Definition at line 245 of file shared_ptr.hpp.

template<class T>
template<class Y >
boost::shared_ptr< T >::shared_ptr ( shared_ptr< Y > const &  r,
boost::detail::dynamic_cast_tag   
) [inline]

Definition at line 250 of file shared_ptr.hpp.

template<class T>
template<class Y >
boost::shared_ptr< T >::shared_ptr ( shared_ptr< Y > const &  r,
boost::detail::polymorphic_cast_tag   
) [inline]

Definition at line 259 of file shared_ptr.hpp.

template<class T>
template<class Y >
boost::shared_ptr< T >::shared_ptr ( std::auto_ptr< Y > &  r) [inline, explicit]

Definition at line 270 of file shared_ptr.hpp.

template<class T>
template<class Ap >
boost::shared_ptr< T >::shared_ptr ( Ap  r,
typename boost::detail::sp_enable_if_auto_ptr< Ap, int >::type  = 0 
) [inline, explicit]

Definition at line 280 of file shared_ptr.hpp.


Member Function Documentation

template<class T>
bool boost::shared_ptr< T >::_internal_equiv ( shared_ptr< T > const &  r) const [inline]

Definition at line 447 of file shared_ptr.hpp.

template<class T>
void* boost::shared_ptr< T >::_internal_get_deleter ( detail::sp_typeinfo const &  ti) const [inline]

Definition at line 442 of file shared_ptr.hpp.

template<class T>
template<class Y >
bool boost::shared_ptr< T >::_internal_less ( shared_ptr< Y > const &  rhs) const [inline]

Definition at line 437 of file shared_ptr.hpp.

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

Definition at line 126 of file shared_ptr_nmt.hpp.

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

Definition at line 413 of file shared_ptr.hpp.

template<class T>
T& boost::shared_ptr< T >::operator* ( ) const [inline]

Definition at line 114 of file shared_ptr_nmt.hpp.

template<class T>
reference boost::shared_ptr< T >::operator* ( ) const [inline]

Definition at line 401 of file shared_ptr.hpp.

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

Definition at line 120 of file shared_ptr_nmt.hpp.

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

Definition at line 407 of file shared_ptr.hpp.

template<class T>
shared_ptr& boost::shared_ptr< T >::operator= ( shared_ptr< T > const &  r) [inline]

Definition at line 86 of file shared_ptr_nmt.hpp.

template<class T>
shared_ptr& boost::shared_ptr< T >::operator= ( std::auto_ptr< T > &  r) [inline]

Definition at line 100 of file shared_ptr_nmt.hpp.

template<class T>
shared_ptr& boost::shared_ptr< T >::operator= ( shared_ptr< T > const &  r) [inline]

Definition at line 294 of file shared_ptr.hpp.

template<class T>
template<class Y >
shared_ptr& boost::shared_ptr< T >::operator= ( shared_ptr< Y > const &  r) [inline]

Definition at line 303 of file shared_ptr.hpp.

template<class T>
template<class Y >
shared_ptr& boost::shared_ptr< T >::operator= ( std::auto_ptr< Y > &  r) [inline]

Definition at line 314 of file shared_ptr.hpp.

template<class T>
template<class Ap >
boost::detail::sp_enable_if_auto_ptr< Ap, shared_ptr & >::type boost::shared_ptr< T >::operator= ( Ap  r) [inline]

Definition at line 323 of file shared_ptr.hpp.

template<class T>
void boost::shared_ptr< T >::reset ( T *  p = 0) [inline]

Definition at line 108 of file shared_ptr_nmt.hpp.

template<class T>
void boost::shared_ptr< T >::reset ( ) [inline]

Definition at line 375 of file shared_ptr.hpp.

template<class T>
template<class Y >
void boost::shared_ptr< T >::reset ( Y *  p) [inline]

Definition at line 380 of file shared_ptr.hpp.

template<class T>
template<class Y , class D >
void boost::shared_ptr< T >::reset ( Y *  p,
d 
) [inline]

Definition at line 386 of file shared_ptr.hpp.

template<class T>
template<class Y , class D , class A >
void boost::shared_ptr< T >::reset ( Y *  p,
d,
a 
) [inline]

Definition at line 391 of file shared_ptr.hpp.

template<class T>
template<class Y >
void boost::shared_ptr< T >::reset ( shared_ptr< Y > const &  r,
T *  p 
) [inline]

Definition at line 396 of file shared_ptr.hpp.

template<class T>
void boost::shared_ptr< T >::swap ( shared_ptr< T > &  other) [inline]

Definition at line 141 of file shared_ptr_nmt.hpp.

template<class T>
void boost::shared_ptr< T >::swap ( shared_ptr< T > &  other) [inline]

Definition at line 431 of file shared_ptr.hpp.

template<class T>
bool boost::shared_ptr< T >::unique ( ) const [inline]

Definition at line 136 of file shared_ptr_nmt.hpp.

template<class T>
bool boost::shared_ptr< T >::unique ( ) const [inline]

Definition at line 421 of file shared_ptr.hpp.

template<class T>
long boost::shared_ptr< T >::use_count ( ) const [inline]

Definition at line 131 of file shared_ptr_nmt.hpp.

template<class T>
long boost::shared_ptr< T >::use_count ( ) const [inline]

Definition at line 426 of file shared_ptr.hpp.


Friends And Related Function Documentation

template<class T>
friend class shared_ptr [friend]

Definition at line 459 of file shared_ptr.hpp.

template<class T>
friend class weak_ptr [friend]

Definition at line 460 of file shared_ptr.hpp.


Member Data Documentation

template<class T>
count_type* boost::shared_ptr< T >::pn [private]

Definition at line 150 of file shared_ptr_nmt.hpp.

template<class T>
boost::detail::shared_count boost::shared_ptr< T >::pn [private]

Definition at line 466 of file shared_ptr.hpp.

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

Definition at line 149 of file shared_ptr_nmt.hpp.


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


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