QSharedPointer

#include <QtCore/QSharedPointer>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QSharedPointer


Overview

Public Types Index

Only has inherited public types

const value_type *const_pointer
const value_type &const_reference
qptrdiffdifference_type
Telement_type
value_type *pointer
value_type &reference
TType
Tvalue_type

Protected Attributes Index

Only has inherited protected attributes

Data *dInherited
Type *valueInherited

Public Functions Index

QSharedPointer ()
QSharedPointer (T *ptr)
QSharedPointer (T *ptr, Deleter d)
QSharedPointer (const QSharedPointer< T > &other)
QSharedPointer (const QSharedPointer< X > &other)
QSharedPointer (const QWeakPointer< X > &other)
voidclear ()
QSharedPointer< X >constCast () const
QSharedPointer< X >dynamicCast () const
QSharedPointer< X >objectCast () const
QSharedPointer< T > &operator= (const QSharedPointer< T > &other)
QSharedPointer< T > &operator= (const QSharedPointer< X > &other)
QSharedPointer< T > &operator= (const QWeakPointer< X > &other)
QSharedPointer< X >staticCast () const
voidswap (QSharedPointer &other)
QWeakPointer< T >toWeakRef () const
T *data () const Inherited
boolisNull () const Inherited
operator RestrictedBool () const Inherited
booloperator! () const Inherited
T &operator* () const Inherited
T *operator-> () const Inherited

Static Public Functions Index

Protected Functions Index

QSharedPointer (Qt::Initialization i)
Basic (T *ptr=0)Inherited
Basic (Qt::Initialization)Inherited
voidderef ()Inherited
ExternalRefCount ()Inherited
ExternalRefCount (Qt::Initialization i)Inherited
ExternalRefCount (T *ptr)Inherited
ExternalRefCount (T *ptr, Deleter deleter)Inherited
ExternalRefCount (const ExternalRefCount< T > &other)Inherited
ExternalRefCount (const ExternalRefCount< X > &other)Inherited
voidinternalConstruct (T *ptr)Inherited
voidinternalConstruct (T *ptr, Deleter deleter)Inherited
voidinternalCopy (const ExternalRefCount< X > &other)Inherited
voidinternalCreate ()Inherited
voidinternalFinishConstruction (T *ptr)Inherited
voidinternalSet (Data *o, T *actual)Inherited
voidinternalSwap (ExternalRefCount &other)Inherited
voidref () const Inherited

Protected Static Functions Index

Only has inherited protected static functions

voidderef (Data *d, T *value)Inherited

Public Types

(Only has inherited public types)

typedef const value_type * const_pointer Inherited

typedef const value_type & const_reference Inherited

typedef qptrdiff difference_type Inherited

typedef T element_type Inherited

typedef value_type * pointer Inherited

typedef value_type & reference Inherited

typedef T Type Inherited

typedef T value_type Inherited

Protected Attributes

(Only has inherited protected attributes)

Data * d ()Inherited

Type * value ()Inherited

Public Functions

QSharedPointer ()

QSharedPointer (
  • T *ptr)

QSharedPointer (
  • typename Deleter,
  • T *ptr,
  • Deleterd )

QSharedPointer (

QSharedPointer (

QSharedPointer (

void clear ()

QSharedPointer< X > constCast (
  • class X)

QSharedPointer< X > dynamicCast (
  • class X)

QSharedPointer< X > objectCast (
  • class X)

QSharedPointer< T > & operator= (

QSharedPointer< T > & operator= (

QSharedPointer< T > & operator= (

QSharedPointer< X > staticCast (
  • class X)

void swap (

QWeakPointer< T > toWeakRef ()

T * data ()Inherited

bool isNull ()Inherited

operator RestrictedBool ()Inherited

bool operator! ()Inherited

T & operator* ()Inherited

T * operator-> ()Inherited

Static Public Functions

QSharedPointer< T > create ()

Protected Functions

QSharedPointer (
  • Qt::Initializationi)

Basic (
  • T *ptr)
Inherited

Basic (
  • Qt::Initialization)
Inherited

void deref ()Inherited

ExternalRefCount ()Inherited

ExternalRefCount (
  • Qt::Initializationi)
Inherited

ExternalRefCount (
  • T *ptr)
Inherited

ExternalRefCount (
  • typename Deleter,
  • T *ptr,
  • Deleterdeleter )
Inherited

ExternalRefCount (Inherited

ExternalRefCount (Inherited

void internalConstruct (
  • T *ptr)
Inherited

void internalConstruct (
  • typename Deleter,
  • T *ptr,
  • Deleterdeleter )
Inherited

void internalCopy (Inherited

void internalCreate ()Inherited

void internalFinishConstruction (
  • T *ptr)
Inherited

void internalSet (
  • Data *o,
  • T *actual )
Inherited

void internalSwap (Inherited

void ref ()Inherited

Protected Static Functions

(Only has inherited protected static functions)

void deref (Inherited

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus