#include <DS_Queue.h>
Public Member Functions | |
Queue (Queue &original_copy) | |
bool | operator= (const Queue &original_copy) |
void | Push (const queue_type &input) |
void | PushAtHead (const queue_type &input, unsigned index=0) |
queue_type & | operator[] (unsigned int position) const |
void | Del (unsigned int position) |
queue_type | Peek (void) const |
queue_type | Pop (void) |
unsigned int | Size (void) const |
bool | IsEmpty (void) const |
unsigned int | AllocationSize (void) const |
void | Clear (void) |
void | Compress (void) |
bool | Find (queue_type q) |
void | ClearAndForceAllocation (int size) |
Private Attributes | |
queue_type * | array |
unsigned int | head |
unsigned int | tail |
unsigned int | allocation_size |