Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
|
#include <queue.h>
Public Member Functions | |
void | display () |
queue () | |
~queue () | |
bool | isEmptyQueue () |
void | enQueue (Kind item) |
Kind | front () |
void | deQueue () |
void | clear () |
Private Attributes | |
node< Kind > * | queueFront |
node< Kind > * | queueRear |
int | size |
Definition of the queue class
Default constructor
|
inline |
Clear queue
|
inline |
Remove the top element of the queue
|
inline |
Show queue
|
inline |
Add new item to the queue
|
inline |
Return the first element of the queue
|
inline |
Determine whether the queue is empty
Pointer to the front of the queue