QVectorData Struct Reference

#include <qvector.h>

Class Description

Definition at line 66 of file qvector.h.

+ Inheritance diagram for QVectorData:

Static Public Member Functions

static QVectorDatamalloc (int sizeofTypedData, int size, int sizeofT, QVectorData *init)
 
static QVectorDataallocate (int size, int alignment)
 
static QVectorDatareallocate (QVectorData *old, int newsize, int oldsize, int alignment)
 
static void free (QVectorData *data, int alignment)
 
static int grow (int sizeofTypedData, int size, int sizeofT, bool excessive)
 

Public Attributes

QBasicAtomicInt ref
 
int alloc
 
int size
 
uint sharable: 1
 
uint capacity: 1
 
uint reserved: 30
 

Static Public Attributes

static QVectorData shared_null
 

Member Function Documentation

static QVectorData* malloc ( int  sizeofTypedData,
int  size,
int  sizeofT,
QVectorData init 
)
static
static QVectorData* allocate ( int  size,
int  alignment 
)
static
static QVectorData* reallocate ( QVectorData old,
int  newsize,
int  oldsize,
int  alignment 
)
static
static void free ( QVectorData data,
int  alignment 
)
static
static int grow ( int  sizeofTypedData,
int  size,
int  sizeofT,
bool  excessive 
)
static

Member Data Documentation

Definition at line 68 of file qvector.h.

int alloc

Definition at line 69 of file qvector.h.

Definition at line 70 of file qvector.h.

uint sharable

Definition at line 77 of file qvector.h.

uint capacity

Definition at line 78 of file qvector.h.

uint reserved

Definition at line 79 of file qvector.h.

QVectorData shared_null
static

Definition at line 82 of file qvector.h.


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