From 35831ff8dc30c9884a7c3340414f005a0d4ada10 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 12 May 2022 20:21:09 +0300 Subject: Completely reworked documentation --- docs/html/HallService_8h_source.html | 108 +++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/html/HallService_8h_source.html (limited to 'docs/html/HallService_8h_source.html') diff --git a/docs/html/HallService_8h_source.html b/docs/html/HallService_8h_source.html new file mode 100644 index 0000000..d40fb32 --- /dev/null +++ b/docs/html/HallService_8h_source.html @@ -0,0 +1,108 @@ + + + + + + + +FMI Ticket System: src/Services/HallService.h Source File + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
HallService.h
+
+
+Go to the documentation of this file.
1#ifndef HEADER_SERVICES_HALLSERVICE
+
2#define HEADER_SERVICES_HALLSERVICE
+
3
+
8#include "../Generic/List/OrderedList.hpp"
+
9#include "../Models/Hall.h"
+
10#include "StatusCode.h"
+
11
+ + +
16
+
17public:
+
19 HallService(const Hall* halls, unsigned hallCount);
+
20
+
22 const OrderedList<Hall>& get_halls() const;
+
23
+ + +
28};
+
29
+
30#endif
+
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
+ +
+ + + + -- cgit v1.3.1-24-gd84d