Gator Library
An implementation of the Red-Black Tree and Priority queue data structure in C++.
|
The reservation class stores the priority number, patron id, and the time of reservation. More...
#include <reservation.hpp>
Public Member Functions | |
reservation (int patronId, int priorityNumber) | |
Constructs a new reservation object. | |
Public Attributes | |
int | PatronId |
int | PriorityNumber |
string | TimeOfReservation |
The reservation class stores the priority number, patron id, and the time of reservation.
reservation::reservation | ( | int | patronId, |
int | priorityNumber | ||
) |
Constructs a new reservation object.
patronId | The ID of the patron. |
priorityNumber | The priority number of the reservation. |
int reservation::PatronId |
The ID of the patron.
int reservation::PriorityNumber |
The priority number of the reservation.
string reservation::TimeOfReservation |
The time of the reservation.