boost::detail::shared_count Class Reference

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

Collaboration diagram for boost::detail::shared_count:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 shared_count ()
template<class Y>
 shared_count (Y *p)
template<class P, class D>
 shared_count (P p, D d)
template<class Y>
 shared_count (std::auto_ptr< Y > &r)
 ~shared_count ()
 shared_count (shared_count const &r)
 shared_count (weak_count const &r)
shared_countoperator= (shared_count const &r)
void swap (shared_count &r)
long use_count () const
bool unique () const
void * get_deleter (std::type_info const &ti) const

Friends

class weak_count
bool operator== (shared_count const &a, shared_count const &b)
bool operator< (shared_count const &a, shared_count const &b)


Detailed Description

Definition at line 52 of file shared_count.hpp.


Constructor & Destructor Documentation

boost::detail::shared_count::shared_count (  )  [inline]

Definition at line 66 of file shared_count.hpp.

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

Definition at line 73 of file shared_count.hpp.

template<class P, class D>
boost::detail::shared_count::shared_count ( p,
d 
) [inline]

Definition at line 103 of file shared_count.hpp.

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

Definition at line 138 of file shared_count.hpp.

boost::detail::shared_count::~shared_count (  )  [inline]

Definition at line 157 of file shared_count.hpp.

boost::detail::shared_count::shared_count ( shared_count const &  r  )  [inline]

Definition at line 165 of file shared_count.hpp.

boost::detail::shared_count::shared_count ( weak_count const &  r  )  [inline, explicit]

Definition at line 311 of file shared_count.hpp.


Member Function Documentation

shared_count& boost::detail::shared_count::operator= ( shared_count const &  r  )  [inline]

Definition at line 175 of file shared_count.hpp.

void boost::detail::shared_count::swap ( shared_count r  )  [inline]

Definition at line 189 of file shared_count.hpp.

long boost::detail::shared_count::use_count (  )  const [inline]

Definition at line 196 of file shared_count.hpp.

bool boost::detail::shared_count::unique (  )  const [inline]

Definition at line 201 of file shared_count.hpp.

void* boost::detail::shared_count::get_deleter ( std::type_info const &  ti  )  const [inline]

Definition at line 216 of file shared_count.hpp.


Friends And Related Function Documentation

friend class weak_count [friend]

Definition at line 62 of file shared_count.hpp.

bool operator== ( shared_count const &  a,
shared_count const &  b 
) [friend]

Definition at line 206 of file shared_count.hpp.

bool operator< ( shared_count const &  a,
shared_count const &  b 
) [friend]

Definition at line 211 of file shared_count.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