![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qarraydata.h>
Additional Inherited Members | |
![]() | |
enum | AllocationOption { Grow , KeepSize } |
enum | GrowthPosition { GrowsAtEnd , GrowsAtBeginning } |
enum | ArrayOption { ArrayOptionDefault = 0 , CapacityReserved = 0x1 } |
![]() | |
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 |
![]() | |
static Q_DECL_MALLOCLIKE Q_CORE_EXPORT void * | allocate (QArrayData **pdata, qsizetype objectSize, qsizetype alignment, qsizetype capacity, AllocationOption option=QArrayData::KeepSize) noexcept |
static Q_DECL_MALLOCLIKE Q_CORE_EXPORT void * | allocate1 (QArrayData **pdata, qsizetype capacity, AllocationOption option=QArrayData::KeepSize) noexcept |
static Q_DECL_MALLOCLIKE Q_CORE_EXPORT void * | allocate2 (QArrayData **pdata, qsizetype capacity, AllocationOption option=QArrayData::KeepSize) noexcept |
static Q_CORE_EXPORT std::pair< QArrayData *, void * > | reallocateUnaligned (QArrayData *data, void *dataPointer, qsizetype objectSize, qsizetype newCapacity, AllocationOption option) noexcept |
static Q_CORE_EXPORT void | deallocate (QArrayData *data, qsizetype objectSize, qsizetype alignment) noexcept |
![]() | |
QBasicAtomicInt | ref_ |
ArrayOptions | flags |
qsizetype | alloc |
Definition at line 118 of file qarraydata.h.