#include "Event.h" #include "Reservation.h" Event::Event() : Event(nullptr, "", Date()) {} Event::Event(const Hall* hall, String name, Date date) : tickets(), reservations() { this->hall = hall; this->name = name; this->date = date; } const OrderedList& Event::get_tickets() const { return tickets; } const OrderedList& Event::get_reservations() const { return reservations; } const Hall& Event::get_hall() const { return *hall; } const String& Event::get_name() const { return name; } const Date& Event::get_date() const { return date; } int Event::compare(const Event& other) { return name.compare(other.name); }