1#ifndef HEADER_SERVICES_HALLSERVICE
2#define HEADER_SERVICES_HALLSERVICE
8#include "../Generic/List/OrderedList.hpp"
9#include "../Models/Hall.h"
Stores declaration of enum StatusCode.
StatusCode
Used for communication between Services and what uses them.
Definition: StatusCode.h:14
Each HallService stores all halls.
Definition: HallService.h:14
StatusCode save()
Saves Halls to a database file.
Definition: HallService.cpp:34
HallService(const Hall *halls, unsigned hallCount)
Copies halls from parameters.
Definition: HallService.cpp:4
const OrderedList< Hall > & get_halls() const
Returns a constant reference to halls.
Definition: HallService.cpp:8
StatusCode load()
Loads Halls to a database file.
Definition: HallService.cpp:18
Each hall contains a number, rows and seats per row.
Definition: Hall.h:13