|
reSIProcate/rutil
9694
|
#include <SharedCount.hxx>


Public Member Functions | |
| sp_counted_base_impl (P p, D d) | |
| virtual void | dispose () |
| virtual void * | get_deleter (std::type_info const &ti) |
| void * | operator new (size_t) |
| void | operator delete (void *p) |
Private Types | |
| typedef sp_counted_base_impl < P, D > | this_type |
Private Member Functions | |
| sp_counted_base_impl (sp_counted_base_impl const &) | |
| sp_counted_base_impl & | operator= (sp_counted_base_impl const &) |
Private Attributes | |
| P | ptr |
| D | del |
Definition at line 176 of file SharedCount.hxx.
typedef sp_counted_base_impl<P, D> resip::sp_counted_base_impl< P, D >::this_type [private] |
Definition at line 186 of file SharedCount.hxx.
| resip::sp_counted_base_impl< P, D >::sp_counted_base_impl | ( | sp_counted_base_impl< P, D > const & | ) | [private] |
| resip::sp_counted_base_impl< P, D >::sp_counted_base_impl | ( | P | p, |
| D | d | ||
| ) | [inline] |
Definition at line 191 of file SharedCount.hxx.
| virtual void resip::sp_counted_base_impl< P, D >::dispose | ( | ) | [inline, virtual] |
Implements resip::sp_counted_base.
Definition at line 195 of file SharedCount.hxx.
References resip::sp_counted_base_impl< P, D >::del, and resip::sp_counted_base_impl< P, D >::ptr.
| virtual void* resip::sp_counted_base_impl< P, D >::get_deleter | ( | std::type_info const & | ti | ) | [inline, virtual] |
Implements resip::sp_counted_base.
Definition at line 200 of file SharedCount.hxx.
References resip::sp_counted_base_impl< P, D >::del.
{
return ti == typeid(D)? &del: 0;
}
| void resip::sp_counted_base_impl< P, D >::operator delete | ( | void * | p | ) | [inline] |
Definition at line 210 of file SharedCount.hxx.
{
std::allocator<this_type>().deallocate(static_cast<this_type *>(p), 1);
}
| void* resip::sp_counted_base_impl< P, D >::operator new | ( | size_t | ) | [inline] |
Definition at line 205 of file SharedCount.hxx.
{
return std::allocator<this_type>().allocate(1, static_cast<this_type *>(0));
}
| sp_counted_base_impl& resip::sp_counted_base_impl< P, D >::operator= | ( | sp_counted_base_impl< P, D > const & | ) | [private] |
D resip::sp_counted_base_impl< P, D >::del [private] |
Definition at line 181 of file SharedCount.hxx.
Referenced by resip::sp_counted_base_impl< P, D >::dispose(), and resip::sp_counted_base_impl< P, D >::get_deleter().
P resip::sp_counted_base_impl< P, D >::ptr [private] |
Definition at line 180 of file SharedCount.hxx.
Referenced by resip::sp_counted_base_impl< P, D >::dispose().
1.7.5.1