![]() |
Qt 6.x
The Qt SDK
|
#include <qsharedpointer_impl.h>
Public Types | |
typedef ExternalRefCountData | Parent |
typedef std::remove_cv< T >::type | NoCVType |
![]() | |
typedef void(* | DestroyerFn) (ExternalRefCountData *) |
Static Public Member Functions | |
static void | deleter (ExternalRefCountData *self) |
static void | safetyCheckDeleter (ExternalRefCountData *self) |
static void | noDeleter (ExternalRefCountData *) |
static ExternalRefCountData * | create (NoCVType **ptr, DestroyerFn destroy) |
![]() | |
static Q_CORE_EXPORT ExternalRefCountData * | getAndRef (const QObject *) |
Public Attributes | |
NoCVType | data |
![]() | |
QBasicAtomicInt | weakref |
QBasicAtomicInt | strongref |
DestroyerFn | destroyer |
Additional Inherited Members | |
![]() | |
ExternalRefCountData (DestroyerFn d) | |
ExternalRefCountData (Qt::Initialization) | |
~ExternalRefCountData () | |
void | destroy () |
Q_CORE_EXPORT void | setQObjectShared (const QObject *, bool enable) |
Q_CORE_EXPORT void | checkQObjectShared (const QObject *) |
void | checkQObjectShared (...) |
void | setQObjectShared (...) |
void * | operator new (std::size_t)=delete |
void * | operator new (std::size_t, void *ptr) noexcept |
void | operator delete (void *ptr) |
void | operator delete (void *, void *) |
Definition at line 209 of file qsharedpointer_impl.h.
typedef std::remove_cv<T>::type QtSharedPointer::ExternalRefCountWithContiguousData< T >::NoCVType |
Definition at line 212 of file qsharedpointer_impl.h.
typedef ExternalRefCountData QtSharedPointer::ExternalRefCountWithContiguousData< T >::Parent |
Definition at line 211 of file qsharedpointer_impl.h.
|
inlinestatic |
Definition at line 229 of file qsharedpointer_impl.h.
References d, QtSharedPointer::ExternalRefCountData::destroy(), and ptr().
|
inlinestatic |
Definition at line 215 of file qsharedpointer_impl.h.
References QtSharedPointer::ExternalRefCountWithContiguousData< T >::data, and Q_UNUSED.
Referenced by QtSharedPointer::ExternalRefCountWithContiguousData< T >::safetyCheckDeleter().
|
inlinestatic |
Definition at line 227 of file qsharedpointer_impl.h.
|
inlinestatic |
Definition at line 222 of file qsharedpointer_impl.h.
References QtSharedPointer::ExternalRefCountWithContiguousData< T >::deleter(), and QtSharedPointer::internalSafetyCheckRemove().
NoCVType QtSharedPointer::ExternalRefCountWithContiguousData< T >::data |
Definition at line 213 of file qsharedpointer_impl.h.
Referenced by QtSharedPointer::ExternalRefCountWithContiguousData< T >::deleter().