boost::weak_ptr< T > Class Template Reference

#include <sysc/packages/boost/weak_ptr.hpp>

Collaboration diagram for boost::weak_ptr< T >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef T element_type

Public Member Functions

 weak_ptr ()
template<class Y>
 weak_ptr (weak_ptr< Y > const &r)
template<class Y>
 weak_ptr (shared_ptr< Y > const &r)
template<class Y>
weak_ptroperator= (weak_ptr< Y > const &r)
template<class Y>
weak_ptroperator= (shared_ptr< Y > const &r)
shared_ptr< Tlock () const
long use_count () const
bool expired () const
void reset ()
void swap (this_type &other)
void _internal_assign (T *px2, detail::shared_count const &pn2)
template<class Y>
bool _internal_less (weak_ptr< Y > const &rhs) const

Friends

class weak_ptr
class shared_ptr


Detailed Description

template<class T>
class boost::weak_ptr< T >

Definition at line 26 of file weak_ptr.hpp.


Member Typedef Documentation

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

Definition at line 35 of file weak_ptr.hpp.


Constructor & Destructor Documentation

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

Definition at line 37 of file weak_ptr.hpp.

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

Definition at line 62 of file weak_ptr.hpp.

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

Definition at line 68 of file weak_ptr.hpp.


Member Function Documentation

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

Definition at line 75 of file weak_ptr.hpp.

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

Definition at line 83 of file weak_ptr.hpp.

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

Definition at line 92 of file weak_ptr.hpp.

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

Definition at line 121 of file weak_ptr.hpp.

template<class T>
bool boost::weak_ptr< T >::expired (  )  const [inline]

Definition at line 126 of file weak_ptr.hpp.

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

Definition at line 131 of file weak_ptr.hpp.

template<class T>
void boost::weak_ptr< T >::swap ( this_type other  )  [inline]

Definition at line 136 of file weak_ptr.hpp.

template<class T>
void boost::weak_ptr< T >::_internal_assign ( T px2,
detail::shared_count const &  pn2 
) [inline]

Definition at line 142 of file weak_ptr.hpp.

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

Definition at line 148 of file weak_ptr.hpp.


Friends And Related Function Documentation

template<class T>
friend class weak_ptr [friend]

Definition at line 160 of file weak_ptr.hpp.

template<class T>
friend class shared_ptr [friend]

Definition at line 161 of file weak_ptr.hpp.


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

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