#include <Queue.h>
Public Member Functions | |
| Queue () | |
| ~Queue () | |
| Queue (Queue &original_copy) | |
| bool | operator= (const Queue &original_copy) |
| void | push (const queue_type &input) |
| void | pushAtHead (const queue_type &input) |
| queue_type & | operator[] (unsigned long position) |
| void | del (unsigned long position) |
| const queue_type | peek (void) const |
| const queue_type | pop (void) |
| const unsigned long | size (void) const |
| void | clear (void) |
| void | compress (void) |
| bool | find (queue_type q) |
| void | clearAndForceAllocation (int size) |
Private Attributes | |
| queue_type * | array |
| unsigned long | head |
| unsigned long | tail |
| unsigned long | allocation_size |
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
1.4.2