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
Inheritance
QtSharedPointer::Basic | |||
QtSharedPointer::ExternalRefCount | |||
QSharedPointer |
Public Types Index
Only has inherited public types
const value_type * | const_pointer |
const value_type & | const_reference |
qptrdiff | difference_type |
T | element_type |
value_type * | pointer |
value_type & | reference |
T | Type |
T | value_type |
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) | |
void | clear () |
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 |
void | swap (QSharedPointer &other) |
QWeakPointer< T > | toWeakRef () const |
T * | data () const ![]() |
bool | isNull () const ![]() |
operator RestrictedBool () const ![]() | |
bool | operator! () const ![]() |
T & | operator* () const ![]() |
T * | operator-> () const ![]() |
Static Public Functions Index
QSharedPointer< T > | create () |
Protected Functions Index
QSharedPointer (Qt::Initialization i) | |
Basic (T *ptr=0)![]() | |
Basic (Qt::Initialization)![]() | |
void | deref ()![]() |
ExternalRefCount ()![]() | |
ExternalRefCount (Qt::Initialization i)![]() | |
ExternalRefCount (T *ptr)![]() | |
ExternalRefCount (T *ptr, Deleter deleter)![]() | |
ExternalRefCount (const ExternalRefCount< T > &other)![]() | |
ExternalRefCount (const ExternalRefCount< X > &other)![]() | |
void | internalConstruct (T *ptr)![]() |
void | internalConstruct (T *ptr, Deleter deleter)![]() |
void | internalCopy (const ExternalRefCount< X > &other)![]() |
void | internalCreate ()![]() |
void | internalFinishConstruction (T *ptr)![]() |
void | internalSet (Data *o, T *actual)![]() |
void | internalSwap (ExternalRefCount &other)![]() |
void | ref () const ![]() |
Protected Static Functions Index
Only has inherited protected static functions
void | deref (Data *d, T *value)![]() |
Public Types
(Only has inherited public types)
typedef const value_type * 
typedef const value_type & 
typedef qptrdiff 
typedef T 
typedef value_type * 
typedef value_type & 
typedef T 
typedef T 
Public Functions
void
QSharedPointer< X >
QSharedPointer< X >
QSharedPointer< X >
QSharedPointer< T > &
QSharedPointer< T > &
QSharedPointer< T > &
QSharedPointer< X >
void
QWeakPointer< T >
T * 
bool 
bool 
T & 
T * 
Static Public Functions
QSharedPointer< T >
Protected Functions
void 
void 
void 
void 
void 
void 
void 
void 
void 
Protected Static Functions
(Only has inherited protected static functions)
void 
© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Documentation sources may be obtained from www.qt-project.org.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy