boost::shared_ptr< T > Class Template Reference

#include <sysc/packages/boost/detail/shared_ptr_nmt.hpp>

Collaboration diagram for boost::shared_ptr< T >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef T element_type
typedef T value_type
typedef T element_type
typedef T value_type
typedef Tpointer
typedef
detail::shared_ptr_traits< T >
::reference 
reference
typedef T *this_type::* unspecified_bool_type

Public Member Functions

 shared_ptr (T *p=0)
 ~shared_ptr ()
 shared_ptr (shared_ptr const &r)
shared_ptroperator= (shared_ptr const &r)
 shared_ptr (std::auto_ptr< T > &r)
shared_ptroperator= (std::auto_ptr< T > &r)
void reset (T *p=0)
Toperator* () const
Toperator-> () const
Tget () const
long use_count () const
bool unique () const
void swap (shared_ptr< T > &other)
 shared_ptr ()
template<class Y>
 shared_ptr (Y *p)
template<class Y, class D>
 shared_ptr (Y *p, D d)
template<class Y>
 shared_ptr (weak_ptr< Y > const &r)
template<class Y>
 shared_ptr (shared_ptr< Y > const &r)
template<class Y>
 shared_ptr (shared_ptr< Y > const &r, detail::static_cast_tag)
template<class Y>
 shared_ptr (shared_ptr< Y > const &r, detail::const_cast_tag)
template<class Y>
 shared_ptr (shared_ptr< Y > const &r, detail::dynamic_cast_tag)
template<class Y>
 shared_ptr (shared_ptr< Y > const &r, detail::polymorphic_cast_tag)
template<class Y>
 shared_ptr (std::auto_ptr< Y > &r)
template<class Y>
shared_ptroperator= (shared_ptr< Y > const &r)
template<class Y>
shared_ptroperator= (std::auto_ptr< Y > &r)
void reset ()
template<class Y>
void reset (Y *p)
template<class Y, class D>
void reset (Y *p, D d)
reference operator* () const
Toperator-> () const
Tget () const
 operator unspecified_bool_type () const
bool operator! () const
bool unique () const
long use_count () const
void swap (shared_ptr< T > &other)
template<class Y>
bool _internal_less (shared_ptr< Y > const &rhs) const
void * _internal_get_deleter (std::type_info const &ti) const

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 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 >::value_type

Definition at line 42 of file shared_ptr_nmt.hpp.

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

Definition at line 114 of file shared_ptr.hpp.

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

Definition at line 115 of file shared_ptr.hpp.

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

Definition at line 116 of file shared_ptr.hpp.

Definition at line 117 of file shared_ptr.hpp.

template<class T>
typedef T* this_type::* boost::shared_ptr< T >::unspecified_bool_type

Definition at line 284 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 119 of file shared_ptr.hpp.

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

Definition at line 124 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 135 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 155 of file shared_ptr.hpp.

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

Definition at line 162 of file shared_ptr.hpp.

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

Definition at line 167 of file shared_ptr.hpp.

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

Definition at line 172 of file shared_ptr.hpp.

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

Definition at line 177 of file shared_ptr.hpp.

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

Definition at line 186 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 197 of file shared_ptr.hpp.


Member Function Documentation

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>
void boost::shared_ptr< T >::reset ( T p = 0  )  [inline]

Definition at line 108 of file shared_ptr_nmt.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>
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 >::get (  )  const [inline]

Definition at line 126 of file shared_ptr_nmt.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>
bool boost::shared_ptr< T >::unique (  )  const [inline]

Definition at line 136 of file shared_ptr_nmt.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>
template<class Y>
shared_ptr& boost::shared_ptr< T >::operator= ( shared_ptr< Y > const &  r  )  [inline]

Definition at line 209 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 221 of file shared_ptr.hpp.

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

Definition at line 229 of file shared_ptr.hpp.

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

Definition at line 234 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 240 of file shared_ptr.hpp.

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

Definition at line 245 of file shared_ptr.hpp.

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

Definition at line 251 of file shared_ptr.hpp.

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

Definition at line 257 of file shared_ptr.hpp.

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

Definition at line 286 of file shared_ptr.hpp.

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

Definition at line 295 of file shared_ptr.hpp.

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

Definition at line 300 of file shared_ptr.hpp.

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

Definition at line 305 of file shared_ptr.hpp.

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

Definition at line 310 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 316 of file shared_ptr.hpp.

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

Definition at line 321 of file shared_ptr.hpp.


Friends And Related Function Documentation

template<class T>
friend class shared_ptr [friend]

Definition at line 333 of file shared_ptr.hpp.

template<class T>
friend class weak_ptr [friend]

Definition at line 334 of file shared_ptr.hpp.


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

Generated on Wed Jan 21 15:32:12 2009 for SystemC by  doxygen 1.5.5