Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QtSharedPointer::ExternalRefCountWithContiguousData< T > Struct Template Reference

#include <qsharedpointer_impl.h>

+ Inheritance diagram for QtSharedPointer::ExternalRefCountWithContiguousData< T >:
+ Collaboration diagram for QtSharedPointer::ExternalRefCountWithContiguousData< T >:

Public Types

typedef ExternalRefCountData Parent
 
typedef std::remove_cv< T >::type NoCVType
 
- Public Types inherited from QtSharedPointer::ExternalRefCountData
typedef void(* DestroyerFn) (ExternalRefCountData *)
 

Static Public Member Functions

static void deleter (ExternalRefCountData *self)
 
static void safetyCheckDeleter (ExternalRefCountData *self)
 
static void noDeleter (ExternalRefCountData *)
 
static ExternalRefCountDatacreate (NoCVType **ptr, DestroyerFn destroy)
 
- Static Public Member Functions inherited from QtSharedPointer::ExternalRefCountData
static Q_CORE_EXPORT ExternalRefCountDatagetAndRef (const QObject *)
 

Public Attributes

NoCVType data
 
- Public Attributes inherited from QtSharedPointer::ExternalRefCountData
QBasicAtomicInt weakref
 
QBasicAtomicInt strongref
 
DestroyerFn destroyer
 

Additional Inherited Members

- Public Member Functions inherited from QtSharedPointer::ExternalRefCountData
 ExternalRefCountData (DestroyerFn d)
 
 ExternalRefCountData (Qt::Initialization)
 
 ~ExternalRefCountData ()
 
void destroy ()
 
 QT6_ONLY (Q_CORE_EXPORT void setQObjectShared(const QObject *, bool enable);) inline void checkQObjectShared(...)
 
void setQObjectShared (...)
 
voidoperator new (std::size_t)=delete
 
voidoperator new (std::size_t, void *ptr) noexcept
 
void operator delete (void *ptr)
 
void operator delete (void *, void *)
 

Detailed Description

template<class T>
struct QtSharedPointer::ExternalRefCountWithContiguousData< T >

Definition at line 212 of file qsharedpointer_impl.h.

Member Typedef Documentation

◆ NoCVType

template<class T >
typedef std::remove_cv<T>::type QtSharedPointer::ExternalRefCountWithContiguousData< T >::NoCVType

Definition at line 215 of file qsharedpointer_impl.h.

◆ Parent

Definition at line 214 of file qsharedpointer_impl.h.

Member Function Documentation

◆ create()

template<class T >
static ExternalRefCountData * QtSharedPointer::ExternalRefCountWithContiguousData< T >::create ( NoCVType ** ptr,
DestroyerFn destroy )
inlinestatic

Definition at line 232 of file qsharedpointer_impl.h.

References d, QtSharedPointer::ExternalRefCountData::destroy(), and ptr().

+ Here is the call graph for this function:

◆ deleter()

template<class T >
static void QtSharedPointer::ExternalRefCountWithContiguousData< T >::deleter ( ExternalRefCountData * self)
inlinestatic

Definition at line 218 of file qsharedpointer_impl.h.

References QtSharedPointer::ExternalRefCountWithContiguousData< T >::data, and Q_UNUSED.

Referenced by QtSharedPointer::ExternalRefCountWithContiguousData< T >::safetyCheckDeleter().

+ Here is the caller graph for this function:

◆ noDeleter()

template<class T >
static void QtSharedPointer::ExternalRefCountWithContiguousData< T >::noDeleter ( ExternalRefCountData * )
inlinestatic

Definition at line 230 of file qsharedpointer_impl.h.

◆ safetyCheckDeleter()

template<class T >
static void QtSharedPointer::ExternalRefCountWithContiguousData< T >::safetyCheckDeleter ( ExternalRefCountData * self)
inlinestatic

Definition at line 225 of file qsharedpointer_impl.h.

References QtSharedPointer::ExternalRefCountWithContiguousData< T >::deleter(), and QtSharedPointer::internalSafetyCheckRemove().

+ Here is the call graph for this function:

Member Data Documentation

◆ data


The documentation for this struct was generated from the following file: