golib
0.5
|
Queue class. More...
#include <goqueue.h>
Public Member Functions | |
T | getHead () |
Returns the element at the head, the queue remains unchanged. | |
bool | isEmpty () |
T | getTail () |
Returns the element at the tail, the queue remains unchanged. | |
bool | remove () |
Removes one item from the head. | |
bool | removeTail () |
Removes one item from the tail. | |
bool | add (T &item) |
Adds item to the tail. | |
unsigned int | getSize () |
Protected Attributes | |
goList< T > | list |