#include <SharedPointer.h>
Public Types | |
typedef T *this_type::* | unspecified_bool_type |
Public Member Functions | |
T * | get () const |
operator unspecified_bool_type () const | |
T & | operator* () const |
T * | operator-> () const |
shared_ptr & | operator= (const shared_ptr &rSharedPointer) |
template<class T2 > | |
shared_ptr & | operator= (const shared_ptr< T2 > &rSharedPointer) |
template<class T2 > | |
shared_ptr< T > & | operator= (const shared_ptr< T2 > &rSharedPointer) |
void | reset () |
template<class T2 > | |
void | reset (T2 *pObject) |
shared_ptr () | |
template<class T2 > | |
shared_ptr (T2 *pObject) | |
shared_ptr (const shared_ptr &rSharedPointer) | |
template<class T2 > | |
shared_ptr (const shared_ptr< T2 > &rSharedPointer) | |
template<class T2 > | |
shared_ptr (const shared_ptr< T2 > &rSharedPointer, dynamic_cast_tag) | |
void | swap (shared_ptr &rSharedPointer) |
bool | unique () const |
long | use_count () const |
virtual | ~shared_ptr () |
Private Types | |
typedef shared_ptr< T > | this_type |
Static Private Member Functions | |
template<class T2 > | |
static void | swap (T2 &rValue1, T2 &rValue2) |
Private Attributes | |
T * | m_pObject |
AVT::VmbAPI::ref_count_base * | m_pRefCount |
Friends | |
template<class T2 > | |
class | shared_ptr |
Definition at line 75 of file SharedPointer.h.
|
private |
Definition at line 78 of file SharedPointer.h.
typedef T* this_type::* AVT::VmbAPI::shared_ptr< T >::unspecified_bool_type |
Definition at line 115 of file SharedPointer.h.
AVT::VmbAPI::shared_ptr< T >::shared_ptr | ( | ) |
Definition at line 109 of file SharedPointer_impl.h.
|
explicit |
Definition at line 117 of file SharedPointer_impl.h.
AVT::VmbAPI::shared_ptr< T >::shared_ptr | ( | const shared_ptr< T > & | rSharedPointer | ) |
Definition at line 167 of file SharedPointer_impl.h.
AVT::VmbAPI::shared_ptr< T >::shared_ptr | ( | const shared_ptr< T2 > & | rSharedPointer | ) |
Definition at line 134 of file SharedPointer_impl.h.
AVT::VmbAPI::shared_ptr< T >::shared_ptr | ( | const shared_ptr< T2 > & | rSharedPointer, |
dynamic_cast_tag | |||
) |
Definition at line 149 of file SharedPointer_impl.h.
|
virtual |
Definition at line 181 of file SharedPointer_impl.h.
T * AVT::VmbAPI::shared_ptr< T >::get | ( | ) | const |
Definition at line 222 of file SharedPointer_impl.h.
|
inline |
Definition at line 117 of file SharedPointer.h.
T & AVT::VmbAPI::shared_ptr< T >::operator* | ( | ) | const |
Definition at line 228 of file SharedPointer_impl.h.
T * AVT::VmbAPI::shared_ptr< T >::operator-> | ( | ) | const |
Definition at line 234 of file SharedPointer_impl.h.
shared_ptr< T > & AVT::VmbAPI::shared_ptr< T >::operator= | ( | const shared_ptr< T > & | rSharedPointer | ) |
Definition at line 201 of file SharedPointer_impl.h.
shared_ptr& AVT::VmbAPI::shared_ptr< T >::operator= | ( | const shared_ptr< T2 > & | rSharedPointer | ) |
shared_ptr<T>& AVT::VmbAPI::shared_ptr< T >::operator= | ( | const shared_ptr< T2 > & | rSharedPointer | ) |
Definition at line 193 of file SharedPointer_impl.h.
void AVT::VmbAPI::shared_ptr< T >::reset | ( | ) |
Definition at line 209 of file SharedPointer_impl.h.
Definition at line 216 of file SharedPointer_impl.h.
|
staticprivate |
Definition at line 101 of file SharedPointer_impl.h.
void AVT::VmbAPI::shared_ptr< T >::swap | ( | shared_ptr< T > & | rSharedPointer | ) |
Definition at line 257 of file SharedPointer_impl.h.
bool AVT::VmbAPI::shared_ptr< T >::unique | ( | ) | const |
Definition at line 251 of file SharedPointer_impl.h.
long AVT::VmbAPI::shared_ptr< T >::use_count | ( | ) | const |
Definition at line 240 of file SharedPointer_impl.h.
Definition at line 81 of file SharedPointer.h.
|
private |
Definition at line 84 of file SharedPointer.h.
|
private |
Definition at line 83 of file SharedPointer.h.