Woolz Image Processing  Version 1.7.5
_AlcHeap Struct Reference

A general purpose heap data structure. Typedef: AlcHeap. More...

Data Fields

int nEnt
 
int maxEnt
 
int entInc
 
int entSz
 
int topPriLo
 
void * data
 
void * entries
 

Detailed Description

A general purpose heap data structure. Typedef: AlcHeap.

Field Documentation

int _AlcHeap::nEnt

Number of entries in use: incremented when entry inserted, no change is popped, decremented when entry freed.

Referenced by AlcHeapAllEntFree(), AlcHeapEntFree(), AlcHeapInsertEnt(), AlcHeapTop(), WlzCMeshFMarNodes3D(), and WlzThinToPoints().

int _AlcHeap::maxEnt

Number of entries allocated.

Referenced by AlcHeapInsertEnt(), and AlcHeapTop().

int _AlcHeap::entInc

When allocating space for more entries, allocate space for this many at a time.

Referenced by AlcHeapInsertEnt(), and AlcHeapNew().

int _AlcHeap::entSz

Size of each heap entry.

Referenced by AlcHeapInsertEnt(), AlcHeapNew(), and AlcHeapTop().

int _AlcHeap::topPriLo

If non-zero the top priority is low rather than high. This should be set (default is zero) before any entries are added to the heap.

Referenced by AlcHeapEntFree(), AlcHeapInsertEnt(), WlzCMeshFMarNodes2D(), and WlzCMeshFMarNodes3D().

void* _AlcHeap::data

Application data.

Referenced by AlcHeapNew(), and WlzCMeshFMarNodes3D().

void* _AlcHeap::entries

Allocated heap entries.

Referenced by AlcHeapAllEntFree(), AlcHeapFree(), AlcHeapInsertEnt(), and AlcHeapTop().


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