====queuecreate.cc====
Constructor/destructor operations
===Queue() constructor===
^ Function ^ Parameter(s) ^ Return value |
| Queue() | none | pointer to the newly allocated queue |
Queue() is the parameterless constructor that is responsible for creating a new instance of a queue.
===Node(int) constructor===
Overloaded constructor that will accept an initial integer value to be assigned to the newly allocated Queue's **value** member.
^ Function ^ Parameter(s) ^ Return value |
| Queue(int) | integer value to assign as Queue's initial value | pointer to the newly allocated queue |
===queueops.cc ===
Operations that deal with queue manipulation
===Queue::enqueue(int value)===
enqueue(int value) - add a value to the start of the queue
^ Function ^ Parameter(s) ^ Return value |
| bool enqueue() | integer | bool |
===Queue::dequeue()===
dequeue() - remove a node (LNode) from the end of the queue
^ Function ^ Parameter(s) ^ Return value |
| LNode dequeue() | integer | bool |
===Queue::peek()===
peek() - view the next value in the queue
^ Function ^ Parameter(s) ^ Return value |
| LNode * Queue :: peek(int value) | void | void |