Home · All Classes · All Namespaces · Modules · Functions · Files |
The WeakPtr class holds a weak reference to an object managed by SharedPtr. More...
#include <TelepathyQt/WeakPtr>
The WeakPtr class holds a weak reference to an object managed by SharedPtr.
Tp::WeakPtr is useful for example for breaking reference cycles which would result from using a Tp::SharedPtr for both ends of a pair of mutually linked objects to refer to each other.
Tp::WeakPtr< T >::WeakPtr | ( | ) | [inline] |
Tp::WeakPtr< T >::WeakPtr | ( | T * | d | ) | [inline, explicit] |
Tp::WeakPtr< T >::WeakPtr | ( | const WeakPtr< T > & | o | ) | [inline] |
Tp::WeakPtr< T >::WeakPtr | ( | const SharedPtr< T > & | o | ) | [inline] |
Tp::WeakPtr< T >::~WeakPtr | ( | ) | [inline] |
bool Tp::WeakPtr< T >::isNull | ( | ) | const [inline] |
bool Tp::WeakPtr< T >::operator! | ( | ) | const [inline] |
Tp::WeakPtr< T >::operator UnspecifiedBoolType | ( | ) | const [inline] |
WeakPtr<T>& Tp::WeakPtr< T >::operator= | ( | const WeakPtr< T > & | o | ) | [inline] |
WeakPtr<T>& Tp::WeakPtr< T >::operator= | ( | const SharedPtr< T > & | o | ) | [inline] |
void Tp::WeakPtr< T >::swap | ( | WeakPtr< T > & | o | ) | [inline] |
SharedPtr<T> Tp::WeakPtr< T >::toStrongRef | ( | ) | const [inline] |
Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation | Telepathy-Qt 0.9.3 |