Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Services / HallService.h
diff options
context:
space:
mode:
1 files changed, 10 insertions, 0 deletions
-rw-r--r--src/Services/HallService.h10
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<Hall> halls;
public:
+ //! Copies halls from parameters
HallService(const Hall* halls, unsigned hallCount);
+ //! Returns a constant reference to halls
const OrderedList<Hall>& get_halls() const;
+ //! Loads Halls to a database file
StatusCode load();
+ //! Saves Halls to a database file
StatusCode save();
};