WeakRefUnion< ExposedType > Class Template Reference#include <refBase.h>
Detailed Description
Union of an arbitrary type with a WeakRefBase.
|
Public Member Functions | |
WeakRefUnion () | |
WeakRefUnion (const WeakRefPtr< WeakRefBase > &ref, ExposedType *ptr) | |
WeakRefUnion (const Union &lock) | |
WeakRefUnion (WeakRefBase *ref) | |
~WeakRefUnion () | |
Union & | operator= (const Union &ptr) |
void | set (const WeakRefPtr< WeakRefBase > &ref, ExposedType *ptr) |
bool | operator== (const ExposedType *t) const |
bool | operator!= (const ExposedType *t) const |
bool | operator== (const Union &t) const |
bool | operator!= (const Union &t) const |
bool | isNull () const |
ExposedType * | getPointer () const |
ExposedType * | operator-> () const |
ExposedType & | operator * () const |
operator ExposedType * () const | |
WeakRefPtr< WeakRefBase > | getRef () const |
Private Types | |
typedef WeakRefUnion< ExposedType > | Union |
Private Attributes | |
WeakRefPtr< WeakRefBase > | mWeakReference |
ExposedType * | mPtr |
typedef WeakRefUnion<ExposedType> WeakRefUnion< ExposedType >::Union [private] |
WeakRefUnion< ExposedType >::WeakRefUnion | ( | ) | [inline] |
WeakRefUnion< ExposedType >::WeakRefUnion | ( | const WeakRefPtr< WeakRefBase > & | ref, | |
ExposedType * | ptr | |||
) | [inline] |
WeakRefUnion< ExposedType >::WeakRefUnion | ( | const Union & | lock | ) | [inline] |
WeakRefUnion< ExposedType >::WeakRefUnion | ( | WeakRefBase * | ref | ) | [inline] |
WeakRefUnion< ExposedType >::~WeakRefUnion | ( | ) | [inline] |
Union& WeakRefUnion< ExposedType >::operator= | ( | const Union & | ptr | ) | [inline] |
void WeakRefUnion< ExposedType >::set | ( | const WeakRefPtr< WeakRefBase > & | ref, | |
ExposedType * | ptr | |||
) | [inline] |
bool WeakRefUnion< ExposedType >::operator== | ( | const ExposedType * | t | ) | const [inline] |
bool WeakRefUnion< ExposedType >::operator!= | ( | const ExposedType * | t | ) | const [inline] |
bool WeakRefUnion< ExposedType >::operator== | ( | const Union & | t | ) | const [inline] |
bool WeakRefUnion< ExposedType >::operator!= | ( | const Union & | t | ) | const [inline] |
bool WeakRefUnion< ExposedType >::isNull | ( | ) | const [inline] |
ExposedType* WeakRefUnion< ExposedType >::getPointer | ( | ) | const [inline] |
ExposedType* WeakRefUnion< ExposedType >::operator-> | ( | ) | const [inline] |
ExposedType& WeakRefUnion< ExposedType >::operator * | ( | ) | const [inline] |
WeakRefUnion< ExposedType >::operator ExposedType * | ( | ) | const [inline] |
WeakRefPtr<WeakRefBase> WeakRefUnion< ExposedType >::getRef | ( | ) | const [inline] |
WeakRefPtr<WeakRefBase> WeakRefUnion< ExposedType >::mWeakReference [private] |
ExposedType* WeakRefUnion< ExposedType >::mPtr [private] |