#include <TCSharedPtrImpl.h>
Protected Member Functions | |
SharedPtrCountType (T *ptr, DELETER deleter) | |
Construct reference counter with 1. | |
virtual void | DeletePtr () |
Private Attributes | |
T * | m_ptr |
The real pointer. | |
DELETER | m_deleter |
The delete function for deleting the pointer. | |
Friends | |
class | TC::SharedPtrCount |
Definition at line 142 of file TCSharedPtrImpl.h.
TC::Impl::SharedPtrCountType< T, DELETER >::SharedPtrCountType | ( | T * | ptr, | |
DELETER | deleter | |||
) | [inline, protected] |
virtual void TC::Impl::SharedPtrCountType< T, DELETER >::DeletePtr | ( | ) | [inline, protected, virtual] |
Implements TC::Impl::SharedPtrCountBase.
Definition at line 152 of file TCSharedPtrImpl.h.
References TC::Impl::SharedPtrCountType< T, DELETER >::m_deleter, and TC::Impl::SharedPtrCountType< T, DELETER >::m_ptr.
friend class TC::SharedPtrCount [friend] |
T* TC::Impl::SharedPtrCountType< T, DELETER >::m_ptr [private] |
The real pointer.
Definition at line 158 of file TCSharedPtrImpl.h.
Referenced by TC::Impl::SharedPtrCountType< T, DELETER >::DeletePtr().
DELETER TC::Impl::SharedPtrCountType< T, DELETER >::m_deleter [private] |
The delete function for deleting the pointer.
Definition at line 160 of file TCSharedPtrImpl.h.
Referenced by TC::Impl::SharedPtrCountType< T, DELETER >::DeletePtr().