From b3d493796c97178f597ecf97e7c1ae46e566fe9c Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 8 May 2022 21:24:07 +0300 Subject: Fully documented everything in Services --- src/Services/HallService.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/Services/HallService.h') diff --git a/src/Services/HallService.h b/src/Services/HallService.h index cad02d3..09bda89 100644 --- a/src/Services/HallService.h +++ b/src/Services/HallService.h @@ -1,19 +1,29 @@ #ifndef HEADER_SERVICES_HALLSERVICE #define HEADER_SERVICES_HALLSERVICE +/*! \file HallService.h + * \brief Stores the declaration of class HallService + */ + #include "../Generic/List/OrderedList.hpp" #include "../Models/Hall.h" #include "StatusCode.h" +/*! \brief Each HallService stores all halls + */ class HallService { OrderedList halls; public: + //! Copies halls from parameters HallService(const Hall* halls, unsigned hallCount); + //! Returns a constant reference to halls const OrderedList& get_halls() const; + //! Loads Halls to a database file StatusCode load(); + //! Saves Halls to a database file StatusCode save(); }; -- cgit v1.3.1-26-gb76a