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>.
|
#include <qarraydata.h>
Classes | |
struct | AlignmentDummy |
Additional Inherited Members | |
Public Types inherited from QArrayData | |
enum | AllocationOption { Grow , KeepSize } |
enum | GrowthPosition { GrowsAtEnd , GrowsAtBeginning } |
enum | ArrayOption { ArrayOptionDefault = 0 , CapacityReserved = 0x1 } |
Public Member Functions inherited from QArrayData | |
qsizetype | allocatedCapacity () noexcept |
qsizetype | constAllocatedCapacity () const noexcept |
bool | ref () noexcept |
Returns true if sharing took place. | |
bool | deref () noexcept |
Returns false if deallocation is necessary. | |
bool | isShared () const noexcept |
bool | needsDetach () noexcept |
qsizetype | detachCapacity (qsizetype newSize) const noexcept |
Public Attributes inherited from QArrayData | |
QBasicAtomicInt | ref_ |
ArrayOptions | flags |
qsizetype | alloc |
Definition at line 124 of file qarraydata.h.
|
inlinestatic |
Definition at line 129 of file qarraydata.h.
References QArrayData::allocate(), capacity, d, and Q_ALIGNOF.
Referenced by QV4::Heap::SharedArrayBuffer::init().
|
inlinestaticnoexcept |
Definition at line 165 of file qarraydata.h.
References alignment, and Q_ASSERT.
Referenced by allocateHelper().
|
inlinestaticnoexcept |
Definition at line 159 of file qarraydata.h.
References QArrayData::deallocate().
Referenced by QStringHashNode::~QStringHashNode().
|
inlinestaticconstexprnoexcept |
Definition at line 174 of file qarraydata.h.
References QtPrivate::MaxAllocSize.
|
inlinestatic |
Definition at line 151 of file qarraydata.h.
References capacity, and QArrayData::reallocateUnaligned().