QArrayData

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Members

Aliases

ArrayOptions
alias ArrayOptions = QFlags!(ArrayOption)
Undocumented in source.

Enums

AllocationOption
enum AllocationOption
Undocumented in source.
ArrayOption
enum ArrayOption
Undocumented in source.
GrowthPosition
enum GrowthPosition
Undocumented in source.

Functions

allocatedCapacity
qsizetype allocatedCapacity()
Undocumented in source. Be warned that the author may not have intended to support it.
constAllocatedCapacity
qsizetype constAllocatedCapacity()
Undocumented in source. Be warned that the author may not have intended to support it.
deref
bool deref()

Returns false if deallocation is necessary

detachCapacity
qsizetype detachCapacity(qsizetype newSize)
Undocumented in source. Be warned that the author may not have intended to support it.
isShared
bool isShared()
Undocumented in source. Be warned that the author may not have intended to support it.
needsDetach
bool needsDetach()
Undocumented in source. Be warned that the author may not have intended to support it.
ref_
bool ref_()

Returns true if sharing took place

Static functions

allocate
void* allocate(QArrayData** pdata, qsizetype objectSize, qsizetype alignment, qsizetype capacity, AllocationOption option)
Undocumented in source.
deallocate
void deallocate(QArrayData* data, qsizetype objectSize, qsizetype alignment)
Undocumented in source.
reallocateUnaligned
qt.core.pair.QPair!(QArrayData*, void*) reallocateUnaligned(QArrayData* data, void* dataPointer, qsizetype objectSize, qsizetype newCapacity, AllocationOption option)
Undocumented in source.

Variables

alloc
qsizetype alloc;
Undocumented in source.
flags
ArrayOptions flags;
Undocumented in source.
ref__
QBasicAtomicInt ref__;
Undocumented in source.

Meta