My Project
|
#include <queue.hpp>
Public Member Functions | |
Queue () | |
Queue (Db *database) | |
void | addSong (Song s) |
Song | pop (void) |
bool | isEmpty (void) |
A priority queue that contains Song objects sorted by user tastes found in a database.
Queue::Queue | ( | ) |
Queue::Queue | ( | Db * | database | ) |
|
inline |
Checks if the queue is empty
Song Queue::pop | ( | void | ) |