dqt ~testqt6 (2022-04-01T05:11:05.2144767)
Dub
Repo
QArrayData
qt
core
arraydata
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (
C
++)
struct
QArrayData {
enum
AllocationOption
;
enum
GrowthPosition
;
enum
ArrayOption
;
alias
ArrayOptions
=
QFlags
!(
ArrayOption
)
;
QBasicAtomicInt
ref__
;
ArrayOptions
flags
;
qsizetype
alloc
;
qsizetype
allocatedCapacity
();
qsizetype
constAllocatedCapacity
();
bool
ref_
();
bool
deref
();
bool
isShared
();
bool
needsDetach
();
qsizetype
detachCapacity
(qsizetype newSize);
static
void
*
allocate
(QArrayData** pdata, qsizetype objectSize, qsizetype alignment, qsizetype capacity, AllocationOption option);
static
qt
.
core
.
pair
.
QPair
!(
QArrayData
*,
void
*)
reallocateUnaligned
(QArrayData* data, void* dataPointer, qsizetype objectSize, qsizetype newCapacity, AllocationOption option);
static
void
deallocate
(QArrayData* data, qsizetype objectSize, qsizetype alignment);
}
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
Source
See Implementation
qt
core
arraydata
structs
QArrayData
QTypedArrayData