Logo Search packages:      
Sourcecode: vdr-plugin-spider version File versions

Heap Class Reference

#include <heap.h>

Inheritance diagram for Heap:

FinalHeap Pack Pile

List of all members.

Detailed Description

--- base class Heap ----------------------------------------------------

Definition at line 22 of file heap.h.

Public Member Functions

virtual void add (const Card &card)
const Cardcard (int position) const
bool changed () const
int count () const
bool empty () const
void moveTo (Heap *other, int countToMove)
virtual void remove ()
void resetChanged ()
const Cardtop () const

Protected Member Functions

 Heap (unsigned int maxCards)
virtual ~Heap ()

Protected Attributes

CardStack allCards
bool emptyChanged
unsigned int maxCount

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index