From 24bdf39e6c21ab846f6c86803761d78a094e05c0 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 26 May 2022 20:31:26 +0300 Subject: Added files from project 1 (mirror) --- .../Project 1/docs/html/classHallService.html | 154 +++++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 Year 1/Object-oriented Programming/Project 1/docs/html/classHallService.html (limited to 'Year 1/Object-oriented Programming/Project 1/docs/html/classHallService.html') diff --git a/Year 1/Object-oriented Programming/Project 1/docs/html/classHallService.html b/Year 1/Object-oriented Programming/Project 1/docs/html/classHallService.html new file mode 100644 index 0000000..335a622 --- /dev/null +++ b/Year 1/Object-oriented Programming/Project 1/docs/html/classHallService.html @@ -0,0 +1,154 @@ + + + + + + + +FMI Ticket System: HallService Class Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
HallService Class Reference
+
+
+ +

Each HallService stores all halls. + More...

+ +

#include <HallService.h>

+ + + + + + + + + + + + + + +

+Public Member Functions

+ HallService (const Hall *halls, unsigned hallCount)
 Copies halls from parameters.
 
+const OrderedList< Hall > & get_halls () const
 Returns a constant reference to halls.
 
StatusCode load ()
 Loads Halls to a database file. More...
 
StatusCode save ()
 Saves Halls to a database file. More...
 
+

Detailed Description

+

Each HallService stores all halls.

+

Member Function Documentation

+ +

◆ load()

+ +
+
+ + + + + + + +
StatusCode HallService::load ()
+
+ +

Loads Halls to a database file.

+

Looks for file named "hallsDatabse.fmits", which is just a binary file, and then reads it with the "read" function in events List.

+
Returns
E_FileCouldNotBeOpened if The files couldn't be opened/Doesn't exist
+
+Success otherwise
+ +
+
+ +

◆ save()

+ +
+
+ + + + + + + +
StatusCode HallService::save ()
+
+ +

Saves Halls to a database file.

+

Looks for file named "hallsDatabse.fmits", which is just a binary file, and then writes to it with the "write" function in events List.

+
Returns
E_FileCouldNotBeOpened if The files couldn't be opened
+
+Success otherwise
+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + -- cgit v1.3.1-23-gd82d