Website Summary Files Commits Branches @commit @diff @stats
path: root / docs / html / EventService_8h_source.html
diff options
context:
space:
mode:
Commit35831ff8dc30c9884a7c3340414f005a0d4ada10 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-12 20:21:09 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-12 20:21:09 +0300
Files07a06c30109e71defbfd305a7a9cca8d36a24e2c /docs/html/EventService_8h_source.html
FMI-OOP-P1_TicketSystem-35831ff8dc30c9884a7c3340414f005a0d4ada10.tar
FMI-OOP-P1_TicketSystem-35831ff8dc30c9884a7c3340414f005a0d4ada10.tar.gz
FMI-OOP-P1_TicketSystem-35831ff8dc30c9884a7c3340414f005a0d4ada10.zip
Parente2a51e497a2c1313722eb13f37aa682160021c2f (diff)
Completely reworked documentation
1 files changed, 147 insertions, 0 deletions
-rw-r--r--docs/html/EventService_8h_source.html147
diff --git a/docs/html/EventService_8h_source.html b/docs/html/EventService_8h_source.html
new file mode 100644
index 0000000..8eb2513
--- /dev/null
+++ b/docs/html/EventService_8h_source.html
@@ -0,0 +1,147 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=11"/>
+<meta name="generator" content="Doxygen 1.9.3"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>FMI Ticket System: src/Services/EventService.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="search/searchdata.js"></script>
+<script type="text/javascript" src="search/search.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr id="projectrow">
+ <td id="projectalign">
+ <div id="projectname">FMI Ticket System
+ </div>
+ <div id="projectbrief">| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |</div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.9.3 -->
+<script type="text/javascript">
+/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
+var searchBox = new SearchBox("searchBox", "search",'Search','.html');
+/* @license-end */
+</script>
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
+$(function() {
+ initMenu('',true,false,'search.php','Search');
+ $(document).ready(function() { init_search(); });
+});
+/* @license-end */
+</script>
+<div id="main-nav"></div>
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+</div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_6aea3fadc932e04aa9fe3b3b27672cd7.html">Services</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle"><div class="title">EventService.h</div></div>
+</div><!--header-->
+<div class="contents">
+<a href="EventService_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef HEADER_SERVICES_EVENTSERVICE</span></div>
+<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define HEADER_SERVICES_EVENTSERVICE</span></div>
+<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
+<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &quot;../Generic/List/OrderedList.hpp&quot;</span></div>
+<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &quot;../Generic/Date/Date.h&quot;</span></div>
+<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include &quot;../Models/Event.h&quot;</span></div>
+<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include &quot;<a class="code" href="HallService_8h.html">HallService.h</a>&quot;</span></div>
+<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#include &quot;<a class="code" href="StatusCode_8h.html">StatusCode.h</a>&quot;</span></div>
+<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> </div>
+<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="classEventService.html"> 16</a></span><span class="keyword">class </span><a class="code hl_class" href="classEventService.html">EventService</a> {</div>
+<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> <a class="code hl_class" href="classOrderedList.html">OrderedList&lt;Event&gt;</a> events;</div>
+<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div>
+<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">const</span> <a class="code hl_class" href="classHallService.html">HallService</a>* hs;</div>
+<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
+<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> <span class="keywordtype">unsigned</span> indexOfEvent(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <a class="code hl_class" href="classDate.html">Date</a>&amp; date);</div>
+<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
+<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="keyword">public</span>:</div>
+<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> <a class="code hl_function" href="classEventService.html#a9b30bb95890abac259ba27b53cabe545">EventService</a>(<span class="keyword">const</span> <a class="code hl_class" href="classHallService.html">HallService</a>* hs);</div>
+<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> <a class="code hl_function" href="classEventService.html#a9b30bb95890abac259ba27b53cabe545">EventService</a>(<span class="keyword">const</span> <a class="code hl_class" href="classHallService.html">HallService</a>* hs, <span class="keyword">const</span> <a class="code hl_class" href="classEvent.html">Event</a>* events, <span class="keywordtype">unsigned</span> eventCount);</div>
+<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
+<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> <a class="code hl_enumeration" href="StatusCode_8h.html#ae98a46f4ea1a43ca48acaf15d2eb7113">StatusCode</a> <a class="code hl_function" href="classEventService.html#a7a21a5909116215e402254510d6d81d6">createEvent</a>(<span class="keywordtype">int</span> hallNumber, <span class="keyword">const</span> <a class="code hl_class" href="classString.html">String</a>&amp; name, <span class="keyword">const</span> <a class="code hl_class" href="classDate.html">Date</a>&amp; date);</div>
+<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> <a class="code hl_enumeration" href="StatusCode_8h.html#ae98a46f4ea1a43ca48acaf15d2eb7113">StatusCode</a> <a class="code hl_function" href="classEventService.html#ac7ea565af5ad78e84749558477ceaf26">cancelEvent</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <a class="code hl_class" href="classDate.html">Date</a>&amp; date);</div>
+<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
+<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <a class="code hl_enumeration" href="StatusCode_8h.html#ae98a46f4ea1a43ca48acaf15d2eb7113">StatusCode</a> <a class="code hl_function" href="classEventService.html#a3c0d2a05e2a3026044b9e13e6802fbdb">reserveTicket</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <a class="code hl_class" href="classDate.html">Date</a>&amp; date, <span class="keyword">const</span> <span class="keywordtype">char</span>* password, <span class="keyword">const</span> <span class="keywordtype">char</span>* note, <span class="keyword">const</span> <a class="code hl_class" href="classTicket.html">Ticket</a>&amp; ticket);</div>
+<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <a class="code hl_enumeration" href="StatusCode_8h.html#ae98a46f4ea1a43ca48acaf15d2eb7113">StatusCode</a> <a class="code hl_function" href="classEventService.html#aa6fd620de878f225f7c51bb0df6ea749">cancelTicketReservation</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <a class="code hl_class" href="classDate.html">Date</a>&amp; date, <span class="keyword">const</span> <a class="code hl_class" href="classTicket.html">Ticket</a>&amp; ticket);</div>
+<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <a class="code hl_enumeration" href="StatusCode_8h.html#ae98a46f4ea1a43ca48acaf15d2eb7113">StatusCode</a> <a class="code hl_function" href="classEventService.html#ad1efbed6111da8e755d86b5bc9ada806">ticketIsReserved</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <a class="code hl_class" href="classDate.html">Date</a>&amp; date, <span class="keyword">const</span> <a class="code hl_class" href="classTicket.html">Ticket</a>&amp; ticket);</div>
+<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div>
+<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <a class="code hl_enumeration" href="StatusCode_8h.html#ae98a46f4ea1a43ca48acaf15d2eb7113">StatusCode</a> <a class="code hl_function" href="classEventService.html#ac447cac3e4974b9cc676d9bb90152979">buyTicket</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <a class="code hl_class" href="classDate.html">Date</a>&amp; date, <span class="keyword">const</span> <a class="code hl_class" href="classTicket.html">Ticket</a>&amp; ticket, <span class="keyword">const</span> <span class="keywordtype">char</span>* password, <a class="code hl_class" href="classString.html">String</a>* reservationNoteOutput);</div>
+<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <a class="code hl_enumeration" href="StatusCode_8h.html#ae98a46f4ea1a43ca48acaf15d2eb7113">StatusCode</a> <a class="code hl_function" href="classEventService.html#ac447cac3e4974b9cc676d9bb90152979">buyTicket</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <a class="code hl_class" href="classDate.html">Date</a>&amp; date, <span class="keyword">const</span> <a class="code hl_class" href="classTicket.html">Ticket</a>&amp; ticket);</div>
+<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> </div>
+<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <a class="code hl_class" href="classString.html">String</a> <a class="code hl_function" href="classEventService.html#a7f4632e3beae5d24087047ab0223f85e">createSeatingString</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <a class="code hl_class" href="classDate.html">Date</a>&amp; date, <span class="keywordtype">unsigned</span>* seatsPerRow);</div>
+<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </div>
+<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <a class="code hl_class" href="classList.html">List&lt;Event&gt;</a> <a class="code hl_function" href="classEventService.html#a6700bd4f9da6d12a47812b9c8549556e">queryMostWatched</a>(<span class="keywordtype">unsigned</span> topN);</div>
+<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <a class="code hl_class" href="classList.html">List&lt;Event&gt;</a> <a class="code hl_function" href="classEventService.html#a814de3510f72150f2e54d44f8c8948bb">queryInsufficientlyVisited</a>();</div>
+<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> </div>
+<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <a class="code hl_enumeration" href="StatusCode_8h.html#ae98a46f4ea1a43ca48acaf15d2eb7113">StatusCode</a> <a class="code hl_function" href="classEventService.html#a277194aea79a2c9bf955b7706a20c54c">reportReservations</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <a class="code hl_class" href="classDate.html">Date</a>&amp; date);</div>
+<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <a class="code hl_enumeration" href="StatusCode_8h.html#ae98a46f4ea1a43ca48acaf15d2eb7113">StatusCode</a> <a class="code hl_function" href="classEventService.html#afc74fc6d44fca054bce8e54997c0cd3e">reportBoughtTickets</a>(<span class="keywordtype">int</span> hallNumber, <span class="keyword">const</span> <a class="code hl_class" href="classDate.html">Date</a>&amp; start, <span class="keyword">const</span> <a class="code hl_class" href="classDate.html">Date</a>&amp; end, <span class="keywordtype">bool</span> all = <span class="keyword">false</span>);</div>
+<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
+<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <a class="code hl_enumeration" href="StatusCode_8h.html#ae98a46f4ea1a43ca48acaf15d2eb7113">StatusCode</a> <a class="code hl_function" href="classEventService.html#a1225c23dae83fa928da47113cd1c5617">load</a>();</div>
+<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <a class="code hl_enumeration" href="StatusCode_8h.html#ae98a46f4ea1a43ca48acaf15d2eb7113">StatusCode</a> <a class="code hl_function" href="classEventService.html#a5aac3df17ef30f84c1c28277c256ec32">save</a>();</div>
+<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span>};</div>
+<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> </div>
+<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span><span class="preprocessor">#endif</span></div>
+<div class="ttc" id="aHallService_8h_html"><div class="ttname"><a href="HallService_8h.html">HallService.h</a></div><div class="ttdoc">Stores the declaration of class HallService.</div></div>
+<div class="ttc" id="aStatusCode_8h_html"><div class="ttname"><a href="StatusCode_8h.html">StatusCode.h</a></div><div class="ttdoc">Stores declaration of enum StatusCode.</div></div>
+<div class="ttc" id="aStatusCode_8h_html_ae98a46f4ea1a43ca48acaf15d2eb7113"><div class="ttname"><a href="StatusCode_8h.html#ae98a46f4ea1a43ca48acaf15d2eb7113">StatusCode</a></div><div class="ttdeci">StatusCode</div><div class="ttdoc">Used for communication between Services and what uses them.</div><div class="ttdef"><b>Definition:</b> StatusCode.h:14</div></div>
+<div class="ttc" id="aclassDate_html"><div class="ttname"><a href="classDate.html">Date</a></div><div class="ttdoc">Stores a day, month and year.</div><div class="ttdef"><b>Definition:</b> Date.h:14</div></div>
+<div class="ttc" id="aclassEventService_html"><div class="ttname"><a href="classEventService.html">EventService</a></div><div class="ttdoc">Each EventService stores all events and a pointer to HallService.</div><div class="ttdef"><b>Definition:</b> EventService.h:16</div></div>
+<div class="ttc" id="aclassEventService_html_a1225c23dae83fa928da47113cd1c5617"><div class="ttname"><a href="classEventService.html#a1225c23dae83fa928da47113cd1c5617">EventService::load</a></div><div class="ttdeci">StatusCode load()</div><div class="ttdoc">Loads Events from a database file.</div><div class="ttdef"><b>Definition:</b> EventService.cpp:336</div></div>
+<div class="ttc" id="aclassEventService_html_a277194aea79a2c9bf955b7706a20c54c"><div class="ttname"><a href="classEventService.html#a277194aea79a2c9bf955b7706a20c54c">EventService::reportReservations</a></div><div class="ttdeci">StatusCode reportReservations(const char *name, const Date &amp;date)</div><div class="ttdoc">Creates a report that lists all Events (with given name and date) and their reserved tickets.</div><div class="ttdef"><b>Definition:</b> EventService.cpp:257</div></div>
+<div class="ttc" id="aclassEventService_html_a3c0d2a05e2a3026044b9e13e6802fbdb"><div class="ttname"><a href="classEventService.html#a3c0d2a05e2a3026044b9e13e6802fbdb">EventService::reserveTicket</a></div><div class="ttdeci">StatusCode reserveTicket(const char *name, const Date &amp;date, const char *password, const char *note, const Ticket &amp;ticket)</div><div class="ttdoc">Creates a Reservation for an Event by name and date.</div><div class="ttdef"><b>Definition:</b> EventService.cpp:72</div></div>
+<div class="ttc" id="aclassEventService_html_a5aac3df17ef30f84c1c28277c256ec32"><div class="ttname"><a href="classEventService.html#a5aac3df17ef30f84c1c28277c256ec32">EventService::save</a></div><div class="ttdeci">StatusCode save()</div><div class="ttdoc">Saves Events to a database file.</div><div class="ttdef"><b>Definition:</b> EventService.cpp:352</div></div>
+<div class="ttc" id="aclassEventService_html_a6700bd4f9da6d12a47812b9c8549556e"><div class="ttname"><a href="classEventService.html#a6700bd4f9da6d12a47812b9c8549556e">EventService::queryMostWatched</a></div><div class="ttdeci">List&lt; Event &gt; queryMostWatched(unsigned topN)</div><div class="ttdef"><b>Definition:</b> EventService.cpp:212</div></div>
+<div class="ttc" id="aclassEventService_html_a7a21a5909116215e402254510d6d81d6"><div class="ttname"><a href="classEventService.html#a7a21a5909116215e402254510d6d81d6">EventService::createEvent</a></div><div class="ttdeci">StatusCode createEvent(int hallNumber, const String &amp;name, const Date &amp;date)</div><div class="ttdoc">Creates an Event, with the given hallNumber, name and date.</div><div class="ttdef"><b>Definition:</b> EventService.cpp:38</div></div>
+<div class="ttc" id="aclassEventService_html_a7f4632e3beae5d24087047ab0223f85e"><div class="ttname"><a href="classEventService.html#a7f4632e3beae5d24087047ab0223f85e">EventService::createSeatingString</a></div><div class="ttdeci">String createSeatingString(const char *name, const Date &amp;date, unsigned *seatsPerRow)</div><div class="ttdoc">Creates a special String for status of all seats in given Event (by name and date) and returns seatsP...</div><div class="ttdef"><b>Definition:</b> EventService.cpp:173</div></div>
+<div class="ttc" id="aclassEventService_html_a814de3510f72150f2e54d44f8c8948bb"><div class="ttname"><a href="classEventService.html#a814de3510f72150f2e54d44f8c8948bb">EventService::queryInsufficientlyVisited</a></div><div class="ttdeci">List&lt; Event &gt; queryInsufficientlyVisited()</div><div class="ttdef"><b>Definition:</b> EventService.cpp:224</div></div>
+<div class="ttc" id="aclassEventService_html_a9b30bb95890abac259ba27b53cabe545"><div class="ttname"><a href="classEventService.html#a9b30bb95890abac259ba27b53cabe545">EventService::EventService</a></div><div class="ttdeci">EventService(const HallService *hs)</div><div class="ttdoc">Sets HallService pointer and initializes events List.</div><div class="ttdef"><b>Definition:</b> EventService.cpp:22</div></div>
+<div class="ttc" id="aclassEventService_html_aa6fd620de878f225f7c51bb0df6ea749"><div class="ttname"><a href="classEventService.html#aa6fd620de878f225f7c51bb0df6ea749">EventService::cancelTicketReservation</a></div><div class="ttdeci">StatusCode cancelTicketReservation(const char *name, const Date &amp;date, const Ticket &amp;ticket)</div><div class="ttdoc">Cancels a Reservation for a ticket.</div><div class="ttdef"><b>Definition:</b> EventService.cpp:98</div></div>
+<div class="ttc" id="aclassEventService_html_ac447cac3e4974b9cc676d9bb90152979"><div class="ttname"><a href="classEventService.html#ac447cac3e4974b9cc676d9bb90152979">EventService::buyTicket</a></div><div class="ttdeci">StatusCode buyTicket(const char *name, const Date &amp;date, const Ticket &amp;ticket, const char *password, String *reservationNoteOutput)</div><div class="ttdoc">Buys ticket, assuming it is reserved and stores the reservation note.</div><div class="ttdef"><b>Definition:</b> EventService.cpp:142</div></div>
+<div class="ttc" id="aclassEventService_html_ac7ea565af5ad78e84749558477ceaf26"><div class="ttname"><a href="classEventService.html#ac7ea565af5ad78e84749558477ceaf26">EventService::cancelEvent</a></div><div class="ttdeci">StatusCode cancelEvent(const char *name, const Date &amp;date)</div><div class="ttdoc">Cancels an Event with the given name and date.</div><div class="ttdef"><b>Definition:</b> EventService.cpp:57</div></div>
+<div class="ttc" id="aclassEventService_html_ad1efbed6111da8e755d86b5bc9ada806"><div class="ttname"><a href="classEventService.html#ad1efbed6111da8e755d86b5bc9ada806">EventService::ticketIsReserved</a></div><div class="ttdeci">StatusCode ticketIsReserved(const char *name, const Date &amp;date, const Ticket &amp;ticket)</div><div class="ttdoc">Whether a ticket is a reserved or not.</div><div class="ttdef"><b>Definition:</b> EventService.cpp:116</div></div>
+<div class="ttc" id="aclassEventService_html_afc74fc6d44fca054bce8e54997c0cd3e"><div class="ttname"><a href="classEventService.html#afc74fc6d44fca054bce8e54997c0cd3e">EventService::reportBoughtTickets</a></div><div class="ttdeci">StatusCode reportBoughtTickets(int hallNumber, const Date &amp;start, const Date &amp;end, bool all=false)</div><div class="ttdoc">Creates a report that Lists all Events (with given name and date) and number of bought tickets.</div><div class="ttdef"><b>Definition:</b> EventService.cpp:308</div></div>
+<div class="ttc" id="aclassEvent_html"><div class="ttname"><a href="classEvent.html">Event</a></div><div class="ttdoc">Stores an event's hall, name, date, bought tickets and reservations.</div><div class="ttdef"><b>Definition:</b> Event.h:19</div></div>
+<div class="ttc" id="aclassHallService_html"><div class="ttname"><a href="classHallService.html">HallService</a></div><div class="ttdoc">Each HallService stores all halls.</div><div class="ttdef"><b>Definition:</b> HallService.h:14</div></div>
+<div class="ttc" id="aclassList_html"><div class="ttname"><a href="classList.html">List&lt; Event &gt;</a></div></div>
+<div class="ttc" id="aclassOrderedList_html"><div class="ttname"><a href="classOrderedList.html">OrderedList&lt; Event &gt;</a></div></div>
+<div class="ttc" id="aclassString_html"><div class="ttname"><a href="classString.html">String</a></div><div class="ttdef"><b>Definition:</b> String.h:11</div></div>
+<div class="ttc" id="aclassTicket_html"><div class="ttname"><a href="classTicket.html">Ticket</a></div><div class="ttdoc">Each Ticket contains a row and a seat number.</div><div class="ttdef"><b>Definition:</b> Ticket.h:13</div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
+</small></address>
+</body>
+</html>