#include <ckheap.h>
Public Member Functions | |
maxHeap (int size) | |
~maxHeap () | |
int | numElements () |
int | insert (InfoRecord *) |
InfoRecord * | deleteMax () |
InfoRecord * | iterator (heapIterator *) |
InfoRecord * | next (heapIterator *) |
Private Member Functions | |
void | swap (int i, int j) |
Private Attributes | |
heapRecord * | h |
int | count |
int | size |
Definition at line 48 of file ckheap.h.
Definition at line 55 of file ckheap.h.
References h.
Referenced by deleteMax(), and insert().
heapRecord* maxHeap::h [private] |
Definition at line 51 of file ckheap.h.
Referenced by deleteMax(), insert(), iterator(), maxHeap(), next(), swap(), and ~maxHeap().
int maxHeap::count [private] |
Definition at line 52 of file ckheap.h.
Referenced by deleteMax(), insert(), iterator(), maxHeap(), next(), and numElements().
int maxHeap::size [private] |