TelepathyQt4: Tp::WeakPtr< T > Class Template Reference

| Home · All Classes · All Namespaces · Modules · Functions · Files

# Tp::WeakPtr< T > Class Template Reference

`#include <TelepathyQt4/shared-ptr.h>`

List of all members.

## Public Member Functions

- WeakPtr ()
- WeakPtr (const WeakPtr< T > &o)
- WeakPtr (const SharedPtr< T > &o)
- ~WeakPtr ()
- bool isNull () const
- operator bool () const
- bool operator! () const
- WeakPtr< T > & operator= (const WeakPtr< T > &o)
- WeakPtr< T > & operator= (const SharedPtr< T > &o)
- void swap (WeakPtr< T > &o)
- SharedPtr< T > toStrongRef () const

### template<class T>
class Tp::WeakPtr< T >

## Constructor & Destructor Documentation

template<class T>

Tp::WeakPtr< T >::WeakPtr | ( |  | ) | `[inline]`

template<class T>

Tp::WeakPtr< T >::WeakPtr | ( | const WeakPtr< T > & | o | ) | `[inline]`

template<class T>

Tp::WeakPtr< T >::WeakPtr | ( | const SharedPtr< T > & | o | ) | `[inline]`

template<class T>

Tp::WeakPtr< T >::~WeakPtr | ( |  | ) | `[inline]`

## Member Function Documentation

template<class T>

bool Tp::WeakPtr< T >::isNull | ( |  | ) | const`[inline]`

template<class T>

Tp::WeakPtr< T >::operator bool | ( |  | ) | const`[inline]`

template<class T>

bool Tp::WeakPtr< T >::operator! | ( |  | ) | const`[inline]`

template<class T>

WeakPtr<T>& Tp::WeakPtr< T >::operator= | ( | const WeakPtr< T > & | o | ) | `[inline]`

template<class T>

WeakPtr<T>& Tp::WeakPtr< T >::operator= | ( | const SharedPtr< T > & | o | ) | `[inline]`

template<class T>

void Tp::WeakPtr< T >::swap | ( | WeakPtr< T > & | o | ) | `[inline]`

template<class T>

SharedPtr<T> Tp::WeakPtr< T >::toStrongRef | ( |  | ) | const`[inline]`