Gator Library
An implementation of the Red-Black Tree and Priority queue data structure in C++.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
reservation Class Reference

The reservation class stores the priority number, patron id, and the time of reservation. More...

#include <reservation.hpp>

Collaboration diagram for reservation:
Collaboration graph

Public Member Functions

 reservation (int patronId, int priorityNumber)
 Constructs a new reservation object.
 

Public Attributes

int PatronId
 
int PriorityNumber
 
string TimeOfReservation
 

Detailed Description

The reservation class stores the priority number, patron id, and the time of reservation.

Constructor & Destructor Documentation

◆ reservation()

reservation::reservation ( int  patronId,
int  priorityNumber 
)

Constructs a new reservation object.

Parameters
patronIdThe ID of the patron.
priorityNumberThe priority number of the reservation.

Member Data Documentation

◆ PatronId

int reservation::PatronId

The ID of the patron.

◆ PriorityNumber

int reservation::PriorityNumber

The priority number of the reservation.

◆ TimeOfReservation

string reservation::TimeOfReservation

The time of the reservation.


The documentation for this class was generated from the following files: