#include <qhash.h>
Classes | |
struct | Node |
Public Member Functions | |
void * | allocateNode () |
void * | allocateNode (int nodeAlign) |
void | freeNode (void *node) |
QHashData * | detach_helper (void(*node_duplicate)(Node *, void *), int nodeSize) |
QHashData * | detach_helper2 (void(*node_duplicate)(Node *, void *), void(*node_delete)(Node *), int nodeSize, int nodeAlign) |
void | mightGrow () |
bool | willGrow () |
void | hasShrunk () |
void | rehash (int hint) |
void | free_helper (void(*node_delete)(Node *)) |
void | destroyAndFree () |
Node * | firstNode () |
Static Public Member Functions | |
static Node * | nextNode (Node *node) |
static Node * | previousNode (Node *node) |
Public Attributes | |
Node * | fakeNext |
Node ** | buckets |
QBasicAtomicInt | ref |
int | size |
int | nodeSize |
short | userNumBits |
short | numBits |
int | numBuckets |
uint | sharable: 1 |
uint | strictAlignment: 1 |
uint | reserved: 30 |
Static Public Attributes | |
static QHashData | shared_null |
void* allocateNode | ( | ) |
QHashData* detach_helper2 | ( | void(*)(Node *, void *) | node_duplicate, |
void(*)(Node *) | node_delete, | ||
int | nodeSize, | ||
int | nodeAlign | ||
) |
void destroyAndFree | ( | ) |
|
inline |