QtBase  v6.3.1
Public Types | Static Public Member Functions | Public Attributes | List of all members
QtSharedPointer::ExternalRefCountWithContiguousData< T > Struct Template Reference

#include <qsharedpointer_impl.h>

Inheritance diagram for QtSharedPointer::ExternalRefCountWithContiguousData< T >:
Inheritance graph
[legend]
Collaboration diagram for QtSharedPointer::ExternalRefCountWithContiguousData< T >:
Collaboration graph
[legend]

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 ()
 
Q_CORE_EXPORT void setQObjectShared (const QObject *, bool enable)
 
Q_CORE_EXPORT void checkQObjectShared (const QObject *)
 
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 241 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 244 of file qsharedpointer_impl.h.

◆ Parent

Definition at line 243 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 261 of file qsharedpointer_impl.h.

◆ deleter()

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

Definition at line 247 of file qsharedpointer_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ noDeleter()

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

Definition at line 259 of file qsharedpointer_impl.h.

◆ safetyCheckDeleter()

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

Definition at line 254 of file qsharedpointer_impl.h.

Here is the call graph for this function:

Member Data Documentation

◆ data

Definition at line 245 of file qsharedpointer_impl.h.


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