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/Doxyfile | 8 + docs/FMI-OOP-P1_TicketSystem Overview.nomnoml | 131 - docs/FMI-OOP-P1_TicketSystem Overview.svg | 571 ----- docs/doxygen/Doxyfile | 7 - docs/doxygen/index.md | 5 - docs/html/Command_8h.html | 95 + docs/html/Command_8h_source.html | 98 + docs/html/Date_8h.html | 173 ++ docs/html/Date_8h_source.html | 132 + docs/html/EventService_8h.html | 100 + docs/html/EventService_8h_source.html | 147 ++ docs/html/Event_8h.html | 218 ++ docs/html/Event_8h_source.html | 141 ++ docs/html/FMI-OOP-P1_TicketSystem Overview.svg | 571 +++++ docs/html/FMITicketSystemConsoleUI_8h.html | 129 + docs/html/FMITicketSystemConsoleUI_8h_source.html | 91 + docs/html/HallService_8h.html | 98 + docs/html/HallService_8h_source.html | 108 + docs/html/Hall_8h.html | 172 ++ docs/html/Hall_8h_source.html | 119 + docs/html/List_8hpp.html | 180 ++ docs/html/List_8hpp_source.html | 353 +++ docs/html/Menu_8h.html | 97 + docs/html/Menu_8h_source.html | 117 + docs/html/OrderedList_8hpp.html | 96 + docs/html/OrderedList_8hpp_source.html | 121 + docs/html/Reservation_8h.html | 108 + docs/html/Reservation_8h_source.html | 124 + docs/html/StatusCode_8h.html | 128 + docs/html/StatusCode_8h_source.html | 104 + docs/html/String_8h.html | 96 + docs/html/String_8h_source.html | 129 + docs/html/Ticket_8h.html | 172 ++ docs/html/Ticket_8h_source.html | 114 + docs/html/Toolbox_8hpp.html | 750 ++++++ docs/html/Toolbox_8hpp_source.html | 182 ++ docs/html/annotated.html | 91 + docs/html/bc_s.png | Bin 0 -> 676 bytes docs/html/bdwn.png | Bin 0 -> 147 bytes docs/html/classCommand-members.html | 82 + docs/html/classCommand.html | 166 ++ docs/html/classDate-members.html | 91 + docs/html/classDate.html | 371 +++ docs/html/classEvent-members.html | 90 + docs/html/classEvent.html | 218 ++ docs/html/classEventService-members.html | 94 + docs/html/classEventService.html | 678 ++++++ docs/html/classHall-members.html | 87 + docs/html/classHall.html | 206 ++ docs/html/classHallService-members.html | 82 + docs/html/classHallService.html | 154 ++ docs/html/classList-members.html | 103 + docs/html/classList.html | 426 ++++ docs/html/classList.png | Bin 0 -> 471 bytes docs/html/classMenu-members.html | 86 + docs/html/classMenu.html | 330 +++ docs/html/classOrderedList-members.html | 108 + docs/html/classOrderedList.html | 287 +++ docs/html/classOrderedList.png | Bin 0 -> 465 bytes docs/html/classReservation-members.html | 89 + docs/html/classReservation.html | 297 +++ docs/html/classString-members.html | 96 + docs/html/classString.html | 388 +++ docs/html/classTicket-members.html | 85 + docs/html/classTicket.html | 198 ++ docs/html/classes.html | 108 + docs/html/closed.png | Bin 0 -> 132 bytes .../html/dir_0b7ce500285c8e4ab35041e3e5c42da4.html | 86 + .../html/dir_359d2bec989c9a8deeeb9aee335c1c76.html | 79 + .../html/dir_36df885461d6bd14211edf06510d126c.html | 95 + .../html/dir_49e56c817e5e54854c35e136979f97ca.html | 79 + .../html/dir_68267d1309a1af8e8297ef4c3efbcdba.html | 95 + .../html/dir_6aea3fadc932e04aa9fe3b3b27672cd7.html | 92 + .../html/dir_7224707058fb4969194ce052045af3c4.html | 86 + .../html/dir_81e13ff2cf2ef9aa9f9e473f8360d78f.html | 86 + .../html/dir_b37d33ceb7f5c107fb027d4db224bc89.html | 91 + .../html/dir_bba1b217f5afc342a21d50631c0a2103.html | 89 + .../html/dir_d8d09372644efb2ea8af4d02a2b08c8b.html | 92 + docs/html/doc.png | Bin 0 -> 746 bytes docs/html/doxygen.css | 1841 ++++++++++++++ docs/html/doxygen.svg | 26 + docs/html/dynsections.js | 121 + docs/html/files.html | 104 + docs/html/folderclosed.png | Bin 0 -> 616 bytes docs/html/folderopen.png | Bin 0 -> 597 bytes docs/html/functions.html | 211 ++ docs/html/functions_func.html | 209 ++ docs/html/functions_rela.html | 76 + docs/html/globals.html | 145 ++ docs/html/globals_enum.html | 75 + docs/html/globals_func.html | 144 ++ docs/html/hierarchy.html | 100 + docs/html/index.html | 120 + docs/html/jquery.js | 35 + docs/html/main_8cpp.html | 116 + docs/html/menu.js | 127 + docs/html/menudata.js | 98 + docs/html/nav_f.png | Bin 0 -> 153 bytes docs/html/nav_g.png | Bin 0 -> 95 bytes docs/html/nav_h.png | Bin 0 -> 98 bytes docs/html/open.png | Bin 0 -> 123 bytes docs/html/search/all_0.html | 37 + docs/html/search/all_0.js | 6 + docs/html/search/all_1.html | 37 + docs/html/search/all_1.js | 5 + docs/html/search/all_10.html | 37 + docs/html/search/all_10.js | 16 + docs/html/search/all_11.html | 37 + docs/html/search/all_11.js | 14 + docs/html/search/all_12.html | 37 + docs/html/search/all_12.js | 9 + docs/html/search/all_13.html | 37 + docs/html/search/all_13.js | 6 + docs/html/search/all_2.html | 37 + docs/html/search/all_2.js | 4 + docs/html/search/all_3.html | 37 + docs/html/search/all_3.js | 14 + docs/html/search/all_4.html | 37 + docs/html/search/all_4.js | 5 + docs/html/search/all_5.html | 37 + docs/html/search/all_5.js | 9 + docs/html/search/all_6.html | 37 + docs/html/search/all_6.js | 6 + docs/html/search/all_7.html | 37 + docs/html/search/all_7.js | 23 + docs/html/search/all_8.html | 37 + docs/html/search/all_8.js | 7 + docs/html/search/all_9.html | 37 + docs/html/search/all_9.js | 9 + docs/html/search/all_a.html | 37 + docs/html/search/all_a.js | 11 + docs/html/search/all_b.html | 37 + docs/html/search/all_b.js | 7 + docs/html/search/all_c.html | 37 + docs/html/search/all_c.js | 4 + docs/html/search/all_d.html | 37 + docs/html/search/all_d.js | 13 + docs/html/search/all_e.html | 37 + docs/html/search/all_e.js | 7 + docs/html/search/all_f.html | 37 + docs/html/search/all_f.js | 5 + docs/html/search/classes_0.html | 37 + docs/html/search/classes_0.js | 4 + docs/html/search/classes_1.html | 37 + docs/html/search/classes_1.js | 4 + docs/html/search/classes_2.html | 37 + docs/html/search/classes_2.js | 5 + docs/html/search/classes_3.html | 37 + docs/html/search/classes_3.js | 5 + docs/html/search/classes_4.html | 37 + docs/html/search/classes_4.js | 9 + docs/html/search/classes_5.html | 37 + docs/html/search/classes_5.js | 4 + docs/html/search/classes_6.html | 37 + docs/html/search/classes_6.js | 8 + docs/html/search/classes_7.html | 37 + docs/html/search/classes_7.js | 4 + docs/html/search/classes_8.html | 37 + docs/html/search/classes_8.js | 4 + docs/html/search/classes_9.html | 37 + docs/html/search/classes_9.js | 4 + docs/html/search/close.svg | 31 + docs/html/search/enums_0.html | 37 + docs/html/search/enums_0.js | 4 + docs/html/search/files_0.html | 37 + docs/html/search/files_0.js | 4 + docs/html/search/files_1.html | 37 + docs/html/search/files_1.js | 4 + docs/html/search/files_2.html | 37 + docs/html/search/files_2.js | 5 + docs/html/search/files_3.html | 37 + docs/html/search/files_3.js | 4 + docs/html/search/files_4.html | 37 + docs/html/search/files_4.js | 5 + docs/html/search/files_5.html | 37 + docs/html/search/files_5.js | 4 + docs/html/search/files_6.html | 37 + docs/html/search/files_6.js | 5 + docs/html/search/files_7.html | 37 + docs/html/search/files_7.js | 4 + docs/html/search/files_8.html | 37 + docs/html/search/files_8.js | 4 + docs/html/search/files_9.html | 37 + docs/html/search/files_9.js | 5 + docs/html/search/files_a.html | 37 + docs/html/search/files_a.js | 5 + docs/html/search/functions_0.html | 37 + docs/html/search/functions_0.js | 6 + docs/html/search/functions_1.html | 37 + docs/html/search/functions_1.js | 5 + docs/html/search/functions_10.html | 37 + docs/html/search/functions_10.js | 15 + docs/html/search/functions_11.html | 37 + docs/html/search/functions_11.js | 11 + docs/html/search/functions_12.html | 37 + docs/html/search/functions_12.js | 7 + docs/html/search/functions_13.html | 37 + docs/html/search/functions_13.js | 6 + docs/html/search/functions_2.html | 37 + docs/html/search/functions_2.js | 4 + docs/html/search/functions_3.html | 37 + docs/html/search/functions_3.js | 13 + docs/html/search/functions_4.html | 37 + docs/html/search/functions_4.js | 4 + docs/html/search/functions_5.html | 37 + docs/html/search/functions_5.js | 7 + docs/html/search/functions_6.html | 37 + docs/html/search/functions_6.js | 4 + docs/html/search/functions_7.html | 37 + docs/html/search/functions_7.js | 23 + docs/html/search/functions_8.html | 37 + docs/html/search/functions_8.js | 5 + docs/html/search/functions_9.html | 37 + docs/html/search/functions_9.js | 9 + docs/html/search/functions_a.html | 37 + docs/html/search/functions_a.js | 5 + docs/html/search/functions_b.html | 37 + docs/html/search/functions_b.js | 5 + docs/html/search/functions_c.html | 37 + docs/html/search/functions_c.js | 4 + docs/html/search/functions_d.html | 37 + docs/html/search/functions_d.js | 7 + docs/html/search/functions_e.html | 37 + docs/html/search/functions_e.js | 7 + docs/html/search/functions_f.html | 37 + docs/html/search/functions_f.js | 5 + docs/html/search/mag_sel.svg | 74 + docs/html/search/nomatches.html | 13 + docs/html/search/pages_0.html | 37 + docs/html/search/pages_0.js | 4 + docs/html/search/related_0.html | 37 + docs/html/search/related_0.js | 5 + docs/html/search/search.css | 263 ++ docs/html/search/search.js | 794 ++++++ docs/html/search/search_l.png | Bin 0 -> 567 bytes docs/html/search/search_m.png | Bin 0 -> 158 bytes docs/html/search/search_r.png | Bin 0 -> 553 bytes docs/html/search/searchdata.js | 33 + docs/html/splitbar.png | Bin 0 -> 314 bytes docs/html/sync_off.png | Bin 0 -> 853 bytes docs/html/sync_on.png | Bin 0 -> 845 bytes docs/html/tab_a.png | Bin 0 -> 142 bytes docs/html/tab_b.png | Bin 0 -> 169 bytes docs/html/tab_h.png | Bin 0 -> 177 bytes docs/html/tab_s.png | Bin 0 -> 184 bytes docs/html/tabs.css | 1 + docs/images/FMI-OOP-P1_TicketSystem Overview.svg | 571 +++++ docs/index.md | 57 + docs/latex/Command_8h.tex | 17 + docs/latex/Command_8h_source.tex | 22 + docs/latex/Date_8h.tex | 60 + docs/latex/Date_8h_source.tex | 44 + docs/latex/EventService_8h.tex | 22 + docs/latex/EventService_8h_source.tex | 49 + docs/latex/Event_8h.tex | 101 + docs/latex/Event_8h_source.tex | 48 + docs/latex/FMI-OOP-P1_TicketSystem Overview.svg | 571 +++++ docs/latex/FMITicketSystemConsoleUI_8h.tex | 33 + docs/latex/FMITicketSystemConsoleUI_8h_source.tex | 15 + docs/latex/HallService_8h.tex | 20 + docs/latex/HallService_8h_source.tex | 26 + docs/latex/Hall_8h.tex | 59 + docs/latex/Hall_8h_source.tex | 36 + docs/latex/List_8hpp.tex | 67 + docs/latex/List_8hpp_source.tex | 263 ++ docs/latex/Makefile | 23 + docs/latex/Menu_8h.tex | 19 + docs/latex/Menu_8h_source.tex | 34 + docs/latex/OrderedList_8hpp.tex | 18 + docs/latex/OrderedList_8hpp_source.tex | 41 + docs/latex/Reservation_8h.tex | 29 + docs/latex/Reservation_8h_source.tex | 39 + docs/latex/StatusCode_8h.tex | 46 + docs/latex/StatusCode_8h_source.tex | 30 + docs/latex/String_8h.tex | 19 + docs/latex/String_8h_source.tex | 46 + docs/latex/Ticket_8h.tex | 59 + docs/latex/Ticket_8h_source.tex | 32 + docs/latex/Toolbox_8hpp.tex | 423 ++++ docs/latex/Toolbox_8hpp_source.tex | 86 + docs/latex/annotated.tex | 15 + docs/latex/classCommand.tex | 68 + docs/latex/classDate.tex | 207 ++ docs/latex/classEvent.tex | 118 + docs/latex/classEventService.tex | 314 +++ docs/latex/classHall.tex | 109 + docs/latex/classHallService.tex | 70 + docs/latex/classList.eps | 197 ++ docs/latex/classList.pdf | 116 + docs/latex/classList.tex | 267 ++ docs/latex/classMenu.tex | 156 ++ docs/latex/classOrderedList.eps | 197 ++ docs/latex/classOrderedList.pdf | 117 + docs/latex/classOrderedList.tex | 94 + docs/latex/classReservation.tex | 149 ++ docs/latex/classString.tex | 194 ++ docs/latex/classTicket.tex | 103 + docs/latex/doxygen.sty | 601 +++++ docs/latex/files.tex | 19 + docs/latex/hierarchy.tex | 34 + docs/latex/index.tex | 55 + docs/latex/longtable_doxygen.sty | 448 ++++ docs/latex/main_8cpp.tex | 31 + docs/latex/refman.aux | 577 +++++ docs/latex/refman.idx | 243 ++ docs/latex/refman.log | 2116 ++++++++++++++++ docs/latex/refman.pdf | Bin 0 -> 287272 bytes docs/latex/refman.tex | 240 ++ docs/latex/refman.toc | 211 ++ docs/latex/tabu_doxygen.sty | 2557 ++++++++++++++++++++ 310 files changed, 31470 insertions(+), 714 deletions(-) create mode 100644 docs/Doxyfile delete mode 100644 docs/FMI-OOP-P1_TicketSystem Overview.nomnoml delete mode 100644 docs/FMI-OOP-P1_TicketSystem Overview.svg delete mode 100644 docs/doxygen/Doxyfile delete mode 100644 docs/doxygen/index.md create mode 100644 docs/html/Command_8h.html create mode 100644 docs/html/Command_8h_source.html create mode 100644 docs/html/Date_8h.html create mode 100644 docs/html/Date_8h_source.html create mode 100644 docs/html/EventService_8h.html create mode 100644 docs/html/EventService_8h_source.html create mode 100644 docs/html/Event_8h.html create mode 100644 docs/html/Event_8h_source.html create mode 100644 docs/html/FMI-OOP-P1_TicketSystem Overview.svg create mode 100644 docs/html/FMITicketSystemConsoleUI_8h.html create mode 100644 docs/html/FMITicketSystemConsoleUI_8h_source.html create mode 100644 docs/html/HallService_8h.html create mode 100644 docs/html/HallService_8h_source.html create mode 100644 docs/html/Hall_8h.html create mode 100644 docs/html/Hall_8h_source.html create mode 100644 docs/html/List_8hpp.html create mode 100644 docs/html/List_8hpp_source.html create mode 100644 docs/html/Menu_8h.html create mode 100644 docs/html/Menu_8h_source.html create mode 100644 docs/html/OrderedList_8hpp.html create mode 100644 docs/html/OrderedList_8hpp_source.html create mode 100644 docs/html/Reservation_8h.html create mode 100644 docs/html/Reservation_8h_source.html create mode 100644 docs/html/StatusCode_8h.html create mode 100644 docs/html/StatusCode_8h_source.html create mode 100644 docs/html/String_8h.html create mode 100644 docs/html/String_8h_source.html create mode 100644 docs/html/Ticket_8h.html create mode 100644 docs/html/Ticket_8h_source.html create mode 100644 docs/html/Toolbox_8hpp.html create mode 100644 docs/html/Toolbox_8hpp_source.html create mode 100644 docs/html/annotated.html create mode 100644 docs/html/bc_s.png create mode 100644 docs/html/bdwn.png create mode 100644 docs/html/classCommand-members.html create mode 100644 docs/html/classCommand.html create mode 100644 docs/html/classDate-members.html create mode 100644 docs/html/classDate.html create mode 100644 docs/html/classEvent-members.html create mode 100644 docs/html/classEvent.html create mode 100644 docs/html/classEventService-members.html create mode 100644 docs/html/classEventService.html create mode 100644 docs/html/classHall-members.html create mode 100644 docs/html/classHall.html create mode 100644 docs/html/classHallService-members.html create mode 100644 docs/html/classHallService.html create mode 100644 docs/html/classList-members.html create mode 100644 docs/html/classList.html create mode 100644 docs/html/classList.png create mode 100644 docs/html/classMenu-members.html create mode 100644 docs/html/classMenu.html create mode 100644 docs/html/classOrderedList-members.html create mode 100644 docs/html/classOrderedList.html create mode 100644 docs/html/classOrderedList.png create mode 100644 docs/html/classReservation-members.html create mode 100644 docs/html/classReservation.html create mode 100644 docs/html/classString-members.html create mode 100644 docs/html/classString.html create mode 100644 docs/html/classTicket-members.html create mode 100644 docs/html/classTicket.html create mode 100644 docs/html/classes.html create mode 100644 docs/html/closed.png create mode 100644 docs/html/dir_0b7ce500285c8e4ab35041e3e5c42da4.html create mode 100644 docs/html/dir_359d2bec989c9a8deeeb9aee335c1c76.html create mode 100644 docs/html/dir_36df885461d6bd14211edf06510d126c.html create mode 100644 docs/html/dir_49e56c817e5e54854c35e136979f97ca.html create mode 100644 docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html create mode 100644 docs/html/dir_6aea3fadc932e04aa9fe3b3b27672cd7.html create mode 100644 docs/html/dir_7224707058fb4969194ce052045af3c4.html create mode 100644 docs/html/dir_81e13ff2cf2ef9aa9f9e473f8360d78f.html create mode 100644 docs/html/dir_b37d33ceb7f5c107fb027d4db224bc89.html create mode 100644 docs/html/dir_bba1b217f5afc342a21d50631c0a2103.html create mode 100644 docs/html/dir_d8d09372644efb2ea8af4d02a2b08c8b.html create mode 100644 docs/html/doc.png create mode 100644 docs/html/doxygen.css create mode 100644 docs/html/doxygen.svg create mode 100644 docs/html/dynsections.js create mode 100644 docs/html/files.html create mode 100644 docs/html/folderclosed.png create mode 100644 docs/html/folderopen.png create mode 100644 docs/html/functions.html create mode 100644 docs/html/functions_func.html create mode 100644 docs/html/functions_rela.html create mode 100644 docs/html/globals.html create mode 100644 docs/html/globals_enum.html create mode 100644 docs/html/globals_func.html create mode 100644 docs/html/hierarchy.html create mode 100644 docs/html/index.html create mode 100644 docs/html/jquery.js create mode 100644 docs/html/main_8cpp.html create mode 100644 docs/html/menu.js create mode 100644 docs/html/menudata.js create mode 100644 docs/html/nav_f.png create mode 100644 docs/html/nav_g.png create mode 100644 docs/html/nav_h.png create mode 100644 docs/html/open.png create mode 100644 docs/html/search/all_0.html create mode 100644 docs/html/search/all_0.js create mode 100644 docs/html/search/all_1.html create mode 100644 docs/html/search/all_1.js create mode 100644 docs/html/search/all_10.html create mode 100644 docs/html/search/all_10.js create mode 100644 docs/html/search/all_11.html create mode 100644 docs/html/search/all_11.js create mode 100644 docs/html/search/all_12.html create mode 100644 docs/html/search/all_12.js create mode 100644 docs/html/search/all_13.html create mode 100644 docs/html/search/all_13.js create mode 100644 docs/html/search/all_2.html create mode 100644 docs/html/search/all_2.js create mode 100644 docs/html/search/all_3.html create mode 100644 docs/html/search/all_3.js create mode 100644 docs/html/search/all_4.html create mode 100644 docs/html/search/all_4.js create mode 100644 docs/html/search/all_5.html create mode 100644 docs/html/search/all_5.js create mode 100644 docs/html/search/all_6.html create mode 100644 docs/html/search/all_6.js create mode 100644 docs/html/search/all_7.html create mode 100644 docs/html/search/all_7.js create mode 100644 docs/html/search/all_8.html create mode 100644 docs/html/search/all_8.js create mode 100644 docs/html/search/all_9.html create mode 100644 docs/html/search/all_9.js create mode 100644 docs/html/search/all_a.html create mode 100644 docs/html/search/all_a.js create mode 100644 docs/html/search/all_b.html create mode 100644 docs/html/search/all_b.js create mode 100644 docs/html/search/all_c.html create mode 100644 docs/html/search/all_c.js create mode 100644 docs/html/search/all_d.html create mode 100644 docs/html/search/all_d.js create mode 100644 docs/html/search/all_e.html create mode 100644 docs/html/search/all_e.js create mode 100644 docs/html/search/all_f.html create mode 100644 docs/html/search/all_f.js create mode 100644 docs/html/search/classes_0.html create mode 100644 docs/html/search/classes_0.js create mode 100644 docs/html/search/classes_1.html create mode 100644 docs/html/search/classes_1.js create mode 100644 docs/html/search/classes_2.html create mode 100644 docs/html/search/classes_2.js create mode 100644 docs/html/search/classes_3.html create mode 100644 docs/html/search/classes_3.js create mode 100644 docs/html/search/classes_4.html create mode 100644 docs/html/search/classes_4.js create mode 100644 docs/html/search/classes_5.html create mode 100644 docs/html/search/classes_5.js create mode 100644 docs/html/search/classes_6.html create mode 100644 docs/html/search/classes_6.js create mode 100644 docs/html/search/classes_7.html create mode 100644 docs/html/search/classes_7.js create mode 100644 docs/html/search/classes_8.html create mode 100644 docs/html/search/classes_8.js create mode 100644 docs/html/search/classes_9.html create mode 100644 docs/html/search/classes_9.js create mode 100644 docs/html/search/close.svg create mode 100644 docs/html/search/enums_0.html create mode 100644 docs/html/search/enums_0.js create mode 100644 docs/html/search/files_0.html create mode 100644 docs/html/search/files_0.js create mode 100644 docs/html/search/files_1.html create mode 100644 docs/html/search/files_1.js create mode 100644 docs/html/search/files_2.html create mode 100644 docs/html/search/files_2.js create mode 100644 docs/html/search/files_3.html create mode 100644 docs/html/search/files_3.js create mode 100644 docs/html/search/files_4.html create mode 100644 docs/html/search/files_4.js create mode 100644 docs/html/search/files_5.html create mode 100644 docs/html/search/files_5.js create mode 100644 docs/html/search/files_6.html create mode 100644 docs/html/search/files_6.js create mode 100644 docs/html/search/files_7.html create mode 100644 docs/html/search/files_7.js create mode 100644 docs/html/search/files_8.html create mode 100644 docs/html/search/files_8.js create mode 100644 docs/html/search/files_9.html create mode 100644 docs/html/search/files_9.js create mode 100644 docs/html/search/files_a.html create mode 100644 docs/html/search/files_a.js create mode 100644 docs/html/search/functions_0.html create mode 100644 docs/html/search/functions_0.js create mode 100644 docs/html/search/functions_1.html create mode 100644 docs/html/search/functions_1.js create mode 100644 docs/html/search/functions_10.html create mode 100644 docs/html/search/functions_10.js create mode 100644 docs/html/search/functions_11.html create mode 100644 docs/html/search/functions_11.js create mode 100644 docs/html/search/functions_12.html create mode 100644 docs/html/search/functions_12.js create mode 100644 docs/html/search/functions_13.html create mode 100644 docs/html/search/functions_13.js create mode 100644 docs/html/search/functions_2.html create mode 100644 docs/html/search/functions_2.js create mode 100644 docs/html/search/functions_3.html create mode 100644 docs/html/search/functions_3.js create mode 100644 docs/html/search/functions_4.html create mode 100644 docs/html/search/functions_4.js create mode 100644 docs/html/search/functions_5.html create mode 100644 docs/html/search/functions_5.js create mode 100644 docs/html/search/functions_6.html create mode 100644 docs/html/search/functions_6.js create mode 100644 docs/html/search/functions_7.html create mode 100644 docs/html/search/functions_7.js create mode 100644 docs/html/search/functions_8.html create mode 100644 docs/html/search/functions_8.js create mode 100644 docs/html/search/functions_9.html create mode 100644 docs/html/search/functions_9.js create mode 100644 docs/html/search/functions_a.html create mode 100644 docs/html/search/functions_a.js create mode 100644 docs/html/search/functions_b.html create mode 100644 docs/html/search/functions_b.js create mode 100644 docs/html/search/functions_c.html create mode 100644 docs/html/search/functions_c.js create mode 100644 docs/html/search/functions_d.html create mode 100644 docs/html/search/functions_d.js create mode 100644 docs/html/search/functions_e.html create mode 100644 docs/html/search/functions_e.js create mode 100644 docs/html/search/functions_f.html create mode 100644 docs/html/search/functions_f.js create mode 100644 docs/html/search/mag_sel.svg create mode 100644 docs/html/search/nomatches.html create mode 100644 docs/html/search/pages_0.html create mode 100644 docs/html/search/pages_0.js create mode 100644 docs/html/search/related_0.html create mode 100644 docs/html/search/related_0.js create mode 100644 docs/html/search/search.css create mode 100644 docs/html/search/search.js create mode 100644 docs/html/search/search_l.png create mode 100644 docs/html/search/search_m.png create mode 100644 docs/html/search/search_r.png create mode 100644 docs/html/search/searchdata.js create mode 100644 docs/html/splitbar.png create mode 100644 docs/html/sync_off.png create mode 100644 docs/html/sync_on.png create mode 100644 docs/html/tab_a.png create mode 100644 docs/html/tab_b.png create mode 100644 docs/html/tab_h.png create mode 100644 docs/html/tab_s.png create mode 100644 docs/html/tabs.css create mode 100644 docs/images/FMI-OOP-P1_TicketSystem Overview.svg create mode 100644 docs/index.md create mode 100644 docs/latex/Command_8h.tex create mode 100644 docs/latex/Command_8h_source.tex create mode 100644 docs/latex/Date_8h.tex create mode 100644 docs/latex/Date_8h_source.tex create mode 100644 docs/latex/EventService_8h.tex create mode 100644 docs/latex/EventService_8h_source.tex create mode 100644 docs/latex/Event_8h.tex create mode 100644 docs/latex/Event_8h_source.tex create mode 100644 docs/latex/FMI-OOP-P1_TicketSystem Overview.svg create mode 100644 docs/latex/FMITicketSystemConsoleUI_8h.tex create mode 100644 docs/latex/FMITicketSystemConsoleUI_8h_source.tex create mode 100644 docs/latex/HallService_8h.tex create mode 100644 docs/latex/HallService_8h_source.tex create mode 100644 docs/latex/Hall_8h.tex create mode 100644 docs/latex/Hall_8h_source.tex create mode 100644 docs/latex/List_8hpp.tex create mode 100644 docs/latex/List_8hpp_source.tex create mode 100644 docs/latex/Makefile create mode 100644 docs/latex/Menu_8h.tex create mode 100644 docs/latex/Menu_8h_source.tex create mode 100644 docs/latex/OrderedList_8hpp.tex create mode 100644 docs/latex/OrderedList_8hpp_source.tex create mode 100644 docs/latex/Reservation_8h.tex create mode 100644 docs/latex/Reservation_8h_source.tex create mode 100644 docs/latex/StatusCode_8h.tex create mode 100644 docs/latex/StatusCode_8h_source.tex create mode 100644 docs/latex/String_8h.tex create mode 100644 docs/latex/String_8h_source.tex create mode 100644 docs/latex/Ticket_8h.tex create mode 100644 docs/latex/Ticket_8h_source.tex create mode 100644 docs/latex/Toolbox_8hpp.tex create mode 100644 docs/latex/Toolbox_8hpp_source.tex create mode 100644 docs/latex/annotated.tex create mode 100644 docs/latex/classCommand.tex create mode 100644 docs/latex/classDate.tex create mode 100644 docs/latex/classEvent.tex create mode 100644 docs/latex/classEventService.tex create mode 100644 docs/latex/classHall.tex create mode 100644 docs/latex/classHallService.tex create mode 100644 docs/latex/classList.eps create mode 100644 docs/latex/classList.pdf create mode 100644 docs/latex/classList.tex create mode 100644 docs/latex/classMenu.tex create mode 100644 docs/latex/classOrderedList.eps create mode 100644 docs/latex/classOrderedList.pdf create mode 100644 docs/latex/classOrderedList.tex create mode 100644 docs/latex/classReservation.tex create mode 100644 docs/latex/classString.tex create mode 100644 docs/latex/classTicket.tex create mode 100644 docs/latex/doxygen.sty create mode 100644 docs/latex/files.tex create mode 100644 docs/latex/hierarchy.tex create mode 100644 docs/latex/index.tex create mode 100644 docs/latex/longtable_doxygen.sty create mode 100644 docs/latex/main_8cpp.tex create mode 100644 docs/latex/refman.aux create mode 100644 docs/latex/refman.idx create mode 100644 docs/latex/refman.log create mode 100644 docs/latex/refman.pdf create mode 100644 docs/latex/refman.tex create mode 100644 docs/latex/refman.toc create mode 100644 docs/latex/tabu_doxygen.sty (limited to 'docs') diff --git a/docs/Doxyfile b/docs/Doxyfile new file mode 100644 index 0000000..390442a --- /dev/null +++ b/docs/Doxyfile @@ -0,0 +1,8 @@ +INPUT = ../src/ ./ +IMAGE_PATH = images +FILE_PATTERNS = *.h *.hpp *.cpp *.md +STRIP_FROM_PATH = /home/kamen/Programming/GitHub-repos/FMI-OOP-P1_TicketSystem/ +RECURSIVE = YES + +PROJECT_NAME = "FMI Ticket System" +PROJECT_BRIEF = "| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |" diff --git a/docs/FMI-OOP-P1_TicketSystem Overview.nomnoml b/docs/FMI-OOP-P1_TicketSystem Overview.nomnoml deleted file mode 100644 index 34c33e0..0000000 --- a/docs/FMI-OOP-P1_TicketSystem Overview.nomnoml +++ /dev/null @@ -1,131 +0,0 @@ -#title: FMI-OOP-P1_TicketSystem Overview -#background: #fdf6e3 -#bendSize: 0 -#fillArrows: true -#lineWidth: 2 -#leading: 1.3 - -#.groupui: title=italic fill=#b2ee97 direction=right -#.groupes: title=italic fill=#97c8ee direction=right -#.groupm: title=italic fill=#ee9797 direction=down -#.groupv: title=italic fill=#eee997 direction=right -#.groupgc: title=italic fill=#c0baac direction=right - -[main.cpp| - EventService es - HallService hs -] - -[ User Interface| - [FMITicketSystemConsoleUI.cpp| - EventService* es - HallService* hs - runUI() - ] -] -[main.cpp]->[User Interface] - -[ Services| - [EventService| - OrderedList events - | - + createEvent() - . cancelEvent() - + reserveTicket() - + cancelTicketReservation() - + buyTicket() - . queryEventHall() - . queryTickets() - . queryReservations() - ~ queryMostVisited() - ~ queryInsufficientlyVisited() - + reportBoughtTickets() - + reportReservations() - ] - - [HallService| - OrderedList halls - | - hallExists() - ] - [EventService]-->[HallService] - - [StatusCodes.h| - enum StatusCode - ] -] -[User Interface]->[Services] - -[ Models| - [Ticket| - unsigned row - unsigned seat - ] - - [Reservation| - Ticket ticket - char\[8\] password - char\[32\] note - ] - - [Event| - Hall* hall - String name - Date date - OrderedList tickets - OrderedList reservations - ] - [Ticket]-->[Event] - [Reservation]-->[Event] - - [Hall| - int number - unsigned rowCount - unsigned seatsPerRow - ] - [H]-/-[Hall] -] -[Services]<--[Models] - -[ Generic Classes| - [List| - add(elem) - insertAt(elem, index) - removeAt(index) - findIndex(elem); - contain(elem); - operator\[\](index) - ] - - [OrderedList| - insert(elem) - remove(elem) - ] - [List]<:-[OrderedList] - - [Date| - unsigned day - unsigned month - int year - ] - - [String| - char* str - unsigned length - unsigned count - ] - [String]-/-[Date] - - [Command| - String name - void (*exec)() - ] - - [Menu| - List commands - navigate() - ] - [Menu]-->[Command] -] -[H1]-/-[H2] -[H2]-/-[Generic Classes] \ No newline at end of file diff --git a/docs/FMI-OOP-P1_TicketSystem Overview.svg b/docs/FMI-OOP-P1_TicketSystem Overview.svg deleted file mode 100644 index 6e35d2f..0000000 --- a/docs/FMI-OOP-P1_TicketSystem Overview.svg +++ /dev/null @@ -1,571 +0,0 @@ - - FMI-OOP-P1_TicketSystem Overview - #title: FMI-OOP-P1_TicketSystem Overview - #background: #fdf6e3 - #bendSize: 0 - #fillArrows: true - #lineWidth: 2 - #leading: 1.3 - - #.groupui: title=italic fill=#b2ee97 direction=right - #.groupes: title=italic fill=#97c8ee direction=right - #.groupm: title=italic fill=#ee9797 direction=down - #.groupv: title=italic fill=#eee997 direction=right - #.groupgc: title=italic fill=#c0baac direction=right - - [main.cpp| - EventService es - HallService hs - ] - - [<groupui> User Interface| - [FMITicketSystemConsoleUI.cpp| - EventService* es - HallService* hs - runUI() - ] - ] - [main.cpp]->[User Interface] - - [<groupes> Services| - [EventService| - OrderedList<Event> events - | - + createEvent() - . cancelEvent() - + reserveTicket() - + cancelTicketReservation() - + buyTicket() - . queryEventHall() - . queryTickets() - . queryReservations() - ~ queryMostVisited() - ~ queryInsufficientlyVisited() - + reportBoughtTickets() - + reportReservations() - ] - - [HallService| - OrderedList<Hall> halls - | - hallExists() - ] - [EventService]-->[HallService] - - [StatusCodes.h| - enum StatusCode - ] - ] - [User Interface]->[Services] - - [<groupm> Models| - [Ticket| - unsigned row - unsigned seat - ] - - [Reservation| - Ticket ticket - char\[8\] password - char\[32\] note - ] - - [Event| - Hall* hall - String name - Date date - OrderedList<Ticket> tickets - OrderedList<Reservation> reservations - ] - [Ticket]-->[Event] - [Reservation]-->[Event] - - [Hall| - int number - unsigned rowCount - unsigned seatsPerRow - ] - [<hidden>H]-/-[Hall] - ] - [Services]<--[Models] - - [<groupgc> Generic Classes| - [List<T>| - add(elem) - insertAt(elem, index) - removeAt(index) - findIndex(elem); - contain(elem); - operator\[\](index) - ] - - [OrderedList<T>| - insert(elem) - remove(elem) - ] - [List<T>]<:-[OrderedList<T>] - - [Date| - unsigned day - unsigned month - int year - ] - - [String| - char* str - unsigned length - unsigned count - ] - [String]-/-[Date] - - [Command| - String name - void (*exec)() - ] - - [Menu| - List<Command> commands - navigate() - ] - [Menu]-->[Command] - ] - [<hidden>H1]-/-[<hidden>H2] - [H2]-/-[Generic Classes] - - - - - - - - - - - - - - - - - - - - - - - main.cpp - - - - - - EventService es - HallService hs - - - - - - - - - - - - User Interface - - - - - - - - - - - - - - FMITicketSystemConsoleUI.cpp - - - - - - EventService* es - HallService* hs - runUI() - - - - - - - - - - - - - - - - Services - - - - - - - - - - - - - - - - - - - EventService - - - - - - OrderedList<Event> events - - - - - - + createEvent() - . cancelEvent() - + reserveTicket() - + cancelTicketReservation() - + buyTicket() - . queryEventHall() - . queryTickets() - . queryReservations() - ~ queryMostVisited() - ~ queryInsufficientlyVisited() - + reportBoughtTickets() - + reportReservations() - - - - - - - - - - - - - HallService - - - - - - OrderedList<Hall> halls - - - - - - hallExists() - - - - - - - - - - - - StatusCodes.h - - - - - - enum StatusCode - - - - - - - - - - - - - - - - Models - - - - - - - - - - - - - - - - - - - - - - Ticket - - - - - - unsigned row - unsigned seat - - - - - - - - - - - - Reservation - - - - - - Ticket ticket - char[8] password - char[32] note - - - - - - - - - - - - Event - - - - - - Hall* hall - String name - Date date - OrderedList<Ticket> tickets - OrderedList<Reservation> reservations - - - - - - - - - - - - Hall - - - - - - int number - unsigned rowCount - unsigned seatsPerRow - - - - - - - - - - - - - - - - - - - Generic Classes - - - - - - - - - - - - - - - - - - - - List<T> - - - - - - add(elem) - insertAt(elem, index) - removeAt(index) - findIndex(elem) - contain(elem) - operator[](index) - - - - - - - - - - - - OrderedList<T> - - - - - - insert(elem) - remove(elem) - - - - - - - - - - - - Date - - - - - - unsigned day - unsigned month - int year - - - - - - - - - - - - String - - - - - - char* str - unsigned length - unsigned count - - - - - - - - - - - - Command - - - - - - String name - void (*exec)() - - - - - - - - - - - - Menu - - - - - - List<Command> commands - navigate() - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/doxygen/Doxyfile b/docs/doxygen/Doxyfile deleted file mode 100644 index 65d61a0..0000000 --- a/docs/doxygen/Doxyfile +++ /dev/null @@ -1,7 +0,0 @@ -INPUT = ../../src/ ./ -FILE_PATTERNS = *.h *.hpp *.cpp *.md -STRIP_FROM_PATH = /home/kamen/Programming/GitHub-repos/FMI-OOP-P1_TicketSystem/ -RECURSIVE = YES - -PROJECT_NAME = "FMI Ticket System" -PROJECT_BRIEF = "| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |" diff --git a/docs/doxygen/index.md b/docs/doxygen/index.md deleted file mode 100644 index 4383565..0000000 --- a/docs/doxygen/index.md +++ /dev/null @@ -1,5 +0,0 @@ -# FMI Tickets System {#mainpage} - -\author | Kamen Mladenov | FMI Computer Science, Year 1, Group 6 | Project 1, Topic 4 | - -GitHub source code repository: [Syndamia/FMI-OOP-P1_TicketSystem](https://github.com/Syndamia/FMI-OOP-P1_TicketSystem) diff --git a/docs/html/Command_8h.html b/docs/html/Command_8h.html new file mode 100644 index 0000000..acf7b35 --- /dev/null +++ b/docs/html/Command_8h.html @@ -0,0 +1,95 @@ + + + + + + + +FMI Ticket System: src/Generic/ConsoleInterface/Command.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
Command.h File Reference
+
+
+ +

Stores the declaration of class Command. +More...

+ +

Go to the source code of this file.

+ + + + + +

+Classes

class  Command
 Stores a 256 character name and a function pointer to be executed when calling run() More...
 
+

Detailed Description

+

Stores the declaration of class Command.

+
+ + + + diff --git a/docs/html/Command_8h_source.html b/docs/html/Command_8h_source.html new file mode 100644 index 0000000..4888f3f --- /dev/null +++ b/docs/html/Command_8h_source.html @@ -0,0 +1,98 @@ + + + + + + + +FMI Ticket System: src/Generic/ConsoleInterface/Command.h Source File + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
Command.h
+
+
+Go to the documentation of this file.
1#ifndef HEADER_CONSOLEINTERFACE_COMMAND
+
2#define HEADER_CONSOLEINTERFACE_COMMAND
+
3
+
12class Command {
+
13 char nameInMenu[256];
+
14 void (*exec)();
+
15
+
16public:
+
18 Command();
+
20 Command(const char* nameInMenu, void (*exec)());
+
22 void run() const;
+
23
+
24 const char* get_nameInMenu() const;
+
25};
+
26
+
27#endif
+
Stores a 256 character name and a function pointer to be executed when calling run()
Definition: Command.h:12
+
Command()
Leaves name empty and exec function pointer to nullptr.
Definition: Command.cpp:4
+
void run() const
Executes the stored function pointer.
Definition: Command.cpp:17
+
+ + + + diff --git a/docs/html/Date_8h.html b/docs/html/Date_8h.html new file mode 100644 index 0000000..3dfea47 --- /dev/null +++ b/docs/html/Date_8h.html @@ -0,0 +1,173 @@ + + + + + + + +FMI Ticket System: src/Generic/Date/Date.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
Date.h File Reference
+
+
+ +

Stores the declaration of class Date. +More...

+
#include <istream>
+#include <ostream>
+#include "../String/String.h"
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  Date
 Stores a day, month and year. More...
 
+ + + + + + + +

+Functions

std::istream & operator>> (std::istream &istr, Date &dt)
 Reads date from stream with >> operator. More...
 
std::ostream & operator<< (std::ostream &ostr, const Date &dt)
 Writes date to stream with << operator. More...
 
+

Detailed Description

+

Stores the declaration of class Date.

+

Function Documentation

+ +

◆ operator<<()

+ +
+
+ + + + + + + + + + + + + + + + + + +
std::ostream & operator<< (std::ostream & ostr,
const Date & dt 
)
+
+ +

Writes date to stream with << operator.

+

Uses the stream's << operator to write the date in the format "day.month.year"

+
Note
Best used with std::cout or text std::ofstream
+ +
+
+ +

◆ operator>>()

+ +
+
+ + + + + + + + + + + + + + + + + + +
std::istream & operator>> (std::istream & istr,
Date & dt 
)
+
+ +

Reads date from stream with >> operator.

+

Uses the stream's >> operator to read and parse the day, month and year.

+
Note
Best used with std::cin or text std::ifstream
+ +
+
+
+ + + + diff --git a/docs/html/Date_8h_source.html b/docs/html/Date_8h_source.html new file mode 100644 index 0000000..2abaa4b --- /dev/null +++ b/docs/html/Date_8h_source.html @@ -0,0 +1,132 @@ + + + + + + + +FMI Ticket System: src/Generic/Date/Date.h Source File + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
Date.h
+
+
+Go to the documentation of this file.
1#ifndef HEADER_DATE
+
2#define HEADER_DATE
+
3
+
8#include <istream>
+
9#include <ostream>
+
10#include "../String/String.h"
+
11
+
14class Date {
+
15 unsigned short day;
+
16 unsigned short month;
+
17 unsigned short year;
+
18
+
19 bool isLeapYear();
+
20 unsigned short daysInMonth();
+
21
+
22public:
+
24 Date();
+
26 Date(const char* str);
+
28 Date(unsigned short day, unsigned short month, unsigned short year);
+
29
+
31 unsigned short get_day() const;
+
33 bool set_day(unsigned short day);
+
35 unsigned short get_month() const;
+
37 bool set_month(unsigned short month);
+
39 unsigned short get_year() const;
+
41 bool set_year(unsigned short year);
+
42
+
44 String createString() const;
+
45
+
47 void read(std::istream& istr);
+
49 void write(std::ostream& ostr);
+
51 int compare(const Date& other) const;
+
52};
+
53
+
55std::istream& operator>>(std::istream& istr, Date& dt);
+
57std::ostream& operator<<(std::ostream& ostr, const Date& dt);
+
58
+
59#endif
+
std::ostream & operator<<(std::ostream &ostr, const Date &dt)
Writes date to stream with << operator.
Definition: Date.cpp:171
+
std::istream & operator>>(std::istream &istr, Date &dt)
Reads date from stream with >> operator.
Definition: Date.cpp:159
+
Stores a day, month and year.
Definition: Date.h:14
+
unsigned short get_year() const
Returns the year.
Definition: Date.cpp:87
+
unsigned short get_day() const
Returns the day.
Definition: Date.cpp:57
+
int compare(const Date &other) const
Compares two dates.
Definition: Date.cpp:145
+
Date()
Sets date as 01 May 2022.
Definition: Date.cpp:21
+
bool set_year(unsigned short year)
Sets the year.
Definition: Date.cpp:95
+
String createString() const
Returns the date as a String object.
Definition: Date.cpp:112
+
unsigned short get_month() const
Returns the month.
Definition: Date.cpp:72
+
void read(std::istream &istr)
Reads date from stream.
Definition: Date.cpp:124
+
void write(std::ostream &ostr)
Writes date to stream.
Definition: Date.cpp:137
+
bool set_day(unsigned short day)
Sets the day.
Definition: Date.cpp:65
+
bool set_month(unsigned short month)
Sets the month.
Definition: Date.cpp:80
+
Definition: String.h:11
+
+ + + + diff --git a/docs/html/EventService_8h.html b/docs/html/EventService_8h.html new file mode 100644 index 0000000..1552dcc --- /dev/null +++ b/docs/html/EventService_8h.html @@ -0,0 +1,100 @@ + + + + + + + +FMI Ticket System: src/Services/EventService.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
EventService.h File Reference
+
+
+ +

Stores the declaration of class EventService. +More...

+
#include "../Generic/List/OrderedList.hpp"
+#include "../Generic/Date/Date.h"
+#include "../Models/Event.h"
+#include "HallService.h"
+#include "StatusCode.h"
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  EventService
 Each EventService stores all events and a pointer to HallService. More...
 
+

Detailed Description

+

Stores the declaration of class EventService.

+
+ + + + 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 @@ + + + + + + + +FMI Ticket System: src/Services/EventService.h Source File + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
EventService.h
+
+
+Go to the documentation of this file.
1#ifndef HEADER_SERVICES_EVENTSERVICE
+
2#define HEADER_SERVICES_EVENTSERVICE
+
3
+
8#include "../Generic/List/OrderedList.hpp"
+
9#include "../Generic/Date/Date.h"
+
10#include "../Models/Event.h"
+
11#include "HallService.h"
+
12#include "StatusCode.h"
+
13
+ +
17 OrderedList<Event> events;
+
18
+
19 const HallService* hs;
+
20
+
21 unsigned indexOfEvent(const char* name, const Date& date);
+
22
+
23public:
+
25 EventService(const HallService* hs);
+
27 EventService(const HallService* hs, const Event* events, unsigned eventCount);
+
28
+
30 StatusCode createEvent(int hallNumber, const String& name, const Date& date);
+
32 StatusCode cancelEvent(const char* name, const Date& date);
+
33
+
35 StatusCode reserveTicket(const char* name, const Date& date, const char* password, const char* note, const Ticket& ticket);
+
37 StatusCode cancelTicketReservation(const char* name, const Date& date, const Ticket& ticket);
+
39 StatusCode ticketIsReserved(const char* name, const Date& date, const Ticket& ticket);
+
40
+
42 StatusCode buyTicket(const char* name, const Date& date, const Ticket& ticket, const char* password, String* reservationNoteOutput);
+
44 StatusCode buyTicket(const char* name, const Date& date, const Ticket& ticket);
+
45
+
47 String createSeatingString(const char* name, const Date& date, unsigned* seatsPerRow);
+
48
+
50 List<Event> queryMostWatched(unsigned topN);
+ +
53
+
55 StatusCode reportReservations(const char* name, const Date& date);
+
57 StatusCode reportBoughtTickets(int hallNumber, const Date& start, const Date& end, bool all = false);
+
58
+ + +
63};
+
64
+
65#endif
+
Stores the declaration of class HallService.
+
Stores declaration of enum StatusCode.
+
StatusCode
Used for communication between Services and what uses them.
Definition: StatusCode.h:14
+
Stores a day, month and year.
Definition: Date.h:14
+
Each EventService stores all events and a pointer to HallService.
Definition: EventService.h:16
+
StatusCode load()
Loads Events from a database file.
Definition: EventService.cpp:336
+
StatusCode reportReservations(const char *name, const Date &date)
Creates a report that lists all Events (with given name and date) and their reserved tickets.
Definition: EventService.cpp:257
+
StatusCode reserveTicket(const char *name, const Date &date, const char *password, const char *note, const Ticket &ticket)
Creates a Reservation for an Event by name and date.
Definition: EventService.cpp:72
+
StatusCode save()
Saves Events to a database file.
Definition: EventService.cpp:352
+
List< Event > queryMostWatched(unsigned topN)
Definition: EventService.cpp:212
+
StatusCode createEvent(int hallNumber, const String &name, const Date &date)
Creates an Event, with the given hallNumber, name and date.
Definition: EventService.cpp:38
+
String createSeatingString(const char *name, const Date &date, unsigned *seatsPerRow)
Creates a special String for status of all seats in given Event (by name and date) and returns seatsP...
Definition: EventService.cpp:173
+
List< Event > queryInsufficientlyVisited()
Definition: EventService.cpp:224
+
EventService(const HallService *hs)
Sets HallService pointer and initializes events List.
Definition: EventService.cpp:22
+
StatusCode cancelTicketReservation(const char *name, const Date &date, const Ticket &ticket)
Cancels a Reservation for a ticket.
Definition: EventService.cpp:98
+
StatusCode buyTicket(const char *name, const Date &date, const Ticket &ticket, const char *password, String *reservationNoteOutput)
Buys ticket, assuming it is reserved and stores the reservation note.
Definition: EventService.cpp:142
+
StatusCode cancelEvent(const char *name, const Date &date)
Cancels an Event with the given name and date.
Definition: EventService.cpp:57
+
StatusCode ticketIsReserved(const char *name, const Date &date, const Ticket &ticket)
Whether a ticket is a reserved or not.
Definition: EventService.cpp:116
+
StatusCode reportBoughtTickets(int hallNumber, const Date &start, const Date &end, bool all=false)
Creates a report that Lists all Events (with given name and date) and number of bought tickets.
Definition: EventService.cpp:308
+
Stores an event's hall, name, date, bought tickets and reservations.
Definition: Event.h:19
+
Each HallService stores all halls.
Definition: HallService.h:14
+ + +
Definition: String.h:11
+
Each Ticket contains a row and a seat number.
Definition: Ticket.h:13
+
+ + + + diff --git a/docs/html/Event_8h.html b/docs/html/Event_8h.html new file mode 100644 index 0000000..252203a --- /dev/null +++ b/docs/html/Event_8h.html @@ -0,0 +1,218 @@ + + + + + + + +FMI Ticket System: src/Models/Event.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
Event.h File Reference
+
+
+ +

Stores the declaration of class Event. +More...

+
#include "../Generic/List/OrderedList.hpp"
+#include "../Generic/Date/Date.h"
+#include "../Generic/String/String.h"
+#include "Hall.h"
+#include "Ticket.h"
+#include "Reservation.h"
+#include <istream>
+#include <ostream>
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  Event
 Stores an event's hall, name, date, bought tickets and reservations. More...
 
+ + + + + + + + + + +

+Functions

std::istream & operator>> (std::istream &istr, Event &event)
 Reads Event from stream with >> operator. More...
 
void configureEventInsertionOp (unsigned setting)
 Configures how Event should be shown, when written to stream with << operator. More...
 
std::ostream & operator<< (std::ostream &ostr, const Event &event)
 Writes Event to stream with << operator. More...
 
+

Detailed Description

+

Stores the declaration of class Event.

+

Function Documentation

+ +

◆ configureEventInsertionOp()

+ +
+
+ + + + + + + + +
void configureEventInsertionOp (unsigned setting)
+
+ +

Configures how Event should be shown, when written to stream with << operator.

+
Parameters
+ + +
settingA number, defining the different options. It's best if it is passed as binary number.
+
+
+

Sets a configuration setting for how operator<< should behave. Setting is stored as a global variable in the cpp file, so it's independent of Event instance.

+

Each bit in the number is a certain setting. Each bit from left to right represents one of these options, from top to bottom:

    +
  1. Write count of bought tickets (available only if 5. is set)
  2. +
  3. Write count of reserved tickets (available only if 5. is set)
  4. +
  5. Write reservations
  6. +
  7. Write bought tickets
  8. +
  9. Write Hall information
  10. +
+
Example
To configure printing the Hall information, bought tickets count and the bought tickets themselves, you would do:
+
void configureEventInsertionOp(unsigned setting)
Configures how Event should be shown, when written to stream with << operator.
Definition: Event.cpp:120
+
+ +
+
+ +

◆ operator<<()

+ +
+
+ + + + + + + + + + + + + + + + + + +
std::ostream & operator<< (std::ostream & ostr,
const Event & event 
)
+
+ +

Writes Event to stream with << operator.

+

Uses the stream's << operator to write all internal data, following setting from configureEventInsertionOp() Stored types must have defined operator <<.

+
Note
Best used with std::cout or text std::ofstream
+ +
+
+ +

◆ operator>>()

+ +
+
+ + + + + + + + + + + + + + + + + + +
std::istream & operator>> (std::istream & istr,
Event & event 
)
+
+ +

Reads Event from stream with >> operator.

+

Uses the stream's >> operator to read and parse all internal values. Stored types must have defined operator >>.

+
Note
Best used with std::cin or text std::ifstream
+ +
+
+
+ + + + diff --git a/docs/html/Event_8h_source.html b/docs/html/Event_8h_source.html new file mode 100644 index 0000000..fd176b2 --- /dev/null +++ b/docs/html/Event_8h_source.html @@ -0,0 +1,141 @@ + + + + + + + +FMI Ticket System: src/Models/Event.h Source File + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
Event.h
+
+
+Go to the documentation of this file.
1#ifndef HEADER_MODEL_EVENT
+
2#define HEADER_MODEL_EVENT
+
3
+
8#include "../Generic/List/OrderedList.hpp"
+
9#include "../Generic/Date/Date.h"
+
10#include "../Generic/String/String.h"
+
11#include "Hall.h"
+
12#include "Ticket.h"
+
13#include "Reservation.h"
+
14#include <istream>
+
15#include <ostream>
+
16
+
19class Event {
+
20 Hall hall;
+
21 String name;
+
22 Date date;
+
23 OrderedList<Ticket> tickets;
+
24 OrderedList<Reservation> reservations;
+
25
+
26public:
+
28 Event();
+
30 Event(const Hall& hall, String name, Date date);
+
31
+
33 const Hall& get_hall() const;
+
35 const String& get_name() const;
+
37 const Date& get_date() const;
+
38
+ +
42 const OrderedList<Ticket>& get_tickets() const;
+ + +
47
+
49 void read(std::istream& istr);
+
51 void write(std::ostream& ostr);
+
53 int compare(const Event& other);
+
54};
+
55
+
57std::istream& operator>>(std::istream& istr, Event& event);
+
59void configureEventInsertionOp(unsigned setting);
+
61std::ostream& operator<<(std::ostream& ostr, const Event& event);
+
62
+
63#endif
+
std::ostream & operator<<(std::ostream &ostr, const Event &event)
Writes Event to stream with << operator.
Definition: Event.cpp:130
+
std::istream & operator>>(std::istream &istr, Event &event)
Reads Event from stream with >> operator.
Definition: Event.cpp:86
+
void configureEventInsertionOp(unsigned setting)
Configures how Event should be shown, when written to stream with << operator.
Definition: Event.cpp:120
+
Stores the declaration of class Hall.
+
Stores the declaration of class Reservation.
+
Stores the declaration of class Ticket.
+
Stores a day, month and year.
Definition: Date.h:14
+
Stores an event's hall, name, date, bought tickets and reservations.
Definition: Event.h:19
+
void write(std::ostream &ostr)
Writes Event to stream.
Definition: Event.cpp:64
+
OrderedList< Ticket > & get_tickets()
Returns reference to bought tickets.
Definition: Event.cpp:12
+
const Date & get_date() const
Returns constant reference to date on which event will be held.
Definition: Event.cpp:36
+
OrderedList< Reservation > & get_reservations()
Returns reference to reservations.
Definition: Event.cpp:20
+
Event()
Calls default constructors on data.
Definition: Event.cpp:4
+
const String & get_name() const
Returns constant reference to name of event.
Definition: Event.cpp:32
+
const Hall & get_hall() const
Returns constant reference Hall in which event will be held.
Definition: Event.cpp:28
+
void read(std::istream &istr)
Reads Event from stream.
Definition: Event.cpp:48
+
int compare(const Event &other)
Compares two events.
Definition: Event.cpp:74
+
Each hall contains a number, rows and seats per row.
Definition: Hall.h:13
+ +
Definition: String.h:11
+
+ + + + diff --git a/docs/html/FMI-OOP-P1_TicketSystem Overview.svg b/docs/html/FMI-OOP-P1_TicketSystem Overview.svg new file mode 100644 index 0000000..6e35d2f --- /dev/null +++ b/docs/html/FMI-OOP-P1_TicketSystem Overview.svg @@ -0,0 +1,571 @@ + + FMI-OOP-P1_TicketSystem Overview + #title: FMI-OOP-P1_TicketSystem Overview + #background: #fdf6e3 + #bendSize: 0 + #fillArrows: true + #lineWidth: 2 + #leading: 1.3 + + #.groupui: title=italic fill=#b2ee97 direction=right + #.groupes: title=italic fill=#97c8ee direction=right + #.groupm: title=italic fill=#ee9797 direction=down + #.groupv: title=italic fill=#eee997 direction=right + #.groupgc: title=italic fill=#c0baac direction=right + + [main.cpp| + EventService es + HallService hs + ] + + [<groupui> User Interface| + [FMITicketSystemConsoleUI.cpp| + EventService* es + HallService* hs + runUI() + ] + ] + [main.cpp]->[User Interface] + + [<groupes> Services| + [EventService| + OrderedList<Event> events + | + + createEvent() + . cancelEvent() + + reserveTicket() + + cancelTicketReservation() + + buyTicket() + . queryEventHall() + . queryTickets() + . queryReservations() + ~ queryMostVisited() + ~ queryInsufficientlyVisited() + + reportBoughtTickets() + + reportReservations() + ] + + [HallService| + OrderedList<Hall> halls + | + hallExists() + ] + [EventService]-->[HallService] + + [StatusCodes.h| + enum StatusCode + ] + ] + [User Interface]->[Services] + + [<groupm> Models| + [Ticket| + unsigned row + unsigned seat + ] + + [Reservation| + Ticket ticket + char\[8\] password + char\[32\] note + ] + + [Event| + Hall* hall + String name + Date date + OrderedList<Ticket> tickets + OrderedList<Reservation> reservations + ] + [Ticket]-->[Event] + [Reservation]-->[Event] + + [Hall| + int number + unsigned rowCount + unsigned seatsPerRow + ] + [<hidden>H]-/-[Hall] + ] + [Services]<--[Models] + + [<groupgc> Generic Classes| + [List<T>| + add(elem) + insertAt(elem, index) + removeAt(index) + findIndex(elem); + contain(elem); + operator\[\](index) + ] + + [OrderedList<T>| + insert(elem) + remove(elem) + ] + [List<T>]<:-[OrderedList<T>] + + [Date| + unsigned day + unsigned month + int year + ] + + [String| + char* str + unsigned length + unsigned count + ] + [String]-/-[Date] + + [Command| + String name + void (*exec)() + ] + + [Menu| + List<Command> commands + navigate() + ] + [Menu]-->[Command] + ] + [<hidden>H1]-/-[<hidden>H2] + [H2]-/-[Generic Classes] + + + + + + + + + + + + + + + + + + + + + + + main.cpp + + + + + + EventService es + HallService hs + + + + + + + + + + + + User Interface + + + + + + + + + + + + + + FMITicketSystemConsoleUI.cpp + + + + + + EventService* es + HallService* hs + runUI() + + + + + + + + + + + + + + + + Services + + + + + + + + + + + + + + + + + + + EventService + + + + + + OrderedList<Event> events + + + + + + + createEvent() + . cancelEvent() + + reserveTicket() + + cancelTicketReservation() + + buyTicket() + . queryEventHall() + . queryTickets() + . queryReservations() + ~ queryMostVisited() + ~ queryInsufficientlyVisited() + + reportBoughtTickets() + + reportReservations() + + + + + + + + + + + + + HallService + + + + + + OrderedList<Hall> halls + + + + + + hallExists() + + + + + + + + + + + + StatusCodes.h + + + + + + enum StatusCode + + + + + + + + + + + + + + + + Models + + + + + + + + + + + + + + + + + + + + + + Ticket + + + + + + unsigned row + unsigned seat + + + + + + + + + + + + Reservation + + + + + + Ticket ticket + char[8] password + char[32] note + + + + + + + + + + + + Event + + + + + + Hall* hall + String name + Date date + OrderedList<Ticket> tickets + OrderedList<Reservation> reservations + + + + + + + + + + + + Hall + + + + + + int number + unsigned rowCount + unsigned seatsPerRow + + + + + + + + + + + + + + + + + + + Generic Classes + + + + + + + + + + + + + + + + + + + + List<T> + + + + + + add(elem) + insertAt(elem, index) + removeAt(index) + findIndex(elem) + contain(elem) + operator[](index) + + + + + + + + + + + + OrderedList<T> + + + + + + insert(elem) + remove(elem) + + + + + + + + + + + + Date + + + + + + unsigned day + unsigned month + int year + + + + + + + + + + + + String + + + + + + char* str + unsigned length + unsigned count + + + + + + + + + + + + Command + + + + + + String name + void (*exec)() + + + + + + + + + + + + Menu + + + + + + List<Command> commands + navigate() + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/html/FMITicketSystemConsoleUI_8h.html b/docs/html/FMITicketSystemConsoleUI_8h.html new file mode 100644 index 0000000..2020235 --- /dev/null +++ b/docs/html/FMITicketSystemConsoleUI_8h.html @@ -0,0 +1,129 @@ + + + + + + + +FMI Ticket System: src/UserInterface/FMITicketSystemConsoleUI.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
FMITicketSystemConsoleUI.h File Reference
+
+
+ +

Stores declaration of runUI function. +More...

+ +

Go to the source code of this file.

+ + + + + +

+Functions

void runUI (EventService *eventService, HallService *hallService)
 Runs the console interface for the ticket system. More...
 
+

Detailed Description

+

Stores declaration of runUI function.

+

Function Documentation

+ +

◆ runUI()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void runUI (EventService * eventService,
HallService * hallService 
)
+
+ +

Runs the console interface for the ticket system.

+

Stores EventService and HallService pointers in internal global variables, calls EventService and HallService load() functions, initializes all menus, navigates the main menu and finally calls EventService and HallService save() functions

+ +
+
+
+ + + + diff --git a/docs/html/FMITicketSystemConsoleUI_8h_source.html b/docs/html/FMITicketSystemConsoleUI_8h_source.html new file mode 100644 index 0000000..2b0ce84 --- /dev/null +++ b/docs/html/FMITicketSystemConsoleUI_8h_source.html @@ -0,0 +1,91 @@ + + + + + + + +FMI Ticket System: src/UserInterface/FMITicketSystemConsoleUI.h Source File + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
FMITicketSystemConsoleUI.h
+
+
+Go to the documentation of this file.
1#ifndef HEADER_FMITICKETSYSTEMCONSOLEUI
+
2#define HEADER_FMITICKETSYSTEMCONSOLEUI
+
3
+
8#include "../Services/EventService.h"
+
9#include "../Services/HallService.h"
+
10
+
12void runUI(EventService* eventService, HallService* hallService);
+
13
+
14#endif
+
void runUI(EventService *eventService, HallService *hallService)
Runs the console interface for the ticket system.
Definition: FMITicketSystemConsoleUI.cpp:286
+
Each EventService stores all events and a pointer to HallService.
Definition: EventService.h:16
+
Each HallService stores all halls.
Definition: HallService.h:14
+
+ + + + diff --git a/docs/html/HallService_8h.html b/docs/html/HallService_8h.html new file mode 100644 index 0000000..e846db5 --- /dev/null +++ b/docs/html/HallService_8h.html @@ -0,0 +1,98 @@ + + + + + + + +FMI Ticket System: src/Services/HallService.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
HallService.h File Reference
+
+
+ +

Stores the declaration of class HallService. +More...

+ +

Go to the source code of this file.

+ + + + + +

+Classes

class  HallService
 Each HallService stores all halls. More...
 
+

Detailed Description

+

Stores the declaration of class HallService.

+
+ + + + 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
+ +
+ + + + diff --git a/docs/html/Hall_8h.html b/docs/html/Hall_8h.html new file mode 100644 index 0000000..df42a38 --- /dev/null +++ b/docs/html/Hall_8h.html @@ -0,0 +1,172 @@ + + + + + + + +FMI Ticket System: src/Models/Hall.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
Hall.h File Reference
+
+
+ +

Stores the declaration of class Hall. +More...

+
#include <istream>
+#include <ostream>
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  Hall
 Each hall contains a number, rows and seats per row. More...
 
+ + + + + + + +

+Functions

std::istream & operator>> (std::istream &istr, Hall &hall)
 Reads Hall from stream with >> operator. More...
 
std::ostream & operator<< (std::ostream &ostr, const Hall &hall)
 Writes Hall to stream with << operator. More...
 
+

Detailed Description

+

Stores the declaration of class Hall.

+

Function Documentation

+ +

◆ operator<<()

+ +
+
+ + + + + + + + + + + + + + + + + + +
std::ostream & operator<< (std::ostream & ostr,
const Hall & hall 
)
+
+ +

Writes Hall to stream with << operator.

+

Uses the stream's << operator to write all internal data.

+
Note
Best used with std::cout or text std::ofstream
+ +
+
+ +

◆ operator>>()

+ +
+
+ + + + + + + + + + + + + + + + + + +
std::istream & operator>> (std::istream & istr,
Hall & hall 
)
+
+ +

Reads Hall from stream with >> operator.

+

Uses the stream's >> operator to read and parse all internal values.

+
Note
Best used with std::cin or text std::ifstream
+ +
+
+
+ + + + diff --git a/docs/html/Hall_8h_source.html b/docs/html/Hall_8h_source.html new file mode 100644 index 0000000..6053b27 --- /dev/null +++ b/docs/html/Hall_8h_source.html @@ -0,0 +1,119 @@ + + + + + + + +FMI Ticket System: src/Models/Hall.h Source File + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
Hall.h
+
+
+Go to the documentation of this file.
1#ifndef HEADER_MODEL_HALL
+
2#define HEADER_MODEL_HALL
+
3
+
8#include <istream>
+
9#include <ostream>
+
10
+
13class Hall {
+
14 int number;
+
15 unsigned rows;
+
16 unsigned seatsPerRow;
+
17
+
18public:
+
20 Hall();
+
22 Hall(int number);
+
24 Hall(int number, unsigned rows, unsigned seatsPerRow);
+
25
+
27 int get_number() const;
+
29 unsigned get_rows() const;
+
31 unsigned get_seatsPerRow() const;
+
32
+
34 void read(std::istream& istr);
+
36 void write(std::ostream& ostr) const;
+
38 int compare(const Hall& other) const;
+
39
+
40};
+
41
+
43std::istream& operator>>(std::istream& istr, Hall& hall);
+
45std::ostream& operator<<(std::ostream& ostr, const Hall& hall);
+
46
+
47#endif
+
std::ostream & operator<<(std::ostream &ostr, const Hall &hall)
Writes Hall to stream with << operator.
Definition: Hall.cpp:74
+
std::istream & operator>>(std::istream &istr, Hall &hall)
Reads Hall from stream with >> operator.
Definition: Hall.cpp:61
+
Each hall contains a number, rows and seats per row.
Definition: Hall.h:13
+
void write(std::ostream &ostr) const
Writes Hall to steam.
Definition: Hall.cpp:44
+
Hall()
Sets values to 0.
Definition: Hall.cpp:3
+
int compare(const Hall &other) const
Compare two Halls.
Definition: Hall.cpp:52
+
unsigned get_seatsPerRow() const
Return a Hall's seats per row count.
Definition: Hall.cpp:20
+
unsigned get_rows() const
Returns a Hall's row count.
Definition: Hall.cpp:16
+
int get_number() const
Returns a Hall's number.
Definition: Hall.cpp:13
+
void read(std::istream &istr)
Reads Hall from stream.
Definition: Hall.cpp:31
+
+ + + + diff --git a/docs/html/List_8hpp.html b/docs/html/List_8hpp.html new file mode 100644 index 0000000..4e58576 --- /dev/null +++ b/docs/html/List_8hpp.html @@ -0,0 +1,180 @@ + + + + + + + +FMI Ticket System: src/Generic/List/List.hpp File Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
List.hpp File Reference
+
+
+ +

Stores declaration and definition of templated class List. +More...

+
#include <istream>
+#include <ostream>
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  List< T >
 Templated class that stores an array of elements in dynamic memory. More...
 
+ + + + + + + + + +

+Functions

template<typename T >
std::istream & operator>> (std::istream &istr, List< T > &obj)
 Reads List from stream with >> operator. More...
 
template<typename T >
std::ostream & operator<< (std::ostream &ostr, const List< T > &obj)
 Writes List to stream with << operator. More...
 
+

Detailed Description

+

Stores declaration and definition of templated class List.

+

Function Documentation

+ +

◆ operator<<()

+ +
+
+
+template<typename T >
+ + + + + + + + + + + + + + + + + + +
std::ostream & operator<< (std::ostream & ostr,
const List< T > & obj 
)
+
+ +

Writes List to stream with << operator.

+

Uses the stream's << operator to write the count and then all objects.

+
Warning
The function depends on the type having the operator << defined, which takes an std::ostream& and writes it's data to it. Return type doesn't matter.
+
Note
Best used with std::cout or text std::ofstream
+ +
+
+ +

◆ operator>>()

+ +
+
+
+template<typename T >
+ + + + + + + + + + + + + + + + + + +
std::istream & operator>> (std::istream & istr,
List< T > & obj 
)
+
+ +

Reads List from stream with >> operator.

+

Uses the stream's >> operator to read and parse the elements. The first item in the stream should be the count.

+
Warning
The function depends on the type having the operator >> defined, which takes an std::istream& and writes it's data to it. Return type doesn't matter.
+
Note
Best used with std::cin or text std::ifstream
+ +
+
+
+ + + + diff --git a/docs/html/List_8hpp_source.html b/docs/html/List_8hpp_source.html new file mode 100644 index 0000000..0a2b37a --- /dev/null +++ b/docs/html/List_8hpp_source.html @@ -0,0 +1,353 @@ + + + + + + + +FMI Ticket System: src/Generic/List/List.hpp Source File + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
List.hpp
+
+
+Go to the documentation of this file.
1#ifndef HEADER_LIST
+
2#define HEADER_LIST
+
3
+
8#include <istream>
+
9#include <ostream>
+
10
+
21template <typename T>
+
22class List {
+
23protected:
+
24 T* elements;
+
25 unsigned length;
+
26 unsigned count;
+
27
+
28 void resize();
+
29 void free();
+
30 void copyFrom(const List& other);
+
31
+
32public:
+
34 List(const T* elements, unsigned elementsCount);
+
36 void add(const T& element);
+
38 void insertAt(const T& element, unsigned index);
+
40 bool removeAt(unsigned index);
+
42 unsigned findIndex(const T& element) const;
+
43 bool contain(const T& element) const;
+
45 T& operator[](unsigned index);
+
47 const T& operator[](unsigned index) const;
+
48
+
50 List<T>& operator+=(const List<T> other);
+
51
+
53 std::istream& read(std::istream& istr);
+
55 std::ostream& write(std::ostream& ostr) const;
+
56
+
58 unsigned get_length() const;
+
60 unsigned get_count() const;
+
61
+
62 List();
+
63 List& operator=(const List& other);
+
64 List(const List& other);
+
65 ~List();
+
66
+
67 List(List&& other);
+
68 List& operator=(List&& other);
+
69};
+
70
+
72template <typename T>
+
73std::istream& operator>>(std::istream& istr, List<T>& obj);
+
75template <typename T>
+
76std::ostream& operator<<(std::ostream& ostr, const List<T>& obj);
+
77
+
78/* Private */
+
79
+
80template <typename T>
+
81void List<T>::resize() {
+
82 length = (length == 0) ? 8 : length << 1;
+
83 T* temp = new T[length];
+
84 for (int i = 0; i < count; i++)
+
85 temp[i] = elements[i];
+
86 delete[] elements;
+
87 elements = temp;
+
88}
+
89
+
90template <typename T>
+
91void List<T>::free() {
+
92 delete[] elements;
+
93}
+
94
+
95template <typename T>
+
96void List<T>::copyFrom(const List& other) {
+
97 elements = new T[other.length];
+
98 for (int i = 0; i < other.count; i++)
+
99 elements[i] = other.elements[i];
+
100 length = other.length;
+
101 count = other.count;
+
102}
+
103
+
104/* Public */
+
105
+
106template <typename T>
+
107List<T>::List(const T* elements, unsigned elementsCount) {
+
108 length = 8;
+
109 count = elementsCount;
+
110 this->elements = new T[length];
+
111 for (unsigned i = 0; i < count; i++)
+
112 this->elements[i] = elements[i];
+
113}
+
114
+
118template <typename T>
+
119void List<T>::add(const T& element) {
+
120 if (length == count) resize();
+
121
+
122 elements[count++] = element;
+
123}
+
124
+
131template <typename T>
+
132void List<T>::insertAt(const T& element, unsigned index) {
+
133 if (index >= count) {
+
134 add(element);
+
135 return;
+
136 }
+
137 if (length == count) resize();
+
138
+
139 for (unsigned i = count; i > index; i--)
+
140 elements[i] = elements[i - 1];
+
141
+
142 elements[index] = element;
+
143 count++;
+
144}
+
145
+
151template <typename T>
+
152bool List<T>::removeAt(unsigned index) {
+
153 if (index >= count) return false;
+
154
+
155 for (int i = index; i < count; i++)
+
156 elements[i] = elements[i + 1];
+
157 count--;
+
158 return true;
+
159}
+
160
+
166template <typename T>
+
167unsigned List<T>::findIndex(const T& element) const {
+
168 unsigned ind = 0;
+
169 while (ind < count && elements[ind].compare(element) != 0)
+
170 ind++;
+
171 return ind;
+
172}
+
173
+
179template <typename T>
+
180bool List<T>::contain(const T& element) const {
+
181 return findIndex(element) < count;
+
182}
+
183
+
184template <typename T>
+
185T& List<T>::operator[](unsigned index) {
+
186 return elements[index];
+
187}
+
188
+
189template <typename T>
+
190const T& List<T>::operator[](unsigned index) const {
+
191 return elements[index];
+
192}
+
193
+
194template <typename T>
+ +
196 for (unsigned i = 0; i < other.length; i++)
+
197 add(other[i]);
+
198 return *this;
+
199}
+
200
+
210template <typename T>
+
211std::istream& List<T>::read(std::istream& istr) {
+
212 istr.read((char*)&length, sizeof(length));
+
213 istr.read((char*)&count, sizeof(count));
+
214
+
215 delete[] elements;
+
216 elements = new T[length];
+
217
+
218 for (int i = 0; i < count; i++)
+
219 elements[i].read(istr);
+
220
+
221 return istr;
+
222}
+
223
+
232template <typename T>
+
233std::ostream& List<T>::write(std::ostream& ostr) const {
+
234 ostr.write((const char*)&length, sizeof(length));
+
235 ostr.write((const char*)&count, sizeof(count));
+
236
+
237 for (int i = 0; i < count; i++)
+
238 elements[i].write(ostr);
+
239
+
240 return ostr;
+
241}
+
242
+
246template <typename T>
+
247unsigned List<T>::get_length() const {
+
248 return length;
+
249}
+
250
+
254template <typename T>
+
255unsigned List<T>::get_count() const {
+
256 return count;
+
257}
+
258
+
259// Rule of 4
+
260
+
261template <typename T>
+
262List<T>::List() : List(nullptr, 0) {}
+
263
+
264template <typename T>
+
265List<T>& List<T>::operator=(const List& other) {
+
266 if (this != &other) {
+
267 free();
+
268 copyFrom(other);
+
269 }
+
270 return *this;
+
271}
+
272
+
273template <typename T>
+
274List<T>::List(const List& other) {
+
275 copyFrom(other);
+
276}
+
277
+
278template <typename T>
+ +
280 free();
+
281}
+
282
+
283// Move semantics
+
284
+
285template <typename T>
+
286List<T>::List(List&& other) {
+
287 length = other.length;
+
288 count = other.count;
+
289 elements = other.elements;
+
290 other.elements = nullptr;
+
291}
+
292
+
293template <typename T>
+ +
295 if (this != &other) {
+
296 free();
+
297 length = other.length;
+
298 count = other.count;
+
299 elements = other.elements;
+
300 other.elements = nullptr;
+
301 }
+
302 return *this;
+
303}
+
304
+
305/* Outside of class */
+
306
+
314template <typename T>
+
315std::istream& operator>>(std::istream& istr, List<T>& obj) {
+
316 List<T> newObj;
+
317 unsigned count;
+
318 istr >> count;
+
319
+
320 T temp;
+
321 for (int i = 0; i < count; i++) {
+
322 istr >> temp;
+
323 obj.add(temp);
+
324 }
+
325
+
326 return istr;
+
327}
+
328
+
335template <typename T>
+
336std::ostream& operator<<(std::ostream& ostr, const List<T>& obj) {
+
337 ostr << obj.get_count() << std::endl;
+
338 for (int i = 0; i < obj.get_count(); i++)
+
339 ostr << obj[i];
+
340
+
341 return ostr;
+
342}
+
343
+
344
+
345#endif
+
std::istream & operator>>(std::istream &istr, List< T > &obj)
Reads List from stream with >> operator.
Definition: List.hpp:315
+
std::ostream & operator<<(std::ostream &ostr, const List< T > &obj)
Writes List to stream with << operator.
Definition: List.hpp:336
+
void read(T *storage)
Reads user input and stores it.
Definition: Toolbox.hpp:58
+
Templated class that stores an array of elements in dynamic memory.
Definition: List.hpp:22
+
bool contain(const T &element) const
Definition: List.hpp:180
+
T & operator[](unsigned index)
Returns reference to element at index.
Definition: List.hpp:185
+
unsigned findIndex(const T &element) const
Finds the index of element.
Definition: List.hpp:167
+
unsigned get_count() const
Returns the count.
Definition: List.hpp:255
+
std::istream & read(std::istream &istr)
Reads from stream.
Definition: List.hpp:211
+
const T & operator[](unsigned index) const
Returns constant reference to element at index.
Definition: List.hpp:190
+
std::ostream & write(std::ostream &ostr) const
Writes to stream.
Definition: List.hpp:233
+
List(const T *elements, unsigned elementsCount)
Copies all elements in given array.
Definition: List.hpp:107
+
unsigned get_length() const
Returns the length.
Definition: List.hpp:247
+
List< T > & operator+=(const List< T > other)
Appends elements from other list.
Definition: List.hpp:195
+
void add(const T &element)
Adds an element.
Definition: List.hpp:119
+
bool removeAt(unsigned index)
Removes element at index.
Definition: List.hpp:152
+
void insertAt(const T &element, unsigned index)
Inserts element at given index.
Definition: List.hpp:132
+
+ + + + diff --git a/docs/html/Menu_8h.html b/docs/html/Menu_8h.html new file mode 100644 index 0000000..43f7642 --- /dev/null +++ b/docs/html/Menu_8h.html @@ -0,0 +1,97 @@ + + + + + + + +FMI Ticket System: src/Generic/ConsoleInterface/Menu.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
Menu.h File Reference
+
+
+ +

Stores the declaration of class Menu. +More...

+
#include "Command.h"
+#include "../List/List.hpp"
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  Menu
 Handles navigation between multiple commands. More...
 
+

Detailed Description

+

Stores the declaration of class Menu.

+
+ + + + diff --git a/docs/html/Menu_8h_source.html b/docs/html/Menu_8h_source.html new file mode 100644 index 0000000..88f81c1 --- /dev/null +++ b/docs/html/Menu_8h_source.html @@ -0,0 +1,117 @@ + + + + + + + +FMI Ticket System: src/Generic/ConsoleInterface/Menu.h Source File + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
Menu.h
+
+
+Go to the documentation of this file.
1#ifndef HEADER_CONSOLEINTERFACE_MENU
+
2#define HEADER_CONSOLEINTERFACE_MENU
+
3
+
8#include "Command.h"
+
9#include "../List/List.hpp"
+
10
+
17class Menu {
+
18 char title[256];
+
19 List<Command> menuOptions;
+
20
+
21 bool backExistsApp;
+
22 bool isSubMenu;
+
23
+
24public:
+
26 Menu();
+
28 Menu(const char* title, bool backExistsApp, bool isSubMenu);
+
30 Menu(const char* title, bool backExistsApp, bool isSubMenu, const Command* commands, unsigned commandCount);
+
31
+
33 void addCommand(const Command& command);
+
34
+
36 void registerError(const char* message) const;
+
38 void registerWarning(const char* message) const;
+
40 void registerSuccess(const char* message) const;
+
41
+
43 void navigate() const;
+
44};
+
45
+
46#endif
+
Stores the declaration of class Command.
+
Stores a 256 character name and a function pointer to be executed when calling run()
Definition: Command.h:12
+ +
Handles navigation between multiple commands.
Definition: Menu.h:17
+
void navigate() const
Lists commands and after user input executes an appropriate command run() function.
Definition: Menu.cpp:93
+
void addCommand(const Command &command)
Adds a command to the internal Command list.
Definition: Menu.cpp:32
+
void registerSuccess(const char *message) const
Tell Menu to show a success message next time it prints.
Definition: Menu.cpp:76
+
void registerWarning(const char *message) const
Tell Menu to show a warning message next time it prints.
Definition: Menu.cpp:64
+
void registerError(const char *message) const
Tell Menu to show an error message next time it prints.
Definition: Menu.cpp:52
+
Menu()
Sets name as "Menu", leaves all flags to false and creates an empty Command list.
Definition: Menu.cpp:5
+
+ + + + diff --git a/docs/html/OrderedList_8hpp.html b/docs/html/OrderedList_8hpp.html new file mode 100644 index 0000000..7ffd78f --- /dev/null +++ b/docs/html/OrderedList_8hpp.html @@ -0,0 +1,96 @@ + + + + + + + +FMI Ticket System: src/Generic/List/OrderedList.hpp File Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
OrderedList.hpp File Reference
+
+
+ +

Stores declaration and definition of templated class OrderedList. +More...

+
#include "List.hpp"
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  OrderedList< T >
 Inherits List, but contains it's elements in a sorted manner. More...
 
+

Detailed Description

+

Stores declaration and definition of templated class OrderedList.

+
+ + + + diff --git a/docs/html/OrderedList_8hpp_source.html b/docs/html/OrderedList_8hpp_source.html new file mode 100644 index 0000000..ea5a0e4 --- /dev/null +++ b/docs/html/OrderedList_8hpp_source.html @@ -0,0 +1,121 @@ + + + + + + + +FMI Ticket System: src/Generic/List/OrderedList.hpp Source File + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
OrderedList.hpp
+
+
+Go to the documentation of this file.
1#ifndef HEADER_ORDEREDLIST
+
2#define HEADER_ORDEREDLIST
+
3
+
8#include "List.hpp"
+
9
+
15template <typename T>
+
16class OrderedList : public List<T> {
+
17public:
+ +
19 OrderedList(const T* elements, unsigned elementsCount);
+
20
+
24 void add(T element) = delete;
+
28 void insertAt(T element, unsigned index) = delete;
+
29
+
31 void insert(T element);
+
32};
+
33
+
34template <typename T>
+ +
36
+
37template <typename T>
+
38OrderedList<T>::OrderedList(const T* elements, unsigned elementsCount) : List<T>::List(elements, elementsCount) {}
+
39
+
44template <typename T>
+
45void OrderedList<T>::insert(T element) {
+ +
47
+
48 unsigned insertionInd = 0;
+
49 while (insertionInd < List<T>::count && List<T>::elements[insertionInd].compare(element) < 0)
+
50 insertionInd++;
+
51
+
52 List<T>::insertAt(element, insertionInd);
+
53}
+
54
+
55#endif
+
Stores declaration and definition of templated class List.
+
Templated class that stores an array of elements in dynamic memory.
Definition: List.hpp:22
+
void insertAt(const T &element, unsigned index)
Inserts element at given index.
Definition: List.hpp:132
+
Inherits List, but contains it's elements in a sorted manner.
Definition: OrderedList.hpp:16
+
void insert(T element)
Inserts an element at a sorted position.
Definition: OrderedList.hpp:45
+
void insertAt(T element, unsigned index)=delete
+
void add(T element)=delete
+
+ + + + diff --git a/docs/html/Reservation_8h.html b/docs/html/Reservation_8h.html new file mode 100644 index 0000000..8fd08e6 --- /dev/null +++ b/docs/html/Reservation_8h.html @@ -0,0 +1,108 @@ + + + + + + + +FMI Ticket System: src/Models/Reservation.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
Reservation.h File Reference
+
+
+ +

Stores the declaration of class Reservation. +More...

+
#include "Ticket.h"
+#include <istream>
+#include <ostream>
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  Reservation
 Each Reservations contains a ticket, a password and a note. More...
 
+ + + + + +

+Macros

+#define PASSWORD_LEN   8
 
+#define NOTE_LEN   32
 
+

Detailed Description

+

Stores the declaration of class Reservation.

+
+ + + + diff --git a/docs/html/Reservation_8h_source.html b/docs/html/Reservation_8h_source.html new file mode 100644 index 0000000..52c470a --- /dev/null +++ b/docs/html/Reservation_8h_source.html @@ -0,0 +1,124 @@ + + + + + + + +FMI Ticket System: src/Models/Reservation.h Source File + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
Reservation.h
+
+
+Go to the documentation of this file.
1#ifndef HEADER_MODEL_RESERVATION
+
2#define HEADER_MODEL_RESERVATION
+
3
+
8#include "Ticket.h"
+
9#include <istream>
+
10#include <ostream>
+
11
+
12#define PASSWORD_LEN 8
+
13#define NOTE_LEN 32
+
14
+ +
18 Ticket ticket;
+
19 char password[PASSWORD_LEN];
+
20 char note[NOTE_LEN];
+
21
+
22public:
+ +
26 Reservation(const Ticket& ticket);
+
28 Reservation(const Ticket& ticket, const char* password, const char* note);
+
29
+
31 const Ticket& get_ticket() const;
+
33 const char* get_password() const;
+
35 const char* get_note() const;
+
36
+
38 void read(std::istream& istr);
+
40 void write(std::ostream& ostr) const;
+
42 int compare(const Reservation& other) const;
+
43
+
45 friend std::istream& operator>>(std::istream& istr, Reservation& reservation);
+
47 friend std::ostream& operator<<(std::ostream& ostr, const Reservation& reservation);
+
48};
+
49
+
50#endif
+
Stores the declaration of class Ticket.
+
Each Reservations contains a ticket, a password and a note.
Definition: Reservation.h:17
+
void read(std::istream &istr)
Reads Reservation from stream.
Definition: Reservation.cpp:34
+
void write(std::ostream &ostr) const
Writes Reservation to stream.
Definition: Reservation.cpp:48
+
const char * get_note() const
Returns constant C-style string to note.
Definition: Reservation.cpp:22
+
friend std::istream & operator>>(std::istream &istr, Reservation &reservation)
Reads Reservation from stream with >> operator.
Definition: Reservation.cpp:66
+
int compare(const Reservation &other) const
Compares two Reservations.
Definition: Reservation.cpp:56
+
Reservation()
Sets ticket as default value and leaves password and note blank.
Definition: Reservation.cpp:4
+
const char * get_password() const
Returns constant C-style string to password.
Definition: Reservation.cpp:18
+
friend std::ostream & operator<<(std::ostream &ostr, const Reservation &reservation)
Writes Reservation to stream with << operator.
Definition: Reservation.cpp:77
+
const Ticket & get_ticket() const
Returns constant reference to ticket.
Definition: Reservation.cpp:14
+
Each Ticket contains a row and a seat number.
Definition: Ticket.h:13
+
+ + + + diff --git a/docs/html/StatusCode_8h.html b/docs/html/StatusCode_8h.html new file mode 100644 index 0000000..a365dd3 --- /dev/null +++ b/docs/html/StatusCode_8h.html @@ -0,0 +1,128 @@ + + + + + + + +FMI Ticket System: src/Services/StatusCode.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
StatusCode.h File Reference
+
+
+ +

Stores declaration of enum StatusCode. +More...

+ +

Go to the source code of this file.

+ + + + + +

+Enumerations

enum  StatusCode {
+  Success +, W_TicketHadNotBeenReserved +, E_FileCouldNotBeOpened +, E_HallDoesntExist +,
+  E_EventWillOverlap +, E_EventDoesNotExist +, E_TicketAlreadyBought +, E_TicketAlreadyReserved +,
+  E_ReservationDoesNotExist +, E_WrongReservationPassword +
+ }
 Used for communication between Services and what uses them. More...
 
+

Detailed Description

+

Stores declaration of enum StatusCode.

+

Enumeration Type Documentation

+ +

◆ StatusCode

+ +
+
+ + + + +
enum StatusCode
+
+ +

Used for communication between Services and what uses them.

+

Most functions in Services return a StatusCode.

+

Those starting with W should be considered Warning, and those starting with E should be considered Errors.

+ +
+
+
+ + + + diff --git a/docs/html/StatusCode_8h_source.html b/docs/html/StatusCode_8h_source.html new file mode 100644 index 0000000..c26fe90 --- /dev/null +++ b/docs/html/StatusCode_8h_source.html @@ -0,0 +1,104 @@ + + + + + + + +FMI Ticket System: src/Services/StatusCode.h Source File + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
StatusCode.h
+
+
+Go to the documentation of this file.
1#ifndef HEADER_SERVICES_STATUSCODE
+
2#define HEADER_SERVICES_STATUSCODE
+
3
+ +
15 Success,
+
16
+
17
+
18 W_TicketHadNotBeenReserved,
+
19
+
20
+
21 E_FileCouldNotBeOpened,
+
22
+
23 E_HallDoesntExist,
+
24
+
25 E_EventWillOverlap,
+
26 E_EventDoesNotExist,
+
27
+
28 E_TicketAlreadyBought,
+
29 E_TicketAlreadyReserved,
+
30 E_ReservationDoesNotExist,
+
31 E_WrongReservationPassword,
+
32};
+
33
+
34#endif
+
StatusCode
Used for communication between Services and what uses them.
Definition: StatusCode.h:14
+
+ + + + diff --git a/docs/html/String_8h.html b/docs/html/String_8h.html new file mode 100644 index 0000000..16a3ce3 --- /dev/null +++ b/docs/html/String_8h.html @@ -0,0 +1,96 @@ + + + + + + + +FMI Ticket System: src/Generic/String/String.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
String.h File Reference
+
+
+ +

Stores declaration of class String. +More...

+
#include <istream>
+#include <ostream>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  String
 
+

Detailed Description

+

Stores declaration of class String.

+
+ + + + diff --git a/docs/html/String_8h_source.html b/docs/html/String_8h_source.html new file mode 100644 index 0000000..cc0e50f --- /dev/null +++ b/docs/html/String_8h_source.html @@ -0,0 +1,129 @@ + + + + + + + +FMI Ticket System: src/Generic/String/String.h Source File + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
String.h
+
+
+Go to the documentation of this file.
1#ifndef HEADER_STRING
+
2#define HEADER_STRING
+
3
+
8#include <istream>
+
9#include <ostream>
+
10
+
11class String {
+
12 char* str;
+
13 unsigned length;
+
14
+
15 void free();
+
16 void copyFrom(const String& other);
+
17
+
18public:
+
20 String(unsigned length);
+
22 String(const char* str);
+
24 const char* get_cstr() const;
+
26 unsigned get_length() const;
+
28 char& operator[](unsigned index);
+
29
+
31 String& operator+=(const char* str);
+
33 String& operator+=(unsigned number);
+
34
+
35 String();
+
36 String(const String& other);
+
37 String& operator=(const String& other);
+
38 ~String();
+
39
+
40 String(String&& other);
+
41 String& operator=(String&& other);
+
42
+
44 void read(std::istream& istr);
+
46 void write(std::ostream& ostr) const;
+
48 int compare(const String& other) const;
+
49
+
51 friend std::istream& operator>>(std::istream& istr, String& event);
+
53 friend std::ostream& operator<<(std::ostream& ostr, const String& event);
+
54};
+
55
+
56#endif
+
Definition: String.h:11
+
friend std::istream & operator>>(std::istream &istr, String &event)
Reads String from stream with >> operator.
Definition: String.cpp:153
+
const char * get_cstr() const
Returns internal C-style string.
Definition: String.cpp:35
+
int compare(const String &other) const
Compares two strings.
Definition: String.cpp:143
+
char & operator[](unsigned index)
Returns a character reference (from the underlying C-style string) at the given index.
Definition: String.cpp:43
+
String & operator+=(const char *str)
Appends a C-style string.
Definition: String.cpp:49
+
unsigned get_length() const
Returns number of characters in string.
Definition: String.cpp:39
+
void write(std::ostream &ostr) const
Writes String to stream.
Definition: String.cpp:135
+
friend std::ostream & operator<<(std::ostream &ostr, const String &event)
Writes String to stream with << operator.
Definition: String.cpp:165
+
void read(std::istream &istr)
Reads String from stream.
Definition: String.cpp:122
+
+ + + + diff --git a/docs/html/Ticket_8h.html b/docs/html/Ticket_8h.html new file mode 100644 index 0000000..cceb148 --- /dev/null +++ b/docs/html/Ticket_8h.html @@ -0,0 +1,172 @@ + + + + + + + +FMI Ticket System: src/Models/Ticket.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
Ticket.h File Reference
+
+
+ +

Stores the declaration of class Ticket. +More...

+
#include <istream>
+#include <ostream>
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  Ticket
 Each Ticket contains a row and a seat number. More...
 
+ + + + + + + +

+Functions

std::istream & operator>> (std::istream &istr, Ticket &ticket)
 Reads Ticket from stream with >> operator. More...
 
std::ostream & operator<< (std::ostream &ostr, const Ticket &ticket)
 Writes Ticket to stream with << operator. More...
 
+

Detailed Description

+

Stores the declaration of class Ticket.

+

Function Documentation

+ +

◆ operator<<()

+ +
+
+ + + + + + + + + + + + + + + + + + +
std::ostream & operator<< (std::ostream & ostr,
const Ticket & ticket 
)
+
+ +

Writes Ticket to stream with << operator.

+

Uses the stream's << operator to write row and seat, separated by a space.

+
Note
Best used with std::cout or text std::ofstream
+ +
+
+ +

◆ operator>>()

+ +
+
+ + + + + + + + + + + + + + + + + + +
std::istream & operator>> (std::istream & istr,
Ticket & ticket 
)
+
+ +

Reads Ticket from stream with >> operator.

+

Uses the stream's >> operator to read and parse row and seat.

+
Note
Best used with std::cin or text std::ifstream
+ +
+
+
+ + + + diff --git a/docs/html/Ticket_8h_source.html b/docs/html/Ticket_8h_source.html new file mode 100644 index 0000000..1d9c133 --- /dev/null +++ b/docs/html/Ticket_8h_source.html @@ -0,0 +1,114 @@ + + + + + + + +FMI Ticket System: src/Models/Ticket.h Source File + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
Ticket.h
+
+
+Go to the documentation of this file.
1#ifndef HEADER_HEADER_TICKET
+
2#define HEADER_HEADER_TICKET
+
3
+
8#include <istream>
+
9#include <ostream>
+
10
+
13class Ticket {
+
14 unsigned row;
+
15 unsigned seat;
+
16
+
17public:
+
19 Ticket();
+
21 Ticket(unsigned row, unsigned seat);
+
22
+
24 unsigned get_row() const;
+
26 unsigned get_seat() const;
+
27
+
29 void read(std::istream& istr);
+
31 void write(std::ostream& ostr) const;
+
33 int compare(const Ticket& other) const;
+
34};
+
35
+
37std::istream& operator>>(std::istream& istr, Ticket& ticket);
+
39std::ostream& operator<<(std::ostream& ostr, const Ticket& ticket);
+
40
+
41#endif
+
std::istream & operator>>(std::istream &istr, Ticket &ticket)
Reads Ticket from stream with >> operator.
Definition: Ticket.cpp:57
+
std::ostream & operator<<(std::ostream &ostr, const Ticket &ticket)
Writes Ticket to stream with << operator.
Definition: Ticket.cpp:69
+
Each Ticket contains a row and a seat number.
Definition: Ticket.h:13
+
void write(std::ostream &ostr) const
Writes Ticket to stream.
Definition: Ticket.cpp:37
+
int compare(const Ticket &other) const
Compares two Tickets.
Definition: Ticket.cpp:44
+
unsigned get_row() const
Returns row.
Definition: Ticket.cpp:10
+
void read(std::istream &istr)
Reads Ticket from stram.
Definition: Ticket.cpp:25
+
Ticket()
Sets row and seat to zeroes.
Definition: Ticket.cpp:3
+
unsigned get_seat() const
Returns seat.
Definition: Ticket.cpp:14
+
+ + + + diff --git a/docs/html/Toolbox_8hpp.html b/docs/html/Toolbox_8hpp.html new file mode 100644 index 0000000..3c48890 --- /dev/null +++ b/docs/html/Toolbox_8hpp.html @@ -0,0 +1,750 @@ + + + + + + + +FMI Ticket System: src/Generic/ConsoleInterface/Toolbox.hpp File Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
Toolbox.hpp File Reference
+
+
+ +

Stores a wide range of functions for simpler/more automated printing. +More...

+
#include <iostream>
+
+

Go to the source code of this file.

+ + + + +

+Macros

+#define MAX_LINE_WIDTH   1024
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

void clear ()
 Clears the console screen. More...
 
void titleBox (const char *title)
 Prints a title box. More...
 
void subTitleBox (const char *title)
 Prints a title sub box. More...
 
void successBox (const char *message)
 Prints a success box. More...
 
void successSubBox (const char *message)
 Prints a success box as a sub box. More...
 
void warningBox (const char *message)
 Prints a warning box. More...
 
void warningSubBox (const char *message)
 Prints a warning box as a sub box. More...
 
void errorBox (const char *message)
 Prints an error box. More...
 
void errorSubBox (const char *message)
 Prints an error box as a sub box. More...
 
void inputLineBox (const char *label, char *output, unsigned maxWidth, bool ignore=true)
 Prints label, gets a whole line of input and stores it to output. More...
 
void inputLineSubBox (const char *label, char *output, unsigned maxWidth, bool ignore=true)
 Prints label as a sub box, gets a whole line of input and stores it to output. More...
 
void pressEnterToContinue (bool ignore=true)
 Waits for user to press enter. More...
 
void resetOrderedList (int starter=1)
 Resets the ordered list starting number. More...
 
void table (unsigned startNumber, unsigned columns, const char *items)
 Prints a string as a table. More...
 
void _printSubBoxSpacing ()
 Semi-internal function that prints the spacing for sub boxes. More...
 
void _printInputBoxLabel (const char *label)
 Semi-internal function that prints the label of an input box. More...
 
void _printOrderedListBeginning ()
 Semi-internal function that prints the latest ordered list index. More...
 
+template<typename T >
void read (T *storage)
 Reads user input and stores it.
 
+template<typename T >
void read (T &storage)
 Reads user input and stores it.
 
+template<typename T >
void print (const T *item)
 Prints given item.
 
+template<typename T >
void print (const T &item)
 Prints given item.
 
+template<typename T >
void printLine (const T *item)
 Prints given item and an endline character.
 
+template<typename T >
void printLine (const T &item)
 Prints given item and an endline character.
 
+template<typename T >
void printOrderedListElem (const T &elem)
 Prints the element as the latest list item.
 
+template<typename T >
void inputBox (const char *label, T *output)
 Prints a label and then reads user input and stores it.
 
template<typename T >
void inputSubBox (const char *label, T *output)
 
+

Detailed Description

+

Stores a wide range of functions for simpler/more automated printing.

+

Adds a lot of functions for printing.

+
Remarks
iostream is included by necessity (templated functions), you should only use the provided functions, if you can.
+

Function Documentation

+ +

◆ _printInputBoxLabel()

+ +
+
+ + + + + + + + +
void _printInputBoxLabel (const char * label)
+
+ +

Semi-internal function that prints the label of an input box.

+
Parameters
+ + +
labelC-style string, there are no size checks so it could wrap
+
+
+

Prints "(+)" and then the given label. It doesn't create spacing after label, so it should exist in the label itself.

+
Remarks
Semi-internal means the function is defined in the header out of necessity (for templated functions)
+ +
+
+ +

◆ _printOrderedListBeginning()

+ +
+
+ + + + + + + +
void _printOrderedListBeginning ()
+
+ +

Semi-internal function that prints the latest ordered list index.

+

Prints the latests ordered list index, surrounded by square brackets, and increments the ordered list index.

+
Remarks
There are no size checks, so list index could overflow.
+
+Semi-internal means the function is defined in the header out of necessity (for templated functions)
+ +
+
+ +

◆ _printSubBoxSpacing()

+ +
+
+ + + + + + + +
void _printSubBoxSpacing ()
+
+ +

Semi-internal function that prints the spacing for sub boxes.

+

Sub boxes are like normal boxes, but indented with 4 spaces.

+ +
+
+ +

◆ clear()

+ +
+
+ + + + + + + +
void clear ()
+
+ +

Clears the console screen.

+

Erases display and moves cursor to top left corner via ANSI escape sequences: ESC[2J ESC[1;1H

+
Warning
Not all terminals support any or all ANSI escape sequences
+
Note
Source: https://stackoverflow.com/a/52895729/12036073
+ +
+
+ +

◆ errorBox()

+ +
+
+ + + + + + + + +
void errorBox (const char * message)
+
+ +

Prints an error box.

+
Parameters
+ + +
messageC-style string, there are no size checks so it could wrap
+
+
+

Error boxes start with "<E>" and print the message.

+
Remarks
Success/Warning/Error boxes start with "<C>" where C is an appropriate character.
+ +
+
+ +

◆ errorSubBox()

+ +
+
+ + + + + + + + +
void errorSubBox (const char * message)
+
+ +

Prints an error box as a sub box.

+
Parameters
+ + +
messageC-style string, there are no size checks so it could wrap
+
+
+

Error boxes start with "<E>" and print the message.

+
Remarks
Success/Warning/Error boxes start with "<C>" where C is an appropriate character.
+
See also
_printSubBoxSpacing()
+ +
+
+ +

◆ inputLineBox()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void inputLineBox (const char * label,
char * output,
unsigned maxWidth,
bool ignore 
)
+
+ +

Prints label, gets a whole line of input and stores it to output.

+
Parameters
+ + + + + +
labelC-style string, there are no size check so it could wrap
outputPointer to a char array
maxWidthMaximum count of characters to read from user input. output MUST be able to hold that many characters!
ignoreWhether or not to ignore the first new-line delimiter. true by default, should be set to false only when an inputLineBox/SubBox has been issued directly prior or when it's the very first issued box command.
+
+
+

Prints "(+)" before the label.

+ +
+
+ +

◆ inputLineSubBox()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void inputLineSubBox (const char * label,
char * output,
unsigned maxWidth,
bool ignore 
)
+
+ +

Prints label as a sub box, gets a whole line of input and stores it to output.

+
Parameters
+ + + + + +
labelC-style string, there are no size check so it could wrap
outputPointer to a char array
maxWidthMaximum count of characters to read from user input. output MUST be able to hold that many characters!
ignoreWhether or not to ignore the first new-line delimiter. true by default, should be set to false only when an inputLineBox/SubBox has been issued directly prior or when it's the very first issued box command.
+
+
+

Prints "(+)" before the label.

See also
_printSubBoxSpacing()
+ +
+
+ +

◆ inputSubBox()

+ +
+
+
+template<typename T >
+ + + + + + + + + + + + + + + + + + +
void inputSubBox (const char * label,
T * output 
)
+
+

Prints a label with sub box spacing and then reads user input and stores it

See also
_printSubBoxSpacing()
+ +
+
+ +

◆ pressEnterToContinue()

+ +
+
+ + + + + + + + +
void pressEnterToContinue (bool ignore)
+
+ +

Waits for user to press enter.

+
Parameters
+ + +
ignoreWhether or not to ignore the first new-line delimiter. true by default, should be set to false only when an inputLineBox/SubBox has been issued directly prior or when it's the very first issued box command.
+
+
+

Prints a "Press enter to continue" message and waits for the user

+ +
+
+ +

◆ resetOrderedList()

+ +
+
+ + + + + + + + +
void resetOrderedList (int starter)
+
+ +

Resets the ordered list starting number.

+
Parameters
+ + +
starterSets the starting number by which ordered list will enumerate
+
+
+
Remarks
Although starter can be a negative number, ordered list will always increment up the number.
+ +
+
+ +

◆ subTitleBox()

+ +
+
+ + + + + + + + +
void subTitleBox (const char * title)
+
+ +

Prints a title sub box.

+
Parameters
+ + +
titleC-style string, there are no size checks so it could wrap
+
+
+

Prints the title, surrounded by "---".

+ +
+
+ +

◆ successBox()

+ +
+
+ + + + + + + + +
void successBox (const char * message)
+
+ +

Prints a success box.

+
Parameters
+ + +
messageC-style string, there are no size checks so it could wrap
+
+
+

Success boxes start with "<S>" and print the message.

+
Remarks
Success/Warning/Error boxes start with "<C>" where C is an appropriate character.
+ +
+
+ +

◆ successSubBox()

+ +
+
+ + + + + + + + +
void successSubBox (const char * message)
+
+ +

Prints a success box as a sub box.

+
Parameters
+ + +
messageC-style string, there are no size checks so it could wrap
+
+
+

Success boxes start with "<S>" and print the message.

+
Remarks
Success/Warning/Error boxes start with "<C>" where C is an appropriate character.
+
See also
_printSubBoxSpacing()
+ +
+
+ +

◆ table()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void table (unsigned startNumber,
unsigned columns,
const char * items 
)
+
+ +

Prints a string as a table.

+
Parameters
+ + + + +
startNumberThe number by which column and row enumeration begins
columnsHow many columns the table should have
itemsC-style string, each cell is a single character from the string
+
+
+

Prints a string as a grid/table of characters from top to bottom, left to right. The first character is on the top left, the last one is on the bottom right.

+

Table is printed until a terminating zero is encountered. The rows are "calculated" from the columns count and the items length.

+ +
+
+ +

◆ titleBox()

+ +
+
+ + + + + + + + +
void titleBox (const char * title)
+
+ +

Prints a title box.

+
Parameters
+ + +
titleC-style string, there are no size checks so it could wrap
+
+
+

Prints the title, surrounded by "===".

+ +
+
+ +

◆ warningBox()

+ +
+
+ + + + + + + + +
void warningBox (const char * message)
+
+ +

Prints a warning box.

+
Parameters
+ + +
messageC-style string, there are no size checks so it could wrap
+
+
+

Warning boxes start with "<W>" and print the message.

+
Remarks
Success/Warning/Error boxes start with "<C>" where C is an appropriate character.
+ +
+
+ +

◆ warningSubBox()

+ +
+
+ + + + + + + + +
void warningSubBox (const char * message)
+
+ +

Prints a warning box as a sub box.

+
Parameters
+ + +
messageC-style string, there are no size checks so it could wrap
+
+
+

Warning boxes start with "<W>" and print the message.

+
Remarks
Success/Warning/Error boxes start with "<C>" where C is an appropriate character.
+
See also
_printSubBoxSpacing()
+ +
+
+
+ + + + diff --git a/docs/html/Toolbox_8hpp_source.html b/docs/html/Toolbox_8hpp_source.html new file mode 100644 index 0000000..6d1f211 --- /dev/null +++ b/docs/html/Toolbox_8hpp_source.html @@ -0,0 +1,182 @@ + + + + + + + +FMI Ticket System: src/Generic/ConsoleInterface/Toolbox.hpp Source File + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
Toolbox.hpp
+
+
+Go to the documentation of this file.
1#ifndef HEADER_CONSOLEINTERFACE_TOOLBOX
+
2#define HEADER_CONSOLEINTERFACE_TOOLBOX
+
3
+
4#include <iostream>
+
5
+
14#define MAX_LINE_WIDTH 1024
+
15
+
17void clear();
+
19void titleBox(const char* title);
+
21void subTitleBox(const char* title);
+
22
+
24void successBox(const char* message);
+
26void successSubBox(const char* message);
+
28void warningBox(const char* message);
+
30void warningSubBox(const char* message);
+
32void errorBox(const char* message);
+
34void errorSubBox(const char* message);
+
35
+
37void inputLineBox(const char* label, char* output, unsigned maxWidth, bool ignore = true);
+
39void inputLineSubBox(const char* label, char* output, unsigned maxWidth, bool ignore = true);
+
41void pressEnterToContinue(bool ignore = true);
+
42
+
44void resetOrderedList(int starter = 1);
+
45
+
47void table(unsigned startNumber, unsigned columns, const char* items);
+
48
+ +
52void _printInputBoxLabel(const char* label);
+ +
55
+
57template <typename T>
+
58void read(T* storage) {
+
59 std::cin >> storage;
+
60}
+
61
+
63template <typename T>
+
64void read(T& storage) {
+
65 std::cin >> storage;
+
66}
+
67
+
69template <typename T>
+
70void print(const T* item) {
+
71 std::cout << item;
+
72}
+
73
+
75template <typename T>
+
76void print(const T& item) {
+
77 std::cout << item;
+
78}
+
79
+
81template <typename T>
+
82void printLine(const T* item) {
+
83 std::cout << item << std::endl;
+
84}
+
85
+
87template <typename T>
+
88void printLine(const T& item) {
+
89 std::cout << item << std::endl;
+
90}
+
91
+
93template <typename T>
+
94void printOrderedListElem(const T& elem) {
+ +
96 printLine(elem);
+
97}
+
98
+
100template <typename T>
+
101void inputBox(const char* label, T* output) {
+
102 _printInputBoxLabel(label);
+
103 std::cin >> *output;
+
104}
+
105
+
108template <typename T>
+
109void inputSubBox(const char* label, T* output) {
+ +
111 _printInputBoxLabel(label);
+
112 std::cin >> *output;
+
113}
+
114
+
115#endif
+
void printLine(const T *item)
Prints given item and an endline character.
Definition: Toolbox.hpp:82
+
void warningSubBox(const char *message)
Prints a warning box as a sub box.
Definition: Toolbox.cpp:74
+
void titleBox(const char *title)
Prints a title box.
Definition: Toolbox.cpp:27
+
void _printOrderedListBeginning()
Semi-internal function that prints the latest ordered list index.
Definition: Toolbox.cpp:162
+
void read(T *storage)
Reads user input and stores it.
Definition: Toolbox.hpp:58
+
void resetOrderedList(int starter=1)
Resets the ordered list starting number.
Definition: Toolbox.cpp:170
+
void warningBox(const char *message)
Prints a warning box.
Definition: Toolbox.cpp:66
+
void print(const T *item)
Prints given item.
Definition: Toolbox.hpp:70
+
void successBox(const char *message)
Prints a success box.
Definition: Toolbox.cpp:47
+
void table(unsigned startNumber, unsigned columns, const char *items)
Prints a string as a table.
Definition: Toolbox.cpp:208
+
void inputSubBox(const char *label, T *output)
Definition: Toolbox.hpp:109
+
void errorBox(const char *message)
Prints an error box.
Definition: Toolbox.cpp:85
+
void inputLineBox(const char *label, char *output, unsigned maxWidth, bool ignore=true)
Prints label, gets a whole line of input and stores it to output.
Definition: Toolbox.cpp:125
+
void successSubBox(const char *message)
Prints a success box as a sub box.
Definition: Toolbox.cpp:55
+
void _printInputBoxLabel(const char *label)
Semi-internal function that prints the label of an input box.
Definition: Toolbox.cpp:107
+
void inputBox(const char *label, T *output)
Prints a label and then reads user input and stores it.
Definition: Toolbox.hpp:101
+
void printOrderedListElem(const T &elem)
Prints the element as the latest list item.
Definition: Toolbox.hpp:94
+
void _printSubBoxSpacing()
Semi-internal function that prints the spacing for sub boxes.
Definition: Toolbox.cpp:17
+
void pressEnterToContinue(bool ignore=true)
Waits for user to press enter.
Definition: Toolbox.cpp:145
+
void clear()
Clears the console screen.
Definition: Toolbox.cpp:10
+
void inputLineSubBox(const char *label, char *output, unsigned maxWidth, bool ignore=true)
Prints label as a sub box, gets a whole line of input and stores it to output.
Definition: Toolbox.cpp:134
+
void subTitleBox(const char *title)
Prints a title sub box.
Definition: Toolbox.cpp:35
+
void errorSubBox(const char *message)
Prints an error box as a sub box.
Definition: Toolbox.cpp:93
+
+ + + + diff --git a/docs/html/annotated.html b/docs/html/annotated.html new file mode 100644 index 0000000..9ac9b2c --- /dev/null +++ b/docs/html/annotated.html @@ -0,0 +1,91 @@ + + + + + + + +FMI Ticket System: Class List + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Class List
+
+
+
Here are the classes, structs, unions and interfaces with brief descriptions:
+ + + + + + + + + + + + + +
 CCommandStores a 256 character name and a function pointer to be executed when calling run()
 CDateStores a day, month and year
 CEventStores an event's hall, name, date, bought tickets and reservations
 CEventServiceEach EventService stores all events and a pointer to HallService
 CHallEach hall contains a number, rows and seats per row
 CHallServiceEach HallService stores all halls
 CListTemplated class that stores an array of elements in dynamic memory
 CMenuHandles navigation between multiple commands
 COrderedListInherits List, but contains it's elements in a sorted manner
 CReservationEach Reservations contains a ticket, a password and a note
 CString
 CTicketEach Ticket contains a row and a seat number
+
+
+ + + + diff --git a/docs/html/bc_s.png b/docs/html/bc_s.png new file mode 100644 index 0000000..224b29a Binary files /dev/null and b/docs/html/bc_s.png differ diff --git a/docs/html/bdwn.png b/docs/html/bdwn.png new file mode 100644 index 0000000..940a0b9 Binary files /dev/null and b/docs/html/bdwn.png differ diff --git a/docs/html/classCommand-members.html b/docs/html/classCommand-members.html new file mode 100644 index 0000000..2885b32 --- /dev/null +++ b/docs/html/classCommand-members.html @@ -0,0 +1,82 @@ + + + + + + + +FMI Ticket System: Member List + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
Command Member List
+
+
+ +

This is the complete list of members for Command, including all inherited members.

+ + + + + +
Command()Command
Command(const char *nameInMenu, void(*exec)())Command
get_nameInMenu() const (defined in Command)Command
run() constCommand
+ + + + diff --git a/docs/html/classCommand.html b/docs/html/classCommand.html new file mode 100644 index 0000000..a6504b1 --- /dev/null +++ b/docs/html/classCommand.html @@ -0,0 +1,166 @@ + + + + + + + +FMI Ticket System: Command Class Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
Command Class Reference
+
+
+ +

Stores a 256 character name and a function pointer to be executed when calling run() + More...

+ +

#include <Command.h>

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

+Public Member Functions

+ Command ()
 Leaves name empty and exec function pointer to nullptr.
 
 Command (const char *nameInMenu, void(*exec)())
 Copies contents of nameInMenu and stores exec. More...
 
void run () const
 Executes the stored function pointer. More...
 
+const char * get_nameInMenu () const
 
+

Detailed Description

+

Stores a 256 character name and a function pointer to be executed when calling run()

+

Menu uses this class for a more generic implementation of it's navigate function.

+

Constructor & Destructor Documentation

+ +

◆ Command()

+ +
+
+ + + + + + + + + + + + + + + + + + +
Command::Command (const char * nameInMenu,
void(*)() exec 
)
+
+ +

Copies contents of nameInMenu and stores exec.

+
Parameters
+ + + +
nameInMenuC-style string, class stores at most 255 characters (last character is always terminating zero)
execFunction pointer that will be executed when run() is called. Can be nullptr.
+
+
+ +
+
+

Member Function Documentation

+ +

◆ run()

+ +
+
+ + + + + + + +
void Command::run () const
+
+ +

Executes the stored function pointer.

+

Executes the stored function pointer, when it's not nullptr. Otherwise does nothing.

+ +
+
+
The documentation for this class was generated from the following files:
    +
  • src/Generic/ConsoleInterface/Command.h
  • +
  • src/Generic/ConsoleInterface/Command.cpp
  • +
+
+ + + + diff --git a/docs/html/classDate-members.html b/docs/html/classDate-members.html new file mode 100644 index 0000000..3d398f4 --- /dev/null +++ b/docs/html/classDate-members.html @@ -0,0 +1,91 @@ + + + + + + + +FMI Ticket System: Member List + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
Date Member List
+
+
+ +

This is the complete list of members for Date, including all inherited members.

+ + + + + + + + + + + + + + +
compare(const Date &other) constDate
createString() constDate
Date()Date
Date(const char *str)Date
Date(unsigned short day, unsigned short month, unsigned short year)Date
get_day() constDate
get_month() constDate
get_year() constDate
read(std::istream &istr)Date
set_day(unsigned short day)Date
set_month(unsigned short month)Date
set_year(unsigned short year)Date
write(std::ostream &ostr)Date
+ + + + diff --git a/docs/html/classDate.html b/docs/html/classDate.html new file mode 100644 index 0000000..b37fe98 --- /dev/null +++ b/docs/html/classDate.html @@ -0,0 +1,371 @@ + + + + + + + +FMI Ticket System: Date Class Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
Date Class Reference
+
+
+ +

Stores a day, month and year. + More...

+ +

#include <Date.h>

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

+Public Member Functions

+ Date ()
 Sets date as 01 May 2022.
 
 Date (const char *str)
 Parses string. More...
 
 Date (unsigned short day, unsigned short month, unsigned short year)
 Sets day, month and year. More...
 
+unsigned short get_day () const
 Returns the day.
 
bool set_day (unsigned short day)
 Sets the day. More...
 
+unsigned short get_month () const
 Returns the month.
 
bool set_month (unsigned short month)
 Sets the month. More...
 
+unsigned short get_year () const
 Returns the year.
 
bool set_year (unsigned short year)
 Sets the year. More...
 
String createString () const
 Returns the date as a String object. More...
 
void read (std::istream &istr)
 Reads date from stream. More...
 
void write (std::ostream &ostr)
 Writes date to stream. More...
 
int compare (const Date &other) const
 Compares two dates. More...
 
+

Detailed Description

+

Stores a day, month and year.

+

Constructor & Destructor Documentation

+ +

◆ Date() [1/2]

+ +
+
+ + + + + + + + +
Date::Date (const char * str)
+
+ +

Parses string.

+
Parameters
+ + +
strC-style string
+
+
+

Values are initialized with zeroes. Then it parses the string:

+

Skips spaces, saves day with atoi, skips two characters, skips spaces, saves month with atoi, skips two characters, skips spaces, saves year with atoi.

+

Values are validated with setters. You should always have spaces between day, month and year and no non-numeric characters between them.

+
Remarks
If there are non-numeric characters, as per atoi() spec, the appropriate property is zero.
+ +
+
+ +

◆ Date() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Date::Date (unsigned short day,
unsigned short month,
unsigned short year 
)
+
+ +

Sets day, month and year.

+

Initializes values with zeroes and then uses setters to save the function arguments.

+ +
+
+

Member Function Documentation

+ +

◆ compare()

+ +
+
+ + + + + + + + +
int Date::compare (const Date & other) const
+
+ +

Compares two dates.

+
Returns
-1 if this < other, 1 if this > other, 0 if this == other
+ +
+
+ +

◆ createString()

+ +
+
+ + + + + + + +
String Date::createString () const
+
+ +

Returns the date as a String object.

+
Returns
String object in the format "day.month.year"
+
Note
Currently there isn't any way to change the formatting
+ +
+
+ +

◆ read()

+ +
+
+ + + + + + + + +
void Date::read (std::istream & istr)
+
+ +

Reads date from stream.

+
Parameters
+ + +
istrAn input stream
+
+
+

Directly reads bytes from stream (calls read() function).

+
Remarks
Doesn't alter the stream in any other way.
+
Note
Best used with binary ifstream
+ +
+
+ +

◆ set_day()

+ +
+
+ + + + + + + + +
bool Date::set_day (unsigned short newDay)
+
+ +

Sets the day.

+
Returns
Whether newDay was saved or not
+

If newDay is equal to 0, or is more than the appropriate days in the month, the day isn't set.

+ +
+
+ +

◆ set_month()

+ +
+
+ + + + + + + + +
bool Date::set_month (unsigned short newMonth)
+
+ +

Sets the month.

+
Returns
Whether newMonth was saved or not
+

If newMonth is equal to 0 or is more than 12, the month isn't set.

+ +
+
+ +

◆ set_year()

+ +
+
+ + + + + + + + +
bool Date::set_year (unsigned short newYear)
+
+ +

Sets the year.

+
Returns
Whether year was saved or not
+

Year isn't set when newYear is zero

+ +
+
+ +

◆ write()

+ +
+
+ + + + + + + + +
void Date::write (std::ostream & ostr)
+
+ +

Writes date to stream.

+
Parameters
+ + +
ostrAn output stream
+
+
+

Directly writes bytes to stream (calls write() function).

+
Remarks
Doesn't alter the stream in any other way.
+
Note
Best used with binary ofstream
+ +
+
+
The documentation for this class was generated from the following files:
    +
  • src/Generic/Date/Date.h
  • +
  • src/Generic/Date/Date.cpp
  • +
+
+ + + + diff --git a/docs/html/classEvent-members.html b/docs/html/classEvent-members.html new file mode 100644 index 0000000..e092374 --- /dev/null +++ b/docs/html/classEvent-members.html @@ -0,0 +1,90 @@ + + + + + + + +FMI Ticket System: Member List + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
Event Member List
+
+
+ +

This is the complete list of members for Event, including all inherited members.

+ + + + + + + + + + + + + +
compare(const Event &other)Event
Event()Event
Event(const Hall &hall, String name, Date date)Event
get_date() constEvent
get_hall() constEvent
get_name() constEvent
get_reservations()Event
get_reservations() constEvent
get_tickets()Event
get_tickets() constEvent
read(std::istream &istr)Event
write(std::ostream &ostr)Event
+ + + + diff --git a/docs/html/classEvent.html b/docs/html/classEvent.html new file mode 100644 index 0000000..e190168 --- /dev/null +++ b/docs/html/classEvent.html @@ -0,0 +1,218 @@ + + + + + + + +FMI Ticket System: Event Class Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
Event Class Reference
+
+
+ +

Stores an event's hall, name, date, bought tickets and reservations. + More...

+ +

#include <Event.h>

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

+Public Member Functions

+ Event ()
 Calls default constructors on data.
 
+ Event (const Hall &hall, String name, Date date)
 Copies given hall and sets name and date.
 
+const Hall & get_hall () const
 Returns constant reference Hall in which event will be held.
 
+const String & get_name () const
 Returns constant reference to name of event.
 
+const Date & get_date () const
 Returns constant reference to date on which event will be held.
 
+OrderedList< Ticket > & get_tickets ()
 Returns reference to bought tickets.
 
+const OrderedList< Ticket > & get_tickets () const
 Returns constant reference to bought tickets.
 
+OrderedList< Reservation > & get_reservations ()
 Returns reference to reservations.
 
+const OrderedList< Reservation > & get_reservations () const
 Returns constant reference to reservations.
 
void read (std::istream &istr)
 Reads Event from stream. More...
 
void write (std::ostream &ostr)
 Writes Event to stream. More...
 
int compare (const Event &other)
 Compares two events. More...
 
+

Detailed Description

+

Stores an event's hall, name, date, bought tickets and reservations.

+

Member Function Documentation

+ +

◆ compare()

+ +
+
+ + + + + + + + +
int Event::compare (const Event & other)
+
+ +

Compares two events.

+
Returns
compare of halls, or if they are equal, compare of dates
+ +
+
+ +

◆ read()

+ +
+
+ + + + + + + + +
void Event::read (std::istream & istr)
+
+ +

Reads Event from stream.

+
Parameters
+ + +
istrAn input stream
+
+
+

Directly reads bytes from stream (calls read() function). Stored types must have defined a read() function.

+
Remarks
Doesn't alter the stream in any other way.
+
Note
Best used with binary ifstream
+ +
+
+ +

◆ write()

+ +
+
+ + + + + + + + +
void Event::write (std::ostream & ostr)
+
+ +

Writes Event to stream.

+
Parameters
+ + +
ostrAn output stream
+
+
+

Directly writes bytes to stream (calls write() function). Stored types must have defined a read() function.

+
Remarks
Doesn't alter the stream in any other way.
+
Note
Best used with binary ofstream
+ +
+
+
The documentation for this class was generated from the following files:
    +
  • src/Models/Event.h
  • +
  • src/Models/Event.cpp
  • +
+
+ + + + diff --git a/docs/html/classEventService-members.html b/docs/html/classEventService-members.html new file mode 100644 index 0000000..00e6112 --- /dev/null +++ b/docs/html/classEventService-members.html @@ -0,0 +1,94 @@ + + + + + + + +FMI Ticket System: Member List + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
EventService Member List
+
+
+ +

This is the complete list of members for EventService, including all inherited members.

+ + + + + + + + + + + + + + + + + +
buyTicket(const char *name, const Date &date, const Ticket &ticket, const char *password, String *reservationNoteOutput)EventService
buyTicket(const char *name, const Date &date, const Ticket &ticket)EventService
cancelEvent(const char *name, const Date &date)EventService
cancelTicketReservation(const char *name, const Date &date, const Ticket &ticket)EventService
createEvent(int hallNumber, const String &name, const Date &date)EventService
createSeatingString(const char *name, const Date &date, unsigned *seatsPerRow)EventService
EventService(const HallService *hs)EventService
EventService(const HallService *hs, const Event *events, unsigned eventCount)EventService
load()EventService
queryInsufficientlyVisited()EventService
queryMostWatched(unsigned topN)EventService
reportBoughtTickets(int hallNumber, const Date &start, const Date &end, bool all=false)EventService
reportReservations(const char *name, const Date &date)EventService
reserveTicket(const char *name, const Date &date, const char *password, const char *note, const Ticket &ticket)EventService
save()EventService
ticketIsReserved(const char *name, const Date &date, const Ticket &ticket)EventService
+ + + + diff --git a/docs/html/classEventService.html b/docs/html/classEventService.html new file mode 100644 index 0000000..3cabe28 --- /dev/null +++ b/docs/html/classEventService.html @@ -0,0 +1,678 @@ + + + + + + + +FMI Ticket System: EventService Class Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
EventService Class Reference
+
+
+ +

Each EventService stores all events and a pointer to HallService. + More...

+ +

#include <EventService.h>

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

+Public Member Functions

+ EventService (const HallService *hs)
 Sets HallService pointer and initializes events List.
 
+ EventService (const HallService *hs, const Event *events, unsigned eventCount)
 Sets HallService pointer and copies values from events into events List.
 
StatusCode createEvent (int hallNumber, const String &name, const Date &date)
 Creates an Event, with the given hallNumber, name and date. More...
 
StatusCode cancelEvent (const char *name, const Date &date)
 Cancels an Event with the given name and date. More...
 
StatusCode reserveTicket (const char *name, const Date &date, const char *password, const char *note, const Ticket &ticket)
 Creates a Reservation for an Event by name and date. More...
 
StatusCode cancelTicketReservation (const char *name, const Date &date, const Ticket &ticket)
 Cancels a Reservation for a ticket. More...
 
StatusCode ticketIsReserved (const char *name, const Date &date, const Ticket &ticket)
 Whether a ticket is a reserved or not. More...
 
StatusCode buyTicket (const char *name, const Date &date, const Ticket &ticket, const char *password, String *reservationNoteOutput)
 Buys ticket, assuming it is reserved and stores the reservation note. More...
 
StatusCode buyTicket (const char *name, const Date &date, const Ticket &ticket)
 Buys ticket, assuming it isn't reserved. More...
 
String createSeatingString (const char *name, const Date &date, unsigned *seatsPerRow)
 Creates a special String for status of all seats in given Event (by name and date) and returns seatsPerRow in given pointer. More...
 
List< Event > queryMostWatched (unsigned topN)
 
List< Event > queryInsufficientlyVisited ()
 
StatusCode reportReservations (const char *name, const Date &date)
 Creates a report that lists all Events (with given name and date) and their reserved tickets. More...
 
StatusCode reportBoughtTickets (int hallNumber, const Date &start, const Date &end, bool all=false)
 Creates a report that Lists all Events (with given name and date) and number of bought tickets. More...
 
StatusCode load ()
 Loads Events from a database file. More...
 
StatusCode save ()
 Saves Events to a database file. More...
 
+

Detailed Description

+

Each EventService stores all events and a pointer to HallService.

+

Member Function Documentation

+ +

◆ buyTicket() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
StatusCode EventService::buyTicket (const char * name,
const Date & date,
const Ticket & ticket 
)
+
+ +

Buys ticket, assuming it isn't reserved.

+

Calls buyTicket with Reservation, but sets password and noteOutput to nullptr.

Returns
E_EventDoesNotExist if No Event with the given name and date exists
+
+E_TicketAlreadyBought if A ticket for the given row and seat has already been bought
+
+E_TicketAlreadyReserved if The seat and row are reserved, but given password is nullptr
+
+E_WrongReservationPassword if The seat and row are reserved, but given password is incorrect
+
+Success otherwise
+ +
+
+ +

◆ buyTicket() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
StatusCode EventService::buyTicket (const char * name,
const Date & date,
const Ticket & ticket,
const char * password,
String * reservationNoteOutput 
)
+
+ +

Buys ticket, assuming it is reserved and stores the reservation note.

+
Returns
E_EventDoesNotExist if No Event with the given name and date exists
+
+E_TicketAlreadyBought if A ticket for the given row and seat has already been bought
+
+E_TicketAlreadyReserved if The seat and row are reserved, but given password is nullptr
+
+E_WrongReservationPassword if The seat and row are reserved, but given password is incorrect
+
+Success otherwise
+ +
+
+ +

◆ cancelEvent()

+ +
+
+ + + + + + + + + + + + + + + + + + +
StatusCode EventService::cancelEvent (const char * name,
const Date & date 
)
+
+ +

Cancels an Event with the given name and date.

+
Returns
E_EventDoesNotExist if No Event with the given name and date exists
+
+Success otherwise
+ +
+
+ +

◆ cancelTicketReservation()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
StatusCode EventService::cancelTicketReservation (const char * name,
const Date & date,
const Ticket & ticket 
)
+
+ +

Cancels a Reservation for a ticket.

+

Canceling a reservation doesn't require password and doesn't return the Reservation's note

+
Returns
E_EventDoesNotExist if No Event with the given name and date exists
+
+W_TicketHadNotBeenReserved Ticket hadn't been reserved in the first place
+
+Success otherwise
+ +
+
+ +

◆ createEvent()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
StatusCode EventService::createEvent (int hallNumber,
const String & name,
const Date & date 
)
+
+ +

Creates an Event, with the given hallNumber, name and date.

+

Uses HallService pointer to get Hall from hallNumber

Returns
E_HallDoesntExist if hallNumber doesn't correspond to any Hall, saved in HallService
+
+E_EventWillOverlap if Event's date overlaps with another event in the same Hall
+
+Success otherwise
+ +
+
+ +

◆ createSeatingString()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
String EventService::createSeatingString (const char * name,
const Date & date,
unsigned * seatsPerRow 
)
+
+ +

Creates a special String for status of all seats in given Event (by name and date) and returns seatsPerRow in given pointer.

+

Each seat in the Hall of the Event is represented by a single character, where 'R' means the seat is reserved, 'B' means the seat is bought and ' ' if it's neither.

+
Returns
Empty String if No Event with the given name and date exists
+
+Proper String otherwise
+ +
+
+ +

◆ load()

+ +
+
+ + + + + + + +
StatusCode EventService::load ()
+
+ +

Loads Events from a database file.

+

Looks for file named "eventsDatabse.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
+ +
+
+ +

◆ queryInsufficientlyVisited()

+ +
+
+ + + + + + + +
List< Event > EventService::queryInsufficientlyVisited ()
+
+
Returns
A List of events which have attracted sales of less than 10% of the Hall's seat
+ +
+
+ +

◆ queryMostWatched()

+ +
+
+ + + + + + + + +
List< Event > EventService::queryMostWatched (unsigned topN)
+
+
Returns
A List of topN most watched Events
+

Events are sorted from index 0 to last index decreasingly by number of watchers. Watchers count for an Event is the amount of bought tickets.

+

If there are less events than topN, all events are returned.

+ +
+
+ +

◆ reportBoughtTickets()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
StatusCode EventService::reportBoughtTickets (int hallNumber,
const Date & start,
const Date & end,
bool all = false 
)
+
+ +

Creates a report that Lists all Events (with given name and date) and number of bought tickets.

+
Parameters
+ + + + +
hallNumberNumber of the Event's Hall
startStarting Date from which to take Events
endEnding Date until which to take Evnets (including)
+
+
+

Report is saved in a file named "boughtTickets.txt" in the current directory.

+

All Events are inserted into the file with the << operator and a setting of 0b01001.

+
Returns
E_FileCouldNotBeOpened if Report file couldn't be created
+
+Success otherwise
+ +
+
+ +

◆ reportReservations()

+ +
+
+ + + + + + + + + + + + + + + + + + +
StatusCode EventService::reportReservations (const char * name,
const Date & date 
)
+
+ +

Creates a report that lists all Events (with given name and date) and their reserved tickets.

+
Parameters
+ + + +
nameC-style string, if it is equal to "ALL", reservations from all Events on the given date will be reported
dateIf day, month and year are equal to 0, reservations from all dates will be reported
+
+
+

Report is saved in a file in the current directory, named "report-NAME-DATE.txt", where NAME is the given name, and DATE is the given date or "ALL" if the date is 0/0/0

+

All Events are inserted into the file with the << operator and a setting of 0b00101.

+
Returns
E_FileCouldNotBeOpened if Report file couldn't be created
+
+Success otherwise
+ +
+
+ +

◆ reserveTicket()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
StatusCode EventService::reserveTicket (const char * name,
const Date & date,
const char * password,
const char * note,
const Ticket & ticket 
)
+
+ +

Creates a Reservation for an Event by name and date.

+
Returns
E_EventDoesNotExist if No Event with the given name and date exists
+
+E_TicketAlreadyBought if A ticket for the given row and seat has already been bought
+
+E_TicketAlreadyReserved if A reservation has already been placed on the given row and seat
+
+Success otherwise
+ +
+
+ +

◆ save()

+ +
+
+ + + + + + + +
StatusCode EventService::save ()
+
+ +

Saves Events to a database file.

+

Looks for file named "eventsDatabse.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
+ +
+
+ +

◆ ticketIsReserved()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
StatusCode EventService::ticketIsReserved (const char * name,
const Date & date,
const Ticket & ticket 
)
+
+ +

Whether a ticket is a reserved or not.

+
Returns
E_EventDoesNotExist if No Event with the given name and date exists
+
+W_TicketHadNotBeenReserved Ticket hadn't been reserved in the first place
+
+Success otherwise
+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/html/classHall-members.html b/docs/html/classHall-members.html new file mode 100644 index 0000000..bdfb3f2 --- /dev/null +++ b/docs/html/classHall-members.html @@ -0,0 +1,87 @@ + + + + + + + +FMI Ticket System: Member List + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
Hall Member List
+
+
+ +

This is the complete list of members for Hall, including all inherited members.

+ + + + + + + + + + +
compare(const Hall &other) constHall
get_number() constHall
get_rows() constHall
get_seatsPerRow() constHall
Hall()Hall
Hall(int number)Hall
Hall(int number, unsigned rows, unsigned seatsPerRow)Hall
read(std::istream &istr)Hall
write(std::ostream &ostr) constHall
+ + + + diff --git a/docs/html/classHall.html b/docs/html/classHall.html new file mode 100644 index 0000000..2d9b2d2 --- /dev/null +++ b/docs/html/classHall.html @@ -0,0 +1,206 @@ + + + + + + + +FMI Ticket System: Hall Class Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
Hall Class Reference
+
+
+ +

Each hall contains a number, rows and seats per row. + More...

+ +

#include <Hall.h>

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

+Public Member Functions

+ Hall ()
 Sets values to 0.
 
+ Hall (int number)
 Sets values, except number, to 0.
 
+ Hall (int number, unsigned rows, unsigned seatsPerRow)
 Sets values.
 
+int get_number () const
 Returns a Hall's number.
 
+unsigned get_rows () const
 Returns a Hall's row count.
 
+unsigned get_seatsPerRow () const
 Return a Hall's seats per row count.
 
void read (std::istream &istr)
 Reads Hall from stream. More...
 
void write (std::ostream &ostr) const
 Writes Hall to steam. More...
 
int compare (const Hall &other) const
 Compare two Halls. More...
 
+

Detailed Description

+

Each hall contains a number, rows and seats per row.

+

Member Function Documentation

+ +

◆ compare()

+ +
+
+ + + + + + + + +
int Hall::compare (const Hall & other) const
+
+ +

Compare two Halls.

+
Returns
-1 if number < other.number, 1 if number > other.number, 0 if number == other.number
+ +
+
+ +

◆ read()

+ +
+
+ + + + + + + + +
void Hall::read (std::istream & istr)
+
+ +

Reads Hall from stream.

+
Parameters
+ + +
istrAn input stream
+
+
+

Directly reads bytes from stream (calls read() function).

+
Remarks
Doesn't alter the stream in any other way.
+
Note
Best used with binary ifstream
+ +
+
+ +

◆ write()

+ +
+
+ + + + + + + + +
void Hall::write (std::ostream & ostr) const
+
+ +

Writes Hall to steam.

+
Parameters
+ + +
ostrAn output stream
+
+
+

Directly writes bytes to stream (calls write() function).

+
Remarks
Doesn't alter the stream in any other way.
+
Note
Best used with binary ofstream
+ +
+
+
The documentation for this class was generated from the following files:
    +
  • src/Models/Hall.h
  • +
  • src/Models/Hall.cpp
  • +
+
+ + + + diff --git a/docs/html/classHallService-members.html b/docs/html/classHallService-members.html new file mode 100644 index 0000000..9bf0940 --- /dev/null +++ b/docs/html/classHallService-members.html @@ -0,0 +1,82 @@ + + + + + + + +FMI Ticket System: Member List + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
HallService Member List
+
+
+ +

This is the complete list of members for HallService, including all inherited members.

+ + + + + +
get_halls() constHallService
HallService(const Hall *halls, unsigned hallCount)HallService
load()HallService
save()HallService
+ + + + diff --git a/docs/html/classHallService.html b/docs/html/classHallService.html new file mode 100644 index 0000000..335a622 --- /dev/null +++ b/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: +
+ + + + diff --git a/docs/html/classList-members.html b/docs/html/classList-members.html new file mode 100644 index 0000000..b9f6cc3 --- /dev/null +++ b/docs/html/classList-members.html @@ -0,0 +1,103 @@ + + + + + + + +FMI Ticket System: Member List + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
List< T > Member List
+
+
+ +

This is the complete list of members for List< T >, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
add(const T &element)List< T >
contain(const T &element) constList< T >
copyFrom(const List &other) (defined in List< T >)List< T >protected
count (defined in List< T >)List< T >protected
elements (defined in List< T >)List< T >protected
findIndex(const T &element) constList< T >
free() (defined in List< T >)List< T >protected
get_count() constList< T >
get_length() constList< T >
insertAt(const T &element, unsigned index)List< T >
length (defined in List< T >)List< T >protected
List(const T *elements, unsigned elementsCount)List< T >
List() (defined in List< T >)List< T >
List(const List &other) (defined in List< T >)List< T >
List(List &&other) (defined in List< T >)List< T >
operator+=(const List< T > other)List< T >
operator=(const List &other) (defined in List< T >)List< T >
operator=(List &&other) (defined in List< T >)List< T >
operator[](unsigned index)List< T >
operator[](unsigned index) constList< T >
read(std::istream &istr)List< T >
removeAt(unsigned index)List< T >
resize() (defined in List< T >)List< T >protected
write(std::ostream &ostr) constList< T >
~List() (defined in List< T >)List< T >
+ + + + diff --git a/docs/html/classList.html b/docs/html/classList.html new file mode 100644 index 0000000..9193ce3 --- /dev/null +++ b/docs/html/classList.html @@ -0,0 +1,426 @@ + + + + + + + +FMI Ticket System: List< T > Class Template Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+ +
+ +

Templated class that stores an array of elements in dynamic memory. + More...

+ +

#include <List.hpp>

+
+Inheritance diagram for List< T >:
+
+
+ + +OrderedList< T > + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+ List (const T *elements, unsigned elementsCount)
 Copies all elements in given array.
 
void add (const T &element)
 Adds an element. More...
 
void insertAt (const T &element, unsigned index)
 Inserts element at given index. More...
 
bool removeAt (unsigned index)
 Removes element at index. More...
 
unsigned findIndex (const T &element) const
 Finds the index of element. More...
 
bool contain (const T &element) const
 
+T & operator[] (unsigned index)
 Returns reference to element at index.
 
+const T & operator[] (unsigned index) const
 Returns constant reference to element at index.
 
+List< T > & operator+= (const List< T > other)
 Appends elements from other list.
 
std::istream & read (std::istream &istr)
 Reads from stream. More...
 
std::ostream & write (std::ostream &ostr) const
 Writes to stream. More...
 
unsigned get_length () const
 Returns the length. More...
 
unsigned get_count () const
 Returns the count. More...
 
+List & operator= (const List &other)
 
+ List (const List &other)
 
+ List (List &&other)
 
+List & operator= (List &&other)
 
+ + + + + + + +

+Protected Member Functions

+void resize ()
 
+void free ()
 
+void copyFrom (const List &other)
 
+ + + + + + + +

+Protected Attributes

+T * elements
 
+unsigned length
 
+unsigned count
 
+

Detailed Description

+
template<typename T>
+class List< T >

Templated class that stores an array of elements in dynamic memory.

+
Warning
findIndex(), contain(), read(), write(), operator<<() and operator>>() require the type to have defined a couple of functions.
+
See also
findIndex()
+
+contain()
+
+read()
+
+write()
+
+operator<<()
+
+operator>>()
+

Member Function Documentation

+ +

◆ add()

+ +
+
+
+template<typename T >
+ + + + + + + + +
void List< T >::add (const T & element)
+
+ +

Adds an element.

+

Resizes internal array if there is no space for additional elements.

+ +
+
+ +

◆ contain()

+ +
+
+
+template<typename T >
+ + + + + + + + +
bool List< T >::contain (const T & element) const
+
+
Returns
Whether the element is contained in the current List
+
Warning
Function depends on findIndex(), which means the same "compare" function must be defined in the type
+
See also
findIndex()
+ +
+
+ +

◆ findIndex()

+ +
+
+
+template<typename T >
+ + + + + + + + +
unsigned List< T >::findIndex (const T & element) const
+
+ +

Finds the index of element.

+
Returns
Index of element. If element isn't found, returns the count of element.
+
Warning
The function depends on the type having a function "compare" defined, which takes two elements and returns a number <0 if elem1 < elem2, >0 if elem1 > elem2, 0 if elem1 == elem2
+
Note
Searching is done linearly
+ +
+
+ +

◆ get_count()

+ +
+
+
+template<typename T >
+ + + + +
unsigned List< T >::get_count
+
+ +

Returns the count.

+

Count is the amount of elements that are stored.

+ +
+
+ +

◆ get_length()

+ +
+
+
+template<typename T >
+ + + + +
unsigned List< T >::get_length
+
+ +

Returns the length.

+

Length is the size of the underlying array (allocated memory).

+ +
+
+ +

◆ insertAt()

+ +
+
+
+template<typename T >
+ + + + + + + + + + + + + + + + + + +
void List< T >::insertAt (const T & element,
unsigned index 
)
+
+ +

Inserts element at given index.

+

If index is after the last element, the element is just added. Otherwise all elements after the index are shifted right and element is put in place.

+

Resizes internal array if there is no space for additional elements.

+ +
+
+ +

◆ read()

+ +
+
+
+template<typename T >
+ + + + + + + + +
std::istream & List< T >::read (std::istream & istr)
+
+ +

Reads from stream.

+
Parameters
+ + +
istrAn input stream
+
+
+

Directly reads bytes from stream (calls read() function). Any stored values are deleted and replaced with those from the stream.

+
Warning
The function depends on the type having a function "read" defined, which takes an std::istream& and writes it's data to it. Return type doesn't matter.
+
Remarks
Doesn't alter the stream in any other way.
+
Note
Best used with binary ifstream
+ +
+
+ +

◆ removeAt()

+ +
+
+
+template<typename T >
+ + + + + + + + +
bool List< T >::removeAt (unsigned index)
+
+ +

Removes element at index.

+
Returns
Wether element could be removed
+

If index is after that of the last element, nothing is done and false is returned. Otherwise elements after index are shifted right and count is reduced.

+ +
+
+ +

◆ write()

+ +
+
+
+template<typename T >
+ + + + + + + + +
std::ostream & List< T >::write (std::ostream & ostr) const
+
+ +

Writes to stream.

+
Parameters
+ + +
ostrAn output stream
+
+
+

Directly writes bytes to stream (calls write() function).

+
Warning
The function depends on the type having a function "write" defined, which takes an std::ostream& and writes it's data to it. Return type doesn't matter.
+
Remarks
Doesn't alter the stream in any other way.
+
Note
Best used with binary ofstream
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/docs/html/classList.png b/docs/html/classList.png new file mode 100644 index 0000000..6318642 Binary files /dev/null and b/docs/html/classList.png differ diff --git a/docs/html/classMenu-members.html b/docs/html/classMenu-members.html new file mode 100644 index 0000000..3ee7df1 --- /dev/null +++ b/docs/html/classMenu-members.html @@ -0,0 +1,86 @@ + + + + + + + +FMI Ticket System: Member List + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
Menu Member List
+
+
+ +

This is the complete list of members for Menu, including all inherited members.

+ + + + + + + + + +
addCommand(const Command &command)Menu
Menu()Menu
Menu(const char *title, bool backExistsApp, bool isSubMenu)Menu
Menu(const char *title, bool backExistsApp, bool isSubMenu, const Command *commands, unsigned commandCount)Menu
navigate() constMenu
registerError(const char *message) constMenu
registerSuccess(const char *message) constMenu
registerWarning(const char *message) constMenu
+ + + + diff --git a/docs/html/classMenu.html b/docs/html/classMenu.html new file mode 100644 index 0000000..15580eb --- /dev/null +++ b/docs/html/classMenu.html @@ -0,0 +1,330 @@ + + + + + + + +FMI Ticket System: Menu Class Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
Menu Class Reference
+
+
+ +

Handles navigation between multiple commands. + More...

+ +

#include <Menu.h>

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

+Public Member Functions

+ Menu ()
 Sets name as "Menu", leaves all flags to false and creates an empty Command list.
 
 Menu (const char *title, bool backExistsApp, bool isSubMenu)
 Copies title, saves flags and creates and empty Command list. More...
 
 Menu (const char *title, bool backExistsApp, bool isSubMenu, const Command *commands, unsigned commandCount)
 Copies title, saves flags and copies commands. More...
 
+void addCommand (const Command &command)
 Adds a command to the internal Command list.
 
void registerError (const char *message) const
 Tell Menu to show an error message next time it prints. More...
 
void registerWarning (const char *message) const
 Tell Menu to show a warning message next time it prints. More...
 
void registerSuccess (const char *message) const
 Tell Menu to show a success message next time it prints. More...
 
void navigate () const
 Lists commands and after user input executes an appropriate command run() function. More...
 
+

Detailed Description

+

Handles navigation between multiple commands.

+

Shows the title, then below it an Error/Warning/Success message if set, lists all command options as an enumerated list, takes command index and calls the chosen command's run() function.

+

Constructor & Destructor Documentation

+ +

◆ Menu() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Menu::Menu (const char * title,
bool backExistsApp,
bool isSubMenu 
)
+
+ +

Copies title, saves flags and creates and empty Command list.

+
Parameters
+ + + + +
titleC-style string, class stores at most 255 characters (last character is always terminating zero)
backExistsAppFlag whether or not to list the 0-th option as "Exit", rather than "Go Back"
isSubMenuFlag whether or not to show the title as a subTitle or not
+
+
+ +
+
+ +

◆ Menu() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Menu::Menu (const char * title,
bool backExistsApp,
bool isSubMenu,
const Command * commands,
unsigned commandCount 
)
+
+ +

Copies title, saves flags and copies commands.

+
Parameters
+ + + + + + +
titleC-style string, class stores at most 255 characters (last character is always terminating zero)
backExistsAppFlag whether or not to list the 0-th option as "Exit", rather than "Go Back"
isSubMenuFlag whether or not to show the title as a subTitle or not
commandsPointer to an array of Command instances
commandCountNumber of elements that "commands" points to
+
+
+ +
+
+

Member Function Documentation

+ +

◆ navigate()

+ +
+
+ + + + + + + +
void Menu::navigate () const
+
+ +

Lists commands and after user input executes an appropriate command run() function.

+

Prints the title, then an Error/Warning/Sucess message (if set), prints all command names as an ordered list (starting from 1), waits for user input to select one of those commands (by list number) and finally executes the appropriate command's run() function.

+

After the run() function exists, everything is reprinted. The 0 list index is always "Go Back"/"Exit" and it always stops the reprinting loop.

+

If there are no commands, prints "Menu is empty!". If user input doesn't correspond to any command, registers an error message and reprints.

+ +
+
+ +

◆ registerError()

+ +
+
+ + + + + + + + +
void Menu::registerError (const char * message) const
+
+ +

Tell Menu to show an error message next time it prints.

+
Parameters
+ + +
messageC-style string, saves to pointer for later reuse when showing the message.
+
+
+

Stores the message pointer in a global variable (in the cpp file) and sets it's type as an Error in another global variable (in the cpp file).

+

The next time the whole Menu is shown, the message will appear below the title.

+ +
+
+ +

◆ registerSuccess()

+ +
+
+ + + + + + + + +
void Menu::registerSuccess (const char * message) const
+
+ +

Tell Menu to show a success message next time it prints.

+
Parameters
+ + +
messageC-style string, saves to pointer for later reuse when showing the message.
+
+
+

Stores the message pointer in a global variable (in the cpp file) and sets it's type as Success in another global variable (in the cpp file).

+

The next time the whole Menu is shown, the message will appear below the title.

+ +
+
+ +

◆ registerWarning()

+ +
+
+ + + + + + + + +
void Menu::registerWarning (const char * message) const
+
+ +

Tell Menu to show a warning message next time it prints.

+
Parameters
+ + +
messageC-style string, saves to pointer for later reuse when showing the message.
+
+
+

Stores the message pointer in a global variable (in the cpp file) and sets it's type as a Warning in another global variable (in the cpp file).

+

The next time the whole Menu is shown, the message will appear below the title.

+ +
+
+
The documentation for this class was generated from the following files:
    +
  • src/Generic/ConsoleInterface/Menu.h
  • +
  • src/Generic/ConsoleInterface/Menu.cpp
  • +
+
+ + + + diff --git a/docs/html/classOrderedList-members.html b/docs/html/classOrderedList-members.html new file mode 100644 index 0000000..eddb5a8 --- /dev/null +++ b/docs/html/classOrderedList-members.html @@ -0,0 +1,108 @@ + + + + + + + +FMI Ticket System: Member List + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
OrderedList< T > Member List
+
+
+ +

This is the complete list of members for OrderedList< T >, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
add(T element)=deleteOrderedList< T >
List::add(const T &element)List< T >
contain(const T &element) constList< T >
copyFrom(const List &other) (defined in List< T >)List< T >protected
count (defined in List< T >)List< T >protected
elements (defined in List< T >)List< T >protected
findIndex(const T &element) constList< T >
free() (defined in List< T >)List< T >protected
get_count() constList< T >
get_length() constList< T >
insert(T element)OrderedList< T >
insertAt(T element, unsigned index)=deleteOrderedList< T >
List::insertAt(const T &element, unsigned index)List< T >
length (defined in List< T >)List< T >protected
List(const T *elements, unsigned elementsCount)List< T >
List() (defined in List< T >)List< T >
List(const List &other) (defined in List< T >)List< T >
List(List &&other) (defined in List< T >)List< T >
operator+=(const List< T > other)List< T >
operator=(const List &other) (defined in List< T >)List< T >
operator=(List &&other) (defined in List< T >)List< T >
operator[](unsigned index)List< T >
operator[](unsigned index) constList< T >
OrderedList() (defined in OrderedList< T >)OrderedList< T >
OrderedList(const T *elements, unsigned elementsCount) (defined in OrderedList< T >)OrderedList< T >
read(std::istream &istr)List< T >
removeAt(unsigned index)List< T >
resize() (defined in List< T >)List< T >protected
write(std::ostream &ostr) constList< T >
~List() (defined in List< T >)List< T >
+ + + + diff --git a/docs/html/classOrderedList.html b/docs/html/classOrderedList.html new file mode 100644 index 0000000..d3d44d3 --- /dev/null +++ b/docs/html/classOrderedList.html @@ -0,0 +1,287 @@ + + + + + + + +FMI Ticket System: OrderedList< T > Class Template Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
OrderedList< T > Class Template Reference
+
+
+ +

Inherits List, but contains it's elements in a sorted manner. + More...

+ +

#include <OrderedList.hpp>

+
+Inheritance diagram for OrderedList< T >:
+
+
+ + +List< T > + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+ OrderedList (const T *elements, unsigned elementsCount)
 
void add (T element)=delete
 
void insertAt (T element, unsigned index)=delete
 
void insert (T element)
 Inserts an element at a sorted position. More...
 
- Public Member Functions inherited from List< T >
+ List (const T *elements, unsigned elementsCount)
 Copies all elements in given array.
 
void add (const T &element)
 Adds an element. More...
 
void insertAt (const T &element, unsigned index)
 Inserts element at given index. More...
 
bool removeAt (unsigned index)
 Removes element at index. More...
 
unsigned findIndex (const T &element) const
 Finds the index of element. More...
 
bool contain (const T &element) const
 
+T & operator[] (unsigned index)
 Returns reference to element at index.
 
+const T & operator[] (unsigned index) const
 Returns constant reference to element at index.
 
+List< T > & operator+= (const List< T > other)
 Appends elements from other list.
 
std::istream & read (std::istream &istr)
 Reads from stream. More...
 
std::ostream & write (std::ostream &ostr) const
 Writes to stream. More...
 
unsigned get_length () const
 Returns the length. More...
 
unsigned get_count () const
 Returns the count. More...
 
+List & operator= (const List &other)
 
+ List (const List &other)
 
+ List (List &&other)
 
+List & operator= (List &&other)
 
+ + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from List< T >
+void resize ()
 
+void free ()
 
+void copyFrom (const List &other)
 
- Protected Attributes inherited from List< T >
+T * elements
 
+unsigned length
 
+unsigned count
 
+

Detailed Description

+
template<typename T>
+class OrderedList< T >

Inherits List, but contains it's elements in a sorted manner.

+
Warning
Outside those defined in List, insert() requires the type to have defined a "compare" of functions.
+
See also
insert()
+

Member Function Documentation

+ +

◆ add()

+ +
+
+
+template<typename T >
+ + + + + +
+ + + + + + + + +
void OrderedList< T >::add (T element)
+
+delete
+
+
Warning
Function is deleted, use insert() instead
+
See also
insert()
+ +
+
+ +

◆ insert()

+ +
+
+
+template<typename T >
+ + + + + + + + +
void OrderedList< T >::insert (T element)
+
+ +

Inserts an element at a sorted position.

+
Warning
The function depends on the type having a function "compare" defined, which takes two elements and returns a number <0 if elem1 < elem2, >0 if elem1 > elem2, 0 if elem1 == elem2
+
Note
Insertion is done linearly
+ +
+
+ +

◆ insertAt()

+ +
+
+
+template<typename T >
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void OrderedList< T >::insertAt (T element,
unsigned index 
)
+
+delete
+
+
Warning
Function is deleted, use insert() instead
+
See also
insert()
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/docs/html/classOrderedList.png b/docs/html/classOrderedList.png new file mode 100644 index 0000000..eee579a Binary files /dev/null and b/docs/html/classOrderedList.png differ diff --git a/docs/html/classReservation-members.html b/docs/html/classReservation-members.html new file mode 100644 index 0000000..4ecc4d9 --- /dev/null +++ b/docs/html/classReservation-members.html @@ -0,0 +1,89 @@ + + + + + + + +FMI Ticket System: Member List + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
Reservation Member List
+
+
+ +

This is the complete list of members for Reservation, including all inherited members.

+ + + + + + + + + + + + +
compare(const Reservation &other) constReservation
get_note() constReservation
get_password() constReservation
get_ticket() constReservation
operator<<Reservationfriend
operator>>Reservationfriend
read(std::istream &istr)Reservation
Reservation()Reservation
Reservation(const Ticket &ticket)Reservation
Reservation(const Ticket &ticket, const char *password, const char *note)Reservation
write(std::ostream &ostr) constReservation
+ + + + diff --git a/docs/html/classReservation.html b/docs/html/classReservation.html new file mode 100644 index 0000000..eff838a --- /dev/null +++ b/docs/html/classReservation.html @@ -0,0 +1,297 @@ + + + + + + + +FMI Ticket System: Reservation Class Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
Reservation Class Reference
+
+
+ +

Each Reservations contains a ticket, a password and a note. + More...

+ +

#include <Reservation.h>

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

+Public Member Functions

+ Reservation ()
 Sets ticket as default value and leaves password and note blank.
 
+ Reservation (const Ticket &ticket)
 Sets ticket and leaves password and note blank.
 
+ Reservation (const Ticket &ticket, const char *password, const char *note)
 Sets ticket, password and note.
 
+const Ticket & get_ticket () const
 Returns constant reference to ticket.
 
+const char * get_password () const
 Returns constant C-style string to password.
 
+const char * get_note () const
 Returns constant C-style string to note.
 
void read (std::istream &istr)
 Reads Reservation from stream. More...
 
void write (std::ostream &ostr) const
 Writes Reservation to stream. More...
 
int compare (const Reservation &other) const
 Compares two Reservations. More...
 
+ + + + + + + +

+Friends

std::istream & operator>> (std::istream &istr, Reservation &reservation)
 Reads Reservation from stream with >> operator. More...
 
std::ostream & operator<< (std::ostream &ostr, const Reservation &reservation)
 Writes Reservation to stream with << operator. More...
 
+

Detailed Description

+

Each Reservations contains a ticket, a password and a note.

+

Member Function Documentation

+ +

◆ compare()

+ +
+
+ + + + + + + + +
int Reservation::compare (const Reservation & other) const
+
+ +

Compares two Reservations.

+
Returns
Compares tickets
+ +
+
+ +

◆ read()

+ +
+
+ + + + + + + + +
void Reservation::read (std::istream & istr)
+
+ +

Reads Reservation from stream.

+
Parameters
+ + +
istrAn input stream
+
+
+

Directly reads bytes from stream (calls read() function). Uses ticket's read() function.

+
Remarks
Doesn't alter the stream in any other way.
+
Note
Best used with binary ifstream
+ +
+
+ +

◆ write()

+ +
+
+ + + + + + + + +
void Reservation::write (std::ostream & ostr) const
+
+ +

Writes Reservation to stream.

+
Parameters
+ + +
ostrAn output stream
+
+
+

Directly writes bytes to stream (calls write() function). Uses ticket's write() function.

+
Remarks
Doesn't alter the stream in any other way.
+
Note
Best used with binary ofstream
+ +
+
+

Friends And Related Function Documentation

+ +

◆ operator<<

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
std::ostream & operator<< (std::ostream & ostr,
const Reservation & reservation 
)
+
+friend
+
+ +

Writes Reservation to stream with << operator.

+

Uses the stream's << operator to write the ticket only.

+
Note
Best used with std::cout or text std::ofstream
+ +
+
+ +

◆ operator>>

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
std::istream & operator>> (std::istream & istr,
Reservation & reservation 
)
+
+friend
+
+ +

Reads Reservation from stream with >> operator.

+

Uses the stream's >> operator to read and parse the ticket. Password and note are left blank.

+
Note
Best used with std::cin or text std::ifstream
+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/html/classString-members.html b/docs/html/classString-members.html new file mode 100644 index 0000000..806cff3 --- /dev/null +++ b/docs/html/classString-members.html @@ -0,0 +1,96 @@ + + + + + + + +FMI Ticket System: Member List + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
String Member List
+
+
+ +

This is the complete list of members for String, including all inherited members.

+ + + + + + + + + + + + + + + + + + + +
compare(const String &other) constString
get_cstr() constString
get_length() constString
operator+=(const char *str)String
operator+=(unsigned number)String
operator<<Stringfriend
operator=(const String &other) (defined in String)String
operator=(String &&other) (defined in String)String
operator>>Stringfriend
operator[](unsigned index)String
read(std::istream &istr)String
String(unsigned length)String
String(const char *str)String
String() (defined in String)String
String(const String &other) (defined in String)String
String(String &&other) (defined in String)String
write(std::ostream &ostr) constString
~String() (defined in String)String
+ + + + diff --git a/docs/html/classString.html b/docs/html/classString.html new file mode 100644 index 0000000..7f0e1be --- /dev/null +++ b/docs/html/classString.html @@ -0,0 +1,388 @@ + + + + + + + +FMI Ticket System: String Class Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
String Class Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 String (unsigned length)
 The underlying array is allocated with length (+ 1) size. More...
 
 String (const char *str)
 Copies str. More...
 
+const char * get_cstr () const
 Returns internal C-style string.
 
+unsigned get_length () const
 Returns number of characters in string.
 
+char & operator[] (unsigned index)
 Returns a character reference (from the underlying C-style string) at the given index.
 
String & operator+= (const char *str)
 Appends a C-style string. More...
 
String & operator+= (unsigned number)
 Appends a number. More...
 
+ String (const String &other)
 
+String & operator= (const String &other)
 
+ String (String &&other)
 
+String & operator= (String &&other)
 
void read (std::istream &istr)
 Reads String from stream. More...
 
void write (std::ostream &ostr) const
 Writes String to stream. More...
 
int compare (const String &other) const
 Compares two strings. More...
 
+ + + + + + + +

+Friends

std::istream & operator>> (std::istream &istr, String &event)
 Reads String from stream with >> operator. More...
 
std::ostream & operator<< (std::ostream &ostr, const String &event)
 Writes String to stream with << operator. More...
 
+

Constructor & Destructor Documentation

+ +

◆ String() [1/2]

+ +
+
+ + + + + + + + +
String::String (unsigned length)
+
+ +

The underlying array is allocated with length (+ 1) size.

+

Allocated with length + 1 size, so there is a terminating zero at the end.

+ +
+
+ +

◆ String() [2/2]

+ +
+
+ + + + + + + + +
String::String (const char * str)
+
+ +

Copies str.

+

\params str C-style string

+ +
+
+

Member Function Documentation

+ +

◆ compare()

+ +
+
+ + + + + + + + +
int String::compare (const String & other) const
+
+ +

Compares two strings.

+

\params other C-style string

Returns
strcmp between underlying C-style string and "other"
+ +
+
+ +

◆ operator+=() [1/2]

+ +
+
+ + + + + + + + +
String & String::operator+= (const char * str)
+
+ +

Appends a C-style string.

+

\params str C-style string

+ +
+
+ +

◆ operator+=() [2/2]

+ +
+
+ + + + + + + + +
String & String::operator+= (unsigned number)
+
+ +

Appends a number.

+

Converts the number to a C-style string and then uses += to append it.

+ +
+
+ +

◆ read()

+ +
+
+ + + + + + + + +
void String::read (std::istream & istr)
+
+ +

Reads String from stream.

+
Parameters
+ + +
istrAn input stream
+
+
+

Directly reads bytes from stream (calls read() function). First reads the string length, then the underlying C-style string (including terminating zero).

+
Remarks
Doesn't alter the stream in any other way.
+
Note
Best used with binary ifstream
+ +
+
+ +

◆ write()

+ +
+
+ + + + + + + + +
void String::write (std::ostream & ostr) const
+
+ +

Writes String to stream.

+
Parameters
+ + +
ostrAn output stream
+
+
+

Directly writes bytes to stream (calls write() function). First writes the string length, then the underlying C-style string (including terminating zero).

+
Remarks
Doesn't alter the stream in any other way.
+
Note
Best used with binary ofstream
+ +
+
+

Friends And Related Function Documentation

+ +

◆ operator<<

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
std::ostream & operator<< (std::ostream & ostr,
const String & event 
)
+
+friend
+
+ +

Writes String to stream with << operator.

+

Uses the stream's << operator to write the underlying C-style string

+
Note
Best used with std::cout or text std::ofstream
+ +
+
+ +

◆ operator>>

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
std::istream & operator>> (std::istream & istr,
String & event 
)
+
+friend
+
+ +

Reads String from stream with >> operator.

+

Uses the stream's getline function to read the data.

+
Warning
It takes at most 1024 characters from the stream!
+
Note
Best used with std::cin or text std::ifstream
+ +
+
+
The documentation for this class was generated from the following files:
    +
  • src/Generic/String/String.h
  • +
  • src/Generic/String/String.cpp
  • +
+
+ + + + diff --git a/docs/html/classTicket-members.html b/docs/html/classTicket-members.html new file mode 100644 index 0000000..832c425 --- /dev/null +++ b/docs/html/classTicket-members.html @@ -0,0 +1,85 @@ + + + + + + + +FMI Ticket System: Member List + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
Ticket Member List
+
+
+ +

This is the complete list of members for Ticket, including all inherited members.

+ + + + + + + + +
compare(const Ticket &other) constTicket
get_row() constTicket
get_seat() constTicket
read(std::istream &istr)Ticket
Ticket()Ticket
Ticket(unsigned row, unsigned seat)Ticket
write(std::ostream &ostr) constTicket
+ + + + diff --git a/docs/html/classTicket.html b/docs/html/classTicket.html new file mode 100644 index 0000000..fcb35eb --- /dev/null +++ b/docs/html/classTicket.html @@ -0,0 +1,198 @@ + + + + + + + +FMI Ticket System: Ticket Class Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
Ticket Class Reference
+
+
+ +

Each Ticket contains a row and a seat number. + More...

+ +

#include <Ticket.h>

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

+Public Member Functions

+ Ticket ()
 Sets row and seat to zeroes.
 
+ Ticket (unsigned row, unsigned seat)
 Sets row and seat.
 
+unsigned get_row () const
 Returns row.
 
+unsigned get_seat () const
 Returns seat.
 
void read (std::istream &istr)
 Reads Ticket from stram. More...
 
void write (std::ostream &ostr) const
 Writes Ticket to stream. More...
 
int compare (const Ticket &other) const
 Compares two Tickets. More...
 
+

Detailed Description

+

Each Ticket contains a row and a seat number.

+

Member Function Documentation

+ +

◆ compare()

+ +
+
+ + + + + + + + +
int Ticket::compare (const Ticket & other) const
+
+ +

Compares two Tickets.

+
Returns
If rows are equal, -1 if seat < other.seat, 1 if seat > other.seat, 0 if seat == other.seat, else the same, but for rows
+ +
+
+ +

◆ read()

+ +
+
+ + + + + + + + +
void Ticket::read (std::istream & istr)
+
+ +

Reads Ticket from stram.

+
Parameters
+ + +
istrAn input stream
+
+
+

Directly reads bytes from stream (calls read() function).

+
Remarks
Doesn't alter the stream in any other way.
+
Note
Best used with binary ifstream
+ +
+
+ +

◆ write()

+ +
+
+ + + + + + + + +
void Ticket::write (std::ostream & ostr) const
+
+ +

Writes Ticket to stream.

+
Parameters
+ + +
ostrAn output stream
+
+
+

Directly writes bytes to stream (calls write() function).

+
Remarks
Doesn't alter the stream in any other way.
+
Note
Best used with binary ofstream
+ +
+
+
The documentation for this class was generated from the following files:
    +
  • src/Models/Ticket.h
  • +
  • src/Models/Ticket.cpp
  • +
+
+ + + + diff --git a/docs/html/classes.html b/docs/html/classes.html new file mode 100644 index 0000000..4e506c7 --- /dev/null +++ b/docs/html/classes.html @@ -0,0 +1,108 @@ + + + + + + + +FMI Ticket System: Class Index + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Class Index
+
+
+
C | D | E | H | L | M | O | R | S | T
+ +
+ + + + diff --git a/docs/html/closed.png b/docs/html/closed.png new file mode 100644 index 0000000..98cc2c9 Binary files /dev/null and b/docs/html/closed.png differ diff --git a/docs/html/dir_0b7ce500285c8e4ab35041e3e5c42da4.html b/docs/html/dir_0b7ce500285c8e4ab35041e3e5c42da4.html new file mode 100644 index 0000000..2fe1534 --- /dev/null +++ b/docs/html/dir_0b7ce500285c8e4ab35041e3e5c42da4.html @@ -0,0 +1,86 @@ + + + + + + + +FMI Ticket System: src/Generic/String Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
String Directory Reference
+
+
+ + + + + +

+Files

file  String.h [code]
 Stores declaration of class String.
 
+
+ + + + diff --git a/docs/html/dir_359d2bec989c9a8deeeb9aee335c1c76.html b/docs/html/dir_359d2bec989c9a8deeeb9aee335c1c76.html new file mode 100644 index 0000000..08f3da1 --- /dev/null +++ b/docs/html/dir_359d2bec989c9a8deeeb9aee335c1c76.html @@ -0,0 +1,79 @@ + + + + + + + +FMI Ticket System: docs/doxygen Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
doxygen Directory Reference
+
+
+
+ + + + diff --git a/docs/html/dir_36df885461d6bd14211edf06510d126c.html b/docs/html/dir_36df885461d6bd14211edf06510d126c.html new file mode 100644 index 0000000..9d846a7 --- /dev/null +++ b/docs/html/dir_36df885461d6bd14211edf06510d126c.html @@ -0,0 +1,95 @@ + + + + + + + +FMI Ticket System: src/Models Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
Models Directory Reference
+
+
+ + + + + + + + + + + + + + +

+Files

file  Event.h [code]
 Stores the declaration of class Event.
 
file  Hall.h [code]
 Stores the declaration of class Hall.
 
file  Reservation.h [code]
 Stores the declaration of class Reservation.
 
file  Ticket.h [code]
 Stores the declaration of class Ticket.
 
+
+ + + + diff --git a/docs/html/dir_49e56c817e5e54854c35e136979f97ca.html b/docs/html/dir_49e56c817e5e54854c35e136979f97ca.html new file mode 100644 index 0000000..8372245 --- /dev/null +++ b/docs/html/dir_49e56c817e5e54854c35e136979f97ca.html @@ -0,0 +1,79 @@ + + + + + + + +FMI Ticket System: docs Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
docs Directory Reference
+
+
+
+ + + + diff --git a/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html new file mode 100644 index 0000000..577f8c1 --- /dev/null +++ b/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -0,0 +1,95 @@ + + + + + + + +FMI Ticket System: src Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
src Directory Reference
+
+
+ + + + + + + + +

+Directories

directory  Models
 
directory  Services
 
directory  UserInterface
 
+ + + + +

+Files

file  main.cpp
 Entry point for application.
 
+
+ + + + diff --git a/docs/html/dir_6aea3fadc932e04aa9fe3b3b27672cd7.html b/docs/html/dir_6aea3fadc932e04aa9fe3b3b27672cd7.html new file mode 100644 index 0000000..7f6a36a --- /dev/null +++ b/docs/html/dir_6aea3fadc932e04aa9fe3b3b27672cd7.html @@ -0,0 +1,92 @@ + + + + + + + +FMI Ticket System: src/Services Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
Services Directory Reference
+
+
+ + + + + + + + + + + +

+Files

file  EventService.h [code]
 Stores the declaration of class EventService.
 
file  HallService.h [code]
 Stores the declaration of class HallService.
 
file  StatusCode.h [code]
 Stores declaration of enum StatusCode.
 
+
+ + + + diff --git a/docs/html/dir_7224707058fb4969194ce052045af3c4.html b/docs/html/dir_7224707058fb4969194ce052045af3c4.html new file mode 100644 index 0000000..20e2c93 --- /dev/null +++ b/docs/html/dir_7224707058fb4969194ce052045af3c4.html @@ -0,0 +1,86 @@ + + + + + + + +FMI Ticket System: src/Generic/Date Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
Date Directory Reference
+
+
+ + + + + +

+Files

file  Date.h [code]
 Stores the declaration of class Date.
 
+
+ + + + diff --git a/docs/html/dir_81e13ff2cf2ef9aa9f9e473f8360d78f.html b/docs/html/dir_81e13ff2cf2ef9aa9f9e473f8360d78f.html new file mode 100644 index 0000000..bb701d0 --- /dev/null +++ b/docs/html/dir_81e13ff2cf2ef9aa9f9e473f8360d78f.html @@ -0,0 +1,86 @@ + + + + + + + +FMI Ticket System: src/UserInterface Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
UserInterface Directory Reference
+
+
+ + + + + +

+Files

file  FMITicketSystemConsoleUI.h [code]
 Stores declaration of runUI function.
 
+
+ + + + diff --git a/docs/html/dir_b37d33ceb7f5c107fb027d4db224bc89.html b/docs/html/dir_b37d33ceb7f5c107fb027d4db224bc89.html new file mode 100644 index 0000000..8f6e326 --- /dev/null +++ b/docs/html/dir_b37d33ceb7f5c107fb027d4db224bc89.html @@ -0,0 +1,91 @@ + + + + + + + +FMI Ticket System: src/Generic Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
Generic Directory Reference
+
+
+ + + + + + + + + + +

+Directories

directory  ConsoleInterface
 
directory  Date
 
directory  List
 
directory  String
 
+
+ + + + diff --git a/docs/html/dir_bba1b217f5afc342a21d50631c0a2103.html b/docs/html/dir_bba1b217f5afc342a21d50631c0a2103.html new file mode 100644 index 0000000..8903f41 --- /dev/null +++ b/docs/html/dir_bba1b217f5afc342a21d50631c0a2103.html @@ -0,0 +1,89 @@ + + + + + + + +FMI Ticket System: src/Generic/List Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
List Directory Reference
+
+
+ + + + + + + + +

+Files

file  List.hpp [code]
 Stores declaration and definition of templated class List.
 
file  OrderedList.hpp [code]
 Stores declaration and definition of templated class OrderedList.
 
+
+ + + + diff --git a/docs/html/dir_d8d09372644efb2ea8af4d02a2b08c8b.html b/docs/html/dir_d8d09372644efb2ea8af4d02a2b08c8b.html new file mode 100644 index 0000000..d1c1829 --- /dev/null +++ b/docs/html/dir_d8d09372644efb2ea8af4d02a2b08c8b.html @@ -0,0 +1,92 @@ + + + + + + + +FMI Ticket System: src/Generic/ConsoleInterface Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
ConsoleInterface Directory Reference
+
+
+ + + + + + + + + + + +

+Files

file  Command.h [code]
 Stores the declaration of class Command.
 
file  Menu.h [code]
 Stores the declaration of class Menu.
 
file  Toolbox.hpp [code]
 Stores a wide range of functions for simpler/more automated printing.
 
+
+ + + + diff --git a/docs/html/doc.png b/docs/html/doc.png new file mode 100644 index 0000000..17edabf Binary files /dev/null and b/docs/html/doc.png differ diff --git a/docs/html/doxygen.css b/docs/html/doxygen.css new file mode 100644 index 0000000..9036737 --- /dev/null +++ b/docs/html/doxygen.css @@ -0,0 +1,1841 @@ +/* The standard CSS for doxygen 1.9.3 */ + +body, table, div, p, dl { + font: 400 14px/22px Roboto,sans-serif; +} + +p.reference, p.definition { + font: 400 14px/22px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1.groupheader { + font-size: 150%; +} + +.title { + font: 400 14px/28px Roboto,sans-serif; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2.groupheader { + border-bottom: 1px solid #879ECB; + color: #354C7B; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +dt { + font-weight: bold; +} + +ul.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; + column-count: 3; +} + +p.startli, p.startdd { + margin-top: 2px; +} + +th p.starttd, th p.intertd, th p.endtd { + font-size: 100%; + font-weight: 700; +} + +p.starttd { + margin-top: 0px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +p.interli { +} + +p.interdd { +} + +p.intertd { +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.navtab { + border-right: 1px solid #A3B4D7; + padding-right: 15px; + text-align: right; + line-height: 110%; +} + +div.navtab table { + border-spacing: 0; +} + +td.navtab { + padding-right: 6px; + padding-left: 6px; +} +td.navtabHL { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + padding-right: 6px; + padding-left: 6px; +} + +td.navtabHL a, td.navtabHL a:visited { + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} + +a.navtab { + font-weight: bold; +} + +div.qindex{ + text-align: center; + width: 100%; + line-height: 140%; + font-size: 130%; + color: #A0A0A0; +} + +dt.alphachar{ + font-size: 180%; + font-weight: bold; +} + +.alphachar a{ + color: black; +} + +.alphachar a:hover, .alphachar a:visited{ + text-decoration: none; +} + +.classindex dl { + padding: 25px; + column-count:1 +} + +.classindex dd { + display:inline-block; + margin-left: 50px; + width: 90%; + line-height: 1.15em; +} + +.classindex dl.odd { + background-color: #F8F9FC; +} + +@media(min-width: 1120px) { + .classindex dl { + column-count:2 + } +} + +@media(min-width: 1320px) { + .classindex dl { + column-count:3 + } +} + + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +.contents a.qindexHL:visited { + color: #FFFFFF; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited, a.line, a.line:visited { + color: #4665A2; +} + +a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { + color: #4665A2; +} + +a.code.hl_class { /* style for links to class names in code snippets */ } +a.code.hl_struct { /* style for links to struct names in code snippets */ } +a.code.hl_union { /* style for links to union names in code snippets */ } +a.code.hl_interface { /* style for links to interface names in code snippets */ } +a.code.hl_protocol { /* style for links to protocol names in code snippets */ } +a.code.hl_category { /* style for links to category names in code snippets */ } +a.code.hl_exception { /* style for links to exception names in code snippets */ } +a.code.hl_service { /* style for links to service names in code snippets */ } +a.code.hl_singleton { /* style for links to singleton names in code snippets */ } +a.code.hl_concept { /* style for links to concept names in code snippets */ } +a.code.hl_namespace { /* style for links to namespace names in code snippets */ } +a.code.hl_package { /* style for links to package names in code snippets */ } +a.code.hl_define { /* style for links to macro names in code snippets */ } +a.code.hl_function { /* style for links to function names in code snippets */ } +a.code.hl_variable { /* style for links to variable names in code snippets */ } +a.code.hl_typedef { /* style for links to typedef names in code snippets */ } +a.code.hl_enumvalue { /* style for links to enum value names in code snippets */ } +a.code.hl_enumeration { /* style for links to enumeration names in code snippets */ } +a.code.hl_signal { /* style for links to Qt signal names in code snippets */ } +a.code.hl_slot { /* style for links to Qt slot names in code snippets */ } +a.code.hl_friend { /* style for links to friend names in code snippets */ } +a.code.hl_dcop { /* style for links to KDE3 DCOP names in code snippets */ } +a.code.hl_property { /* style for links to property names in code snippets */ } +a.code.hl_event { /* style for links to event names in code snippets */ } +a.code.hl_sequence { /* style for links to sequence names in code snippets */ } +a.code.hl_dictionary { /* style for links to dictionary names in code snippets */ } + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +ul { + overflow: visible; +} + +#side-nav ul { + overflow: visible; /* reset ul rule for scroll bar in GENERATE_TREEVIEW window */ +} + +#main-nav ul { + overflow: visible; /* reset ul rule for the navigation bar drop down lists */ +} + +.fragment { + text-align: left; + direction: ltr; + overflow-x: auto; /*Fixed: fragment lines overlap floating elements*/ + overflow-y: hidden; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/ + margin: 4px 8px 4px 2px; + background-color: #FBFCFD; + border: 1px solid #C4CFE5; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line:after { + content:"\000A"; + white-space: pre; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + margin-right: 9px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +.lineno { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +div.ah, span.ah { + background-color: black; + font-weight: bold; + color: #FFFFFF; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); +} + +div.classindex ul { + list-style: none; + padding-left: 0; +} + +div.classindex span.ai { + display: inline-block; +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl, img.inline { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +.compoundTemplParams { + color: #4665A2; + font-size: 80%; + line-height: 120%; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +blockquote { + background-color: #F7F8FB; + border-left: 2px solid #9CAFD4; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +blockquote.DocNodeRTL { + border-left: 0; + border-right: 2px solid #9CAFD4; + margin: 0 4px 0 24px; + padding: 0 16px 0 12px; +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memSeparator { + border-bottom: 1px solid #DEE4F0; + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight, .memTemplItemRight { + width: 100%; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtitle { + padding: 8px; + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + border-top-right-radius: 4px; + border-top-left-radius: 4px; + margin-bottom: -1px; + background-image: url('nav_f.png'); + background-repeat: repeat-x; + background-color: #E2E8F2; + line-height: 1.25; + font-weight: 300; + float:left; +} + +.permalink +{ + font-size: 65%; + display: inline-block; + vertical-align: middle; +} + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: 400; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-color: #DFE5F1; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + +} + +.overload { + font-family: "courier new",courier,monospace; + font-size: 65%; +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 10px 2px 10px; + background-color: #FBFCFD; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFFFF; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname, .tparams .paramname, .exception .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype, .tparams .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir, .tparams .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #728DC1; + border-top:1px solid #5373B4; + border-left:1px solid #5373B4; + border-right:1px solid #C4CFE5; + border-bottom:1px solid #C4CFE5; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view inside a (index) page */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #9CAFD4; + border-bottom: 1px solid #9CAFD4; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F7F8FB; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #3D578C; +} + +.arrow { + color: #9CAFD4; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + font-size: 80%; + display: inline-block; + width: 16px; + height: 22px; +} + +.icon { + font-family: Arial, Helvetica; + font-weight: bold; + font-size: 12px; + height: 14px; + width: 16px; + display: inline-block; + background-color: #728DC1; + color: white; + text-align: center; + border-radius: 4px; + margin-left: 2px; + margin-right: 2px; +} + +.icona { + width: 24px; + height: 22px; + display: inline-block; +} + +.iconfopen { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderopen.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.iconfclosed { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderclosed.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.icondoc { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('doc.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +table.directory { + font: 400 14px Roboto,sans-serif; +} + +/* @end */ + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable caption { + caption-side: top; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + /*width: 100%;*/ + margin-bottom: 10px; + border: 1px solid #A8B8D9; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #A8B8D9; + /*width: 100%;*/ +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + font-size: 90%; + color: #253555; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + font-weight: 400; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #A8B8D9; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: #283A5D; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color:#6884BD; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#364D7C; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +table.classindex +{ + margin: 10px; + white-space: nowrap; + margin-left: 3%; + margin-right: 3%; + width: 94%; + border: 0; + border-spacing: 0; + padding: 0; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +.PageDocRTL-title div.headertitle { + text-align: right; + direction: rtl; +} + +dl { + padding: 0 0 0 0; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug, dl.examples */ +dl.section { + margin-left: 0px; + padding-left: 0px; +} + +dl.section.DocNodeRTL { + margin-right: 0px; + padding-right: 0px; +} + +dl.note { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #D0C000; +} + +dl.note.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #FF0000; +} + +dl.warning.DocNodeRTL, dl.attention.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #00D000; +} + +dl.pre.DocNodeRTL, dl.post.DocNodeRTL, dl.invariant.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #00D000; +} + +dl.deprecated { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #505050; +} + +dl.deprecated.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #505050; +} + +dl.todo { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #00C0E0; +} + +dl.todo.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #00C0E0; +} + +dl.test { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #3030E0; +} + +dl.test.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #3030E0; +} + +dl.bug { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #C08050; +} + +dl.bug.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectrow +{ + height: 56px; +} + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectalign +{ + vertical-align: middle; + padding-left: 0.5em; +} + +#projectname +{ + font: 200% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 90% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #5373B4; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.plantumlgraph +{ + text-align: center; +} + +.diagraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #90A5CE; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#334975; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; + text-align:right; + width:52px; +} + +dl.citelist dd { + margin:2px 0 2px 72px; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F4F6FA; + border: 1px solid #D8DFEE; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 8px 10px 10px; + width: 200px; +} + +.PageDocRTL-title div.toc { + float: left !important; + text-align: right; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +.PageDocRTL-title div.toc li { + background-position-x: right !important; + padding-left: 0 !important; + padding-right: 10px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #4665A2; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +span.emoji { + /* font family used at the site: https://unicode.org/emoji/charts/full-emoji-list.html + * font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", Times, Symbola, Aegyptus, Code2000, Code2001, Code2002, Musica, serif, LastResort; + */ +} + +span.obfuscator { + display: none; +} + +.PageDocRTL-title div.toc li.level1 { + margin-left: 0 !important; + margin-right: 0; +} + +.PageDocRTL-title div.toc li.level2 { + margin-left: 0 !important; + margin-right: 15px; +} + +.PageDocRTL-title div.toc li.level3 { + margin-left: 0 !important; + margin-right: 30px; +} + +.PageDocRTL-title div.toc li.level4 { + margin-left: 0 !important; + margin-right: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +/* tooltip related style info */ + +.ttc { + position: absolute; + display: none; +} + +#powerTip { + cursor: default; + /*white-space: nowrap;*/ + background-color: white; + border: 1px solid gray; + border-radius: 4px 4px 4px 4px; + box-shadow: 1px 1px 7px gray; + display: none; + font-size: smaller; + max-width: 80%; + opacity: 0.9; + padding: 1ex 1em 1em; + position: absolute; + z-index: 2147483647; +} + +#powerTip div.ttdoc { + color: grey; + font-style: italic; +} + +#powerTip div.ttname a { + font-weight: bold; +} + +#powerTip div.ttname { + font-weight: bold; +} + +#powerTip div.ttdeci { + color: #006318; +} + +#powerTip div { + margin: 0px; + padding: 0px; + font: 12px/16px Roboto,sans-serif; +} + +#powerTip:before, #powerTip:after { + content: ""; + position: absolute; + margin: 0px; +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.s:after, #powerTip.s:before, +#powerTip.w:after, #powerTip.w:before, +#powerTip.e:after, #powerTip.e:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.nw:after, #powerTip.nw:before, +#powerTip.sw:after, #powerTip.sw:before { + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; +} + +#powerTip.n:after, #powerTip.s:after, +#powerTip.w:after, #powerTip.e:after, +#powerTip.nw:after, #powerTip.ne:after, +#powerTip.sw:after, #powerTip.se:after { + border-color: rgba(255, 255, 255, 0); +} + +#powerTip.n:before, #powerTip.s:before, +#powerTip.w:before, #powerTip.e:before, +#powerTip.nw:before, #powerTip.ne:before, +#powerTip.sw:before, #powerTip.se:before { + border-color: rgba(128, 128, 128, 0); +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.nw:after, #powerTip.nw:before { + top: 100%; +} + +#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { + border-top-color: #FFFFFF; + border-width: 10px; + margin: 0px -10px; +} +#powerTip.n:before { + border-top-color: #808080; + border-width: 11px; + margin: 0px -11px; +} +#powerTip.n:after, #powerTip.n:before { + left: 50%; +} + +#powerTip.nw:after, #powerTip.nw:before { + right: 14px; +} + +#powerTip.ne:after, #powerTip.ne:before { + left: 14px; +} + +#powerTip.s:after, #powerTip.s:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.sw:after, #powerTip.sw:before { + bottom: 100%; +} + +#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { + border-bottom-color: #FFFFFF; + border-width: 10px; + margin: 0px -10px; +} + +#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { + border-bottom-color: #808080; + border-width: 11px; + margin: 0px -11px; +} + +#powerTip.s:after, #powerTip.s:before { + left: 50%; +} + +#powerTip.sw:after, #powerTip.sw:before { + right: 14px; +} + +#powerTip.se:after, #powerTip.se:before { + left: 14px; +} + +#powerTip.e:after, #powerTip.e:before { + left: 100%; +} +#powerTip.e:after { + border-left-color: #FFFFFF; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.e:before { + border-left-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +#powerTip.w:after, #powerTip.w:before { + right: 100%; +} +#powerTip.w:after { + border-right-color: #FFFFFF; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.w:before { + border-right-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + +/* @group Markdown */ + +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.markdownTable tr { +} + +th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft, td.markdownTableBodyLeft { + text-align: left +} + +th.markdownTableHeadRight, td.markdownTableBodyRight { + text-align: right +} + +th.markdownTableHeadCenter, td.markdownTableBodyCenter { + text-align: center +} + +.DocNodeRTL { + text-align: right; + direction: rtl; +} + +.DocNodeLTR { + text-align: left; + direction: ltr; +} + +table.DocNodeRTL { + width: auto; + margin-right: 0; + margin-left: auto; +} + +table.DocNodeLTR { + width: auto; + margin-right: auto; + margin-left: 0; +} + +code.JavaDocCode + direction:ltr; +} + +tt, code, kbd, samp +{ + display: inline-block; + direction:ltr; +} +/* @end */ + +u { + text-decoration: underline; +} + diff --git a/docs/html/doxygen.svg b/docs/html/doxygen.svg new file mode 100644 index 0000000..d42dad5 --- /dev/null +++ b/docs/html/doxygen.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/html/dynsections.js b/docs/html/dynsections.js new file mode 100644 index 0000000..3174bd7 --- /dev/null +++ b/docs/html/dynsections.js @@ -0,0 +1,121 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +function toggleVisibility(linkObj) +{ + var base = $(linkObj).attr('id'); + var summary = $('#'+base+'-summary'); + var content = $('#'+base+'-content'); + var trigger = $('#'+base+'-trigger'); + var src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; +} + +function updateStripes() +{ + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); +} + +function toggleLevel(level) +{ + $('table.directory tr').each(function() { + var l = this.id.split('_').length-1; + var i = $('#img'+this.id.substring(3)); + var a = $('#arr'+this.id.substring(3)); + if (l + + + + + + +FMI Ticket System: File List + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
File List
+
+
+
Here is a list of all documented files with brief descriptions:
+
[detail level 1234]
+ + + + + + + + + + + + + + + + + + + + + + + + + +
 ▼ src
 ▼ Generic
 ▼ ConsoleInterface
 Command.hStores the declaration of class Command
 Menu.hStores the declaration of class Menu
 Toolbox.hppStores a wide range of functions for simpler/more automated printing
 ▼ Date
 Date.hStores the declaration of class Date
 ▼ List
 List.hppStores declaration and definition of templated class List
 OrderedList.hppStores declaration and definition of templated class OrderedList
 ▼ String
 String.hStores declaration of class String
 ▼ Models
 Event.hStores the declaration of class Event
 Hall.hStores the declaration of class Hall
 Reservation.hStores the declaration of class Reservation
 Ticket.hStores the declaration of class Ticket
 ▼ Services
 EventService.hStores the declaration of class EventService
 HallService.hStores the declaration of class HallService
 StatusCode.hStores declaration of enum StatusCode
 ▼ UserInterface
 FMITicketSystemConsoleUI.hStores declaration of runUI function
 main.cppEntry point for application
+
+
+ + + + diff --git a/docs/html/folderclosed.png b/docs/html/folderclosed.png new file mode 100644 index 0000000..bb8ab35 Binary files /dev/null and b/docs/html/folderclosed.png differ diff --git a/docs/html/folderopen.png b/docs/html/folderopen.png new file mode 100644 index 0000000..d6c7f67 Binary files /dev/null and b/docs/html/folderopen.png differ diff --git a/docs/html/functions.html b/docs/html/functions.html new file mode 100644 index 0000000..2f0fd6d --- /dev/null +++ b/docs/html/functions.html @@ -0,0 +1,211 @@ + + + + + + + +FMI Ticket System: Class Members + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- a -

+ + +

- b -

+ + +

- c -

+ + +

- d -

+ + +

- e -

+ + +

- f -

+ + +

- g -

+ + +

- h -

+ + +

- i -

+ + +

- l -

+ + +

- m -

+ + +

- n -

    +
  • navigate() : Menu
  • +
+ + +

- o -

+ + +

- q -

+ + +

- r -

+ + +

- s -

+ + +

- t -

+ + +

- w -

+
+ + + + diff --git a/docs/html/functions_func.html b/docs/html/functions_func.html new file mode 100644 index 0000000..9465932 --- /dev/null +++ b/docs/html/functions_func.html @@ -0,0 +1,209 @@ + + + + + + + +FMI Ticket System: Class Members - Functions + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- a -

+ + +

- b -

+ + +

- c -

+ + +

- d -

+ + +

- e -

+ + +

- f -

+ + +

- g -

+ + +

- h -

+ + +

- i -

+ + +

- l -

+ + +

- m -

+ + +

- n -

    +
  • navigate() : Menu
  • +
+ + +

- o -

+ + +

- q -

+ + +

- r -

+ + +

- s -

+ + +

- t -

+ + +

- w -

+
+ + + + diff --git a/docs/html/functions_rela.html b/docs/html/functions_rela.html new file mode 100644 index 0000000..e1e48e7 --- /dev/null +++ b/docs/html/functions_rela.html @@ -0,0 +1,76 @@ + + + + + + + +FMI Ticket System: Class Members - Related Functions + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  +
+ + + + diff --git a/docs/html/globals.html b/docs/html/globals.html new file mode 100644 index 0000000..7f68fc2 --- /dev/null +++ b/docs/html/globals.html @@ -0,0 +1,145 @@ + + + + + + + +FMI Ticket System: File Members + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented file members with links to the documentation:
+ +

- _ -

+ + +

- c -

+ + +

- e -

+ + +

- i -

+ + +

- m -

+ + +

- o -

+ + +

- p -

+ + +

- r -

+ + +

- s -

+ + +

- t -

+ + +

- w -

+
+ + + + diff --git a/docs/html/globals_enum.html b/docs/html/globals_enum.html new file mode 100644 index 0000000..8f5e05c --- /dev/null +++ b/docs/html/globals_enum.html @@ -0,0 +1,75 @@ + + + + + + + +FMI Ticket System: File Members + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  +
+ + + + diff --git a/docs/html/globals_func.html b/docs/html/globals_func.html new file mode 100644 index 0000000..18c7680 --- /dev/null +++ b/docs/html/globals_func.html @@ -0,0 +1,144 @@ + + + + + + + +FMI Ticket System: File Members + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- _ -

+ + +

- c -

+ + +

- e -

+ + +

- i -

+ + +

- m -

+ + +

- o -

+ + +

- p -

+ + +

- r -

+ + +

- s -

+ + +

- t -

+ + +

- w -

+
+ + + + diff --git a/docs/html/hierarchy.html b/docs/html/hierarchy.html new file mode 100644 index 0000000..9e156e5 --- /dev/null +++ b/docs/html/hierarchy.html @@ -0,0 +1,100 @@ + + + + + + + +FMI Ticket System: Class Hierarchy + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Class Hierarchy
+
+
+
This inheritance list is sorted roughly, but not completely, alphabetically:
+
[detail level 12]
+ + + + + + + + + + + + + + + + + + + + + +
 CCommandStores a 256 character name and a function pointer to be executed when calling run()
 CDateStores a day, month and year
 CEventStores an event's hall, name, date, bought tickets and reservations
 CEventServiceEach EventService stores all events and a pointer to HallService
 CHallEach hall contains a number, rows and seats per row
 CHallServiceEach HallService stores all halls
 ▼CList< T >Templated class that stores an array of elements in dynamic memory
 COrderedList< T >Inherits List, but contains it's elements in a sorted manner
 CList< Command >
 ▼CList< Event >
 COrderedList< Event >
 ▼CList< Hall >
 COrderedList< Hall >
 ▼CList< Reservation >
 COrderedList< Reservation >
 ▼CList< Ticket >
 COrderedList< Ticket >
 CMenuHandles navigation between multiple commands
 CReservationEach Reservations contains a ticket, a password and a note
 CString
 CTicketEach Ticket contains a row and a seat number
+
+
+ + + + diff --git a/docs/html/index.html b/docs/html/index.html new file mode 100644 index 0000000..249286d --- /dev/null +++ b/docs/html/index.html @@ -0,0 +1,120 @@ + + + + + + + +FMI Ticket System: FMI Tickets System + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
FMI Tickets System
+
+
+

Author
Kamen Mladenov; FMI Computer Science, Year 1, Group 6; Project 1, Topic 4
+
Date
12 May 2022
+ +
+
Source Code
+
https://github.com/Syndamia/FMI-OOP-P1_TicketSystem
+
+

+About

+

The "FMI Ticket System" is a small project, designed for managing the seats for different events. You can create or cancel an event in any available hall, reserve or straight out buy tickets for any given event and create some reports.

+

+Structure overview

+

The project is roughly divided into 4 main components: User Interface, Services, Models and Generic fig1.

    +
  • The User Interface is the messenger between a user and the underlying application. All input and output is handled here.
  • +
  • Services contain the business logic of the whole application. All requests to do anything like buying a ticket or creating an event must be sent to here.
  • +
  • Models are the general classes that are used in the previous two layers.
  • +
  • Generic is a place for all code that is can be used independently from the project. Stuff like Date, String or List.
  • +
+

This offers a fairly modular and flexible architecture, which should make big changes or additions to the code easier and more pain-free.

+

+Building the project

+

Instructions are all for gcc. All commands should be executed while in the src folder.

+

+Linux/BSD/MacOS

+
g++ *.cpp */*.cpp */*/*.cpp -o TicketSystem.out && ./TicketSystem.out
+

+Windows (PowerShell)

+
g++ (Get-ChildItem -Recurse *.cpp) -o TicketSystem.exe && ./TicketSystem.exe
+

+Acknowledgements

+
+
Wikipedia
+
Leap year calculation for Date
+ https://en.wikipedia.org/wiki/Leap_year#Gregorian_calendar
+
StackOverflow
+
Way to clear the console in Toolbox.hpp
+ https://stackoverflow.com/a/52895729/12036073
+
+

+Figures

+

Figure 1: Overview of the "FMI Ticket System" design

+
+ +
+
+
+ + + + diff --git a/docs/html/jquery.js b/docs/html/jquery.js new file mode 100644 index 0000000..c9ed3d9 --- /dev/null +++ b/docs/html/jquery.js @@ -0,0 +1,35 @@ +/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0a;a++)for(i in o[a])n=o[a][i],o[a].hasOwnProperty(i)&&void 0!==n&&(e[i]=t.isPlainObject(n)?t.isPlainObject(e[i])?t.widget.extend({},e[i],n):t.widget.extend({},n):n);return e},t.widget.bridge=function(e,i){var n=i.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,r=s.call(arguments,1),h=this;return a?this.length||"instance"!==o?this.each(function(){var i,s=t.data(this,n);return"instance"===o?(h=s,!1):s?t.isFunction(s[o])&&"_"!==o.charAt(0)?(i=s[o].apply(s,r),i!==s&&void 0!==i?(h=i&&i.jquery?h.pushStack(i.get()):i,!1):void 0):t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; "+"attempted to call method '"+o+"'")}):h=void 0:(r.length&&(o=t.widget.extend.apply(null,[o].concat(r))),this.each(function(){var e=t.data(this,n);e?(e.option(o||{}),e._init&&e._init()):t.data(this,n,new i(o,this))})),h}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,s,n;for(i in e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function i(i,o){var a,r;for(r=0;i.length>r;r++)a=n.classesElementLookup[i[r]]||t(),a=e.add?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.classesElementLookup[i[r]]=a,s.push(i[r]),o&&e.classes[i[r]]&&s.push(e.classes[i[r]])}var s=[],n=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return o.element.toggleClass(this._classes(o),s),this},_on:function(e,i,s){var n,o=this;"boolean"!=typeof e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,function(s,a){function r(){return e||o.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof a?o[a]:a).apply(o,arguments):void 0}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var h=s.match(/^([\w:-]*)\s*(.*)$/),l=h[1]+o.eventNamespace,c=h[2];c?n.on(l,c,r):i.on(l,r)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget,function(){function e(t,e,i){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?i/100:1)]}function i(e,i){return parseInt(t.css(e,i),10)||0}function s(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var n,o=Math.max,a=Math.abs,r=/left|center|right/,h=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,u=/%$/,d=t.fn.position;t.position={scrollbarWidth:function(){if(void 0!==n)return n;var e,i,s=t("
"),o=s.children()[0];return t("body").append(s),e=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,e===i&&(i=s[0].clientWidth),s.remove(),n=e-i},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.widthi?"left":e>0?"right":"center",vertical:0>r?"top":s>0?"bottom":"middle"};l>p&&p>a(e+i)&&(u.horizontal="center"),c>f&&f>a(s+r)&&(u.vertical="middle"),u.important=o(a(e),a(i))>o(a(s),a(r))?"horizontal":"vertical",n.using.call(this,t,u)}),h.offset(t.extend(D,{using:r}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,h=n-r,l=r+e.collisionWidth-a-n;e.collisionWidth>a?h>0&&0>=l?(i=t.left+h+e.collisionWidth-a-n,t.left+=h-i):t.left=l>0&&0>=h?n:h>l?n+a-e.collisionWidth:n:h>0?t.left+=h:l>0?t.left-=l:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,h=n-r,l=r+e.collisionHeight-a-n;e.collisionHeight>a?h>0&&0>=l?(i=t.top+h+e.collisionHeight-a-n,t.top+=h-i):t.top=l>0&&0>=h?n:h>l?n+a-e.collisionHeight:n:h>0?t.top+=h:l>0?t.top-=l:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollLeft,r=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=t.left-e.collisionPosition.marginLeft,c=l-h,u=l+e.collisionWidth-r-h,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-r-o,(0>i||a(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-h,(s>0||u>a(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,r=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=t.top-e.collisionPosition.marginTop,c=l-h,u=l+e.collisionHeight-r-h,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,m=-2*e.offset[1];0>c?(s=t.top+p+f+m+e.collisionHeight-r-o,(0>s||a(c)>s)&&(t.top+=p+f+m)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+m-h,(i>0||u>a(i))&&(t.top+=p+f+m))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position,t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,s){return!!t.data(e,s[3])}}),t.fn.extend({disableSelection:function(){var t="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}}),t.ui.focusable=function(i,s){var n,o,a,r,h,l=i.nodeName.toLowerCase();return"area"===l?(n=i.parentNode,o=n.name,i.href&&o&&"map"===n.nodeName.toLowerCase()?(a=t("img[usemap='#"+o+"']"),a.length>0&&a.is(":visible")):!1):(/^(input|select|textarea|button|object)$/.test(l)?(r=!i.disabled,r&&(h=t(i).closest("fieldset")[0],h&&(r=!h.disabled))):r="a"===l?i.href||s:s,r&&t(i).is(":visible")&&e(t(i)))},t.extend(t.expr[":"],{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}}),t.ui.focusable,t.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)},t.ui.formResetMixin={_formResetHandler:function(){var e=t(this);setTimeout(function(){var i=e.data("ui-form-reset-instances");t.each(i,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(t.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}},"1.7"===t.fn.jquery.substring(0,3)&&(t.each(["Width","Height"],function(e,i){function s(e,i,s,o){return t.each(n,function(){i-=parseFloat(t.css(e,"padding"+this))||0,s&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),o&&(i-=parseFloat(t.css(e,"margin"+this))||0)}),i}var n="Width"===i?["Left","Right"]:["Top","Bottom"],o=i.toLowerCase(),a={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+i]=function(e){return void 0===e?a["inner"+i].call(this):this.each(function(){t(this).css(o,s(this,e)+"px")})},t.fn["outer"+i]=function(e,n){return"number"!=typeof e?a["outer"+i].call(this,e):this.each(function(){t(this).css(o,s(this,e,!0,n)+"px")})}}),t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.ui.escapeSelector=function(){var t=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;return function(e){return e.replace(t,"\\$1")}}(),t.fn.labels=function(){var e,i,s,n,o;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(n=this.eq(0).parents("label"),s=this.attr("id"),s&&(e=this.eq(0).parents().last(),o=e.add(e.length?e.siblings():this.siblings()),i="label[for='"+t.ui.escapeSelector(s)+"']",n=n.add(o.find(i).addBack(i))),this.pushStack(n))},t.fn.scrollParent=function(e){var i=this.css("position"),s="absolute"===i,n=e?/(auto|scroll|hidden)/:/(auto|scroll)/,o=this.parents().filter(function(){var e=t(this);return s&&"static"===e.css("position")?!1:n.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==i&&o.length?o:t(this[0].ownerDocument||document)},t.extend(t.expr[":"],{tabbable:function(e){var i=t.attr(e,"tabindex"),s=null!=i;return(!s||i>=0)&&t.ui.focusable(e,s)}}),t.fn.extend({uniqueId:function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var n=!1;t(document).on("mouseup",function(){n=!1}),t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!n){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var i=this,s=1===e.which,o="string"==typeof this.options.cancel&&e.target.nodeName?t(e.target).closest(this.options.cancel).length:!1;return s&&!o&&this._mouseCapture(e)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(e)!==!1,!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return i._mouseMove(t)},this._mouseUpDelegate=function(t){return i._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),n=!0,!0)):!0}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,n=!1,e.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.ui.plugin={add:function(e,i,s){var n,o=t.ui[e].prototype;for(n in s)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([i,s[n]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;o.length>n;n++)t.options[o[n][0]]&&o[n][1].apply(t.element,i)}},t.widget("ui.resizable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",n=!1;return e[s]>0?!0:(e[s]=1,n=e[s]>0,e[s]=0,n)},_create:function(){var e,i=this.options,s=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("
").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),i.autoHide&&t(this.element).on("mouseenter",function(){i.disabled||(s._removeClass("ui-resizable-autohide"),s._handles.show())}).on("mouseleave",function(){i.disabled||s.resizing||(s._addClass("ui-resizable-autohide"),s._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;default:}},_setupHandles:function(){var e,i,s,n,o,a=this.options,r=this;if(this.handles=a.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=t(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),s=this.handles.split(","),this.handles={},i=0;s.length>i;i++)e=t.trim(s[i]),n="ui-resizable-"+e,o=t("
"),this._addClass(o,"ui-resizable-handle "+n),o.css({zIndex:a.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(o);this._renderAxis=function(e){var i,s,n,o;e=e||this.element;for(i in this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=t(this.handles[i]),this._on(this.handles[i],{mousedown:r._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(s=t(this.handles[i],this.element),o=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(n,o),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){r.resizing||(this.className&&(o=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),r.axis=o&&o[1]?o[1]:"se")}),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var i,s,n=!1;for(i in this.handles)s=t(this.handles[i])[0],(s===e.target||t.contains(s,e.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(e){var i,s,n,o=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),s=this._num(this.helper.css("top")),o.containment&&(i+=t(o.containment).scrollLeft()||0,s+=t(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:s},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:i,top:s},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof o.aspectRatio?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===n?this.axis+"-resize":n),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var i,s,n=this.originalMousePosition,o=this.axis,a=e.pageX-n.left||0,r=e.pageY-n.top||0,h=this._change[o];return this._updatePrevProperties(),h?(i=h.apply(this,[e,a,r]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),s=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(s)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1):!1},_mouseStop:function(e){this.resizing=!1;var i,s,n,o,a,r,h,l=this.options,c=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&this._hasScroll(i[0],"left")?0:c.sizeDiff.height,o=s?0:c.sizeDiff.width,a={width:c.helper.width()-o,height:c.helper.height()-n},r=parseFloat(c.element.css("left"))+(c.position.left-c.originalPosition.left)||null,h=parseFloat(c.element.css("top"))+(c.position.top-c.originalPosition.top)||null,l.animate||this.element.css(t.extend(a,{top:h,left:r})),c.helper.height(c.size.height),c.helper.width(c.size.width),this._helper&&!l.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s,n,o,a=this.options;o={minWidth:this._isNumber(a.minWidth)?a.minWidth:0,maxWidth:this._isNumber(a.maxWidth)?a.maxWidth:1/0,minHeight:this._isNumber(a.minHeight)?a.minHeight:0,maxHeight:this._isNumber(a.maxHeight)?a.maxHeight:1/0},(this._aspectRatio||t)&&(e=o.minHeight*this.aspectRatio,s=o.minWidth/this.aspectRatio,i=o.maxHeight*this.aspectRatio,n=o.maxWidth/this.aspectRatio,e>o.minWidth&&(o.minWidth=e),s>o.minHeight&&(o.minHeight=s),o.maxWidth>i&&(o.maxWidth=i),o.maxHeight>n&&(o.maxHeight=n)),this._vBoundaries=o},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,s=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===s&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===s&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,s=this._isNumber(t.width)&&e.maxWidth&&e.maxWidtht.width,a=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,r=this.originalPosition.left+this.originalSize.width,h=this.originalPosition.top+this.originalSize.height,l=/sw|nw|w/.test(i),c=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),a&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&l&&(t.left=r-e.minWidth),s&&l&&(t.left=r-e.maxWidth),a&&c&&(t.top=h-e.minHeight),n&&c&&(t.top=h-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];4>e;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;this._proportionallyResizeElements.length>e;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("
"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element +},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize,s=this.originalPosition;return{left:s.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},sw:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,s]))},ne:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},nw:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,s]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).resizable("instance"),s=i.options,n=i._proportionallyResizeElements,o=n.length&&/textarea/i.test(n[0].nodeName),a=o&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,r=o?0:i.sizeDiff.width,h={width:i.size.width-r,height:i.size.height-a},l=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,c=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(h,c&&l?{top:c,left:l}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};n&&n.length&&t(n[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,i,s,n,o,a,r,h=t(this).resizable("instance"),l=h.options,c=h.element,u=l.containment,d=u instanceof t?u.get(0):/parent/.test(u)?c.parent().get(0):u;d&&(h.containerElement=t(d),/document/.test(u)||u===document?(h.containerOffset={left:0,top:0},h.containerPosition={left:0,top:0},h.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(d),i=[],t(["Top","Right","Left","Bottom"]).each(function(t,s){i[t]=h._num(e.css("padding"+s))}),h.containerOffset=e.offset(),h.containerPosition=e.position(),h.containerSize={height:e.innerHeight()-i[3],width:e.innerWidth()-i[1]},s=h.containerOffset,n=h.containerSize.height,o=h.containerSize.width,a=h._hasScroll(d,"left")?d.scrollWidth:o,r=h._hasScroll(d)?d.scrollHeight:n,h.parentData={element:d,left:s.left,top:s.top,width:a,height:r}))},resize:function(e){var i,s,n,o,a=t(this).resizable("instance"),r=a.options,h=a.containerOffset,l=a.position,c=a._aspectRatio||e.shiftKey,u={top:0,left:0},d=a.containerElement,p=!0;d[0]!==document&&/static/.test(d.css("position"))&&(u=h),l.left<(a._helper?h.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-h.left:a.position.left-u.left),c&&(a.size.height=a.size.width/a.aspectRatio,p=!1),a.position.left=r.helper?h.left:0),l.top<(a._helper?h.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-h.top:a.position.top),c&&(a.size.width=a.size.height*a.aspectRatio,p=!1),a.position.top=a._helper?h.top:0),n=a.containerElement.get(0)===a.element.parent().get(0),o=/relative|absolute/.test(a.containerElement.css("position")),n&&o?(a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top):(a.offset.left=a.element.offset().left,a.offset.top=a.element.offset().top),i=Math.abs(a.sizeDiff.width+(a._helper?a.offset.left-u.left:a.offset.left-h.left)),s=Math.abs(a.sizeDiff.height+(a._helper?a.offset.top-u.top:a.offset.top-h.top)),i+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-i,c&&(a.size.height=a.size.width/a.aspectRatio,p=!1)),s+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-s,c&&(a.size.width=a.size.height*a.aspectRatio,p=!1)),p||(a.position.left=a.prevPosition.left,a.position.top=a.prevPosition.top,a.size.width=a.prevSize.width,a.size.height=a.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.containerPosition,o=e.containerElement,a=t(e.helper),r=a.offset(),h=a.outerWidth()-e.sizeDiff.width,l=a.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l}),e._helper&&!i.animate&&/static/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance"),i=e.options;t(i.alsoResize).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,i){var s=t(this).resizable("instance"),n=s.options,o=s.originalSize,a=s.originalPosition,r={height:s.size.height-o.height||0,width:s.size.width-o.width||0,top:s.position.top-a.top||0,left:s.position.left-a.left||0};t(n.alsoResize).each(function(){var e=t(this),s=t(this).data("ui-resizable-alsoresize"),n={},o=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(o,function(t,e){var i=(s[e]||0)+(r[e]||0);i&&i>=0&&(n[e]=i||null)}),e.css(n)})},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),t.uiBackCompat!==!1&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,i=t(this).resizable("instance"),s=i.options,n=i.size,o=i.originalSize,a=i.originalPosition,r=i.axis,h="number"==typeof s.grid?[s.grid,s.grid]:s.grid,l=h[0]||1,c=h[1]||1,u=Math.round((n.width-o.width)/l)*l,d=Math.round((n.height-o.height)/c)*c,p=o.width+u,f=o.height+d,m=s.maxWidth&&p>s.maxWidth,g=s.maxHeight&&f>s.maxHeight,_=s.minWidth&&s.minWidth>p,v=s.minHeight&&s.minHeight>f;s.grid=h,_&&(p+=l),v&&(f+=c),m&&(p-=l),g&&(f-=c),/^(se|s|e)$/.test(r)?(i.size.width=p,i.size.height=f):/^(ne)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.top=a.top-d):/^(sw)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.left=a.left-u):((0>=f-c||0>=p-l)&&(e=i._getPaddingPlusBorderDimensions(this)),f-c>0?(i.size.height=f,i.position.top=a.top-d):(f=c-e.height,i.size.height=f,i.position.top=a.top+o.height-f),p-l>0?(i.size.width=p,i.position.left=a.left-u):(p=l-e.width,i.size.width=p,i.position.left=a.left+o.width-p))}}),t.ui.resizable});/** + * Copyright (c) 2007 Ariel Flesler - aflesler ○ gmail • com | https://github.com/flesler + * Licensed under MIT + * @author Ariel Flesler + * @version 2.1.2 + */ +;(function(f){"use strict";"function"===typeof define&&define.amd?define(["jquery"],f):"undefined"!==typeof module&&module.exports?module.exports=f(require("jquery")):f(jQuery)})(function($){"use strict";function n(a){return!a.nodeName||-1!==$.inArray(a.nodeName.toLowerCase(),["iframe","#document","html","body"])}function h(a){return $.isFunction(a)||$.isPlainObject(a)?a:{top:a,left:a}}var p=$.scrollTo=function(a,d,b){return $(window).scrollTo(a,d,b)};p.defaults={axis:"xy",duration:0,limit:!0};$.fn.scrollTo=function(a,d,b){"object"=== typeof d&&(b=d,d=0);"function"===typeof b&&(b={onAfter:b});"max"===a&&(a=9E9);b=$.extend({},p.defaults,b);d=d||b.duration;var u=b.queue&&1=f[g]?0:Math.min(f[g],n));!a&&1-1){targetElements.on(evt+EVENT_NAMESPACE,function elementToggle(event){$.powerTip.toggle(this,event)})}else{targetElements.on(evt+EVENT_NAMESPACE,function elementOpen(event){$.powerTip.show(this,event)})}});$.each(options.closeEvents,function(idx,evt){if($.inArray(evt,options.openEvents)<0){targetElements.on(evt+EVENT_NAMESPACE,function elementClose(event){$.powerTip.hide(this,!isMouseEvent(event))})}});targetElements.on("keydown"+EVENT_NAMESPACE,function elementKeyDown(event){if(event.keyCode===27){$.powerTip.hide(this,true)}})}return targetElements};$.fn.powerTip.defaults={fadeInTime:200,fadeOutTime:100,followMouse:false,popupId:"powerTip",popupClass:null,intentSensitivity:7,intentPollInterval:100,closeDelay:100,placement:"n",smartPlacement:false,offset:10,mouseOnToPopup:false,manual:false,openEvents:["mouseenter","focus"],closeEvents:["mouseleave","blur"]};$.fn.powerTip.smartPlacementLists={n:["n","ne","nw","s"],e:["e","ne","se","w","nw","sw","n","s","e"],s:["s","se","sw","n"],w:["w","nw","sw","e","ne","se","n","s","w"],nw:["nw","w","sw","n","s","se","nw"],ne:["ne","e","se","n","s","sw","ne"],sw:["sw","w","nw","s","n","ne","sw"],se:["se","e","ne","s","n","nw","se"],"nw-alt":["nw-alt","n","ne-alt","sw-alt","s","se-alt","w","e"],"ne-alt":["ne-alt","n","nw-alt","se-alt","s","sw-alt","e","w"],"sw-alt":["sw-alt","s","se-alt","nw-alt","n","ne-alt","w","e"],"se-alt":["se-alt","s","sw-alt","ne-alt","n","nw-alt","e","w"]};$.powerTip={show:function apiShowTip(element,event){if(isMouseEvent(event)){trackMouse(event);session.previousX=event.pageX;session.previousY=event.pageY;$(element).data(DATA_DISPLAYCONTROLLER).show()}else{$(element).first().data(DATA_DISPLAYCONTROLLER).show(true,true)}return element},reposition:function apiResetPosition(element){$(element).first().data(DATA_DISPLAYCONTROLLER).resetPosition();return element},hide:function apiCloseTip(element,immediate){var displayController;immediate=element?immediate:true;if(element){displayController=$(element).first().data(DATA_DISPLAYCONTROLLER)}else if(session.activeHover){displayController=session.activeHover.data(DATA_DISPLAYCONTROLLER)}if(displayController){displayController.hide(immediate)}return element},toggle:function apiToggle(element,event){if(session.activeHover&&session.activeHover.is(element)){$.powerTip.hide(element,!isMouseEvent(event))}else{$.powerTip.show(element,event)}return element}};$.powerTip.showTip=$.powerTip.show;$.powerTip.closeTip=$.powerTip.hide;function CSSCoordinates(){var me=this;me.top="auto";me.left="auto";me.right="auto";me.bottom="auto";me.set=function(property,value){if($.isNumeric(value)){me[property]=Math.round(value)}}}function DisplayController(element,options,tipController){var hoverTimer=null,myCloseDelay=null;function openTooltip(immediate,forceOpen){cancelTimer();if(!element.data(DATA_HASACTIVEHOVER)){if(!immediate){session.tipOpenImminent=true;hoverTimer=setTimeout(function intentDelay(){hoverTimer=null;checkForIntent()},options.intentPollInterval)}else{if(forceOpen){element.data(DATA_FORCEDOPEN,true)}closeAnyDelayed();tipController.showTip(element)}}else{cancelClose()}}function closeTooltip(disableDelay){if(myCloseDelay){myCloseDelay=session.closeDelayTimeout=clearTimeout(myCloseDelay);session.delayInProgress=false}cancelTimer();session.tipOpenImminent=false;if(element.data(DATA_HASACTIVEHOVER)){element.data(DATA_FORCEDOPEN,false);if(!disableDelay){session.delayInProgress=true;session.closeDelayTimeout=setTimeout(function closeDelay(){session.closeDelayTimeout=null;tipController.hideTip(element);session.delayInProgress=false;myCloseDelay=null},options.closeDelay);myCloseDelay=session.closeDelayTimeout}else{tipController.hideTip(element)}}}function checkForIntent(){var xDifference=Math.abs(session.previousX-session.currentX),yDifference=Math.abs(session.previousY-session.currentY),totalDifference=xDifference+yDifference;if(totalDifference",{id:options.popupId});if($body.length===0){$body=$("body")}$body.append(tipElement);session.tooltips=session.tooltips?session.tooltips.add(tipElement):tipElement}if(options.followMouse){if(!tipElement.data(DATA_HASMOUSEMOVE)){$document.on("mousemove"+EVENT_NAMESPACE,positionTipOnCursor);$window.on("scroll"+EVENT_NAMESPACE,positionTipOnCursor);tipElement.data(DATA_HASMOUSEMOVE,true)}}function beginShowTip(element){element.data(DATA_HASACTIVEHOVER,true);tipElement.queue(function queueTipInit(next){showTip(element);next()})}function showTip(element){var tipContent;if(!element.data(DATA_HASACTIVEHOVER)){return}if(session.isTipOpen){if(!session.isClosing){hideTip(session.activeHover)}tipElement.delay(100).queue(function queueTipAgain(next){showTip(element);next()});return}element.trigger("powerTipPreRender");tipContent=getTooltipContent(element);if(tipContent){tipElement.empty().append(tipContent)}else{return}element.trigger("powerTipRender");session.activeHover=element;session.isTipOpen=true;tipElement.data(DATA_MOUSEONTOTIP,options.mouseOnToPopup);tipElement.addClass(options.popupClass);if(!options.followMouse||element.data(DATA_FORCEDOPEN)){positionTipOnElement(element);session.isFixedTipOpen=true}else{positionTipOnCursor()}if(!element.data(DATA_FORCEDOPEN)&&!options.followMouse){$document.on("click"+EVENT_NAMESPACE,function documentClick(event){var target=event.target;if(target!==element[0]){if(options.mouseOnToPopup){if(target!==tipElement[0]&&!$.contains(tipElement[0],target)){$.powerTip.hide()}}else{$.powerTip.hide()}}})}if(options.mouseOnToPopup&&!options.manual){tipElement.on("mouseenter"+EVENT_NAMESPACE,function tipMouseEnter(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).cancel()}});tipElement.on("mouseleave"+EVENT_NAMESPACE,function tipMouseLeave(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).hide()}})}tipElement.fadeIn(options.fadeInTime,function fadeInCallback(){if(!session.desyncTimeout){session.desyncTimeout=setInterval(closeDesyncedTip,500)}element.trigger("powerTipOpen")})}function hideTip(element){session.isClosing=true;session.isTipOpen=false;session.desyncTimeout=clearInterval(session.desyncTimeout);element.data(DATA_HASACTIVEHOVER,false);element.data(DATA_FORCEDOPEN,false);$document.off("click"+EVENT_NAMESPACE);tipElement.off(EVENT_NAMESPACE);tipElement.fadeOut(options.fadeOutTime,function fadeOutCallback(){var coords=new CSSCoordinates;session.activeHover=null;session.isClosing=false;session.isFixedTipOpen=false;tipElement.removeClass();coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);tipElement.css(coords);element.trigger("powerTipClose")})}function positionTipOnCursor(){var tipWidth,tipHeight,coords,collisions,collisionCount;if(!session.isFixedTipOpen&&(session.isTipOpen||session.tipOpenImminent&&tipElement.data(DATA_HASMOUSEMOVE))){tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=new CSSCoordinates;coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);collisions=getViewportCollisions(coords,tipWidth,tipHeight);if(collisions!==Collision.none){collisionCount=countFlags(collisions);if(collisionCount===1){if(collisions===Collision.right){coords.set("left",session.scrollLeft+session.windowWidth-tipWidth)}else if(collisions===Collision.bottom){coords.set("top",session.scrollTop+session.windowHeight-tipHeight)}}else{coords.set("left",session.currentX-tipWidth-options.offset);coords.set("top",session.currentY-tipHeight-options.offset)}}tipElement.css(coords)}}function positionTipOnElement(element){var priorityList,finalPlacement;if(options.smartPlacement||options.followMouse&&element.data(DATA_FORCEDOPEN)){priorityList=$.fn.powerTip.smartPlacementLists[options.placement];$.each(priorityList,function(idx,pos){var collisions=getViewportCollisions(placeTooltip(element,pos),tipElement.outerWidth(),tipElement.outerHeight());finalPlacement=pos;return collisions!==Collision.none})}else{placeTooltip(element,options.placement);finalPlacement=options.placement}tipElement.removeClass("w nw sw e ne se n s w se-alt sw-alt ne-alt nw-alt");tipElement.addClass(finalPlacement)}function placeTooltip(element,placement){var iterationCount=0,tipWidth,tipHeight,coords=new CSSCoordinates;coords.set("top",0);coords.set("left",0);tipElement.css(coords);do{tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=placementCalculator.compute(element,placement,tipWidth,tipHeight,options.offset);tipElement.css(coords)}while(++iterationCount<=5&&(tipWidth!==tipElement.outerWidth()||tipHeight!==tipElement.outerHeight()));return coords}function closeDesyncedTip(){var isDesynced=false,hasDesyncableCloseEvent=$.grep(["mouseleave","mouseout","blur","focusout"],function(eventType){return $.inArray(eventType,options.closeEvents)!==-1}).length>0;if(session.isTipOpen&&!session.isClosing&&!session.delayInProgress&&hasDesyncableCloseEvent){if(session.activeHover.data(DATA_HASACTIVEHOVER)===false||session.activeHover.is(":disabled")){isDesynced=true}else if(!isMouseOver(session.activeHover)&&!session.activeHover.is(":focus")&&!session.activeHover.data(DATA_FORCEDOPEN)){if(tipElement.data(DATA_MOUSEONTOTIP)){if(!isMouseOver(tipElement)){isDesynced=true}}else{isDesynced=true}}if(isDesynced){hideTip(session.activeHover)}}}this.showTip=beginShowTip;this.hideTip=hideTip;this.resetPosition=positionTipOnElement}function isSvgElement(element){return Boolean(window.SVGElement&&element[0]instanceof SVGElement)}function isMouseEvent(event){return Boolean(event&&$.inArray(event.type,MOUSE_EVENTS)>-1&&typeof event.pageX==="number")}function initTracking(){if(!session.mouseTrackingActive){session.mouseTrackingActive=true;getViewportDimensions();$(getViewportDimensions);$document.on("mousemove"+EVENT_NAMESPACE,trackMouse);$window.on("resize"+EVENT_NAMESPACE,trackResize);$window.on("scroll"+EVENT_NAMESPACE,trackScroll)}}function getViewportDimensions(){session.scrollLeft=$window.scrollLeft();session.scrollTop=$window.scrollTop();session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackResize(){session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackScroll(){var x=$window.scrollLeft(),y=$window.scrollTop();if(x!==session.scrollLeft){session.currentX+=x-session.scrollLeft;session.scrollLeft=x}if(y!==session.scrollTop){session.currentY+=y-session.scrollTop;session.scrollTop=y}}function trackMouse(event){session.currentX=event.pageX;session.currentY=event.pageY}function isMouseOver(element){var elementPosition=element.offset(),elementBox=element[0].getBoundingClientRect(),elementWidth=elementBox.right-elementBox.left,elementHeight=elementBox.bottom-elementBox.top;return session.currentX>=elementPosition.left&&session.currentX<=elementPosition.left+elementWidth&&session.currentY>=elementPosition.top&&session.currentY<=elementPosition.top+elementHeight}function getTooltipContent(element){var tipText=element.data(DATA_POWERTIP),tipObject=element.data(DATA_POWERTIPJQ),tipTarget=element.data(DATA_POWERTIPTARGET),targetElement,content;if(tipText){if($.isFunction(tipText)){tipText=tipText.call(element[0])}content=tipText}else if(tipObject){if($.isFunction(tipObject)){tipObject=tipObject.call(element[0])}if(tipObject.length>0){content=tipObject.clone(true,true)}}else if(tipTarget){targetElement=$("#"+tipTarget);if(targetElement.length>0){content=targetElement.html()}}return content}function getViewportCollisions(coords,elementWidth,elementHeight){var viewportTop=session.scrollTop,viewportLeft=session.scrollLeft,viewportBottom=viewportTop+session.windowHeight,viewportRight=viewportLeft+session.windowWidth,collisions=Collision.none;if(coords.topviewportBottom||Math.abs(coords.bottom-session.windowHeight)>viewportBottom){collisions|=Collision.bottom}if(coords.leftviewportRight){collisions|=Collision.left}if(coords.left+elementWidth>viewportRight||coords.right1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var e,b=a.ui.mouse.prototype,c=b._mouseInit,d=b._mouseDestroy;b._touchStart=function(a){var b=this;!e&&b._mouseCapture(a.originalEvent.changedTouches[0])&&(e=!0,b._touchMoved=!1,f(a,"mouseover"),f(a,"mousemove"),f(a,"mousedown"))},b._touchMove=function(a){e&&(this._touchMoved=!0,f(a,"mousemove"))},b._touchEnd=function(a){e&&(f(a,"mouseup"),f(a,"mouseout"),this._touchMoved||f(a,"click"),e=!1)},b._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),c.call(b)},b._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),d.call(b)}}}(jQuery);/*! SmartMenus jQuery Plugin - v1.1.0 - September 17, 2017 + * http://www.smartmenus.org/ + * Copyright Vasil Dinkov, Vadikom Web Ltd. http://vadikom.com; Licensed MIT */(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("jquery")):t(jQuery)})(function($){function initMouseDetection(t){var e=".smartmenus_mouse";if(mouseDetectionEnabled||t)mouseDetectionEnabled&&t&&($(document).off(e),mouseDetectionEnabled=!1);else{var i=!0,s=null,o={mousemove:function(t){var e={x:t.pageX,y:t.pageY,timeStamp:(new Date).getTime()};if(s){var o=Math.abs(s.x-e.x),a=Math.abs(s.y-e.y);if((o>0||a>0)&&2>=o&&2>=a&&300>=e.timeStamp-s.timeStamp&&(mouse=!0,i)){var n=$(t.target).closest("a");n.is("a")&&$.each(menuTrees,function(){return $.contains(this.$root[0],n[0])?(this.itemEnter({currentTarget:n[0]}),!1):void 0}),i=!1}}s=e}};o[touchEvents?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut"]=function(t){isTouchEvent(t.originalEvent)&&(mouse=!1)},$(document).on(getEventsNS(o,e)),mouseDetectionEnabled=!0}}function isTouchEvent(t){return!/^(4|mouse)$/.test(t.pointerType)}function getEventsNS(t,e){e||(e="");var i={};for(var s in t)i[s.split(" ").join(e+" ")+e]=t[s];return i}var menuTrees=[],mouse=!1,touchEvents="ontouchstart"in window,mouseDetectionEnabled=!1,requestAnimationFrame=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},cancelAnimationFrame=window.cancelAnimationFrame||function(t){clearTimeout(t)},canAnimate=!!$.fn.animate;return $.SmartMenus=function(t,e){this.$root=$(t),this.opts=e,this.rootId="",this.accessIdPrefix="",this.$subArrow=null,this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.idInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.$touchScrollingSub=null,this.cssTransforms3d="perspective"in t.style||"webkitPerspective"in t.style,this.wasCollapsible=!1,this.init()},$.extend($.SmartMenus,{hideAll:function(){$.each(menuTrees,function(){this.menuHideAll()})},destroy:function(){for(;menuTrees.length;)menuTrees[0].destroy();initMouseDetection(!0)},prototype:{init:function(t){var e=this;if(!t){menuTrees.push(this),this.rootId=((new Date).getTime()+Math.random()+"").replace(/\D/g,""),this.accessIdPrefix="sm-"+this.rootId+"-",this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0);var i=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).on(getEventsNS({"mouseover focusin":$.proxy(this.rootOver,this),"mouseout focusout":$.proxy(this.rootOut,this),keydown:$.proxy(this.rootKeyDown,this)},i)).on(getEventsNS({mouseenter:$.proxy(this.itemEnter,this),mouseleave:$.proxy(this.itemLeave,this),mousedown:$.proxy(this.itemDown,this),focus:$.proxy(this.itemFocus,this),blur:$.proxy(this.itemBlur,this),click:$.proxy(this.itemClick,this)},i),"a"),i+=this.rootId,this.opts.hideOnClick&&$(document).on(getEventsNS({touchstart:$.proxy(this.docTouchStart,this),touchmove:$.proxy(this.docTouchMove,this),touchend:$.proxy(this.docTouchEnd,this),click:$.proxy(this.docClick,this)},i)),$(window).on(getEventsNS({"resize orientationchange":$.proxy(this.winResize,this)},i)),this.opts.subIndicators&&(this.$subArrow=$("").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),initMouseDetection()}if(this.$firstSub=this.$root.find("ul").each(function(){e.menuInit($(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var s=/(index|default)\.[^#\?\/]*/i,o=/#.*/,a=window.location.href.replace(s,""),n=a.replace(o,"");this.$root.find("a").each(function(){var t=this.href.replace(s,""),i=$(this);(t==a||t==n)&&(i.addClass("current"),e.opts.markCurrentTree&&i.parentsUntil("[data-smartmenus-id]","ul").each(function(){$(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(t){if(!t){var e=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").off(e),e+=this.rootId,$(document).off(e),$(window).off(e),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var i=this;this.$root.find("ul").each(function(){var t=$(this);t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.dataSM("shown-before")&&((i.opts.subMenusMinWidth||i.opts.subMenusMaxWidth)&&t.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(t.attr("id")||"").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded"),this.$root.find("a.has-submenu").each(function(){var t=$(this);0==t.attr("id").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),t||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),menuTrees.splice($.inArray(this,menuTrees),1))},disable:function(t){if(!this.disabled){if(this.menuHideAll(),!t&&!this.opts.isPopup&&this.$root.is(":visible")){var e=this.$root.offset();this.$disableOverlay=$('
').css({position:"absolute",top:e.top,left:e.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(t){return this.$touchScrollingSub?(this.$touchScrollingSub=null,void 0):((this.visibleSubMenus.length&&!$.contains(this.$root[0],t.target)||$(t.target).closest("a").length)&&this.menuHideAll(),void 0)},docTouchEnd:function(){if(this.lastTouch){if(!(!this.visibleSubMenus.length||void 0!==this.lastTouch.x2&&this.lastTouch.x1!=this.lastTouch.x2||void 0!==this.lastTouch.y2&&this.lastTouch.y1!=this.lastTouch.y2||this.lastTouch.target&&$.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var t=this;this.hideTimeout=setTimeout(function(){t.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(t){if(this.lastTouch){var e=t.originalEvent.touches[0];this.lastTouch.x2=e.pageX,this.lastTouch.y2=e.pageY}},docTouchStart:function(t){var e=t.originalEvent.touches[0];this.lastTouch={x1:e.pageX,y1:e.pageY,target:e.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(t){for(var e=$(t).closest("ul");e.dataSM("in-mega");)e=e.parent().closest("ul");return e[0]||null},getHeight:function(t){return this.getOffset(t,!0)},getOffset:function(t,e){var i;"none"==t.css("display")&&(i={position:t[0].style.position,visibility:t[0].style.visibility},t.css({position:"absolute",visibility:"hidden"}).show());var s=t[0].getBoundingClientRect&&t[0].getBoundingClientRect(),o=s&&(e?s.height||s.bottom-s.top:s.width||s.right-s.left);return o||0===o||(o=e?t[0].offsetHeight:t[0].offsetWidth),i&&t.hide().css(i),o},getStartZIndex:function(t){var e=parseInt(this[t?"$root":"$firstSub"].css("z-index"));return!t&&isNaN(e)&&(e=parseInt(this.$root.css("z-index"))),isNaN(e)?1:e},getTouchPoint:function(t){return t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0]||t},getViewport:function(t){var e=t?"Height":"Width",i=document.documentElement["client"+e],s=window["inner"+e];return s&&(i=Math.min(i,s)),i},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){return this.getViewport()},getWidth:function(t){return this.getOffset(t)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(t){return this.handleEvents()&&!this.isLinkInMegaMenu(t)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"inline"!=this.$firstLink.css("display")},isFixed:function(){var t="fixed"==this.$root.css("position");return t||this.$root.parentsUntil("body").each(function(){return"fixed"==$(this).css("position")?(t=!0,!1):void 0}),t},isLinkInMegaMenu:function(t){return $(this.getClosestMenu(t[0])).hasClass("mega-menu")},isTouchMode:function(){return!mouse||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(t,e){var i=t.closest("ul"),s=i.dataSM("level");if(s>1&&(!this.activatedItems[s-2]||this.activatedItems[s-2][0]!=i.dataSM("parent-a")[0])){var o=this;$(i.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(i).each(function(){o.itemActivate($(this).dataSM("parent-a"))})}if((!this.isCollapsible()||e)&&this.menuHideSubMenus(this.activatedItems[s-1]&&this.activatedItems[s-1][0]==t[0]?s:s-1),this.activatedItems[s-1]=t,this.$root.triggerHandler("activate.smapi",t[0])!==!1){var a=t.dataSM("sub");a&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(a)}},itemBlur:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&this.$root.triggerHandler("blur.smapi",e[0])},itemClick:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==e.closest("ul")[0])return this.$touchScrollingSub=null,t.stopPropagation(),!1;if(this.$root.triggerHandler("click.smapi",e[0])===!1)return!1;var i=$(t.target).is(".sub-arrow"),s=e.dataSM("sub"),o=s?2==s.dataSM("level"):!1,a=this.isCollapsible(),n=/toggle$/.test(this.opts.collapsibleBehavior),r=/link$/.test(this.opts.collapsibleBehavior),h=/^accordion/.test(this.opts.collapsibleBehavior);if(s&&!s.is(":visible")){if((!r||!a||i)&&(this.opts.showOnClick&&o&&(this.clickActivated=!0),this.itemActivate(e,h),s.is(":visible")))return this.focusActivated=!0,!1}else if(a&&(n||i))return this.itemActivate(e,h),this.menuHide(s),n&&(this.focusActivated=!1),!1;return this.opts.showOnClick&&o||e.hasClass("disabled")||this.$root.triggerHandler("select.smapi",e[0])===!1?!1:void 0}},itemDown:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&e.dataSM("mousedown",!0)},itemEnter:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var i=this;this.showTimeout=setTimeout(function(){i.itemActivate(e)},this.opts.showOnClick&&1==e.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",e[0])}},itemFocus:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(!this.focusActivated||this.isTouchMode()&&e.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==e[0]||this.itemActivate(e,!0),this.$root.triggerHandler("focus.smapi",e[0]))},itemLeave:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(this.isTouchMode()||(e[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),e.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",e[0]))},menuHide:function(t){if(this.$root.triggerHandler("beforehide.smapi",t[0])!==!1&&(canAnimate&&t.stop(!0,!0),"none"!=t.css("display"))){var e=function(){t.css("z-index","")};this.isCollapsible()?canAnimate&&this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,t,e):t.hide(this.opts.collapsibleHideDuration,e):canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,t,e):t.hide(this.opts.hideDuration,e),t.dataSM("scroll")&&(this.menuScrollStop(t),t.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).off(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),t.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false"),t.attr({"aria-expanded":"false","aria-hidden":"true"});var i=t.dataSM("level");this.activatedItems.splice(i-1,1),this.visibleSubMenus.splice($.inArray(t,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",t[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var t=this.opts.isPopup?1:0,e=this.visibleSubMenus.length-1;e>=t;e--)this.menuHide(this.visibleSubMenus[e]);this.opts.isPopup&&(canAnimate&&this.$root.stop(!0,!0),this.$root.is(":visible")&&(canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration))),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(t){for(var e=this.activatedItems.length-1;e>=t;e--){var i=this.activatedItems[e].dataSM("sub");i&&this.menuHide(i)}},menuInit:function(t){if(!t.dataSM("in-mega")){t.hasClass("mega-menu")&&t.find("ul").dataSM("in-mega",!0);for(var e=2,i=t[0];(i=i.parentNode.parentNode)!=this.$root[0];)e++;var s=t.prevAll("a").eq(-1);s.length||(s=t.prevAll().find("a").eq(-1)),s.addClass("has-submenu").dataSM("sub",t),t.dataSM("parent-a",s).dataSM("level",e).parent().dataSM("sub",t);var o=s.attr("id")||this.accessIdPrefix+ ++this.idInc,a=t.attr("id")||this.accessIdPrefix+ ++this.idInc;s.attr({id:o,"aria-haspopup":"true","aria-controls":a,"aria-expanded":"false"}),t.attr({id:a,role:"group","aria-hidden":"true","aria-labelledby":o,"aria-expanded":"false"}),this.opts.subIndicators&&s[this.opts.subIndicatorsPos](this.$subArrow.clone())}},menuPosition:function(t){var e,i,s=t.dataSM("parent-a"),o=s.closest("li"),a=o.parent(),n=t.dataSM("level"),r=this.getWidth(t),h=this.getHeight(t),u=s.offset(),l=u.left,c=u.top,d=this.getWidth(s),m=this.getHeight(s),p=$(window),f=p.scrollLeft(),v=p.scrollTop(),b=this.getViewportWidth(),S=this.getViewportHeight(),g=a.parent().is("[data-sm-horizontal-sub]")||2==n&&!a.hasClass("sm-vertical"),M=this.opts.rightToLeftSubMenus&&!o.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&o.is("[data-sm-reverse]"),w=2==n?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,T=2==n?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY;if(g?(e=M?d-r-w:w,i=this.opts.bottomToTopSubMenus?-h-T:m+T):(e=M?w-r:d-w,i=this.opts.bottomToTopSubMenus?m-T-h:T),this.opts.keepInViewport){var y=l+e,I=c+i;if(M&&f>y?e=g?f-y+e:d-w:!M&&y+r>f+b&&(e=g?f+b-r-y+e:w-r),g||(S>h&&I+h>v+S?i+=v+S-h-I:(h>=S||v>I)&&(i+=v-I)),g&&(I+h>v+S+.49||v>I)||!g&&h>S+.49){var x=this;t.dataSM("scroll-arrows")||t.dataSM("scroll-arrows",$([$('')[0],$('')[0]]).on({mouseenter:function(){t.dataSM("scroll").up=$(this).hasClass("scroll-up"),x.menuScroll(t)},mouseleave:function(e){x.menuScrollStop(t),x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(t){t.preventDefault()}}).insertAfter(t));var A=".smartmenus_scroll";if(t.dataSM("scroll",{y:this.cssTransforms3d?0:i-m,step:1,itemH:m,subH:h,arrowDownH:this.getHeight(t.dataSM("scroll-arrows").eq(1))}).on(getEventsNS({mouseover:function(e){x.menuScrollOver(t,e)},mouseout:function(e){x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(e){x.menuScrollMousewheel(t,e)}},A)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:e+(parseInt(t.css("border-left-width"))||0),width:r-(parseInt(t.css("border-left-width"))||0)-(parseInt(t.css("border-right-width"))||0),zIndex:t.css("z-index")}).eq(g&&this.opts.bottomToTopSubMenus?0:1).show(),this.isFixed()){var C={};C[touchEvents?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp"]=function(e){x.menuScrollTouch(t,e)},t.css({"touch-action":"none","-ms-touch-action":"none"}).on(getEventsNS(C,A))}}}t.css({top:"auto",left:"0",marginLeft:e,marginTop:i-m})},menuScroll:function(t,e,i){var s,o=t.dataSM("scroll"),a=t.dataSM("scroll-arrows"),n=o.up?o.upEnd:o.downEnd;if(!e&&o.momentum){if(o.momentum*=.92,s=o.momentum,.5>s)return this.menuScrollStop(t),void 0}else s=i||(e||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(o.step));var r=t.dataSM("level");if(this.activatedItems[r-1]&&this.activatedItems[r-1].dataSM("sub")&&this.activatedItems[r-1].dataSM("sub").is(":visible")&&this.menuHideSubMenus(r-1),o.y=o.up&&o.y>=n||!o.up&&n>=o.y?o.y:Math.abs(n-o.y)>s?o.y+(o.up?s:-s):n,t.css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+o.y+"px, 0)",transform:"translate3d(0, "+o.y+"px, 0)"}:{marginTop:o.y}),mouse&&(o.up&&o.y>o.downEnd||!o.up&&o.y0;t.dataSM("scroll-arrows").eq(i?0:1).is(":visible")&&(t.dataSM("scroll").up=i,this.menuScroll(t,!0))}e.preventDefault()},menuScrollOut:function(t,e){mouse&&(/^scroll-(up|down)/.test((e.relatedTarget||"").className)||(t[0]==e.relatedTarget||$.contains(t[0],e.relatedTarget))&&this.getClosestMenu(e.relatedTarget)==t[0]||t.dataSM("scroll-arrows").css("visibility","hidden"))},menuScrollOver:function(t,e){if(mouse&&!/^scroll-(up|down)/.test(e.target.className)&&this.getClosestMenu(e.target)==t[0]){this.menuScrollRefreshData(t);var i=t.dataSM("scroll"),s=$(window).scrollTop()-t.dataSM("parent-a").offset().top-i.itemH;t.dataSM("scroll-arrows").eq(0).css("margin-top",s).end().eq(1).css("margin-top",s+this.getViewportHeight()-i.arrowDownH).end().css("visibility","visible")}},menuScrollRefreshData:function(t){var e=t.dataSM("scroll"),i=$(window).scrollTop()-t.dataSM("parent-a").offset().top-e.itemH;this.cssTransforms3d&&(i=-(parseFloat(t.css("margin-top"))-i)),$.extend(e,{upEnd:i,downEnd:i+this.getViewportHeight()-e.subH})},menuScrollStop:function(t){return this.scrollTimeout?(cancelAnimationFrame(this.scrollTimeout),this.scrollTimeout=0,t.dataSM("scroll").step=1,!0):void 0},menuScrollTouch:function(t,e){if(e=e.originalEvent,isTouchEvent(e)){var i=this.getTouchPoint(e);if(this.getClosestMenu(i.target)==t[0]){var s=t.dataSM("scroll");if(/(start|down)$/i.test(e.type))this.menuScrollStop(t)?(e.preventDefault(),this.$touchScrollingSub=t):this.$touchScrollingSub=null,this.menuScrollRefreshData(t),$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp});else if(/move$/i.test(e.type)){var o=void 0!==s.touchY?s.touchY:s.touchStartY;if(void 0!==o&&o!=i.pageY){this.$touchScrollingSub=t;var a=i.pageY>o;void 0!==s.up&&s.up!=a&&$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp}),$.extend(s,{up:a,touchY:i.pageY}),this.menuScroll(t,!0,Math.abs(i.pageY-o))}e.preventDefault()}else void 0!==s.touchY&&((s.momentum=15*Math.pow(Math.abs(i.pageY-s.touchStartY)/(e.timeStamp-s.touchStartTime),2))&&(this.menuScrollStop(t),this.menuScroll(t),e.preventDefault()),delete s.touchY)}}},menuShow:function(t){if((t.dataSM("beforefirstshowfired")||(t.dataSM("beforefirstshowfired",!0),this.$root.triggerHandler("beforefirstshow.smapi",t[0])!==!1))&&this.$root.triggerHandler("beforeshow.smapi",t[0])!==!1&&(t.dataSM("shown-before",!0),canAnimate&&t.stop(!0,!0),!t.is(":visible"))){var e=t.dataSM("parent-a"),i=this.isCollapsible();if((this.opts.keepHighlighted||i)&&e.addClass("highlighted"),i)t.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""});else{if(t.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1),(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth)&&(t.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&t.css("min-width",this.opts.subMenusMinWidth),this.opts.subMenusMaxWidth)){var s=this.getWidth(t);t.css("max-width",this.opts.subMenusMaxWidth),s>this.getWidth(t)&&t.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}this.menuPosition(t)}var o=function(){t.css("overflow","")};i?canAnimate&&this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,t,o):t.show(this.opts.collapsibleShowDuration,o):canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,t,o):t.show(this.opts.showDuration,o),e.attr("aria-expanded","true"),t.attr({"aria-expanded":"true","aria-hidden":"false"}),this.visibleSubMenus.push(t),this.$root.triggerHandler("show.smapi",t[0])}},popupHide:function(t){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},t?1:this.opts.hideTimeout)},popupShow:function(t,e){if(!this.opts.isPopup)return alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.'),void 0;if(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.$root.dataSM("shown-before",!0),canAnimate&&this.$root.stop(!0,!0),!this.$root.is(":visible")){this.$root.css({left:t,top:e});var i=this,s=function(){i.$root.css("overflow","")};canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,this.$root,s):this.$root.show(this.opts.showDuration,s),this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(!0),this.init(!0)},rootKeyDown:function(t){if(this.handleEvents())switch(t.keyCode){case 27:var e=this.activatedItems[0];if(e){this.menuHideAll(),e[0].focus();var i=e.dataSM("sub");i&&this.menuHide(i)}break;case 32:var s=$(t.target);if(s.is("a")&&this.handleItemEvents(s)){var i=s.dataSM("sub");i&&!i.is(":visible")&&(this.itemClick({currentTarget:t.target}),t.preventDefault())}}},rootOut:function(t){if(this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),!this.opts.showOnClick||!this.opts.hideOnClick)){var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(t){this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(t){if(this.handleEvents()){if(!("onorientationchange"in window)||"orientationchange"==t.type){var e=this.isCollapsible();this.wasCollapsible&&e||(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll()),this.wasCollapsible=e}}else if(this.$disableOverlay){var i=this.$root.offset();this.$disableOverlay.css({top:i.top,left:i.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}}}}),$.fn.dataSM=function(t,e){return e?this.data(t+"_smartmenus",e):this.data(t+"_smartmenus")},$.fn.removeDataSM=function(t){return this.removeData(t+"_smartmenus")},$.fn.smartmenus=function(options){if("string"==typeof options){var args=arguments,method=options;return Array.prototype.shift.call(args),this.each(function(){var t=$(this).data("smartmenus");t&&t[method]&&t[method].apply(t,args)})}return this.each(function(){var dataOpts=$(this).data("sm-options")||null;if(dataOpts)try{dataOpts=eval("("+dataOpts+")")}catch(e){dataOpts=null,alert('ERROR\n\nSmartMenus jQuery init:\nInvalid "data-sm-options" attribute value syntax.')}new $.SmartMenus(this,$.extend({},$.fn.smartmenus.defaults,options,dataOpts))})},$.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:!0,subIndicatorsPos:"append",subIndicatorsText:"",scrollStep:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(t,e){t.fadeOut(200,e)},collapsibleShowDuration:0,collapsibleShowFunction:function(t,e){t.slideDown(200,e)},collapsibleHideDuration:0,collapsibleHideFunction:function(t,e){t.slideUp(200,e)},showOnClick:!1,hideOnClick:!0,noMouseOver:!1,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1,bottomToTopSubMenus:!1,collapsibleBehavior:"default"},$}); \ No newline at end of file diff --git a/docs/html/main_8cpp.html b/docs/html/main_8cpp.html new file mode 100644 index 0000000..dc12ecd --- /dev/null +++ b/docs/html/main_8cpp.html @@ -0,0 +1,116 @@ + + + + + + + +FMI Ticket System: src/main.cpp File Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
main.cpp File Reference
+
+
+ +

Entry point for application. +More...

+ + + + +

+Functions

int main ()
 
+

Detailed Description

+

Entry point for application.

+

Contains the main() function.

+

Function Documentation

+ +

◆ main()

+ +
+
+ + + + + + + +
int main ()
+
+

Creates instances of HallService and EventService and executes runUI() function.

+ +
+
+
+ + + + diff --git a/docs/html/menu.js b/docs/html/menu.js new file mode 100644 index 0000000..54e81cf --- /dev/null +++ b/docs/html/menu.js @@ -0,0 +1,127 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +function initMenu(relPath,searchEnabled,serverSide,searchPage,search) { + function makeTree(data,relPath) { + var result=''; + if ('children' in data) { + result+=''; + } + return result; + } + var searchBox; + if (searchEnabled) { + if (serverSide) { + searchBox='
'+ + '
'+ + '
'+ + ''+ + '
'+ + '
'+ + '
'+ + '
'; + } else { + searchBox='
'+ + ''+ + ''+ + ''+ + ''+ + ''+ + '' + '' + '
'; + } + } + + $('#main-nav').before('
'+ + ''+ + ''+ + '
'); + $('#main-nav').append(makeTree(menudata,relPath)); + $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); + if (searchBox) { + $('#main-menu').append('
  • '); + } + var $mainMenuState = $('#main-menu-state'); + var prevWidth = 0; + if ($mainMenuState.length) { + function initResizableIfExists() { + if (typeof initResizable==='function') initResizable(); + } + // animate mobile menu + $mainMenuState.change(function(e) { + var $menu = $('#main-menu'); + var options = { duration: 250, step: initResizableIfExists }; + if (this.checked) { + options['complete'] = function() { $menu.css('display', 'block') }; + $menu.hide().slideDown(options); + } else { + options['complete'] = function() { $menu.css('display', 'none') }; + $menu.show().slideUp(options); + } + }); + // set default menu visibility + function resetState() { + var $menu = $('#main-menu'); + var $mainMenuState = $('#main-menu-state'); + var newWidth = $(window).outerWidth(); + if (newWidth!=prevWidth) { + if ($(window).outerWidth()<768) { + $mainMenuState.prop('checked',false); $menu.hide(); + $('#searchBoxPos1').html(searchBox); + $('#searchBoxPos2').hide(); + } else { + $menu.show(); + $('#searchBoxPos1').empty(); + $('#searchBoxPos2').html(searchBox); + $('#searchBoxPos2').show(); + } + prevWidth = newWidth; + } + } + $(window).ready(function() { resetState(); initResizableIfExists(); }); + $(window).resize(resetState); + } + $('#main-menu').smartmenus(); +} +/* @license-end */ diff --git a/docs/html/menudata.js b/docs/html/menudata.js new file mode 100644 index 0000000..d54564c --- /dev/null +++ b/docs/html/menudata.js @@ -0,0 +1,98 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file +*/ +var menudata={children:[ +{text:"Main Page",url:"index.html"}, +{text:"Classes",url:"annotated.html",children:[ +{text:"Class List",url:"annotated.html"}, +{text:"Class Index",url:"classes.html"}, +{text:"Class Hierarchy",url:"hierarchy.html"}, +{text:"Class Members",url:"functions.html",children:[ +{text:"All",url:"functions.html",children:[ +{text:"a",url:"functions.html#index_a"}, +{text:"b",url:"functions.html#index_b"}, +{text:"c",url:"functions.html#index_c"}, +{text:"d",url:"functions.html#index_d"}, +{text:"e",url:"functions.html#index_e"}, +{text:"f",url:"functions.html#index_f"}, +{text:"g",url:"functions.html#index_g"}, +{text:"h",url:"functions.html#index_h"}, +{text:"i",url:"functions.html#index_i"}, +{text:"l",url:"functions.html#index_l"}, +{text:"m",url:"functions.html#index_m"}, +{text:"n",url:"functions.html#index_n"}, +{text:"o",url:"functions.html#index_o"}, +{text:"q",url:"functions.html#index_q"}, +{text:"r",url:"functions.html#index_r"}, +{text:"s",url:"functions.html#index_s"}, +{text:"t",url:"functions.html#index_t"}, +{text:"w",url:"functions.html#index_w"}]}, +{text:"Functions",url:"functions_func.html",children:[ +{text:"a",url:"functions_func.html#index_a"}, +{text:"b",url:"functions_func.html#index_b"}, +{text:"c",url:"functions_func.html#index_c"}, +{text:"d",url:"functions_func.html#index_d"}, +{text:"e",url:"functions_func.html#index_e"}, +{text:"f",url:"functions_func.html#index_f"}, +{text:"g",url:"functions_func.html#index_g"}, +{text:"h",url:"functions_func.html#index_h"}, +{text:"i",url:"functions_func.html#index_i"}, +{text:"l",url:"functions_func.html#index_l"}, +{text:"m",url:"functions_func.html#index_m"}, +{text:"n",url:"functions_func.html#index_n"}, +{text:"o",url:"functions_func.html#index_o"}, +{text:"q",url:"functions_func.html#index_q"}, +{text:"r",url:"functions_func.html#index_r"}, +{text:"s",url:"functions_func.html#index_s"}, +{text:"t",url:"functions_func.html#index_t"}, +{text:"w",url:"functions_func.html#index_w"}]}, +{text:"Related Functions",url:"functions_rela.html"}]}]}, +{text:"Files",url:"files.html",children:[ +{text:"File List",url:"files.html"}, +{text:"File Members",url:"globals.html",children:[ +{text:"All",url:"globals.html",children:[ +{text:"_",url:"globals.html#index__5F"}, +{text:"c",url:"globals.html#index_c"}, +{text:"e",url:"globals.html#index_e"}, +{text:"i",url:"globals.html#index_i"}, +{text:"m",url:"globals.html#index_m"}, +{text:"o",url:"globals.html#index_o"}, +{text:"p",url:"globals.html#index_p"}, +{text:"r",url:"globals.html#index_r"}, +{text:"s",url:"globals.html#index_s"}, +{text:"t",url:"globals.html#index_t"}, +{text:"w",url:"globals.html#index_w"}]}, +{text:"Functions",url:"globals_func.html",children:[ +{text:"_",url:"globals_func.html#index__5F"}, +{text:"c",url:"globals_func.html#index_c"}, +{text:"e",url:"globals_func.html#index_e"}, +{text:"i",url:"globals_func.html#index_i"}, +{text:"m",url:"globals_func.html#index_m"}, +{text:"o",url:"globals_func.html#index_o"}, +{text:"p",url:"globals_func.html#index_p"}, +{text:"r",url:"globals_func.html#index_r"}, +{text:"s",url:"globals_func.html#index_s"}, +{text:"t",url:"globals_func.html#index_t"}, +{text:"w",url:"globals_func.html#index_w"}]}, +{text:"Enumerations",url:"globals_enum.html"}]}]}]} diff --git a/docs/html/nav_f.png b/docs/html/nav_f.png new file mode 100644 index 0000000..72a58a5 Binary files /dev/null and b/docs/html/nav_f.png differ diff --git a/docs/html/nav_g.png b/docs/html/nav_g.png new file mode 100644 index 0000000..2093a23 Binary files /dev/null and b/docs/html/nav_g.png differ diff --git a/docs/html/nav_h.png b/docs/html/nav_h.png new file mode 100644 index 0000000..33389b1 Binary files /dev/null and b/docs/html/nav_h.png differ diff --git a/docs/html/open.png b/docs/html/open.png new file mode 100644 index 0000000..30f75c7 Binary files /dev/null and b/docs/html/open.png differ diff --git a/docs/html/search/all_0.html b/docs/html/search/all_0.html new file mode 100644 index 0000000..c36c9af --- /dev/null +++ b/docs/html/search/all_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/all_0.js b/docs/html/search/all_0.js new file mode 100644 index 0000000..0a24301 --- /dev/null +++ b/docs/html/search/all_0.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['_5fprintinputboxlabel_0',['_printInputBoxLabel',['../Toolbox_8hpp.html#ab3ce613add75d2385c8e1424527d2c3d',1,'Toolbox.cpp']]], + ['_5fprintorderedlistbeginning_1',['_printOrderedListBeginning',['../Toolbox_8hpp.html#a27b565355e018d36b6ce47169cc26fad',1,'Toolbox.cpp']]], + ['_5fprintsubboxspacing_2',['_printSubBoxSpacing',['../Toolbox_8hpp.html#ac17b91efad13dbe9e10e5550ee4707c6',1,'Toolbox.cpp']]] +]; diff --git a/docs/html/search/all_1.html b/docs/html/search/all_1.html new file mode 100644 index 0000000..91cfe8a --- /dev/null +++ b/docs/html/search/all_1.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/all_1.js b/docs/html/search/all_1.js new file mode 100644 index 0000000..2681e1e --- /dev/null +++ b/docs/html/search/all_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['add_0',['add',['../classList.html#abfec4f2e7990d06c143852ecfdf907bb',1,'List::add()'],['../classOrderedList.html#a8b2748c3cdefe4869e0d7a2fc9b4b2cd',1,'OrderedList::add()']]], + ['addcommand_1',['addCommand',['../classMenu.html#a1f022cc8b705369073f8fd7b90b30c8d',1,'Menu']]] +]; diff --git a/docs/html/search/all_10.html b/docs/html/search/all_10.html new file mode 100644 index 0000000..765f584 --- /dev/null +++ b/docs/html/search/all_10.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/all_10.js b/docs/html/search/all_10.js new file mode 100644 index 0000000..d03186d --- /dev/null +++ b/docs/html/search/all_10.js @@ -0,0 +1,16 @@ +var searchData= +[ + ['read_0',['read',['../Toolbox_8hpp.html#a3c9098dc2b305107367c56ded5dec787',1,'read(): Toolbox.hpp'],['../classDate.html#a982c0c9098056aa33c5cbc9eba093852',1,'Date::read()'],['../classList.html#a5e3581ee07649f462aa8bb3221a5466e',1,'List::read()'],['../classString.html#ad76bb9eca15651c67332808cdaad6344',1,'String::read()'],['../classEvent.html#ae58d2ed716836adcdacaeec4dd08c1cf',1,'Event::read()'],['../classHall.html#acef974f302d8131ef4608e15f96c2df9',1,'Hall::read()'],['../classReservation.html#a03f0d1a522edb2c5fba7538f0c879573',1,'Reservation::read()'],['../classTicket.html#aad2d0b7b92b54ec861db92c31f50f4ad',1,'Ticket::read()'],['../Toolbox_8hpp.html#a06ca09434be2a02543a2371d477acfa0',1,'read(): Toolbox.hpp']]], + ['registererror_1',['registerError',['../classMenu.html#aad506cb9a7f35dea98c60484bb2d095c',1,'Menu']]], + ['registersuccess_2',['registerSuccess',['../classMenu.html#a3504e28b5d05e1ad70dada190bbc3a9c',1,'Menu']]], + ['registerwarning_3',['registerWarning',['../classMenu.html#a5350b1addf9bf365351486cd161696ad',1,'Menu']]], + ['removeat_4',['removeAt',['../classList.html#ad9c0a5b5bca6286f458d6fab280de65a',1,'List']]], + ['reportboughttickets_5',['reportBoughtTickets',['../classEventService.html#afc74fc6d44fca054bce8e54997c0cd3e',1,'EventService']]], + ['reportreservations_6',['reportReservations',['../classEventService.html#a277194aea79a2c9bf955b7706a20c54c',1,'EventService']]], + ['reservation_7',['Reservation',['../classReservation.html#a63b283053695e6f50fa44c50da2b3de5',1,'Reservation::Reservation()'],['../classReservation.html#a7320a032f87c7d45cf287a146c73695c',1,'Reservation::Reservation(const Ticket &ticket)'],['../classReservation.html#ac6fdecd9bc06f3de2e28129ab370f4f7',1,'Reservation::Reservation(const Ticket &ticket, const char *password, const char *note)'],['../classReservation.html',1,'Reservation']]], + ['reservation_2eh_8',['Reservation.h',['../Reservation_8h.html',1,'']]], + ['reserveticket_9',['reserveTicket',['../classEventService.html#a3c0d2a05e2a3026044b9e13e6802fbdb',1,'EventService']]], + ['resetorderedlist_10',['resetOrderedList',['../Toolbox_8hpp.html#a4456d10f7e141c4fc1a29aff4ad29108',1,'Toolbox.cpp']]], + ['run_11',['run',['../classCommand.html#a44689093b812bfc97b2787c2ba0303ce',1,'Command']]], + ['runui_12',['runUI',['../FMITicketSystemConsoleUI_8h.html#a79d6833c27b5a32b6d9917f5cd6e32a3',1,'FMITicketSystemConsoleUI.cpp']]] +]; diff --git a/docs/html/search/all_11.html b/docs/html/search/all_11.html new file mode 100644 index 0000000..e2183ee --- /dev/null +++ b/docs/html/search/all_11.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/all_11.js b/docs/html/search/all_11.js new file mode 100644 index 0000000..87de058 --- /dev/null +++ b/docs/html/search/all_11.js @@ -0,0 +1,14 @@ +var searchData= +[ + ['save_0',['save',['../classEventService.html#a5aac3df17ef30f84c1c28277c256ec32',1,'EventService::save()'],['../classHallService.html#a083e3d10ec89ee8c78a117c3754c66d2',1,'HallService::save()']]], + ['set_5fday_1',['set_day',['../classDate.html#acaf0c3ee1b2d36edf4f870ddd8acce08',1,'Date']]], + ['set_5fmonth_2',['set_month',['../classDate.html#ad0a591a557ddde0871389c3d716e6044',1,'Date']]], + ['set_5fyear_3',['set_year',['../classDate.html#a6a0f3124e1850cd9f1514ebffcdd0cae',1,'Date']]], + ['statuscode_4',['StatusCode',['../StatusCode_8h.html#ae98a46f4ea1a43ca48acaf15d2eb7113',1,'StatusCode.h']]], + ['statuscode_2eh_5',['StatusCode.h',['../StatusCode_8h.html',1,'']]], + ['string_6',['String',['../classString.html',1,'String'],['../classString.html#ad3d65397e27bb3c4db1295208cfb1559',1,'String::String(unsigned length)'],['../classString.html#a3fba40cf6cb11735ffddc355a5ff68f4',1,'String::String(const char *str)']]], + ['string_2eh_7',['String.h',['../String_8h.html',1,'']]], + ['subtitlebox_8',['subTitleBox',['../Toolbox_8hpp.html#ad557e4a1167be4e0c57fe530ce74a120',1,'Toolbox.cpp']]], + ['successbox_9',['successBox',['../Toolbox_8hpp.html#a6c82ac6987703376c17c74a81fb0a91a',1,'Toolbox.cpp']]], + ['successsubbox_10',['successSubBox',['../Toolbox_8hpp.html#aa78e2e87fff9b64ca032a5b1c7054081',1,'Toolbox.cpp']]] +]; diff --git a/docs/html/search/all_12.html b/docs/html/search/all_12.html new file mode 100644 index 0000000..9b9621c --- /dev/null +++ b/docs/html/search/all_12.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/all_12.js b/docs/html/search/all_12.js new file mode 100644 index 0000000..3e4b405 --- /dev/null +++ b/docs/html/search/all_12.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['table_0',['table',['../Toolbox_8hpp.html#a6c90056ede686f0319d0fb0a408d02e5',1,'Toolbox.cpp']]], + ['ticket_1',['Ticket',['../classTicket.html',1,'Ticket'],['../classTicket.html#aba3a46c9223efb6ab0bde93a09403537',1,'Ticket::Ticket()'],['../classTicket.html#a6fa09371f1b70520b96dbb9ac9a71768',1,'Ticket::Ticket(unsigned row, unsigned seat)']]], + ['ticket_2eh_2',['Ticket.h',['../Ticket_8h.html',1,'']]], + ['ticketisreserved_3',['ticketIsReserved',['../classEventService.html#ad1efbed6111da8e755d86b5bc9ada806',1,'EventService']]], + ['titlebox_4',['titleBox',['../Toolbox_8hpp.html#a24a3fa9050ea032396c213ea85a1de0b',1,'Toolbox.cpp']]], + ['toolbox_2ehpp_5',['Toolbox.hpp',['../Toolbox_8hpp.html',1,'']]] +]; diff --git a/docs/html/search/all_13.html b/docs/html/search/all_13.html new file mode 100644 index 0000000..4acb7f9 --- /dev/null +++ b/docs/html/search/all_13.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/all_13.js b/docs/html/search/all_13.js new file mode 100644 index 0000000..957e495 --- /dev/null +++ b/docs/html/search/all_13.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['warningbox_0',['warningBox',['../Toolbox_8hpp.html#a52222c9ff8739ef87c89df899deb5052',1,'Toolbox.cpp']]], + ['warningsubbox_1',['warningSubBox',['../Toolbox_8hpp.html#a22f8b3135115d1b9fca09eea98dc6d92',1,'Toolbox.cpp']]], + ['write_2',['write',['../classDate.html#a9c728831f35f27abf3348132a13b7844',1,'Date::write()'],['../classList.html#a8d2babffd2fb4a5e0a40dbd306e19956',1,'List::write()'],['../classString.html#a7b0ea809587c21bc1d2b87bfee53e628',1,'String::write()'],['../classEvent.html#a05a302aa998977c30950987c07f0fbba',1,'Event::write()'],['../classHall.html#a0239d59ab0f832f16cf35c820d0eba5a',1,'Hall::write()'],['../classReservation.html#a1aba46b8e181750bd89fdfca6ff8ba32',1,'Reservation::write()'],['../classTicket.html#a584a11f6236fc96f3bdbd0592d3f60f4',1,'Ticket::write()']]] +]; diff --git a/docs/html/search/all_2.html b/docs/html/search/all_2.html new file mode 100644 index 0000000..259dde4 --- /dev/null +++ b/docs/html/search/all_2.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/all_2.js b/docs/html/search/all_2.js new file mode 100644 index 0000000..3c047d0 --- /dev/null +++ b/docs/html/search/all_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['buyticket_0',['buyTicket',['../classEventService.html#ac447cac3e4974b9cc676d9bb90152979',1,'EventService::buyTicket(const char *name, const Date &date, const Ticket &ticket, const char *password, String *reservationNoteOutput)'],['../classEventService.html#ad0a204aca9cc8287f562f42916248e9e',1,'EventService::buyTicket(const char *name, const Date &date, const Ticket &ticket)']]] +]; diff --git a/docs/html/search/all_3.html b/docs/html/search/all_3.html new file mode 100644 index 0000000..1e60c94 --- /dev/null +++ b/docs/html/search/all_3.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/all_3.js b/docs/html/search/all_3.js new file mode 100644 index 0000000..7478e70 --- /dev/null +++ b/docs/html/search/all_3.js @@ -0,0 +1,14 @@ +var searchData= +[ + ['cancelevent_0',['cancelEvent',['../classEventService.html#ac7ea565af5ad78e84749558477ceaf26',1,'EventService']]], + ['cancelticketreservation_1',['cancelTicketReservation',['../classEventService.html#aa6fd620de878f225f7c51bb0df6ea749',1,'EventService']]], + ['clear_2',['clear',['../Toolbox_8hpp.html#ac8bb3912a3ce86b15842e79d0b421204',1,'Toolbox.cpp']]], + ['command_3',['Command',['../classCommand.html#a18df2d81039392daeb0b78c346a70537',1,'Command::Command()'],['../classCommand.html#a4e22ce5bdf74f9c975494dddd280884a',1,'Command::Command(const char *nameInMenu, void(*exec)())'],['../classCommand.html',1,'Command']]], + ['command_2eh_4',['Command.h',['../Command_8h.html',1,'']]], + ['compare_5',['compare',['../classHall.html#a4259837f943c488c6b15ed6c80d5f30b',1,'Hall::compare()'],['../classTicket.html#a82a063f71be89f44dd969970855187c4',1,'Ticket::compare()'],['../classReservation.html#a31cc66beeaf85befe2185dfc88086d38',1,'Reservation::compare()'],['../classEvent.html#af5c84a902db8f29f8b8737026011f1f6',1,'Event::compare()'],['../classString.html#a3f420d69fbe3de91711dc69148d23cc7',1,'String::compare()'],['../classDate.html#a3cda588bf2f65b84639303a1aa1105be',1,'Date::compare()']]], + ['configureeventinsertionop_6',['configureEventInsertionOp',['../Event_8h.html#ad423797aa9adadabb5651f8955c001bb',1,'Event.cpp']]], + ['contain_7',['contain',['../classList.html#a163a070c7d5dc77ca3c1726b8f2d4bc1',1,'List']]], + ['createevent_8',['createEvent',['../classEventService.html#a7a21a5909116215e402254510d6d81d6',1,'EventService']]], + ['createseatingstring_9',['createSeatingString',['../classEventService.html#a7f4632e3beae5d24087047ab0223f85e',1,'EventService']]], + ['createstring_10',['createString',['../classDate.html#a6e00ace9f8c923c96188bd76f1e064c2',1,'Date']]] +]; diff --git a/docs/html/search/all_4.html b/docs/html/search/all_4.html new file mode 100644 index 0000000..08f1aed --- /dev/null +++ b/docs/html/search/all_4.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/all_4.js b/docs/html/search/all_4.js new file mode 100644 index 0000000..38eab86 --- /dev/null +++ b/docs/html/search/all_4.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['date_0',['Date',['../classDate.html',1,'Date'],['../classDate.html#a4e59ed4ba66eec61c27460c5d09fa1bd',1,'Date::Date()'],['../classDate.html#a99d57b698afdacd18f5a414cdc7524fd',1,'Date::Date(const char *str)'],['../classDate.html#a87b3c3ede7dee726e8779eebfcc0a299',1,'Date::Date(unsigned short day, unsigned short month, unsigned short year)']]], + ['date_2eh_1',['Date.h',['../Date_8h.html',1,'']]] +]; diff --git a/docs/html/search/all_5.html b/docs/html/search/all_5.html new file mode 100644 index 0000000..0d85fcc --- /dev/null +++ b/docs/html/search/all_5.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/all_5.js b/docs/html/search/all_5.js new file mode 100644 index 0000000..6ce9502 --- /dev/null +++ b/docs/html/search/all_5.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['errorbox_0',['errorBox',['../Toolbox_8hpp.html#a9d709a3db7de05368cc38671c896bb2d',1,'Toolbox.cpp']]], + ['errorsubbox_1',['errorSubBox',['../Toolbox_8hpp.html#ade748c3f15151748c9f978097715d2e7',1,'Toolbox.cpp']]], + ['event_2',['Event',['../classEvent.html',1,'Event'],['../classEvent.html#a5a40dd4708297f7031e29b39e039ae10',1,'Event::Event()'],['../classEvent.html#a6ecbd134ada51629f30b2d1cf352d88f',1,'Event::Event(const Hall &hall, String name, Date date)']]], + ['event_2eh_3',['Event.h',['../Event_8h.html',1,'']]], + ['eventservice_4',['EventService',['../classEventService.html',1,'EventService'],['../classEventService.html#a9b30bb95890abac259ba27b53cabe545',1,'EventService::EventService(const HallService *hs)'],['../classEventService.html#af35cde4a05edfec88496772b6d0b1e37',1,'EventService::EventService(const HallService *hs, const Event *events, unsigned eventCount)']]], + ['eventservice_2eh_5',['EventService.h',['../EventService_8h.html',1,'']]] +]; diff --git a/docs/html/search/all_6.html b/docs/html/search/all_6.html new file mode 100644 index 0000000..7e088b8 --- /dev/null +++ b/docs/html/search/all_6.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/all_6.js b/docs/html/search/all_6.js new file mode 100644 index 0000000..8e7f303 --- /dev/null +++ b/docs/html/search/all_6.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['findindex_0',['findIndex',['../classList.html#a3804f03273ef5e339b504e439c5b6534',1,'List']]], + ['fmi_20tickets_20system_1',['FMI Tickets System',['../index.html',1,'']]], + ['fmiticketsystemconsoleui_2eh_2',['FMITicketSystemConsoleUI.h',['../FMITicketSystemConsoleUI_8h.html',1,'']]] +]; diff --git a/docs/html/search/all_7.html b/docs/html/search/all_7.html new file mode 100644 index 0000000..d2b1825 --- /dev/null +++ b/docs/html/search/all_7.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/all_7.js b/docs/html/search/all_7.js new file mode 100644 index 0000000..b5d3390 --- /dev/null +++ b/docs/html/search/all_7.js @@ -0,0 +1,23 @@ +var searchData= +[ + ['get_5fcount_0',['get_count',['../classList.html#a3c1e3a3fc085f5b7ae68514c4758687b',1,'List']]], + ['get_5fcstr_1',['get_cstr',['../classString.html#a3d7f953737f3d4dca72d1cc4836f7dcc',1,'String']]], + ['get_5fdate_2',['get_date',['../classEvent.html#a222904d44dfaf3f1f96e2190c5ea4293',1,'Event']]], + ['get_5fday_3',['get_day',['../classDate.html#a2e4dc4249f8cccd40acc5950b42e1339',1,'Date']]], + ['get_5fhall_4',['get_hall',['../classEvent.html#ae3023ae2c487f46b3235f67554e58615',1,'Event']]], + ['get_5fhalls_5',['get_halls',['../classHallService.html#a641fdcc475e094687713e94094e2a623',1,'HallService']]], + ['get_5flength_6',['get_length',['../classList.html#aa32109b77dccd8241b125ebabdda876c',1,'List::get_length()'],['../classString.html#a7793a7e9a7601d4c724dcc85566259bf',1,'String::get_length()']]], + ['get_5fmonth_7',['get_month',['../classDate.html#a79ebbf3cb46f892604dc79ffc82bcfcc',1,'Date']]], + ['get_5fname_8',['get_name',['../classEvent.html#a7bf717630c32826689df41e0bb3ecbce',1,'Event']]], + ['get_5fnote_9',['get_note',['../classReservation.html#a2285881510bf07f469bf360bb1050f12',1,'Reservation']]], + ['get_5fnumber_10',['get_number',['../classHall.html#a84186aee50631f25b214f18f7b0dc178',1,'Hall']]], + ['get_5fpassword_11',['get_password',['../classReservation.html#aa34cd16a057a4a483e569ec5d7527ad9',1,'Reservation']]], + ['get_5freservations_12',['get_reservations',['../classEvent.html#a43c6b2bddd42435eb6c8cd0f15d75c6f',1,'Event::get_reservations()'],['../classEvent.html#a7af1c5d57d41701e6411b7c251bf904e',1,'Event::get_reservations() const']]], + ['get_5frow_13',['get_row',['../classTicket.html#a94476de3cd6711185527d0fe4df9a278',1,'Ticket']]], + ['get_5frows_14',['get_rows',['../classHall.html#a6b3c304a95d3f56980c6faf0cc2073a2',1,'Hall']]], + ['get_5fseat_15',['get_seat',['../classTicket.html#af7b64cb77a676d0f7bdb32255283f005',1,'Ticket']]], + ['get_5fseatsperrow_16',['get_seatsPerRow',['../classHall.html#a42e1cd716086d8a42a627e00cde17a7e',1,'Hall']]], + ['get_5fticket_17',['get_ticket',['../classReservation.html#af1b95b3d7c46f506dec4d275d6821cdb',1,'Reservation']]], + ['get_5ftickets_18',['get_tickets',['../classEvent.html#a16a84fced8e02f756232c54c27bb22ad',1,'Event::get_tickets()'],['../classEvent.html#a1f914fc91044a5c10d71f31b8e712c46',1,'Event::get_tickets() const']]], + ['get_5fyear_19',['get_year',['../classDate.html#a025aae2b290ba357e049d054085f91e3',1,'Date']]] +]; diff --git a/docs/html/search/all_8.html b/docs/html/search/all_8.html new file mode 100644 index 0000000..f4e3a2a --- /dev/null +++ b/docs/html/search/all_8.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/all_8.js b/docs/html/search/all_8.js new file mode 100644 index 0000000..ab0e83d --- /dev/null +++ b/docs/html/search/all_8.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['hall_0',['Hall',['../classHall.html',1,'Hall'],['../classHall.html#a122ed8085be305339c89cadb3e360b86',1,'Hall::Hall()'],['../classHall.html#af88f012be2e7671366e10d4e154a8d8f',1,'Hall::Hall(int number)'],['../classHall.html#ab93a2ca8463f3b3d398374a6efea4c71',1,'Hall::Hall(int number, unsigned rows, unsigned seatsPerRow)']]], + ['hall_2eh_1',['Hall.h',['../Hall_8h.html',1,'']]], + ['hallservice_2',['HallService',['../classHallService.html',1,'HallService'],['../classHallService.html#a57a8117d8d510afb5351a3f7efc18dff',1,'HallService::HallService()']]], + ['hallservice_2eh_3',['HallService.h',['../HallService_8h.html',1,'']]] +]; diff --git a/docs/html/search/all_9.html b/docs/html/search/all_9.html new file mode 100644 index 0000000..89177a8 --- /dev/null +++ b/docs/html/search/all_9.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/all_9.js b/docs/html/search/all_9.js new file mode 100644 index 0000000..d2ee126 --- /dev/null +++ b/docs/html/search/all_9.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['inputbox_0',['inputBox',['../Toolbox_8hpp.html#ab7651f0a92f8d0d0be3d63c1045eee1e',1,'Toolbox.hpp']]], + ['inputlinebox_1',['inputLineBox',['../Toolbox_8hpp.html#aa49b4d5a7b00249bc1fb08eec5e3aeaf',1,'Toolbox.cpp']]], + ['inputlinesubbox_2',['inputLineSubBox',['../Toolbox_8hpp.html#ad2c61ce27ec52d14e427d6f6e93d38f2',1,'Toolbox.cpp']]], + ['inputsubbox_3',['inputSubBox',['../Toolbox_8hpp.html#a92da1c5f0023cd5c4809d9c1f682e92f',1,'Toolbox.hpp']]], + ['insert_4',['insert',['../classOrderedList.html#a1132cd9c92901e9b9950a4a409b0fc8b',1,'OrderedList']]], + ['insertat_5',['insertAt',['../classList.html#ae4586debf72af33bccb3c2fbfce420e8',1,'List::insertAt()'],['../classOrderedList.html#a45af729846bacc77fc8292e5d0690f99',1,'OrderedList::insertAt()']]] +]; diff --git a/docs/html/search/all_a.html b/docs/html/search/all_a.html new file mode 100644 index 0000000..1f90b7a --- /dev/null +++ b/docs/html/search/all_a.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/all_a.js b/docs/html/search/all_a.js new file mode 100644 index 0000000..edbd620 --- /dev/null +++ b/docs/html/search/all_a.js @@ -0,0 +1,11 @@ +var searchData= +[ + ['list_0',['List',['../classList.html',1,'List< T >'],['../classList.html#a93cd36efc12aa5ef5fc28866edce7e61',1,'List::List()']]], + ['list_2ehpp_1',['List.hpp',['../List_8hpp.html',1,'']]], + ['list_3c_20command_20_3e_2',['List< Command >',['../classList.html',1,'']]], + ['list_3c_20event_20_3e_3',['List< Event >',['../classList.html',1,'']]], + ['list_3c_20hall_20_3e_4',['List< Hall >',['../classList.html',1,'']]], + ['list_3c_20reservation_20_3e_5',['List< Reservation >',['../classList.html',1,'']]], + ['list_3c_20ticket_20_3e_6',['List< Ticket >',['../classList.html',1,'']]], + ['load_7',['load',['../classEventService.html#a1225c23dae83fa928da47113cd1c5617',1,'EventService::load()'],['../classHallService.html#ab63c1ccff811ed3268f2fe5e996eb6ae',1,'HallService::load()']]] +]; diff --git a/docs/html/search/all_b.html b/docs/html/search/all_b.html new file mode 100644 index 0000000..b7ad6e6 --- /dev/null +++ b/docs/html/search/all_b.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/all_b.js b/docs/html/search/all_b.js new file mode 100644 index 0000000..2ccf14e --- /dev/null +++ b/docs/html/search/all_b.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['main_0',['main',['../main_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4',1,'main.cpp']]], + ['main_2ecpp_1',['main.cpp',['../main_8cpp.html',1,'']]], + ['menu_2',['Menu',['../classMenu.html',1,'Menu'],['../classMenu.html#ad466dd83355124a6ed958430450bfe94',1,'Menu::Menu()'],['../classMenu.html#aeec919379638ad526df5167ed755a1f3',1,'Menu::Menu(const char *title, bool backExistsApp, bool isSubMenu)'],['../classMenu.html#a12057ad84f3a9d41bc7092cc2d86c87a',1,'Menu::Menu(const char *title, bool backExistsApp, bool isSubMenu, const Command *commands, unsigned commandCount)']]], + ['menu_2eh_3',['Menu.h',['../Menu_8h.html',1,'']]] +]; diff --git a/docs/html/search/all_c.html b/docs/html/search/all_c.html new file mode 100644 index 0000000..829c917 --- /dev/null +++ b/docs/html/search/all_c.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/all_c.js b/docs/html/search/all_c.js new file mode 100644 index 0000000..c3df1e0 --- /dev/null +++ b/docs/html/search/all_c.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['navigate_0',['navigate',['../classMenu.html#a0400751da7f8583029b7a12d3003c36d',1,'Menu']]] +]; diff --git a/docs/html/search/all_d.html b/docs/html/search/all_d.html new file mode 100644 index 0000000..d32b28e --- /dev/null +++ b/docs/html/search/all_d.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/all_d.js b/docs/html/search/all_d.js new file mode 100644 index 0000000..37a12a1 --- /dev/null +++ b/docs/html/search/all_d.js @@ -0,0 +1,13 @@ +var searchData= +[ + ['operator_2b_3d_0',['operator+=',['../classList.html#aa4332ce5a589da28528f035ded6d41e5',1,'List::operator+=()'],['../classString.html#a64de9ab1af5df9397f8fbd8c79d5f4b6',1,'String::operator+=(const char *str)'],['../classString.html#aed8480111703abc1f281148c778b0445',1,'String::operator+=(unsigned number)']]], + ['operator_3c_3c_1',['operator<<',['../classString.html#aa00d824f40064ff356aa7c15d6a9da12',1,'String::operator<<()'],['../List_8hpp.html#ac8590f4d4ba6c820c34afe14df54f2c2',1,'operator<<(std::ostream &ostr, const List< T > &obj): List.hpp'],['../Date_8h.html#ad12d4bbc4f7919efdec583d1478a6a76',1,'operator<<(std::ostream &ostr, const Date &dt): Date.cpp'],['../Event_8h.html#a08eaf45abee385d26c4934afeb9be163',1,'operator<<(std::ostream &ostr, const Event &event): Event.cpp'],['../Hall_8h.html#a9671d0935caa6dd24b5f1b9be101c477',1,'operator<<(std::ostream &ostr, const Hall &hall): Hall.cpp'],['../Ticket_8h.html#ae1686d3505df5e86e64e6e1b263e92ce',1,'operator<<(std::ostream &ostr, const Ticket &ticket): Ticket.cpp'],['../classReservation.html#abf734c0a55da55ef89dab1e2f12b8ebd',1,'Reservation::operator<<()']]], + ['operator_3e_3e_2',['operator>>',['../classString.html#a1918adea635f3f340dbecd6fb05341f8',1,'String::operator>>()'],['../classReservation.html#a2b7331e532f77bbc67eab217bfeb1f25',1,'Reservation::operator>>()'],['../Date_8h.html#ae020cf1772268f1a43d172d3adfc9797',1,'operator>>(std::istream &istr, Date &dt): Date.cpp'],['../List_8hpp.html#a7469c3479753bfbada761697c539aa07',1,'operator>>(std::istream &istr, List< T > &obj): List.hpp'],['../Event_8h.html#a31d9c76919809491b346728ec6659b19',1,'operator>>(std::istream &istr, Event &event): Event.cpp'],['../Hall_8h.html#ac55d9db507637effdb1896e33c86d439',1,'operator>>(std::istream &istr, Hall &hall): Hall.cpp'],['../Ticket_8h.html#ac5c53ae039e173faa4cce85c2e32c920',1,'operator>>(std::istream &istr, Ticket &ticket): Ticket.cpp']]], + ['operator_5b_5d_3',['operator[]',['../classList.html#a321bb581943398344aad07198d1f02ac',1,'List::operator[]()'],['../classString.html#a5d3b77a51619a8580a373d2cd1092a54',1,'String::operator[]()'],['../classList.html#a5fa582de3aec5094a871852b658cf853',1,'List::operator[]()']]], + ['orderedlist_4',['OrderedList',['../classOrderedList.html',1,'']]], + ['orderedlist_2ehpp_5',['OrderedList.hpp',['../OrderedList_8hpp.html',1,'']]], + ['orderedlist_3c_20event_20_3e_6',['OrderedList< Event >',['../classOrderedList.html',1,'']]], + ['orderedlist_3c_20hall_20_3e_7',['OrderedList< Hall >',['../classOrderedList.html',1,'']]], + ['orderedlist_3c_20reservation_20_3e_8',['OrderedList< Reservation >',['../classOrderedList.html',1,'']]], + ['orderedlist_3c_20ticket_20_3e_9',['OrderedList< Ticket >',['../classOrderedList.html',1,'']]] +]; diff --git a/docs/html/search/all_e.html b/docs/html/search/all_e.html new file mode 100644 index 0000000..ce450a2 --- /dev/null +++ b/docs/html/search/all_e.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/all_e.js b/docs/html/search/all_e.js new file mode 100644 index 0000000..b71ccda --- /dev/null +++ b/docs/html/search/all_e.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['pressentertocontinue_0',['pressEnterToContinue',['../Toolbox_8hpp.html#ac7f54319bf4e70a46e3155ae1b39e832',1,'Toolbox.cpp']]], + ['print_1',['print',['../Toolbox_8hpp.html#a5ca1093462d3266fceb8522e144c1e73',1,'print(const T *item): Toolbox.hpp'],['../Toolbox_8hpp.html#a9c0a0d7d3210ca5f12f02ac4cb88476e',1,'print(const T &item): Toolbox.hpp']]], + ['printline_2',['printLine',['../Toolbox_8hpp.html#a148d9d6b8b15bbfc2b1f4cdb16c2ee81',1,'printLine(const T *item): Toolbox.hpp'],['../Toolbox_8hpp.html#a799f4cb5b4da3d40261e25d9e41995aa',1,'printLine(const T &item): Toolbox.hpp']]], + ['printorderedlistelem_3',['printOrderedListElem',['../Toolbox_8hpp.html#abe3a449632ee6d40eb59101dd2d2f114',1,'Toolbox.hpp']]] +]; diff --git a/docs/html/search/all_f.html b/docs/html/search/all_f.html new file mode 100644 index 0000000..59cfe49 --- /dev/null +++ b/docs/html/search/all_f.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/all_f.js b/docs/html/search/all_f.js new file mode 100644 index 0000000..0066e45 --- /dev/null +++ b/docs/html/search/all_f.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['queryinsufficientlyvisited_0',['queryInsufficientlyVisited',['../classEventService.html#a814de3510f72150f2e54d44f8c8948bb',1,'EventService']]], + ['querymostwatched_1',['queryMostWatched',['../classEventService.html#a6700bd4f9da6d12a47812b9c8549556e',1,'EventService']]] +]; diff --git a/docs/html/search/classes_0.html b/docs/html/search/classes_0.html new file mode 100644 index 0000000..8361bcd --- /dev/null +++ b/docs/html/search/classes_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/classes_0.js b/docs/html/search/classes_0.js new file mode 100644 index 0000000..aa348fe --- /dev/null +++ b/docs/html/search/classes_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['command_0',['Command',['../classCommand.html',1,'']]] +]; diff --git a/docs/html/search/classes_1.html b/docs/html/search/classes_1.html new file mode 100644 index 0000000..3c668de --- /dev/null +++ b/docs/html/search/classes_1.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/classes_1.js b/docs/html/search/classes_1.js new file mode 100644 index 0000000..d8eed29 --- /dev/null +++ b/docs/html/search/classes_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['date_0',['Date',['../classDate.html',1,'']]] +]; diff --git a/docs/html/search/classes_2.html b/docs/html/search/classes_2.html new file mode 100644 index 0000000..868c172 --- /dev/null +++ b/docs/html/search/classes_2.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/classes_2.js b/docs/html/search/classes_2.js new file mode 100644 index 0000000..0678680 --- /dev/null +++ b/docs/html/search/classes_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['event_0',['Event',['../classEvent.html',1,'']]], + ['eventservice_1',['EventService',['../classEventService.html',1,'']]] +]; diff --git a/docs/html/search/classes_3.html b/docs/html/search/classes_3.html new file mode 100644 index 0000000..995d5d2 --- /dev/null +++ b/docs/html/search/classes_3.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/classes_3.js b/docs/html/search/classes_3.js new file mode 100644 index 0000000..5a1d039 --- /dev/null +++ b/docs/html/search/classes_3.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['hall_0',['Hall',['../classHall.html',1,'']]], + ['hallservice_1',['HallService',['../classHallService.html',1,'']]] +]; diff --git a/docs/html/search/classes_4.html b/docs/html/search/classes_4.html new file mode 100644 index 0000000..b61a53a --- /dev/null +++ b/docs/html/search/classes_4.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/classes_4.js b/docs/html/search/classes_4.js new file mode 100644 index 0000000..61fcac2 --- /dev/null +++ b/docs/html/search/classes_4.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['list_0',['List',['../classList.html',1,'']]], + ['list_3c_20command_20_3e_1',['List< Command >',['../classList.html',1,'']]], + ['list_3c_20event_20_3e_2',['List< Event >',['../classList.html',1,'']]], + ['list_3c_20hall_20_3e_3',['List< Hall >',['../classList.html',1,'']]], + ['list_3c_20reservation_20_3e_4',['List< Reservation >',['../classList.html',1,'']]], + ['list_3c_20ticket_20_3e_5',['List< Ticket >',['../classList.html',1,'']]] +]; diff --git a/docs/html/search/classes_5.html b/docs/html/search/classes_5.html new file mode 100644 index 0000000..004dd4b --- /dev/null +++ b/docs/html/search/classes_5.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/classes_5.js b/docs/html/search/classes_5.js new file mode 100644 index 0000000..3ebc81d --- /dev/null +++ b/docs/html/search/classes_5.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['menu_0',['Menu',['../classMenu.html',1,'']]] +]; diff --git a/docs/html/search/classes_6.html b/docs/html/search/classes_6.html new file mode 100644 index 0000000..21bf019 --- /dev/null +++ b/docs/html/search/classes_6.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/classes_6.js b/docs/html/search/classes_6.js new file mode 100644 index 0000000..da6e845 --- /dev/null +++ b/docs/html/search/classes_6.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['orderedlist_0',['OrderedList',['../classOrderedList.html',1,'']]], + ['orderedlist_3c_20event_20_3e_1',['OrderedList< Event >',['../classOrderedList.html',1,'']]], + ['orderedlist_3c_20hall_20_3e_2',['OrderedList< Hall >',['../classOrderedList.html',1,'']]], + ['orderedlist_3c_20reservation_20_3e_3',['OrderedList< Reservation >',['../classOrderedList.html',1,'']]], + ['orderedlist_3c_20ticket_20_3e_4',['OrderedList< Ticket >',['../classOrderedList.html',1,'']]] +]; diff --git a/docs/html/search/classes_7.html b/docs/html/search/classes_7.html new file mode 100644 index 0000000..0e94451 --- /dev/null +++ b/docs/html/search/classes_7.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/classes_7.js b/docs/html/search/classes_7.js new file mode 100644 index 0000000..95231b7 --- /dev/null +++ b/docs/html/search/classes_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['reservation_0',['Reservation',['../classReservation.html',1,'']]] +]; diff --git a/docs/html/search/classes_8.html b/docs/html/search/classes_8.html new file mode 100644 index 0000000..4dfdb1c --- /dev/null +++ b/docs/html/search/classes_8.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/classes_8.js b/docs/html/search/classes_8.js new file mode 100644 index 0000000..24c218f --- /dev/null +++ b/docs/html/search/classes_8.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['string_0',['String',['../classString.html',1,'']]] +]; diff --git a/docs/html/search/classes_9.html b/docs/html/search/classes_9.html new file mode 100644 index 0000000..1cd66a9 --- /dev/null +++ b/docs/html/search/classes_9.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/classes_9.js b/docs/html/search/classes_9.js new file mode 100644 index 0000000..6b87bb0 --- /dev/null +++ b/docs/html/search/classes_9.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['ticket_0',['Ticket',['../classTicket.html',1,'']]] +]; diff --git a/docs/html/search/close.svg b/docs/html/search/close.svg new file mode 100644 index 0000000..a933eea --- /dev/null +++ b/docs/html/search/close.svg @@ -0,0 +1,31 @@ + + + + + + image/svg+xml + + + + + + + + diff --git a/docs/html/search/enums_0.html b/docs/html/search/enums_0.html new file mode 100644 index 0000000..eb1f873 --- /dev/null +++ b/docs/html/search/enums_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/enums_0.js b/docs/html/search/enums_0.js new file mode 100644 index 0000000..2c71d71 --- /dev/null +++ b/docs/html/search/enums_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['statuscode_0',['StatusCode',['../StatusCode_8h.html#ae98a46f4ea1a43ca48acaf15d2eb7113',1,'StatusCode.h']]] +]; diff --git a/docs/html/search/files_0.html b/docs/html/search/files_0.html new file mode 100644 index 0000000..da83704 --- /dev/null +++ b/docs/html/search/files_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/files_0.js b/docs/html/search/files_0.js new file mode 100644 index 0000000..b11c03c --- /dev/null +++ b/docs/html/search/files_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['command_2eh_0',['Command.h',['../Command_8h.html',1,'']]] +]; diff --git a/docs/html/search/files_1.html b/docs/html/search/files_1.html new file mode 100644 index 0000000..f7e1582 --- /dev/null +++ b/docs/html/search/files_1.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/files_1.js b/docs/html/search/files_1.js new file mode 100644 index 0000000..1eb9b8c --- /dev/null +++ b/docs/html/search/files_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['date_2eh_0',['Date.h',['../Date_8h.html',1,'']]] +]; diff --git a/docs/html/search/files_2.html b/docs/html/search/files_2.html new file mode 100644 index 0000000..99aca62 --- /dev/null +++ b/docs/html/search/files_2.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/files_2.js b/docs/html/search/files_2.js new file mode 100644 index 0000000..5078cc8 --- /dev/null +++ b/docs/html/search/files_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['event_2eh_0',['Event.h',['../Event_8h.html',1,'']]], + ['eventservice_2eh_1',['EventService.h',['../EventService_8h.html',1,'']]] +]; diff --git a/docs/html/search/files_3.html b/docs/html/search/files_3.html new file mode 100644 index 0000000..25e128c --- /dev/null +++ b/docs/html/search/files_3.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/files_3.js b/docs/html/search/files_3.js new file mode 100644 index 0000000..63fa030 --- /dev/null +++ b/docs/html/search/files_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['fmiticketsystemconsoleui_2eh_0',['FMITicketSystemConsoleUI.h',['../FMITicketSystemConsoleUI_8h.html',1,'']]] +]; diff --git a/docs/html/search/files_4.html b/docs/html/search/files_4.html new file mode 100644 index 0000000..3c8ba6e --- /dev/null +++ b/docs/html/search/files_4.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/files_4.js b/docs/html/search/files_4.js new file mode 100644 index 0000000..544e16d --- /dev/null +++ b/docs/html/search/files_4.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['hall_2eh_0',['Hall.h',['../Hall_8h.html',1,'']]], + ['hallservice_2eh_1',['HallService.h',['../HallService_8h.html',1,'']]] +]; diff --git a/docs/html/search/files_5.html b/docs/html/search/files_5.html new file mode 100644 index 0000000..7ff9613 --- /dev/null +++ b/docs/html/search/files_5.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/files_5.js b/docs/html/search/files_5.js new file mode 100644 index 0000000..1d78260 --- /dev/null +++ b/docs/html/search/files_5.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['list_2ehpp_0',['List.hpp',['../List_8hpp.html',1,'']]] +]; diff --git a/docs/html/search/files_6.html b/docs/html/search/files_6.html new file mode 100644 index 0000000..cdd711b --- /dev/null +++ b/docs/html/search/files_6.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/files_6.js b/docs/html/search/files_6.js new file mode 100644 index 0000000..d6e8254 --- /dev/null +++ b/docs/html/search/files_6.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['main_2ecpp_0',['main.cpp',['../main_8cpp.html',1,'']]], + ['menu_2eh_1',['Menu.h',['../Menu_8h.html',1,'']]] +]; diff --git a/docs/html/search/files_7.html b/docs/html/search/files_7.html new file mode 100644 index 0000000..590e76a --- /dev/null +++ b/docs/html/search/files_7.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/files_7.js b/docs/html/search/files_7.js new file mode 100644 index 0000000..ef5e0ad --- /dev/null +++ b/docs/html/search/files_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['orderedlist_2ehpp_0',['OrderedList.hpp',['../OrderedList_8hpp.html',1,'']]] +]; diff --git a/docs/html/search/files_8.html b/docs/html/search/files_8.html new file mode 100644 index 0000000..5f47b07 --- /dev/null +++ b/docs/html/search/files_8.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/files_8.js b/docs/html/search/files_8.js new file mode 100644 index 0000000..d259504 --- /dev/null +++ b/docs/html/search/files_8.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['reservation_2eh_0',['Reservation.h',['../Reservation_8h.html',1,'']]] +]; diff --git a/docs/html/search/files_9.html b/docs/html/search/files_9.html new file mode 100644 index 0000000..954127a --- /dev/null +++ b/docs/html/search/files_9.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/files_9.js b/docs/html/search/files_9.js new file mode 100644 index 0000000..6d81127 --- /dev/null +++ b/docs/html/search/files_9.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['statuscode_2eh_0',['StatusCode.h',['../StatusCode_8h.html',1,'']]], + ['string_2eh_1',['String.h',['../String_8h.html',1,'']]] +]; diff --git a/docs/html/search/files_a.html b/docs/html/search/files_a.html new file mode 100644 index 0000000..5b90468 --- /dev/null +++ b/docs/html/search/files_a.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/files_a.js b/docs/html/search/files_a.js new file mode 100644 index 0000000..632dd3a --- /dev/null +++ b/docs/html/search/files_a.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['ticket_2eh_0',['Ticket.h',['../Ticket_8h.html',1,'']]], + ['toolbox_2ehpp_1',['Toolbox.hpp',['../Toolbox_8hpp.html',1,'']]] +]; diff --git a/docs/html/search/functions_0.html b/docs/html/search/functions_0.html new file mode 100644 index 0000000..2d2d950 --- /dev/null +++ b/docs/html/search/functions_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_0.js b/docs/html/search/functions_0.js new file mode 100644 index 0000000..0a24301 --- /dev/null +++ b/docs/html/search/functions_0.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['_5fprintinputboxlabel_0',['_printInputBoxLabel',['../Toolbox_8hpp.html#ab3ce613add75d2385c8e1424527d2c3d',1,'Toolbox.cpp']]], + ['_5fprintorderedlistbeginning_1',['_printOrderedListBeginning',['../Toolbox_8hpp.html#a27b565355e018d36b6ce47169cc26fad',1,'Toolbox.cpp']]], + ['_5fprintsubboxspacing_2',['_printSubBoxSpacing',['../Toolbox_8hpp.html#ac17b91efad13dbe9e10e5550ee4707c6',1,'Toolbox.cpp']]] +]; diff --git a/docs/html/search/functions_1.html b/docs/html/search/functions_1.html new file mode 100644 index 0000000..3b96b90 --- /dev/null +++ b/docs/html/search/functions_1.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_1.js b/docs/html/search/functions_1.js new file mode 100644 index 0000000..2681e1e --- /dev/null +++ b/docs/html/search/functions_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['add_0',['add',['../classList.html#abfec4f2e7990d06c143852ecfdf907bb',1,'List::add()'],['../classOrderedList.html#a8b2748c3cdefe4869e0d7a2fc9b4b2cd',1,'OrderedList::add()']]], + ['addcommand_1',['addCommand',['../classMenu.html#a1f022cc8b705369073f8fd7b90b30c8d',1,'Menu']]] +]; diff --git a/docs/html/search/functions_10.html b/docs/html/search/functions_10.html new file mode 100644 index 0000000..f0fe489 --- /dev/null +++ b/docs/html/search/functions_10.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_10.js b/docs/html/search/functions_10.js new file mode 100644 index 0000000..f5371b5 --- /dev/null +++ b/docs/html/search/functions_10.js @@ -0,0 +1,15 @@ +var searchData= +[ + ['read_0',['read',['../classList.html#a5e3581ee07649f462aa8bb3221a5466e',1,'List::read()'],['../classString.html#ad76bb9eca15651c67332808cdaad6344',1,'String::read()'],['../classEvent.html#ae58d2ed716836adcdacaeec4dd08c1cf',1,'Event::read()'],['../classHall.html#acef974f302d8131ef4608e15f96c2df9',1,'Hall::read()'],['../classReservation.html#a03f0d1a522edb2c5fba7538f0c879573',1,'Reservation::read()'],['../classTicket.html#aad2d0b7b92b54ec861db92c31f50f4ad',1,'Ticket::read()'],['../classDate.html#a982c0c9098056aa33c5cbc9eba093852',1,'Date::read()'],['../Toolbox_8hpp.html#a06ca09434be2a02543a2371d477acfa0',1,'read(T &storage): Toolbox.hpp'],['../Toolbox_8hpp.html#a3c9098dc2b305107367c56ded5dec787',1,'read(T *storage): Toolbox.hpp']]], + ['registererror_1',['registerError',['../classMenu.html#aad506cb9a7f35dea98c60484bb2d095c',1,'Menu']]], + ['registersuccess_2',['registerSuccess',['../classMenu.html#a3504e28b5d05e1ad70dada190bbc3a9c',1,'Menu']]], + ['registerwarning_3',['registerWarning',['../classMenu.html#a5350b1addf9bf365351486cd161696ad',1,'Menu']]], + ['removeat_4',['removeAt',['../classList.html#ad9c0a5b5bca6286f458d6fab280de65a',1,'List']]], + ['reportboughttickets_5',['reportBoughtTickets',['../classEventService.html#afc74fc6d44fca054bce8e54997c0cd3e',1,'EventService']]], + ['reportreservations_6',['reportReservations',['../classEventService.html#a277194aea79a2c9bf955b7706a20c54c',1,'EventService']]], + ['reservation_7',['Reservation',['../classReservation.html#a7320a032f87c7d45cf287a146c73695c',1,'Reservation::Reservation(const Ticket &ticket)'],['../classReservation.html#ac6fdecd9bc06f3de2e28129ab370f4f7',1,'Reservation::Reservation(const Ticket &ticket, const char *password, const char *note)'],['../classReservation.html#a63b283053695e6f50fa44c50da2b3de5',1,'Reservation::Reservation()']]], + ['reserveticket_8',['reserveTicket',['../classEventService.html#a3c0d2a05e2a3026044b9e13e6802fbdb',1,'EventService']]], + ['resetorderedlist_9',['resetOrderedList',['../Toolbox_8hpp.html#a4456d10f7e141c4fc1a29aff4ad29108',1,'Toolbox.cpp']]], + ['run_10',['run',['../classCommand.html#a44689093b812bfc97b2787c2ba0303ce',1,'Command']]], + ['runui_11',['runUI',['../FMITicketSystemConsoleUI_8h.html#a79d6833c27b5a32b6d9917f5cd6e32a3',1,'FMITicketSystemConsoleUI.cpp']]] +]; diff --git a/docs/html/search/functions_11.html b/docs/html/search/functions_11.html new file mode 100644 index 0000000..fb95b05 --- /dev/null +++ b/docs/html/search/functions_11.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_11.js b/docs/html/search/functions_11.js new file mode 100644 index 0000000..7585664 --- /dev/null +++ b/docs/html/search/functions_11.js @@ -0,0 +1,11 @@ +var searchData= +[ + ['save_0',['save',['../classEventService.html#a5aac3df17ef30f84c1c28277c256ec32',1,'EventService::save()'],['../classHallService.html#a083e3d10ec89ee8c78a117c3754c66d2',1,'HallService::save()']]], + ['set_5fday_1',['set_day',['../classDate.html#acaf0c3ee1b2d36edf4f870ddd8acce08',1,'Date']]], + ['set_5fmonth_2',['set_month',['../classDate.html#ad0a591a557ddde0871389c3d716e6044',1,'Date']]], + ['set_5fyear_3',['set_year',['../classDate.html#a6a0f3124e1850cd9f1514ebffcdd0cae',1,'Date']]], + ['string_4',['String',['../classString.html#ad3d65397e27bb3c4db1295208cfb1559',1,'String::String(unsigned length)'],['../classString.html#a3fba40cf6cb11735ffddc355a5ff68f4',1,'String::String(const char *str)']]], + ['subtitlebox_5',['subTitleBox',['../Toolbox_8hpp.html#ad557e4a1167be4e0c57fe530ce74a120',1,'Toolbox.cpp']]], + ['successbox_6',['successBox',['../Toolbox_8hpp.html#a6c82ac6987703376c17c74a81fb0a91a',1,'Toolbox.cpp']]], + ['successsubbox_7',['successSubBox',['../Toolbox_8hpp.html#aa78e2e87fff9b64ca032a5b1c7054081',1,'Toolbox.cpp']]] +]; diff --git a/docs/html/search/functions_12.html b/docs/html/search/functions_12.html new file mode 100644 index 0000000..292fd4a --- /dev/null +++ b/docs/html/search/functions_12.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_12.js b/docs/html/search/functions_12.js new file mode 100644 index 0000000..e28d858 --- /dev/null +++ b/docs/html/search/functions_12.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['table_0',['table',['../Toolbox_8hpp.html#a6c90056ede686f0319d0fb0a408d02e5',1,'Toolbox.cpp']]], + ['ticket_1',['Ticket',['../classTicket.html#aba3a46c9223efb6ab0bde93a09403537',1,'Ticket::Ticket()'],['../classTicket.html#a6fa09371f1b70520b96dbb9ac9a71768',1,'Ticket::Ticket(unsigned row, unsigned seat)']]], + ['ticketisreserved_2',['ticketIsReserved',['../classEventService.html#ad1efbed6111da8e755d86b5bc9ada806',1,'EventService']]], + ['titlebox_3',['titleBox',['../Toolbox_8hpp.html#a24a3fa9050ea032396c213ea85a1de0b',1,'Toolbox.cpp']]] +]; diff --git a/docs/html/search/functions_13.html b/docs/html/search/functions_13.html new file mode 100644 index 0000000..5fcdf9c --- /dev/null +++ b/docs/html/search/functions_13.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_13.js b/docs/html/search/functions_13.js new file mode 100644 index 0000000..957e495 --- /dev/null +++ b/docs/html/search/functions_13.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['warningbox_0',['warningBox',['../Toolbox_8hpp.html#a52222c9ff8739ef87c89df899deb5052',1,'Toolbox.cpp']]], + ['warningsubbox_1',['warningSubBox',['../Toolbox_8hpp.html#a22f8b3135115d1b9fca09eea98dc6d92',1,'Toolbox.cpp']]], + ['write_2',['write',['../classDate.html#a9c728831f35f27abf3348132a13b7844',1,'Date::write()'],['../classList.html#a8d2babffd2fb4a5e0a40dbd306e19956',1,'List::write()'],['../classString.html#a7b0ea809587c21bc1d2b87bfee53e628',1,'String::write()'],['../classEvent.html#a05a302aa998977c30950987c07f0fbba',1,'Event::write()'],['../classHall.html#a0239d59ab0f832f16cf35c820d0eba5a',1,'Hall::write()'],['../classReservation.html#a1aba46b8e181750bd89fdfca6ff8ba32',1,'Reservation::write()'],['../classTicket.html#a584a11f6236fc96f3bdbd0592d3f60f4',1,'Ticket::write()']]] +]; diff --git a/docs/html/search/functions_2.html b/docs/html/search/functions_2.html new file mode 100644 index 0000000..1f16d2a --- /dev/null +++ b/docs/html/search/functions_2.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_2.js b/docs/html/search/functions_2.js new file mode 100644 index 0000000..3c047d0 --- /dev/null +++ b/docs/html/search/functions_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['buyticket_0',['buyTicket',['../classEventService.html#ac447cac3e4974b9cc676d9bb90152979',1,'EventService::buyTicket(const char *name, const Date &date, const Ticket &ticket, const char *password, String *reservationNoteOutput)'],['../classEventService.html#ad0a204aca9cc8287f562f42916248e9e',1,'EventService::buyTicket(const char *name, const Date &date, const Ticket &ticket)']]] +]; diff --git a/docs/html/search/functions_3.html b/docs/html/search/functions_3.html new file mode 100644 index 0000000..0b37ee2 --- /dev/null +++ b/docs/html/search/functions_3.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_3.js b/docs/html/search/functions_3.js new file mode 100644 index 0000000..e1adcd6 --- /dev/null +++ b/docs/html/search/functions_3.js @@ -0,0 +1,13 @@ +var searchData= +[ + ['cancelevent_0',['cancelEvent',['../classEventService.html#ac7ea565af5ad78e84749558477ceaf26',1,'EventService']]], + ['cancelticketreservation_1',['cancelTicketReservation',['../classEventService.html#aa6fd620de878f225f7c51bb0df6ea749',1,'EventService']]], + ['clear_2',['clear',['../Toolbox_8hpp.html#ac8bb3912a3ce86b15842e79d0b421204',1,'Toolbox.cpp']]], + ['command_3',['Command',['../classCommand.html#a18df2d81039392daeb0b78c346a70537',1,'Command::Command()'],['../classCommand.html#a4e22ce5bdf74f9c975494dddd280884a',1,'Command::Command(const char *nameInMenu, void(*exec)())']]], + ['compare_4',['compare',['../classDate.html#a3cda588bf2f65b84639303a1aa1105be',1,'Date::compare()'],['../classString.html#a3f420d69fbe3de91711dc69148d23cc7',1,'String::compare()'],['../classEvent.html#af5c84a902db8f29f8b8737026011f1f6',1,'Event::compare()'],['../classHall.html#a4259837f943c488c6b15ed6c80d5f30b',1,'Hall::compare()'],['../classReservation.html#a31cc66beeaf85befe2185dfc88086d38',1,'Reservation::compare()'],['../classTicket.html#a82a063f71be89f44dd969970855187c4',1,'Ticket::compare()']]], + ['configureeventinsertionop_5',['configureEventInsertionOp',['../Event_8h.html#ad423797aa9adadabb5651f8955c001bb',1,'Event.cpp']]], + ['contain_6',['contain',['../classList.html#a163a070c7d5dc77ca3c1726b8f2d4bc1',1,'List']]], + ['createevent_7',['createEvent',['../classEventService.html#a7a21a5909116215e402254510d6d81d6',1,'EventService']]], + ['createseatingstring_8',['createSeatingString',['../classEventService.html#a7f4632e3beae5d24087047ab0223f85e',1,'EventService']]], + ['createstring_9',['createString',['../classDate.html#a6e00ace9f8c923c96188bd76f1e064c2',1,'Date']]] +]; diff --git a/docs/html/search/functions_4.html b/docs/html/search/functions_4.html new file mode 100644 index 0000000..0eaf2b4 --- /dev/null +++ b/docs/html/search/functions_4.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_4.js b/docs/html/search/functions_4.js new file mode 100644 index 0000000..186d442 --- /dev/null +++ b/docs/html/search/functions_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['date_0',['Date',['../classDate.html#a4e59ed4ba66eec61c27460c5d09fa1bd',1,'Date::Date()'],['../classDate.html#a99d57b698afdacd18f5a414cdc7524fd',1,'Date::Date(const char *str)'],['../classDate.html#a87b3c3ede7dee726e8779eebfcc0a299',1,'Date::Date(unsigned short day, unsigned short month, unsigned short year)']]] +]; diff --git a/docs/html/search/functions_5.html b/docs/html/search/functions_5.html new file mode 100644 index 0000000..eaa2769 --- /dev/null +++ b/docs/html/search/functions_5.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_5.js b/docs/html/search/functions_5.js new file mode 100644 index 0000000..aa9e0b8 --- /dev/null +++ b/docs/html/search/functions_5.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['errorbox_0',['errorBox',['../Toolbox_8hpp.html#a9d709a3db7de05368cc38671c896bb2d',1,'Toolbox.cpp']]], + ['errorsubbox_1',['errorSubBox',['../Toolbox_8hpp.html#ade748c3f15151748c9f978097715d2e7',1,'Toolbox.cpp']]], + ['event_2',['Event',['../classEvent.html#a5a40dd4708297f7031e29b39e039ae10',1,'Event::Event()'],['../classEvent.html#a6ecbd134ada51629f30b2d1cf352d88f',1,'Event::Event(const Hall &hall, String name, Date date)']]], + ['eventservice_3',['EventService',['../classEventService.html#a9b30bb95890abac259ba27b53cabe545',1,'EventService::EventService(const HallService *hs)'],['../classEventService.html#af35cde4a05edfec88496772b6d0b1e37',1,'EventService::EventService(const HallService *hs, const Event *events, unsigned eventCount)']]] +]; diff --git a/docs/html/search/functions_6.html b/docs/html/search/functions_6.html new file mode 100644 index 0000000..25d1cc8 --- /dev/null +++ b/docs/html/search/functions_6.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_6.js b/docs/html/search/functions_6.js new file mode 100644 index 0000000..88f9575 --- /dev/null +++ b/docs/html/search/functions_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['findindex_0',['findIndex',['../classList.html#a3804f03273ef5e339b504e439c5b6534',1,'List']]] +]; diff --git a/docs/html/search/functions_7.html b/docs/html/search/functions_7.html new file mode 100644 index 0000000..b6392ea --- /dev/null +++ b/docs/html/search/functions_7.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_7.js b/docs/html/search/functions_7.js new file mode 100644 index 0000000..b5d3390 --- /dev/null +++ b/docs/html/search/functions_7.js @@ -0,0 +1,23 @@ +var searchData= +[ + ['get_5fcount_0',['get_count',['../classList.html#a3c1e3a3fc085f5b7ae68514c4758687b',1,'List']]], + ['get_5fcstr_1',['get_cstr',['../classString.html#a3d7f953737f3d4dca72d1cc4836f7dcc',1,'String']]], + ['get_5fdate_2',['get_date',['../classEvent.html#a222904d44dfaf3f1f96e2190c5ea4293',1,'Event']]], + ['get_5fday_3',['get_day',['../classDate.html#a2e4dc4249f8cccd40acc5950b42e1339',1,'Date']]], + ['get_5fhall_4',['get_hall',['../classEvent.html#ae3023ae2c487f46b3235f67554e58615',1,'Event']]], + ['get_5fhalls_5',['get_halls',['../classHallService.html#a641fdcc475e094687713e94094e2a623',1,'HallService']]], + ['get_5flength_6',['get_length',['../classList.html#aa32109b77dccd8241b125ebabdda876c',1,'List::get_length()'],['../classString.html#a7793a7e9a7601d4c724dcc85566259bf',1,'String::get_length()']]], + ['get_5fmonth_7',['get_month',['../classDate.html#a79ebbf3cb46f892604dc79ffc82bcfcc',1,'Date']]], + ['get_5fname_8',['get_name',['../classEvent.html#a7bf717630c32826689df41e0bb3ecbce',1,'Event']]], + ['get_5fnote_9',['get_note',['../classReservation.html#a2285881510bf07f469bf360bb1050f12',1,'Reservation']]], + ['get_5fnumber_10',['get_number',['../classHall.html#a84186aee50631f25b214f18f7b0dc178',1,'Hall']]], + ['get_5fpassword_11',['get_password',['../classReservation.html#aa34cd16a057a4a483e569ec5d7527ad9',1,'Reservation']]], + ['get_5freservations_12',['get_reservations',['../classEvent.html#a43c6b2bddd42435eb6c8cd0f15d75c6f',1,'Event::get_reservations()'],['../classEvent.html#a7af1c5d57d41701e6411b7c251bf904e',1,'Event::get_reservations() const']]], + ['get_5frow_13',['get_row',['../classTicket.html#a94476de3cd6711185527d0fe4df9a278',1,'Ticket']]], + ['get_5frows_14',['get_rows',['../classHall.html#a6b3c304a95d3f56980c6faf0cc2073a2',1,'Hall']]], + ['get_5fseat_15',['get_seat',['../classTicket.html#af7b64cb77a676d0f7bdb32255283f005',1,'Ticket']]], + ['get_5fseatsperrow_16',['get_seatsPerRow',['../classHall.html#a42e1cd716086d8a42a627e00cde17a7e',1,'Hall']]], + ['get_5fticket_17',['get_ticket',['../classReservation.html#af1b95b3d7c46f506dec4d275d6821cdb',1,'Reservation']]], + ['get_5ftickets_18',['get_tickets',['../classEvent.html#a16a84fced8e02f756232c54c27bb22ad',1,'Event::get_tickets()'],['../classEvent.html#a1f914fc91044a5c10d71f31b8e712c46',1,'Event::get_tickets() const']]], + ['get_5fyear_19',['get_year',['../classDate.html#a025aae2b290ba357e049d054085f91e3',1,'Date']]] +]; diff --git a/docs/html/search/functions_8.html b/docs/html/search/functions_8.html new file mode 100644 index 0000000..ecf6a89 --- /dev/null +++ b/docs/html/search/functions_8.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_8.js b/docs/html/search/functions_8.js new file mode 100644 index 0000000..d811893 --- /dev/null +++ b/docs/html/search/functions_8.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['hall_0',['Hall',['../classHall.html#a122ed8085be305339c89cadb3e360b86',1,'Hall::Hall()'],['../classHall.html#af88f012be2e7671366e10d4e154a8d8f',1,'Hall::Hall(int number)'],['../classHall.html#ab93a2ca8463f3b3d398374a6efea4c71',1,'Hall::Hall(int number, unsigned rows, unsigned seatsPerRow)']]], + ['hallservice_1',['HallService',['../classHallService.html#a57a8117d8d510afb5351a3f7efc18dff',1,'HallService']]] +]; diff --git a/docs/html/search/functions_9.html b/docs/html/search/functions_9.html new file mode 100644 index 0000000..cd70e2b --- /dev/null +++ b/docs/html/search/functions_9.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_9.js b/docs/html/search/functions_9.js new file mode 100644 index 0000000..d2ee126 --- /dev/null +++ b/docs/html/search/functions_9.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['inputbox_0',['inputBox',['../Toolbox_8hpp.html#ab7651f0a92f8d0d0be3d63c1045eee1e',1,'Toolbox.hpp']]], + ['inputlinebox_1',['inputLineBox',['../Toolbox_8hpp.html#aa49b4d5a7b00249bc1fb08eec5e3aeaf',1,'Toolbox.cpp']]], + ['inputlinesubbox_2',['inputLineSubBox',['../Toolbox_8hpp.html#ad2c61ce27ec52d14e427d6f6e93d38f2',1,'Toolbox.cpp']]], + ['inputsubbox_3',['inputSubBox',['../Toolbox_8hpp.html#a92da1c5f0023cd5c4809d9c1f682e92f',1,'Toolbox.hpp']]], + ['insert_4',['insert',['../classOrderedList.html#a1132cd9c92901e9b9950a4a409b0fc8b',1,'OrderedList']]], + ['insertat_5',['insertAt',['../classList.html#ae4586debf72af33bccb3c2fbfce420e8',1,'List::insertAt()'],['../classOrderedList.html#a45af729846bacc77fc8292e5d0690f99',1,'OrderedList::insertAt()']]] +]; diff --git a/docs/html/search/functions_a.html b/docs/html/search/functions_a.html new file mode 100644 index 0000000..d2a3de9 --- /dev/null +++ b/docs/html/search/functions_a.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_a.js b/docs/html/search/functions_a.js new file mode 100644 index 0000000..71aa63d --- /dev/null +++ b/docs/html/search/functions_a.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['list_0',['List',['../classList.html#a93cd36efc12aa5ef5fc28866edce7e61',1,'List']]], + ['load_1',['load',['../classEventService.html#a1225c23dae83fa928da47113cd1c5617',1,'EventService::load()'],['../classHallService.html#ab63c1ccff811ed3268f2fe5e996eb6ae',1,'HallService::load()']]] +]; diff --git a/docs/html/search/functions_b.html b/docs/html/search/functions_b.html new file mode 100644 index 0000000..e6f34bb --- /dev/null +++ b/docs/html/search/functions_b.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_b.js b/docs/html/search/functions_b.js new file mode 100644 index 0000000..fbbbd65 --- /dev/null +++ b/docs/html/search/functions_b.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['main_0',['main',['../main_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4',1,'main.cpp']]], + ['menu_1',['Menu',['../classMenu.html#ad466dd83355124a6ed958430450bfe94',1,'Menu::Menu()'],['../classMenu.html#aeec919379638ad526df5167ed755a1f3',1,'Menu::Menu(const char *title, bool backExistsApp, bool isSubMenu)'],['../classMenu.html#a12057ad84f3a9d41bc7092cc2d86c87a',1,'Menu::Menu(const char *title, bool backExistsApp, bool isSubMenu, const Command *commands, unsigned commandCount)']]] +]; diff --git a/docs/html/search/functions_c.html b/docs/html/search/functions_c.html new file mode 100644 index 0000000..87b4ce2 --- /dev/null +++ b/docs/html/search/functions_c.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_c.js b/docs/html/search/functions_c.js new file mode 100644 index 0000000..c3df1e0 --- /dev/null +++ b/docs/html/search/functions_c.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['navigate_0',['navigate',['../classMenu.html#a0400751da7f8583029b7a12d3003c36d',1,'Menu']]] +]; diff --git a/docs/html/search/functions_d.html b/docs/html/search/functions_d.html new file mode 100644 index 0000000..ada2b81 --- /dev/null +++ b/docs/html/search/functions_d.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_d.js b/docs/html/search/functions_d.js new file mode 100644 index 0000000..eb8016b --- /dev/null +++ b/docs/html/search/functions_d.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['operator_2b_3d_0',['operator+=',['../classList.html#aa4332ce5a589da28528f035ded6d41e5',1,'List::operator+=()'],['../classString.html#a64de9ab1af5df9397f8fbd8c79d5f4b6',1,'String::operator+=(const char *str)'],['../classString.html#aed8480111703abc1f281148c778b0445',1,'String::operator+=(unsigned number)']]], + ['operator_3c_3c_1',['operator<<',['../Date_8h.html#ad12d4bbc4f7919efdec583d1478a6a76',1,'operator<<(std::ostream &ostr, const Date &dt): Date.cpp'],['../List_8hpp.html#ac8590f4d4ba6c820c34afe14df54f2c2',1,'operator<<(std::ostream &ostr, const List< T > &obj): List.hpp'],['../Event_8h.html#a08eaf45abee385d26c4934afeb9be163',1,'operator<<(std::ostream &ostr, const Event &event): Event.cpp'],['../Hall_8h.html#a9671d0935caa6dd24b5f1b9be101c477',1,'operator<<(std::ostream &ostr, const Hall &hall): Hall.cpp'],['../Ticket_8h.html#ae1686d3505df5e86e64e6e1b263e92ce',1,'operator<<(std::ostream &ostr, const Ticket &ticket): Ticket.cpp']]], + ['operator_3e_3e_2',['operator>>',['../Date_8h.html#ae020cf1772268f1a43d172d3adfc9797',1,'operator>>(std::istream &istr, Date &dt): Date.cpp'],['../List_8hpp.html#a7469c3479753bfbada761697c539aa07',1,'operator>>(std::istream &istr, List< T > &obj): List.hpp'],['../Event_8h.html#a31d9c76919809491b346728ec6659b19',1,'operator>>(std::istream &istr, Event &event): Event.cpp'],['../Hall_8h.html#ac55d9db507637effdb1896e33c86d439',1,'operator>>(std::istream &istr, Hall &hall): Hall.cpp'],['../Ticket_8h.html#ac5c53ae039e173faa4cce85c2e32c920',1,'operator>>(std::istream &istr, Ticket &ticket): Ticket.cpp']]], + ['operator_5b_5d_3',['operator[]',['../classList.html#a321bb581943398344aad07198d1f02ac',1,'List::operator[](unsigned index)'],['../classList.html#a5fa582de3aec5094a871852b658cf853',1,'List::operator[](unsigned index) const'],['../classString.html#a5d3b77a51619a8580a373d2cd1092a54',1,'String::operator[]()']]] +]; diff --git a/docs/html/search/functions_e.html b/docs/html/search/functions_e.html new file mode 100644 index 0000000..1297715 --- /dev/null +++ b/docs/html/search/functions_e.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_e.js b/docs/html/search/functions_e.js new file mode 100644 index 0000000..b71ccda --- /dev/null +++ b/docs/html/search/functions_e.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['pressentertocontinue_0',['pressEnterToContinue',['../Toolbox_8hpp.html#ac7f54319bf4e70a46e3155ae1b39e832',1,'Toolbox.cpp']]], + ['print_1',['print',['../Toolbox_8hpp.html#a5ca1093462d3266fceb8522e144c1e73',1,'print(const T *item): Toolbox.hpp'],['../Toolbox_8hpp.html#a9c0a0d7d3210ca5f12f02ac4cb88476e',1,'print(const T &item): Toolbox.hpp']]], + ['printline_2',['printLine',['../Toolbox_8hpp.html#a148d9d6b8b15bbfc2b1f4cdb16c2ee81',1,'printLine(const T *item): Toolbox.hpp'],['../Toolbox_8hpp.html#a799f4cb5b4da3d40261e25d9e41995aa',1,'printLine(const T &item): Toolbox.hpp']]], + ['printorderedlistelem_3',['printOrderedListElem',['../Toolbox_8hpp.html#abe3a449632ee6d40eb59101dd2d2f114',1,'Toolbox.hpp']]] +]; diff --git a/docs/html/search/functions_f.html b/docs/html/search/functions_f.html new file mode 100644 index 0000000..d2ae3cf --- /dev/null +++ b/docs/html/search/functions_f.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_f.js b/docs/html/search/functions_f.js new file mode 100644 index 0000000..0066e45 --- /dev/null +++ b/docs/html/search/functions_f.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['queryinsufficientlyvisited_0',['queryInsufficientlyVisited',['../classEventService.html#a814de3510f72150f2e54d44f8c8948bb',1,'EventService']]], + ['querymostwatched_1',['queryMostWatched',['../classEventService.html#a6700bd4f9da6d12a47812b9c8549556e',1,'EventService']]] +]; diff --git a/docs/html/search/mag_sel.svg b/docs/html/search/mag_sel.svg new file mode 100644 index 0000000..03626f6 --- /dev/null +++ b/docs/html/search/mag_sel.svg @@ -0,0 +1,74 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/docs/html/search/nomatches.html b/docs/html/search/nomatches.html new file mode 100644 index 0000000..2b9360b --- /dev/null +++ b/docs/html/search/nomatches.html @@ -0,0 +1,13 @@ + + + + + + + + +
    +
    No Matches
    +
    + + diff --git a/docs/html/search/pages_0.html b/docs/html/search/pages_0.html new file mode 100644 index 0000000..e53c280 --- /dev/null +++ b/docs/html/search/pages_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/pages_0.js b/docs/html/search/pages_0.js new file mode 100644 index 0000000..6cfe3e5 --- /dev/null +++ b/docs/html/search/pages_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['fmi_20tickets_20system_0',['FMI Tickets System',['../index.html',1,'']]] +]; diff --git a/docs/html/search/related_0.html b/docs/html/search/related_0.html new file mode 100644 index 0000000..28d304b --- /dev/null +++ b/docs/html/search/related_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/related_0.js b/docs/html/search/related_0.js new file mode 100644 index 0000000..6e66f56 --- /dev/null +++ b/docs/html/search/related_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['operator_3c_3c_0',['operator<<',['../classString.html#aa00d824f40064ff356aa7c15d6a9da12',1,'String::operator<<()'],['../classReservation.html#abf734c0a55da55ef89dab1e2f12b8ebd',1,'Reservation::operator<<()']]], + ['operator_3e_3e_1',['operator>>',['../classString.html#a1918adea635f3f340dbecd6fb05341f8',1,'String::operator>>()'],['../classReservation.html#a2b7331e532f77bbc67eab217bfeb1f25',1,'Reservation::operator>>()']]] +]; diff --git a/docs/html/search/search.css b/docs/html/search/search.css new file mode 100644 index 0000000..648a792 --- /dev/null +++ b/docs/html/search/search.css @@ -0,0 +1,263 @@ +/*---------------- Search Box */ + +#MSearchBox { + white-space : nowrap; + background: white; + border-radius: 0.65em; + box-shadow: inset 0.5px 0.5px 3px 0px #555; + z-index: 102; +} + +#MSearchBox .left { + display: inline-block; + vertical-align: middle; + height: 1.4em; +} + +#MSearchSelect { + display: inline-block; + vertical-align: middle; + height: 19px; + padding: 0 0 0 0.3em; + margin: 0; +} + +#MSearchField { + display: inline-block; + vertical-align: middle; + width: 7.5em; + height: 19px; + margin: 0 0.15em; + padding: 0; + line-height: 1em; + border:none; + color: #909090; + outline: none; + font-family: Arial, Verdana, sans-serif; + -webkit-border-radius: 0px; + border-radius: 0px; + background: none; +} + +@media(hover: none) { + /* to avoid zooming on iOS */ + #MSearchField { + font-size: 16px; + } +} + +#MSearchBox .right { + display: inline-block; + vertical-align: middle; + width: 1.4em; + height: 1.4em; +} + +#MSearchClose { + display: none; + font-size: inherit; + background : none; + border: none; + margin: 0; + padding: 0; + outline: none; + +} + +#MSearchCloseImg { + height: 1.4em; + padding: 0.3em; + margin: 0; +} + +.MSearchBoxActive #MSearchField { + color: #000000; +} + +#main-menu > li:last-child { + /* This
  • object is the parent of the search bar */ + display: flex; + justify-content: center; + align-items: center; + height: 36px; + margin-right: 1em; +} + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #90A5CE; + background-color: #F9FAFC; + z-index: 10001; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +.SelectItem { + font: 8pt Arial, Verdana, sans-serif; + padding-left: 2px; + padding-right: 12px; + border: 0px; +} + +span.SelectionMark { + margin-right: 4px; + font-family: monospace; + outline-style: none; + text-decoration: none; +} + +a.SelectItem { + display: block; + outline-style: none; + color: #000000; + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} + +a.SelectItem:focus, +a.SelectItem:active { + color: #000000; + outline-style: none; + text-decoration: none; +} + +a.SelectItem:hover { + color: #FFFFFF; + background-color: #3D578C; + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + /*width: 60ex;*/ + height: 15em; +} + +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #000; + background-color: #EEF1F7; + z-index:10000; +} + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; + padding-bottom: 15px; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} + +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} + +body.SRPage { + margin: 5px 2px; +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} + +.SRPage .SRChildren { + display: none; +} + +.SRSymbol { + font-weight: bold; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +span.SRScope { + padding-left: 4px; + font-family: Arial, Verdana, sans-serif; +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; + font-family: Arial, Verdana, sans-serif; +} + +.SRResult { + display: none; +} + +div.searchresults { + margin-left: 10px; + margin-right: 10px; +} + +/*---------------- External search page results */ + +.searchresult { + background-color: #F0F3F8; +} + +.pages b { + color: white; + padding: 5px 5px 3px 5px; + background-image: url("../tab_a.png"); + background-repeat: repeat-x; + text-shadow: 0 1px 1px #000000; +} + +.pages { + line-height: 17px; + margin-left: 4px; + text-decoration: none; +} + +.hl { + font-weight: bold; +} + +#searchresults { + margin-bottom: 20px; +} + +.searchpages { + margin-top: 10px; +} + diff --git a/docs/html/search/search.js b/docs/html/search/search.js new file mode 100644 index 0000000..ac8055d --- /dev/null +++ b/docs/html/search/search.js @@ -0,0 +1,794 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +function convertToId(search) +{ + var result = ''; + for (i=0;i do a search + { + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) // Up + { + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } + else if (e.keyCode==13 || e.keyCode==27) + { + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() + { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() + { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() + { + this.keyTimeout = 0; + + // strip leading whitespace + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + var code = searchValue.toLowerCase().charCodeAt(0); + var idxChar = searchValue.substr(0, 1).toLowerCase(); + if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair + { + idxChar = searchValue.substr(0, 2); + } + + var resultsPage; + var resultsPageWithSearch; + var hasResultsPage; + + var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); + if (idx!=-1) + { + var hexCode=idx.toString(16); + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + this.extension; + resultsPageWithSearch = resultsPage+'?'+escape(searchValue); + hasResultsPage = true; + } + else // nothing available for this search term + { + resultsPage = this.resultsPath + '/nomatches' + this.extension; + resultsPageWithSearch = resultsPage; + hasResultsPage = false; + } + + window.frames.MSearchResults.location = resultsPageWithSearch; + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + + if (domPopupSearchResultsWindow.style.display!='block') + { + var domSearchBox = this.DOMSearchBox(); + this.DOMSearchClose().style.display = 'inline-block'; + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + var maxWidth = document.body.clientWidth; + var width = 400; + if (left<10) left=10; + if (width+left+8>maxWidth) width=maxWidth-left-8; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + domPopupSearchResultsWindow.style.width = width + 'px'; + } + + this.lastSearchValue = searchValue; + this.lastResultsPage = resultsPage; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) + { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) + { + this.DOMSearchBox().className = 'MSearchBoxActive'; + + var searchField = this.DOMSearchField(); + + if (searchField.value == this.searchLabel) // clear "Search" term upon entry + { + searchField.value = ''; + this.searchActive = true; + } + } + else if (!isActive) // directly remove the panel + { + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.DOMSearchField().value = this.searchLabel; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults(name) +{ + // The number of matches from the last run of . + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) + { + var parentElement = document.getElementById(id); + var element = parentElement.firstChild; + + while (element && element!=parentElement) + { + if (element.nodeName.toLowerCase() == 'div' && element.className == 'SRChildren') + { + return element; + } + + if (element.nodeName.toLowerCase() == 'div' && element.hasChildNodes()) + { + element = element.firstChild; + } + else if (element.nextSibling) + { + element = element.nextSibling; + } + else + { + do + { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) + { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) + { + var element = this.FindChildElement(id); + if (element) + { + if (element.style.display == 'block') + { + element.style.display = 'none'; + } + else + { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) + { + if (!search) // get search word from URL + { + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + var resultRows = document.getElementsByTagName("div"); + var matches = 0; + + var i = 0; + while (i < resultRows.length) + { + var row = resultRows.item(i); + if (row.className == "SRResult") + { + var rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) + { + row.style.display = 'block'; + matches++; + } + else + { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) // no results + { + document.getElementById("NoMatches").style.display='block'; + } + else // at least one result + { + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) + { + if (e.type == "keydown") + { + this.repeatOn = false; + this.lastKey = e.keyCode; + } + else if (e.type == "keypress") + { + if (!this.repeatOn) + { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } + else if (e.type == "keyup") + { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + var newIndex = itemIndex-1; + var focusItem = this.NavPrev(newIndex); + if (focusItem) + { + var child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') // children visible + { + var n=0; + var tmpElem; + while (1) // search for last child + { + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) + { + focusItem = tmpElem; + } + else // found it! + { + break; + } + n++; + } + } + } + if (focusItem) + { + focusItem.focus(); + } + else // return focus to search field + { + parent.document.getElementById("MSearchField").focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = itemIndex+1; + var focusItem; + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') // children visible + { + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } + else if (this.lastKey==39) // Right + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } + else if (this.lastKey==37) // Left + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + if (childIndex>0) + { + var newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } + else // already at first child, jump to parent + { + document.getElementById('Item'+itemIndex).focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = childIndex+1; + var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) // last child, jump to parent next parent + { + elem = this.NavNext(itemIndex+1); + } + if (elem) + { + elem.focus(); + } + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } +} + +function setKeyActions(elem,action) +{ + elem.setAttribute('onkeydown',action); + elem.setAttribute('onkeypress',action); + elem.setAttribute('onkeyup',action); +} + +function setClassAttr(elem,attr) +{ + elem.setAttribute('class',attr); + elem.setAttribute('className',attr); +} + +function createResults() +{ + var results = document.getElementById("SRResults"); + for (var e=0; eli>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.main-menu-btn{position:relative;display:inline-block;width:36px;height:36px;text-indent:36px;margin-left:8px;white-space:nowrap;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.main-menu-btn-icon,.main-menu-btn-icon:before,.main-menu-btn-icon:after{position:absolute;top:50%;left:2px;height:2px;width:24px;background:#666;-webkit-transition:all .25s;transition:all .25s}.main-menu-btn-icon:before{content:'';top:-7px;left:0}.main-menu-btn-icon:after{content:'';top:7px;left:0}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon{height:0}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before{top:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after{top:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}#main-menu-state{position:absolute;width:1px;height:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(1px,1px,1px,1px)}#main-menu-state:not(:checked) ~ #main-menu{display:none}#main-menu-state:checked ~ #main-menu{display:block}@media(min-width:768px){.main-menu-btn{position:absolute;top:-99999px}#main-menu-state:not(:checked) ~ #main-menu{display:block}}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0 1px 1px rgba(255,255,255,0.9);color:#283a5d;outline:0}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace !important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a span.sub-arrow:before{display:block;content:'+'}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283a5d transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;-moz-border-radius:0 !important;-webkit-border-radius:0;border-radius:0 !important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a:hover span.sub-arrow{border-color:white transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;-moz-border-radius:5px !important;-webkit-border-radius:5px;border-radius:5px !important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0 !important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent white}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px !important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} \ No newline at end of file diff --git a/docs/images/FMI-OOP-P1_TicketSystem Overview.svg b/docs/images/FMI-OOP-P1_TicketSystem Overview.svg new file mode 100644 index 0000000..6e35d2f --- /dev/null +++ b/docs/images/FMI-OOP-P1_TicketSystem Overview.svg @@ -0,0 +1,571 @@ + + FMI-OOP-P1_TicketSystem Overview + #title: FMI-OOP-P1_TicketSystem Overview + #background: #fdf6e3 + #bendSize: 0 + #fillArrows: true + #lineWidth: 2 + #leading: 1.3 + + #.groupui: title=italic fill=#b2ee97 direction=right + #.groupes: title=italic fill=#97c8ee direction=right + #.groupm: title=italic fill=#ee9797 direction=down + #.groupv: title=italic fill=#eee997 direction=right + #.groupgc: title=italic fill=#c0baac direction=right + + [main.cpp| + EventService es + HallService hs + ] + + [<groupui> User Interface| + [FMITicketSystemConsoleUI.cpp| + EventService* es + HallService* hs + runUI() + ] + ] + [main.cpp]->[User Interface] + + [<groupes> Services| + [EventService| + OrderedList<Event> events + | + + createEvent() + . cancelEvent() + + reserveTicket() + + cancelTicketReservation() + + buyTicket() + . queryEventHall() + . queryTickets() + . queryReservations() + ~ queryMostVisited() + ~ queryInsufficientlyVisited() + + reportBoughtTickets() + + reportReservations() + ] + + [HallService| + OrderedList<Hall> halls + | + hallExists() + ] + [EventService]-->[HallService] + + [StatusCodes.h| + enum StatusCode + ] + ] + [User Interface]->[Services] + + [<groupm> Models| + [Ticket| + unsigned row + unsigned seat + ] + + [Reservation| + Ticket ticket + char\[8\] password + char\[32\] note + ] + + [Event| + Hall* hall + String name + Date date + OrderedList<Ticket> tickets + OrderedList<Reservation> reservations + ] + [Ticket]-->[Event] + [Reservation]-->[Event] + + [Hall| + int number + unsigned rowCount + unsigned seatsPerRow + ] + [<hidden>H]-/-[Hall] + ] + [Services]<--[Models] + + [<groupgc> Generic Classes| + [List<T>| + add(elem) + insertAt(elem, index) + removeAt(index) + findIndex(elem); + contain(elem); + operator\[\](index) + ] + + [OrderedList<T>| + insert(elem) + remove(elem) + ] + [List<T>]<:-[OrderedList<T>] + + [Date| + unsigned day + unsigned month + int year + ] + + [String| + char* str + unsigned length + unsigned count + ] + [String]-/-[Date] + + [Command| + String name + void (*exec)() + ] + + [Menu| + List<Command> commands + navigate() + ] + [Menu]-->[Command] + ] + [<hidden>H1]-/-[<hidden>H2] + [H2]-/-[Generic Classes] + + + + + + + + + + + + + + + + + + + + + + + main.cpp + + + + + + EventService es + HallService hs + + + + + + + + + + + + User Interface + + + + + + + + + + + + + + FMITicketSystemConsoleUI.cpp + + + + + + EventService* es + HallService* hs + runUI() + + + + + + + + + + + + + + + + Services + + + + + + + + + + + + + + + + + + + EventService + + + + + + OrderedList<Event> events + + + + + + + createEvent() + . cancelEvent() + + reserveTicket() + + cancelTicketReservation() + + buyTicket() + . queryEventHall() + . queryTickets() + . queryReservations() + ~ queryMostVisited() + ~ queryInsufficientlyVisited() + + reportBoughtTickets() + + reportReservations() + + + + + + + + + + + + + HallService + + + + + + OrderedList<Hall> halls + + + + + + hallExists() + + + + + + + + + + + + StatusCodes.h + + + + + + enum StatusCode + + + + + + + + + + + + + + + + Models + + + + + + + + + + + + + + + + + + + + + + Ticket + + + + + + unsigned row + unsigned seat + + + + + + + + + + + + Reservation + + + + + + Ticket ticket + char[8] password + char[32] note + + + + + + + + + + + + Event + + + + + + Hall* hall + String name + Date date + OrderedList<Ticket> tickets + OrderedList<Reservation> reservations + + + + + + + + + + + + Hall + + + + + + int number + unsigned rowCount + unsigned seatsPerRow + + + + + + + + + + + + + + + + + + + Generic Classes + + + + + + + + + + + + + + + + + + + + List<T> + + + + + + add(elem) + insertAt(elem, index) + removeAt(index) + findIndex(elem) + contain(elem) + operator[](index) + + + + + + + + + + + + OrderedList<T> + + + + + + insert(elem) + remove(elem) + + + + + + + + + + + + Date + + + + + + unsigned day + unsigned month + int year + + + + + + + + + + + + String + + + + + + char* str + unsigned length + unsigned count + + + + + + + + + + + + Command + + + + + + String name + void (*exec)() + + + + + + + + + + + + Menu + + + + + + List<Command> commands + navigate() + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..b2b183c --- /dev/null +++ b/docs/index.md @@ -0,0 +1,57 @@ +# FMI Tickets System {#mainpage} + +\author Kamen Mladenov; FMI Computer Science, Year 1, Group 6; Project 1, Topic 4 +\date 12 May 2022 +\copyright GNU General Public License v3.0 + +
    +
    Source Code
    +
    https://github.com/Syndamia/FMI-OOP-P1_TicketSystem
    +
    + +## About + +The "FMI Ticket System" is a small project, designed for managing the seats for different events. You can create or cancel an event in any available hall, reserve or straight out buy tickets for any given event and create some reports. + +## Structure overview + +The project is roughly divided into 4 main components: User Interface, Services, Models and Generic \ref fig1. +- The User Interface is the messenger between a user and the underlying application. All input and output is handled here. +- Services contain the business logic of the whole application. All requests to do anything like buying a ticket or creating an event must be sent to here. +- Models are the general classes that are used in the previous two layers. +- Generic is a place for all code that is can be used independently from the project. Stuff like Date, String or List. + +This offers a fairly modular and flexible architecture, which should make big changes or additions to the code easier and more pain-free. + +## Building the project + +Instructions are all for `gcc`. All commands should be executed while in the `src` folder. + +### Linux/BSD/MacOS + +```bash +g++ *.cpp */*.cpp */*/*.cpp -o TicketSystem.out && ./TicketSystem.out +``` + +### Windows (PowerShell) + +```bash +g++ (Get-ChildItem -Recurse *.cpp) -o TicketSystem.exe && ./TicketSystem.exe +``` + +## Acknowledgements + +
    +
    Wikipedia
    +
    Leap year calculation for Date
    https://en.wikipedia.org/wiki/Leap_year#Gregorian_calendar
    +
    StackOverflow
    +
    Way to clear the console in Toolbox.hpp
    https://stackoverflow.com/a/52895729/12036073
    +
    + +## Figures + +\anchor fig1 +**Figure 1:** Overview of the "FMI Ticket System" design + +\image html "FMI-OOP-P1_TicketSystem Overview.svg" "" +\image latex "FMI-OOP-P1_TicketSystem Overview.svg" "Not available in LaTeX!" diff --git a/docs/latex/Command_8h.tex b/docs/latex/Command_8h.tex new file mode 100644 index 0000000..2928852 --- /dev/null +++ b/docs/latex/Command_8h.tex @@ -0,0 +1,17 @@ +\hypertarget{Command_8h}{}\doxysection{src/\+Generic/\+Console\+Interface/\+Command.h File Reference} +\label{Command_8h}\index{src/Generic/ConsoleInterface/Command.h@{src/Generic/ConsoleInterface/Command.h}} + + +Stores the declaration of class \mbox{\hyperlink{classCommand}{Command}}. + + +\doxysubsection*{Classes} +\begin{DoxyCompactItemize} +\item +class \mbox{\hyperlink{classCommand}{Command}} +\begin{DoxyCompactList}\small\item\em Stores a 256 character name and a function pointer to be executed when calling \mbox{\hyperlink{classCommand_a44689093b812bfc97b2787c2ba0303ce}{run()}} \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Stores the declaration of class \mbox{\hyperlink{classCommand}{Command}}. + diff --git a/docs/latex/Command_8h_source.tex b/docs/latex/Command_8h_source.tex new file mode 100644 index 0000000..96a94d4 --- /dev/null +++ b/docs/latex/Command_8h_source.tex @@ -0,0 +1,22 @@ +\hypertarget{Command_8h_source}{}\doxysection{Command.\+h} +\label{Command_8h_source}\index{src/Generic/ConsoleInterface/Command.h@{src/Generic/ConsoleInterface/Command.h}} +\mbox{\hyperlink{Command_8h}{Go to the documentation of this file.}} +\begin{DoxyCode}{0} +\DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef HEADER\_CONSOLEINTERFACE\_COMMAND}} +\DoxyCodeLine{2 \textcolor{preprocessor}{\#define HEADER\_CONSOLEINTERFACE\_COMMAND}} +\DoxyCodeLine{3 } +\DoxyCodeLine{12 \textcolor{keyword}{class }\mbox{\hyperlink{classCommand}{Command}} \{} +\DoxyCodeLine{13 \textcolor{keywordtype}{char} nameInMenu[256];} +\DoxyCodeLine{14 void (*exec)();} +\DoxyCodeLine{15 } +\DoxyCodeLine{16 \textcolor{keyword}{public}:} +\DoxyCodeLine{18 \mbox{\hyperlink{classCommand_a18df2d81039392daeb0b78c346a70537}{Command}}();} +\DoxyCodeLine{20 \mbox{\hyperlink{classCommand_a18df2d81039392daeb0b78c346a70537}{Command}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* nameInMenu, \textcolor{keywordtype}{void} (*exec)());} +\DoxyCodeLine{22 \textcolor{keywordtype}{void} \mbox{\hyperlink{classCommand_a44689093b812bfc97b2787c2ba0303ce}{run}}() \textcolor{keyword}{const};} +\DoxyCodeLine{23 } +\DoxyCodeLine{24 \textcolor{keyword}{const} \textcolor{keywordtype}{char}* get\_nameInMenu() \textcolor{keyword}{const};} +\DoxyCodeLine{25 \};} +\DoxyCodeLine{26 } +\DoxyCodeLine{27 \textcolor{preprocessor}{\#endif}} + +\end{DoxyCode} diff --git a/docs/latex/Date_8h.tex b/docs/latex/Date_8h.tex new file mode 100644 index 0000000..3143f33 --- /dev/null +++ b/docs/latex/Date_8h.tex @@ -0,0 +1,60 @@ +\hypertarget{Date_8h}{}\doxysection{src/\+Generic/\+Date/\+Date.h File Reference} +\label{Date_8h}\index{src/Generic/Date/Date.h@{src/Generic/Date/Date.h}} + + +Stores the declaration of class \mbox{\hyperlink{classDate}{Date}}. + + +{\ttfamily \#include $<$istream$>$}\newline +{\ttfamily \#include $<$ostream$>$}\newline +{\ttfamily \#include \char`\"{}../\+String/\+String.\+h\char`\"{}}\newline +\doxysubsection*{Classes} +\begin{DoxyCompactItemize} +\item +class \mbox{\hyperlink{classDate}{Date}} +\begin{DoxyCompactList}\small\item\em Stores a day, month and year. \end{DoxyCompactList}\end{DoxyCompactItemize} +\doxysubsection*{Functions} +\begin{DoxyCompactItemize} +\item +std\+::istream \& \mbox{\hyperlink{Date_8h_ae020cf1772268f1a43d172d3adfc9797}{operator$>$$>$}} (std\+::istream \&istr, \mbox{\hyperlink{classDate}{Date}} \&dt) +\begin{DoxyCompactList}\small\item\em Reads date from stream with \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} operator. \end{DoxyCompactList}\item +std\+::ostream \& \mbox{\hyperlink{Date_8h_ad12d4bbc4f7919efdec583d1478a6a76}{operator$<$$<$}} (std\+::ostream \&ostr, const \mbox{\hyperlink{classDate}{Date}} \&dt) +\begin{DoxyCompactList}\small\item\em Writes date to stream with \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Stores the declaration of class \mbox{\hyperlink{classDate}{Date}}. + + + +\doxysubsection{Function Documentation} +\mbox{\Hypertarget{Date_8h_ad12d4bbc4f7919efdec583d1478a6a76}\label{Date_8h_ad12d4bbc4f7919efdec583d1478a6a76}} +\index{Date.h@{Date.h}!operator$<$$<$@{operator$<$$<$}} +\index{operator$<$$<$@{operator$<$$<$}!Date.h@{Date.h}} +\doxysubsubsection{\texorpdfstring{operator$<$$<$()}{operator<<()}} +{\footnotesize\ttfamily std\+::ostream \& operator$<$$<$ (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{ostr, }\item[{const \mbox{\hyperlink{classDate}{Date}} \&}]{dt }\end{DoxyParamCaption})} + + + +Writes date to stream with \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator. + +Uses the stream\textquotesingle{}s \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator to write the date in the format \char`\"{}day.\+month.\+year\char`\"{} + +\begin{DoxyNote}{Note} +Best used with std\+::cout or text std\+::ofstream +\end{DoxyNote} +\mbox{\Hypertarget{Date_8h_ae020cf1772268f1a43d172d3adfc9797}\label{Date_8h_ae020cf1772268f1a43d172d3adfc9797}} +\index{Date.h@{Date.h}!operator$>$$>$@{operator$>$$>$}} +\index{operator$>$$>$@{operator$>$$>$}!Date.h@{Date.h}} +\doxysubsubsection{\texorpdfstring{operator$>$$>$()}{operator>>()}} +{\footnotesize\ttfamily std\+::istream \& operator$>$$>$ (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{istr, }\item[{\mbox{\hyperlink{classDate}{Date}} \&}]{dt }\end{DoxyParamCaption})} + + + +Reads date from stream with \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} operator. + +Uses the stream\textquotesingle{}s \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} operator to read and parse the day, month and year. + +\begin{DoxyNote}{Note} +Best used with std\+::cin or text std\+::ifstream +\end{DoxyNote} diff --git a/docs/latex/Date_8h_source.tex b/docs/latex/Date_8h_source.tex new file mode 100644 index 0000000..fb3dfdc --- /dev/null +++ b/docs/latex/Date_8h_source.tex @@ -0,0 +1,44 @@ +\hypertarget{Date_8h_source}{}\doxysection{Date.\+h} +\label{Date_8h_source}\index{src/Generic/Date/Date.h@{src/Generic/Date/Date.h}} +\mbox{\hyperlink{Date_8h}{Go to the documentation of this file.}} +\begin{DoxyCode}{0} +\DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef HEADER\_DATE}} +\DoxyCodeLine{2 \textcolor{preprocessor}{\#define HEADER\_DATE}} +\DoxyCodeLine{3 } +\DoxyCodeLine{8 \textcolor{preprocessor}{\#include }} +\DoxyCodeLine{9 \textcolor{preprocessor}{\#include }} +\DoxyCodeLine{10 \textcolor{preprocessor}{\#include "{}../String/String.h"{}}} +\DoxyCodeLine{11 } +\DoxyCodeLine{14 \textcolor{keyword}{class }\mbox{\hyperlink{classDate}{Date}} \{} +\DoxyCodeLine{15 \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{short} day;} +\DoxyCodeLine{16 \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{short} month;} +\DoxyCodeLine{17 \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{short} year;} +\DoxyCodeLine{18 } +\DoxyCodeLine{19 \textcolor{keywordtype}{bool} isLeapYear();} +\DoxyCodeLine{20 \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{short} daysInMonth();} +\DoxyCodeLine{21 } +\DoxyCodeLine{22 \textcolor{keyword}{public}:} +\DoxyCodeLine{24 \mbox{\hyperlink{classDate_a4e59ed4ba66eec61c27460c5d09fa1bd}{Date}}();} +\DoxyCodeLine{26 \mbox{\hyperlink{classDate_a4e59ed4ba66eec61c27460c5d09fa1bd}{Date}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* str);} +\DoxyCodeLine{28 \mbox{\hyperlink{classDate_a4e59ed4ba66eec61c27460c5d09fa1bd}{Date}}(\textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{short} day, \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{short} month, \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{short} year);} +\DoxyCodeLine{29 } +\DoxyCodeLine{31 \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{short} \mbox{\hyperlink{classDate_a2e4dc4249f8cccd40acc5950b42e1339}{get\_day}}() \textcolor{keyword}{const};} +\DoxyCodeLine{33 \textcolor{keywordtype}{bool} \mbox{\hyperlink{classDate_acaf0c3ee1b2d36edf4f870ddd8acce08}{set\_day}}(\textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{short} day);} +\DoxyCodeLine{35 \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{short} \mbox{\hyperlink{classDate_a79ebbf3cb46f892604dc79ffc82bcfcc}{get\_month}}() \textcolor{keyword}{const};} +\DoxyCodeLine{37 \textcolor{keywordtype}{bool} \mbox{\hyperlink{classDate_ad0a591a557ddde0871389c3d716e6044}{set\_month}}(\textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{short} month);} +\DoxyCodeLine{39 \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{short} \mbox{\hyperlink{classDate_a025aae2b290ba357e049d054085f91e3}{get\_year}}() \textcolor{keyword}{const};} +\DoxyCodeLine{41 \textcolor{keywordtype}{bool} \mbox{\hyperlink{classDate_a6a0f3124e1850cd9f1514ebffcdd0cae}{set\_year}}(\textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{short} year);} +\DoxyCodeLine{42 } +\DoxyCodeLine{44 \mbox{\hyperlink{classString}{String}} \mbox{\hyperlink{classDate_a6e00ace9f8c923c96188bd76f1e064c2}{createString}}() \textcolor{keyword}{const};} +\DoxyCodeLine{45 } +\DoxyCodeLine{47 \textcolor{keywordtype}{void} \mbox{\hyperlink{classDate_a982c0c9098056aa33c5cbc9eba093852}{read}}(std::istream\& istr);} +\DoxyCodeLine{49 \textcolor{keywordtype}{void} \mbox{\hyperlink{classDate_a9c728831f35f27abf3348132a13b7844}{write}}(std::ostream\& ostr);} +\DoxyCodeLine{51 \textcolor{keywordtype}{int} \mbox{\hyperlink{classDate_a3cda588bf2f65b84639303a1aa1105be}{compare}}(\textcolor{keyword}{const} \mbox{\hyperlink{classDate}{Date}}\& other) \textcolor{keyword}{const};} +\DoxyCodeLine{52 \};} +\DoxyCodeLine{53 } +\DoxyCodeLine{55 std::istream\& \mbox{\hyperlink{Date_8h_ae020cf1772268f1a43d172d3adfc9797}{operator>>}}(std::istream\& istr, \mbox{\hyperlink{classDate}{Date}}\& dt);} +\DoxyCodeLine{57 std::ostream\& \mbox{\hyperlink{Date_8h_ad12d4bbc4f7919efdec583d1478a6a76}{operator<<}}(std::ostream\& ostr, \textcolor{keyword}{const} \mbox{\hyperlink{classDate}{Date}}\& dt);} +\DoxyCodeLine{58 } +\DoxyCodeLine{59 \textcolor{preprocessor}{\#endif}} + +\end{DoxyCode} diff --git a/docs/latex/EventService_8h.tex b/docs/latex/EventService_8h.tex new file mode 100644 index 0000000..45099e1 --- /dev/null +++ b/docs/latex/EventService_8h.tex @@ -0,0 +1,22 @@ +\hypertarget{EventService_8h}{}\doxysection{src/\+Services/\+Event\+Service.h File Reference} +\label{EventService_8h}\index{src/Services/EventService.h@{src/Services/EventService.h}} + + +Stores the declaration of class \mbox{\hyperlink{classEventService}{Event\+Service}}. + + +{\ttfamily \#include \char`\"{}../\+Generic/\+List/\+Ordered\+List.\+hpp\char`\"{}}\newline +{\ttfamily \#include \char`\"{}../\+Generic/\+Date/\+Date.\+h\char`\"{}}\newline +{\ttfamily \#include \char`\"{}../\+Models/\+Event.\+h\char`\"{}}\newline +{\ttfamily \#include \char`\"{}Hall\+Service.\+h\char`\"{}}\newline +{\ttfamily \#include \char`\"{}Status\+Code.\+h\char`\"{}}\newline +\doxysubsection*{Classes} +\begin{DoxyCompactItemize} +\item +class \mbox{\hyperlink{classEventService}{Event\+Service}} +\begin{DoxyCompactList}\small\item\em Each \mbox{\hyperlink{classEventService}{Event\+Service}} stores all events and a pointer to \mbox{\hyperlink{classHallService}{Hall\+Service}}. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Stores the declaration of class \mbox{\hyperlink{classEventService}{Event\+Service}}. + diff --git a/docs/latex/EventService_8h_source.tex b/docs/latex/EventService_8h_source.tex new file mode 100644 index 0000000..07b9197 --- /dev/null +++ b/docs/latex/EventService_8h_source.tex @@ -0,0 +1,49 @@ +\hypertarget{EventService_8h_source}{}\doxysection{Event\+Service.\+h} +\label{EventService_8h_source}\index{src/Services/EventService.h@{src/Services/EventService.h}} +\mbox{\hyperlink{EventService_8h}{Go to the documentation of this file.}} +\begin{DoxyCode}{0} +\DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef HEADER\_SERVICES\_EVENTSERVICE}} +\DoxyCodeLine{2 \textcolor{preprocessor}{\#define HEADER\_SERVICES\_EVENTSERVICE}} +\DoxyCodeLine{3 } +\DoxyCodeLine{8 \textcolor{preprocessor}{\#include "{}../Generic/List/OrderedList.hpp"{}}} +\DoxyCodeLine{9 \textcolor{preprocessor}{\#include "{}../Generic/Date/Date.h"{}}} +\DoxyCodeLine{10 \textcolor{preprocessor}{\#include "{}../Models/Event.h"{}}} +\DoxyCodeLine{11 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{HallService_8h}{HallService.h}}"{}}} +\DoxyCodeLine{12 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{StatusCode_8h}{StatusCode.h}}"{}}} +\DoxyCodeLine{13 } +\DoxyCodeLine{16 \textcolor{keyword}{class }\mbox{\hyperlink{classEventService}{EventService}} \{} +\DoxyCodeLine{17 \mbox{\hyperlink{classOrderedList}{OrderedList}} events;} +\DoxyCodeLine{18 } +\DoxyCodeLine{19 \textcolor{keyword}{const} \mbox{\hyperlink{classHallService}{HallService}}* hs;} +\DoxyCodeLine{20 } +\DoxyCodeLine{21 \textcolor{keywordtype}{unsigned} indexOfEvent(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* name, \textcolor{keyword}{const} \mbox{\hyperlink{classDate}{Date}}\& date);} +\DoxyCodeLine{22 } +\DoxyCodeLine{23 \textcolor{keyword}{public}:} +\DoxyCodeLine{25 \mbox{\hyperlink{classEventService_a9b30bb95890abac259ba27b53cabe545}{EventService}}(\textcolor{keyword}{const} \mbox{\hyperlink{classHallService}{HallService}}* hs);} +\DoxyCodeLine{27 \mbox{\hyperlink{classEventService_a9b30bb95890abac259ba27b53cabe545}{EventService}}(\textcolor{keyword}{const} \mbox{\hyperlink{classHallService}{HallService}}* hs, \textcolor{keyword}{const} \mbox{\hyperlink{classEvent}{Event}}* events, \textcolor{keywordtype}{unsigned} eventCount);} +\DoxyCodeLine{28 } +\DoxyCodeLine{30 \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{StatusCode}} \mbox{\hyperlink{classEventService_a7a21a5909116215e402254510d6d81d6}{createEvent}}(\textcolor{keywordtype}{int} hallNumber, \textcolor{keyword}{const} \mbox{\hyperlink{classString}{String}}\& name, \textcolor{keyword}{const} \mbox{\hyperlink{classDate}{Date}}\& date);} +\DoxyCodeLine{32 \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{StatusCode}} \mbox{\hyperlink{classEventService_ac7ea565af5ad78e84749558477ceaf26}{cancelEvent}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* name, \textcolor{keyword}{const} \mbox{\hyperlink{classDate}{Date}}\& date);} +\DoxyCodeLine{33 } +\DoxyCodeLine{35 \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{StatusCode}} \mbox{\hyperlink{classEventService_a3c0d2a05e2a3026044b9e13e6802fbdb}{reserveTicket}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* name, \textcolor{keyword}{const} \mbox{\hyperlink{classDate}{Date}}\& date, \textcolor{keyword}{const} \textcolor{keywordtype}{char}* password, \textcolor{keyword}{const} \textcolor{keywordtype}{char}* note, \textcolor{keyword}{const} \mbox{\hyperlink{classTicket}{Ticket}}\& ticket);} +\DoxyCodeLine{37 \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{StatusCode}} \mbox{\hyperlink{classEventService_aa6fd620de878f225f7c51bb0df6ea749}{cancelTicketReservation}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* name, \textcolor{keyword}{const} \mbox{\hyperlink{classDate}{Date}}\& date, \textcolor{keyword}{const} \mbox{\hyperlink{classTicket}{Ticket}}\& ticket);} +\DoxyCodeLine{39 \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{StatusCode}} \mbox{\hyperlink{classEventService_ad1efbed6111da8e755d86b5bc9ada806}{ticketIsReserved}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* name, \textcolor{keyword}{const} \mbox{\hyperlink{classDate}{Date}}\& date, \textcolor{keyword}{const} \mbox{\hyperlink{classTicket}{Ticket}}\& ticket);} +\DoxyCodeLine{40 } +\DoxyCodeLine{42 \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{StatusCode}} \mbox{\hyperlink{classEventService_ac447cac3e4974b9cc676d9bb90152979}{buyTicket}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* name, \textcolor{keyword}{const} \mbox{\hyperlink{classDate}{Date}}\& date, \textcolor{keyword}{const} \mbox{\hyperlink{classTicket}{Ticket}}\& ticket, \textcolor{keyword}{const} \textcolor{keywordtype}{char}* password, \mbox{\hyperlink{classString}{String}}* reservationNoteOutput);} +\DoxyCodeLine{44 \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{StatusCode}} \mbox{\hyperlink{classEventService_ac447cac3e4974b9cc676d9bb90152979}{buyTicket}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* name, \textcolor{keyword}{const} \mbox{\hyperlink{classDate}{Date}}\& date, \textcolor{keyword}{const} \mbox{\hyperlink{classTicket}{Ticket}}\& ticket);} +\DoxyCodeLine{45 } +\DoxyCodeLine{47 \mbox{\hyperlink{classString}{String}} \mbox{\hyperlink{classEventService_a7f4632e3beae5d24087047ab0223f85e}{createSeatingString}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* name, \textcolor{keyword}{const} \mbox{\hyperlink{classDate}{Date}}\& date, \textcolor{keywordtype}{unsigned}* seatsPerRow);} +\DoxyCodeLine{48 } +\DoxyCodeLine{50 \mbox{\hyperlink{classList}{List}} \mbox{\hyperlink{classEventService_a6700bd4f9da6d12a47812b9c8549556e}{queryMostWatched}}(\textcolor{keywordtype}{unsigned} topN);} +\DoxyCodeLine{52 \mbox{\hyperlink{classList}{List}} \mbox{\hyperlink{classEventService_a814de3510f72150f2e54d44f8c8948bb}{queryInsufficientlyVisited}}();} +\DoxyCodeLine{53 } +\DoxyCodeLine{55 \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{StatusCode}} \mbox{\hyperlink{classEventService_a277194aea79a2c9bf955b7706a20c54c}{reportReservations}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* name, \textcolor{keyword}{const} \mbox{\hyperlink{classDate}{Date}}\& date);} +\DoxyCodeLine{57 \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{StatusCode}} \mbox{\hyperlink{classEventService_afc74fc6d44fca054bce8e54997c0cd3e}{reportBoughtTickets}}(\textcolor{keywordtype}{int} hallNumber, \textcolor{keyword}{const} \mbox{\hyperlink{classDate}{Date}}\& start, \textcolor{keyword}{const} \mbox{\hyperlink{classDate}{Date}}\& end, \textcolor{keywordtype}{bool} all = \textcolor{keyword}{false});} +\DoxyCodeLine{58 } +\DoxyCodeLine{60 \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{StatusCode}} \mbox{\hyperlink{classEventService_a1225c23dae83fa928da47113cd1c5617}{load}}();} +\DoxyCodeLine{62 \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{StatusCode}} \mbox{\hyperlink{classEventService_a5aac3df17ef30f84c1c28277c256ec32}{save}}();} +\DoxyCodeLine{63 \};} +\DoxyCodeLine{64 } +\DoxyCodeLine{65 \textcolor{preprocessor}{\#endif}} + +\end{DoxyCode} diff --git a/docs/latex/Event_8h.tex b/docs/latex/Event_8h.tex new file mode 100644 index 0000000..8291350 --- /dev/null +++ b/docs/latex/Event_8h.tex @@ -0,0 +1,101 @@ +\hypertarget{Event_8h}{}\doxysection{src/\+Models/\+Event.h File Reference} +\label{Event_8h}\index{src/Models/Event.h@{src/Models/Event.h}} + + +Stores the declaration of class \mbox{\hyperlink{classEvent}{Event}}. + + +{\ttfamily \#include \char`\"{}../\+Generic/\+List/\+Ordered\+List.\+hpp\char`\"{}}\newline +{\ttfamily \#include \char`\"{}../\+Generic/\+Date/\+Date.\+h\char`\"{}}\newline +{\ttfamily \#include \char`\"{}../\+Generic/\+String/\+String.\+h\char`\"{}}\newline +{\ttfamily \#include \char`\"{}Hall.\+h\char`\"{}}\newline +{\ttfamily \#include \char`\"{}Ticket.\+h\char`\"{}}\newline +{\ttfamily \#include \char`\"{}Reservation.\+h\char`\"{}}\newline +{\ttfamily \#include $<$istream$>$}\newline +{\ttfamily \#include $<$ostream$>$}\newline +\doxysubsection*{Classes} +\begin{DoxyCompactItemize} +\item +class \mbox{\hyperlink{classEvent}{Event}} +\begin{DoxyCompactList}\small\item\em Stores an event\textquotesingle{}s hall, name, date, bought tickets and reservations. \end{DoxyCompactList}\end{DoxyCompactItemize} +\doxysubsection*{Functions} +\begin{DoxyCompactItemize} +\item +std\+::istream \& \mbox{\hyperlink{Event_8h_a31d9c76919809491b346728ec6659b19}{operator$>$$>$}} (std\+::istream \&istr, \mbox{\hyperlink{classEvent}{Event}} \&event) +\begin{DoxyCompactList}\small\item\em Reads \mbox{\hyperlink{classEvent}{Event}} from stream with \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} operator. \end{DoxyCompactList}\item +void \mbox{\hyperlink{Event_8h_ad423797aa9adadabb5651f8955c001bb}{configure\+Event\+Insertion\+Op}} (unsigned setting) +\begin{DoxyCompactList}\small\item\em Configures how \mbox{\hyperlink{classEvent}{Event}} should be shown, when written to stream with \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator. \end{DoxyCompactList}\item +std\+::ostream \& \mbox{\hyperlink{Event_8h_a08eaf45abee385d26c4934afeb9be163}{operator$<$$<$}} (std\+::ostream \&ostr, const \mbox{\hyperlink{classEvent}{Event}} \&event) +\begin{DoxyCompactList}\small\item\em Writes \mbox{\hyperlink{classEvent}{Event}} to stream with \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Stores the declaration of class \mbox{\hyperlink{classEvent}{Event}}. + + + +\doxysubsection{Function Documentation} +\mbox{\Hypertarget{Event_8h_ad423797aa9adadabb5651f8955c001bb}\label{Event_8h_ad423797aa9adadabb5651f8955c001bb}} +\index{Event.h@{Event.h}!configureEventInsertionOp@{configureEventInsertionOp}} +\index{configureEventInsertionOp@{configureEventInsertionOp}!Event.h@{Event.h}} +\doxysubsubsection{\texorpdfstring{configureEventInsertionOp()}{configureEventInsertionOp()}} +{\footnotesize\ttfamily void configure\+Event\+Insertion\+Op (\begin{DoxyParamCaption}\item[{unsigned}]{setting }\end{DoxyParamCaption})} + + + +Configures how \mbox{\hyperlink{classEvent}{Event}} should be shown, when written to stream with \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator. + + +\begin{DoxyParams}{Parameters} +{\em setting} & A number, defining the different options. It\textquotesingle{}s best if it is passed as binary number.\\ +\hline +\end{DoxyParams} +Sets a configuration setting for how operator\texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} should behave. Setting is stored as a global variable in the cpp file, so it\textquotesingle{}s independent of \mbox{\hyperlink{classEvent}{Event}} instance. + +Each bit in the number is a certain setting. Each bit from left to right represents one of these options, from top to bottom\+: +\begin{DoxyEnumerate} +\item Write count of bought tickets (available only if 5. is set) +\item Write count of reserved tickets (available only if 5. is set) +\item Write reservations +\item Write bought tickets +\item Write \mbox{\hyperlink{classHall}{Hall}} information +\end{DoxyEnumerate} + +\begin{DoxyParagraph}{Example} +To configure printing the \mbox{\hyperlink{classHall}{Hall}} information, bought tickets count and the bought tickets themselves, you would do\+: +\begin{DoxyCode}{0} +\DoxyCodeLine{\mbox{\hyperlink{Event_8h_ad423797aa9adadabb5651f8955c001bb}{configureEventInsertionOp}}(0b10011);} + +\end{DoxyCode} + +\end{DoxyParagraph} +\mbox{\Hypertarget{Event_8h_a08eaf45abee385d26c4934afeb9be163}\label{Event_8h_a08eaf45abee385d26c4934afeb9be163}} +\index{Event.h@{Event.h}!operator$<$$<$@{operator$<$$<$}} +\index{operator$<$$<$@{operator$<$$<$}!Event.h@{Event.h}} +\doxysubsubsection{\texorpdfstring{operator$<$$<$()}{operator<<()}} +{\footnotesize\ttfamily std\+::ostream \& operator$<$$<$ (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{ostr, }\item[{const \mbox{\hyperlink{classEvent}{Event}} \&}]{event }\end{DoxyParamCaption})} + + + +Writes \mbox{\hyperlink{classEvent}{Event}} to stream with \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator. + +Uses the stream\textquotesingle{}s \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator to write all internal data, following setting from \mbox{\hyperlink{Event_8h_ad423797aa9adadabb5651f8955c001bb}{configure\+Event\+Insertion\+Op()}} Stored types must have defined operator \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<}. + +\begin{DoxyNote}{Note} +Best used with std\+::cout or text std\+::ofstream +\end{DoxyNote} +\mbox{\Hypertarget{Event_8h_a31d9c76919809491b346728ec6659b19}\label{Event_8h_a31d9c76919809491b346728ec6659b19}} +\index{Event.h@{Event.h}!operator$>$$>$@{operator$>$$>$}} +\index{operator$>$$>$@{operator$>$$>$}!Event.h@{Event.h}} +\doxysubsubsection{\texorpdfstring{operator$>$$>$()}{operator>>()}} +{\footnotesize\ttfamily std\+::istream \& operator$>$$>$ (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{istr, }\item[{\mbox{\hyperlink{classEvent}{Event}} \&}]{event }\end{DoxyParamCaption})} + + + +Reads \mbox{\hyperlink{classEvent}{Event}} from stream with \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} operator. + +Uses the stream\textquotesingle{}s \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} operator to read and parse all internal values. Stored types must have defined operator \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>}. + +\begin{DoxyNote}{Note} +Best used with std\+::cin or text std\+::ifstream +\end{DoxyNote} diff --git a/docs/latex/Event_8h_source.tex b/docs/latex/Event_8h_source.tex new file mode 100644 index 0000000..26077d4 --- /dev/null +++ b/docs/latex/Event_8h_source.tex @@ -0,0 +1,48 @@ +\hypertarget{Event_8h_source}{}\doxysection{Event.\+h} +\label{Event_8h_source}\index{src/Models/Event.h@{src/Models/Event.h}} +\mbox{\hyperlink{Event_8h}{Go to the documentation of this file.}} +\begin{DoxyCode}{0} +\DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef HEADER\_MODEL\_EVENT}} +\DoxyCodeLine{2 \textcolor{preprocessor}{\#define HEADER\_MODEL\_EVENT}} +\DoxyCodeLine{3 } +\DoxyCodeLine{8 \textcolor{preprocessor}{\#include "{}../Generic/List/OrderedList.hpp"{}}} +\DoxyCodeLine{9 \textcolor{preprocessor}{\#include "{}../Generic/Date/Date.h"{}}} +\DoxyCodeLine{10 \textcolor{preprocessor}{\#include "{}../Generic/String/String.h"{}}} +\DoxyCodeLine{11 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{Hall_8h}{Hall.h}}"{}}} +\DoxyCodeLine{12 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{Ticket_8h}{Ticket.h}}"{}}} +\DoxyCodeLine{13 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{Reservation_8h}{Reservation.h}}"{}}} +\DoxyCodeLine{14 \textcolor{preprocessor}{\#include }} +\DoxyCodeLine{15 \textcolor{preprocessor}{\#include }} +\DoxyCodeLine{16 } +\DoxyCodeLine{19 \textcolor{keyword}{class }\mbox{\hyperlink{classEvent}{Event}} \{} +\DoxyCodeLine{20 \mbox{\hyperlink{classHall}{Hall}} hall;} +\DoxyCodeLine{21 \mbox{\hyperlink{classString}{String}} name;} +\DoxyCodeLine{22 \mbox{\hyperlink{classDate}{Date}} date;} +\DoxyCodeLine{23 \mbox{\hyperlink{classOrderedList}{OrderedList}} tickets;} +\DoxyCodeLine{24 \mbox{\hyperlink{classOrderedList}{OrderedList}} reservations;} +\DoxyCodeLine{25 } +\DoxyCodeLine{26 \textcolor{keyword}{public}:} +\DoxyCodeLine{28 \mbox{\hyperlink{classEvent_a5a40dd4708297f7031e29b39e039ae10}{Event}}();} +\DoxyCodeLine{30 \mbox{\hyperlink{classEvent_a5a40dd4708297f7031e29b39e039ae10}{Event}}(\textcolor{keyword}{const} \mbox{\hyperlink{classHall}{Hall}}\& hall, \mbox{\hyperlink{classString}{String}} name, \mbox{\hyperlink{classDate}{Date}} date);} +\DoxyCodeLine{31 } +\DoxyCodeLine{33 \textcolor{keyword}{const} \mbox{\hyperlink{classHall}{Hall}}\& \mbox{\hyperlink{classEvent_ae3023ae2c487f46b3235f67554e58615}{get\_hall}}() \textcolor{keyword}{const};} +\DoxyCodeLine{35 \textcolor{keyword}{const} \mbox{\hyperlink{classString}{String}}\& \mbox{\hyperlink{classEvent_a7bf717630c32826689df41e0bb3ecbce}{get\_name}}() \textcolor{keyword}{const};} +\DoxyCodeLine{37 \textcolor{keyword}{const} \mbox{\hyperlink{classDate}{Date}}\& \mbox{\hyperlink{classEvent_a222904d44dfaf3f1f96e2190c5ea4293}{get\_date}}() \textcolor{keyword}{const};} +\DoxyCodeLine{38 } +\DoxyCodeLine{40 \mbox{\hyperlink{classOrderedList}{OrderedList}}\& \mbox{\hyperlink{classEvent_a16a84fced8e02f756232c54c27bb22ad}{get\_tickets}}();} +\DoxyCodeLine{42 \textcolor{keyword}{const} \mbox{\hyperlink{classOrderedList}{OrderedList}}\& \mbox{\hyperlink{classEvent_a16a84fced8e02f756232c54c27bb22ad}{get\_tickets}}() \textcolor{keyword}{const};} +\DoxyCodeLine{44 \mbox{\hyperlink{classOrderedList}{OrderedList}}\& \mbox{\hyperlink{classEvent_a43c6b2bddd42435eb6c8cd0f15d75c6f}{get\_reservations}}();} +\DoxyCodeLine{46 \textcolor{keyword}{const} \mbox{\hyperlink{classOrderedList}{OrderedList}}\& \mbox{\hyperlink{classEvent_a43c6b2bddd42435eb6c8cd0f15d75c6f}{get\_reservations}}() \textcolor{keyword}{const};} +\DoxyCodeLine{47 } +\DoxyCodeLine{49 \textcolor{keywordtype}{void} \mbox{\hyperlink{classEvent_ae58d2ed716836adcdacaeec4dd08c1cf}{read}}(std::istream\& istr);} +\DoxyCodeLine{51 \textcolor{keywordtype}{void} \mbox{\hyperlink{classEvent_a05a302aa998977c30950987c07f0fbba}{write}}(std::ostream\& ostr);} +\DoxyCodeLine{53 \textcolor{keywordtype}{int} \mbox{\hyperlink{classEvent_af5c84a902db8f29f8b8737026011f1f6}{compare}}(\textcolor{keyword}{const} \mbox{\hyperlink{classEvent}{Event}}\& other);} +\DoxyCodeLine{54 \};} +\DoxyCodeLine{55 } +\DoxyCodeLine{57 std::istream\& \mbox{\hyperlink{Event_8h_a31d9c76919809491b346728ec6659b19}{operator>>}}(std::istream\& istr, \mbox{\hyperlink{classEvent}{Event}}\& event);} +\DoxyCodeLine{59 \textcolor{keywordtype}{void} \mbox{\hyperlink{Event_8h_ad423797aa9adadabb5651f8955c001bb}{configureEventInsertionOp}}(\textcolor{keywordtype}{unsigned} setting);} +\DoxyCodeLine{61 std::ostream\& \mbox{\hyperlink{Event_8h_a08eaf45abee385d26c4934afeb9be163}{operator<<}}(std::ostream\& ostr, \textcolor{keyword}{const} \mbox{\hyperlink{classEvent}{Event}}\& event);} +\DoxyCodeLine{62 } +\DoxyCodeLine{63 \textcolor{preprocessor}{\#endif}} + +\end{DoxyCode} diff --git a/docs/latex/FMI-OOP-P1_TicketSystem Overview.svg b/docs/latex/FMI-OOP-P1_TicketSystem Overview.svg new file mode 100644 index 0000000..6e35d2f --- /dev/null +++ b/docs/latex/FMI-OOP-P1_TicketSystem Overview.svg @@ -0,0 +1,571 @@ + + FMI-OOP-P1_TicketSystem Overview + #title: FMI-OOP-P1_TicketSystem Overview + #background: #fdf6e3 + #bendSize: 0 + #fillArrows: true + #lineWidth: 2 + #leading: 1.3 + + #.groupui: title=italic fill=#b2ee97 direction=right + #.groupes: title=italic fill=#97c8ee direction=right + #.groupm: title=italic fill=#ee9797 direction=down + #.groupv: title=italic fill=#eee997 direction=right + #.groupgc: title=italic fill=#c0baac direction=right + + [main.cpp| + EventService es + HallService hs + ] + + [<groupui> User Interface| + [FMITicketSystemConsoleUI.cpp| + EventService* es + HallService* hs + runUI() + ] + ] + [main.cpp]->[User Interface] + + [<groupes> Services| + [EventService| + OrderedList<Event> events + | + + createEvent() + . cancelEvent() + + reserveTicket() + + cancelTicketReservation() + + buyTicket() + . queryEventHall() + . queryTickets() + . queryReservations() + ~ queryMostVisited() + ~ queryInsufficientlyVisited() + + reportBoughtTickets() + + reportReservations() + ] + + [HallService| + OrderedList<Hall> halls + | + hallExists() + ] + [EventService]-->[HallService] + + [StatusCodes.h| + enum StatusCode + ] + ] + [User Interface]->[Services] + + [<groupm> Models| + [Ticket| + unsigned row + unsigned seat + ] + + [Reservation| + Ticket ticket + char\[8\] password + char\[32\] note + ] + + [Event| + Hall* hall + String name + Date date + OrderedList<Ticket> tickets + OrderedList<Reservation> reservations + ] + [Ticket]-->[Event] + [Reservation]-->[Event] + + [Hall| + int number + unsigned rowCount + unsigned seatsPerRow + ] + [<hidden>H]-/-[Hall] + ] + [Services]<--[Models] + + [<groupgc> Generic Classes| + [List<T>| + add(elem) + insertAt(elem, index) + removeAt(index) + findIndex(elem); + contain(elem); + operator\[\](index) + ] + + [OrderedList<T>| + insert(elem) + remove(elem) + ] + [List<T>]<:-[OrderedList<T>] + + [Date| + unsigned day + unsigned month + int year + ] + + [String| + char* str + unsigned length + unsigned count + ] + [String]-/-[Date] + + [Command| + String name + void (*exec)() + ] + + [Menu| + List<Command> commands + navigate() + ] + [Menu]-->[Command] + ] + [<hidden>H1]-/-[<hidden>H2] + [H2]-/-[Generic Classes] + + + + + + + + + + + + + + + + + + + + + + + main.cpp + + + + + + EventService es + HallService hs + + + + + + + + + + + + User Interface + + + + + + + + + + + + + + FMITicketSystemConsoleUI.cpp + + + + + + EventService* es + HallService* hs + runUI() + + + + + + + + + + + + + + + + Services + + + + + + + + + + + + + + + + + + + EventService + + + + + + OrderedList<Event> events + + + + + + + createEvent() + . cancelEvent() + + reserveTicket() + + cancelTicketReservation() + + buyTicket() + . queryEventHall() + . queryTickets() + . queryReservations() + ~ queryMostVisited() + ~ queryInsufficientlyVisited() + + reportBoughtTickets() + + reportReservations() + + + + + + + + + + + + + HallService + + + + + + OrderedList<Hall> halls + + + + + + hallExists() + + + + + + + + + + + + StatusCodes.h + + + + + + enum StatusCode + + + + + + + + + + + + + + + + Models + + + + + + + + + + + + + + + + + + + + + + Ticket + + + + + + unsigned row + unsigned seat + + + + + + + + + + + + Reservation + + + + + + Ticket ticket + char[8] password + char[32] note + + + + + + + + + + + + Event + + + + + + Hall* hall + String name + Date date + OrderedList<Ticket> tickets + OrderedList<Reservation> reservations + + + + + + + + + + + + Hall + + + + + + int number + unsigned rowCount + unsigned seatsPerRow + + + + + + + + + + + + + + + + + + + Generic Classes + + + + + + + + + + + + + + + + + + + + List<T> + + + + + + add(elem) + insertAt(elem, index) + removeAt(index) + findIndex(elem) + contain(elem) + operator[](index) + + + + + + + + + + + + OrderedList<T> + + + + + + insert(elem) + remove(elem) + + + + + + + + + + + + Date + + + + + + unsigned day + unsigned month + int year + + + + + + + + + + + + String + + + + + + char* str + unsigned length + unsigned count + + + + + + + + + + + + Command + + + + + + String name + void (*exec)() + + + + + + + + + + + + Menu + + + + + + List<Command> commands + navigate() + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/latex/FMITicketSystemConsoleUI_8h.tex b/docs/latex/FMITicketSystemConsoleUI_8h.tex new file mode 100644 index 0000000..494d798 --- /dev/null +++ b/docs/latex/FMITicketSystemConsoleUI_8h.tex @@ -0,0 +1,33 @@ +\hypertarget{FMITicketSystemConsoleUI_8h}{}\doxysection{src/\+User\+Interface/\+FMITicket\+System\+Console\+UI.h File Reference} +\label{FMITicketSystemConsoleUI_8h}\index{src/UserInterface/FMITicketSystemConsoleUI.h@{src/UserInterface/FMITicketSystemConsoleUI.h}} + + +Stores declaration of run\+UI function. + + +{\ttfamily \#include \char`\"{}../\+Services/\+Event\+Service.\+h\char`\"{}}\newline +{\ttfamily \#include \char`\"{}../\+Services/\+Hall\+Service.\+h\char`\"{}}\newline +\doxysubsection*{Functions} +\begin{DoxyCompactItemize} +\item +void \mbox{\hyperlink{FMITicketSystemConsoleUI_8h_a79d6833c27b5a32b6d9917f5cd6e32a3}{run\+UI}} (\mbox{\hyperlink{classEventService}{Event\+Service}} $\ast$event\+Service, \mbox{\hyperlink{classHallService}{Hall\+Service}} $\ast$hall\+Service) +\begin{DoxyCompactList}\small\item\em Runs the console interface for the ticket system. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Stores declaration of run\+UI function. + + + +\doxysubsection{Function Documentation} +\mbox{\Hypertarget{FMITicketSystemConsoleUI_8h_a79d6833c27b5a32b6d9917f5cd6e32a3}\label{FMITicketSystemConsoleUI_8h_a79d6833c27b5a32b6d9917f5cd6e32a3}} +\index{FMITicketSystemConsoleUI.h@{FMITicketSystemConsoleUI.h}!runUI@{runUI}} +\index{runUI@{runUI}!FMITicketSystemConsoleUI.h@{FMITicketSystemConsoleUI.h}} +\doxysubsubsection{\texorpdfstring{runUI()}{runUI()}} +{\footnotesize\ttfamily void run\+UI (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classEventService}{Event\+Service}} $\ast$}]{event\+Service, }\item[{\mbox{\hyperlink{classHallService}{Hall\+Service}} $\ast$}]{hall\+Service }\end{DoxyParamCaption})} + + + +Runs the console interface for the ticket system. + +Stores \mbox{\hyperlink{classEventService}{Event\+Service}} and \mbox{\hyperlink{classHallService}{Hall\+Service}} pointers in internal global variables, calls \mbox{\hyperlink{classEventService}{Event\+Service}} and \mbox{\hyperlink{classHallService}{Hall\+Service}} load() functions, initializes all menus, navigates the main menu and finally calls \mbox{\hyperlink{classEventService}{Event\+Service}} and \mbox{\hyperlink{classHallService}{Hall\+Service}} save() functions \ No newline at end of file diff --git a/docs/latex/FMITicketSystemConsoleUI_8h_source.tex b/docs/latex/FMITicketSystemConsoleUI_8h_source.tex new file mode 100644 index 0000000..fb01e04 --- /dev/null +++ b/docs/latex/FMITicketSystemConsoleUI_8h_source.tex @@ -0,0 +1,15 @@ +\hypertarget{FMITicketSystemConsoleUI_8h_source}{}\doxysection{FMITicket\+System\+Console\+UI.\+h} +\label{FMITicketSystemConsoleUI_8h_source}\index{src/UserInterface/FMITicketSystemConsoleUI.h@{src/UserInterface/FMITicketSystemConsoleUI.h}} +\mbox{\hyperlink{FMITicketSystemConsoleUI_8h}{Go to the documentation of this file.}} +\begin{DoxyCode}{0} +\DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef HEADER\_FMITICKETSYSTEMCONSOLEUI}} +\DoxyCodeLine{2 \textcolor{preprocessor}{\#define HEADER\_FMITICKETSYSTEMCONSOLEUI}} +\DoxyCodeLine{3 } +\DoxyCodeLine{8 \textcolor{preprocessor}{\#include "{}../Services/EventService.h"{}}} +\DoxyCodeLine{9 \textcolor{preprocessor}{\#include "{}../Services/HallService.h"{}}} +\DoxyCodeLine{10 } +\DoxyCodeLine{12 \textcolor{keywordtype}{void} \mbox{\hyperlink{FMITicketSystemConsoleUI_8h_a79d6833c27b5a32b6d9917f5cd6e32a3}{runUI}}(\mbox{\hyperlink{classEventService}{EventService}}* eventService, \mbox{\hyperlink{classHallService}{HallService}}* hallService);} +\DoxyCodeLine{13 } +\DoxyCodeLine{14 \textcolor{preprocessor}{\#endif}} + +\end{DoxyCode} diff --git a/docs/latex/HallService_8h.tex b/docs/latex/HallService_8h.tex new file mode 100644 index 0000000..ea5dcb6 --- /dev/null +++ b/docs/latex/HallService_8h.tex @@ -0,0 +1,20 @@ +\hypertarget{HallService_8h}{}\doxysection{src/\+Services/\+Hall\+Service.h File Reference} +\label{HallService_8h}\index{src/Services/HallService.h@{src/Services/HallService.h}} + + +Stores the declaration of class \mbox{\hyperlink{classHallService}{Hall\+Service}}. + + +{\ttfamily \#include \char`\"{}../\+Generic/\+List/\+Ordered\+List.\+hpp\char`\"{}}\newline +{\ttfamily \#include \char`\"{}../\+Models/\+Hall.\+h\char`\"{}}\newline +{\ttfamily \#include \char`\"{}Status\+Code.\+h\char`\"{}}\newline +\doxysubsection*{Classes} +\begin{DoxyCompactItemize} +\item +class \mbox{\hyperlink{classHallService}{Hall\+Service}} +\begin{DoxyCompactList}\small\item\em Each \mbox{\hyperlink{classHallService}{Hall\+Service}} stores all halls. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Stores the declaration of class \mbox{\hyperlink{classHallService}{Hall\+Service}}. + diff --git a/docs/latex/HallService_8h_source.tex b/docs/latex/HallService_8h_source.tex new file mode 100644 index 0000000..968e984 --- /dev/null +++ b/docs/latex/HallService_8h_source.tex @@ -0,0 +1,26 @@ +\hypertarget{HallService_8h_source}{}\doxysection{Hall\+Service.\+h} +\label{HallService_8h_source}\index{src/Services/HallService.h@{src/Services/HallService.h}} +\mbox{\hyperlink{HallService_8h}{Go to the documentation of this file.}} +\begin{DoxyCode}{0} +\DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef HEADER\_SERVICES\_HALLSERVICE}} +\DoxyCodeLine{2 \textcolor{preprocessor}{\#define HEADER\_SERVICES\_HALLSERVICE}} +\DoxyCodeLine{3 } +\DoxyCodeLine{8 \textcolor{preprocessor}{\#include "{}../Generic/List/OrderedList.hpp"{}}} +\DoxyCodeLine{9 \textcolor{preprocessor}{\#include "{}../Models/Hall.h"{}}} +\DoxyCodeLine{10 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{StatusCode_8h}{StatusCode.h}}"{}}} +\DoxyCodeLine{11 } +\DoxyCodeLine{14 \textcolor{keyword}{class }\mbox{\hyperlink{classHallService}{HallService}} \{} +\DoxyCodeLine{15 \mbox{\hyperlink{classOrderedList}{OrderedList}} halls;} +\DoxyCodeLine{16 } +\DoxyCodeLine{17 \textcolor{keyword}{public}:} +\DoxyCodeLine{19 \mbox{\hyperlink{classHallService_a57a8117d8d510afb5351a3f7efc18dff}{HallService}}(\textcolor{keyword}{const} \mbox{\hyperlink{classHall}{Hall}}* halls, \textcolor{keywordtype}{unsigned} hallCount);} +\DoxyCodeLine{20 } +\DoxyCodeLine{22 \textcolor{keyword}{const} \mbox{\hyperlink{classOrderedList}{OrderedList}}\& \mbox{\hyperlink{classHallService_a641fdcc475e094687713e94094e2a623}{get\_halls}}() \textcolor{keyword}{const};} +\DoxyCodeLine{23 } +\DoxyCodeLine{25 \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{StatusCode}} \mbox{\hyperlink{classHallService_ab63c1ccff811ed3268f2fe5e996eb6ae}{load}}();} +\DoxyCodeLine{27 \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{StatusCode}} \mbox{\hyperlink{classHallService_a083e3d10ec89ee8c78a117c3754c66d2}{save}}();} +\DoxyCodeLine{28 \};} +\DoxyCodeLine{29 } +\DoxyCodeLine{30 \textcolor{preprocessor}{\#endif}} + +\end{DoxyCode} diff --git a/docs/latex/Hall_8h.tex b/docs/latex/Hall_8h.tex new file mode 100644 index 0000000..51c1dd4 --- /dev/null +++ b/docs/latex/Hall_8h.tex @@ -0,0 +1,59 @@ +\hypertarget{Hall_8h}{}\doxysection{src/\+Models/\+Hall.h File Reference} +\label{Hall_8h}\index{src/Models/Hall.h@{src/Models/Hall.h}} + + +Stores the declaration of class \mbox{\hyperlink{classHall}{Hall}}. + + +{\ttfamily \#include $<$istream$>$}\newline +{\ttfamily \#include $<$ostream$>$}\newline +\doxysubsection*{Classes} +\begin{DoxyCompactItemize} +\item +class \mbox{\hyperlink{classHall}{Hall}} +\begin{DoxyCompactList}\small\item\em Each hall contains a number, rows and seats per row. \end{DoxyCompactList}\end{DoxyCompactItemize} +\doxysubsection*{Functions} +\begin{DoxyCompactItemize} +\item +std\+::istream \& \mbox{\hyperlink{Hall_8h_ac55d9db507637effdb1896e33c86d439}{operator$>$$>$}} (std\+::istream \&istr, \mbox{\hyperlink{classHall}{Hall}} \&hall) +\begin{DoxyCompactList}\small\item\em Reads \mbox{\hyperlink{classHall}{Hall}} from stream with \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} operator. \end{DoxyCompactList}\item +std\+::ostream \& \mbox{\hyperlink{Hall_8h_a9671d0935caa6dd24b5f1b9be101c477}{operator$<$$<$}} (std\+::ostream \&ostr, const \mbox{\hyperlink{classHall}{Hall}} \&hall) +\begin{DoxyCompactList}\small\item\em Writes \mbox{\hyperlink{classHall}{Hall}} to stream with \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Stores the declaration of class \mbox{\hyperlink{classHall}{Hall}}. + + + +\doxysubsection{Function Documentation} +\mbox{\Hypertarget{Hall_8h_a9671d0935caa6dd24b5f1b9be101c477}\label{Hall_8h_a9671d0935caa6dd24b5f1b9be101c477}} +\index{Hall.h@{Hall.h}!operator$<$$<$@{operator$<$$<$}} +\index{operator$<$$<$@{operator$<$$<$}!Hall.h@{Hall.h}} +\doxysubsubsection{\texorpdfstring{operator$<$$<$()}{operator<<()}} +{\footnotesize\ttfamily std\+::ostream \& operator$<$$<$ (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{ostr, }\item[{const \mbox{\hyperlink{classHall}{Hall}} \&}]{hall }\end{DoxyParamCaption})} + + + +Writes \mbox{\hyperlink{classHall}{Hall}} to stream with \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator. + +Uses the stream\textquotesingle{}s \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator to write all internal data. + +\begin{DoxyNote}{Note} +Best used with std\+::cout or text std\+::ofstream +\end{DoxyNote} +\mbox{\Hypertarget{Hall_8h_ac55d9db507637effdb1896e33c86d439}\label{Hall_8h_ac55d9db507637effdb1896e33c86d439}} +\index{Hall.h@{Hall.h}!operator$>$$>$@{operator$>$$>$}} +\index{operator$>$$>$@{operator$>$$>$}!Hall.h@{Hall.h}} +\doxysubsubsection{\texorpdfstring{operator$>$$>$()}{operator>>()}} +{\footnotesize\ttfamily std\+::istream \& operator$>$$>$ (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{istr, }\item[{\mbox{\hyperlink{classHall}{Hall}} \&}]{hall }\end{DoxyParamCaption})} + + + +Reads \mbox{\hyperlink{classHall}{Hall}} from stream with \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} operator. + +Uses the stream\textquotesingle{}s \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} operator to read and parse all internal values. + +\begin{DoxyNote}{Note} +Best used with std\+::cin or text std\+::ifstream +\end{DoxyNote} diff --git a/docs/latex/Hall_8h_source.tex b/docs/latex/Hall_8h_source.tex new file mode 100644 index 0000000..d597f51 --- /dev/null +++ b/docs/latex/Hall_8h_source.tex @@ -0,0 +1,36 @@ +\hypertarget{Hall_8h_source}{}\doxysection{Hall.\+h} +\label{Hall_8h_source}\index{src/Models/Hall.h@{src/Models/Hall.h}} +\mbox{\hyperlink{Hall_8h}{Go to the documentation of this file.}} +\begin{DoxyCode}{0} +\DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef HEADER\_MODEL\_HALL}} +\DoxyCodeLine{2 \textcolor{preprocessor}{\#define HEADER\_MODEL\_HALL}} +\DoxyCodeLine{3 } +\DoxyCodeLine{8 \textcolor{preprocessor}{\#include }} +\DoxyCodeLine{9 \textcolor{preprocessor}{\#include }} +\DoxyCodeLine{10 } +\DoxyCodeLine{13 \textcolor{keyword}{class }\mbox{\hyperlink{classHall}{Hall}} \{} +\DoxyCodeLine{14 \textcolor{keywordtype}{int} number;} +\DoxyCodeLine{15 \textcolor{keywordtype}{unsigned} rows;} +\DoxyCodeLine{16 \textcolor{keywordtype}{unsigned} seatsPerRow;} +\DoxyCodeLine{17 } +\DoxyCodeLine{18 \textcolor{keyword}{public}:} +\DoxyCodeLine{20 \mbox{\hyperlink{classHall_a122ed8085be305339c89cadb3e360b86}{Hall}}();} +\DoxyCodeLine{22 \mbox{\hyperlink{classHall_a122ed8085be305339c89cadb3e360b86}{Hall}}(\textcolor{keywordtype}{int} number);} +\DoxyCodeLine{24 \mbox{\hyperlink{classHall_a122ed8085be305339c89cadb3e360b86}{Hall}}(\textcolor{keywordtype}{int} number, \textcolor{keywordtype}{unsigned} rows, \textcolor{keywordtype}{unsigned} seatsPerRow);} +\DoxyCodeLine{25 } +\DoxyCodeLine{27 \textcolor{keywordtype}{int} \mbox{\hyperlink{classHall_a84186aee50631f25b214f18f7b0dc178}{get\_number}}() \textcolor{keyword}{const};} +\DoxyCodeLine{29 \textcolor{keywordtype}{unsigned} \mbox{\hyperlink{classHall_a6b3c304a95d3f56980c6faf0cc2073a2}{get\_rows}}() \textcolor{keyword}{const};} +\DoxyCodeLine{31 \textcolor{keywordtype}{unsigned} \mbox{\hyperlink{classHall_a42e1cd716086d8a42a627e00cde17a7e}{get\_seatsPerRow}}() \textcolor{keyword}{const};} +\DoxyCodeLine{32 } +\DoxyCodeLine{34 \textcolor{keywordtype}{void} \mbox{\hyperlink{classHall_acef974f302d8131ef4608e15f96c2df9}{read}}(std::istream\& istr);} +\DoxyCodeLine{36 \textcolor{keywordtype}{void} \mbox{\hyperlink{classHall_a0239d59ab0f832f16cf35c820d0eba5a}{write}}(std::ostream\& ostr) \textcolor{keyword}{const};} +\DoxyCodeLine{38 \textcolor{keywordtype}{int} \mbox{\hyperlink{classHall_a4259837f943c488c6b15ed6c80d5f30b}{compare}}(\textcolor{keyword}{const} \mbox{\hyperlink{classHall}{Hall}}\& other) \textcolor{keyword}{const};} +\DoxyCodeLine{39 } +\DoxyCodeLine{40 \};} +\DoxyCodeLine{41 } +\DoxyCodeLine{43 std::istream\& \mbox{\hyperlink{Hall_8h_ac55d9db507637effdb1896e33c86d439}{operator>>}}(std::istream\& istr, \mbox{\hyperlink{classHall}{Hall}}\& hall);} +\DoxyCodeLine{45 std::ostream\& \mbox{\hyperlink{Hall_8h_a9671d0935caa6dd24b5f1b9be101c477}{operator<<}}(std::ostream\& ostr, \textcolor{keyword}{const} \mbox{\hyperlink{classHall}{Hall}}\& hall);} +\DoxyCodeLine{46 } +\DoxyCodeLine{47 \textcolor{preprocessor}{\#endif}} + +\end{DoxyCode} diff --git a/docs/latex/List_8hpp.tex b/docs/latex/List_8hpp.tex new file mode 100644 index 0000000..a31d9c9 --- /dev/null +++ b/docs/latex/List_8hpp.tex @@ -0,0 +1,67 @@ +\hypertarget{List_8hpp}{}\doxysection{src/\+Generic/\+List/\+List.hpp File Reference} +\label{List_8hpp}\index{src/Generic/List/List.hpp@{src/Generic/List/List.hpp}} + + +Stores declaration and definition of templated class \mbox{\hyperlink{classList}{List}}. + + +{\ttfamily \#include $<$istream$>$}\newline +{\ttfamily \#include $<$ostream$>$}\newline +\doxysubsection*{Classes} +\begin{DoxyCompactItemize} +\item +class \mbox{\hyperlink{classList}{List$<$ T $>$}} +\begin{DoxyCompactList}\small\item\em Templated class that stores an array of elements in dynamic memory. \end{DoxyCompactList}\end{DoxyCompactItemize} +\doxysubsection*{Functions} +\begin{DoxyCompactItemize} +\item +{\footnotesize template$<$typename T $>$ }\\std\+::istream \& \mbox{\hyperlink{List_8hpp_a7469c3479753bfbada761697c539aa07}{operator$>$$>$}} (std\+::istream \&istr, \mbox{\hyperlink{classList}{List}}$<$ T $>$ \&obj) +\begin{DoxyCompactList}\small\item\em Reads \mbox{\hyperlink{classList}{List}} from stream with \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} operator. \end{DoxyCompactList}\item +{\footnotesize template$<$typename T $>$ }\\std\+::ostream \& \mbox{\hyperlink{List_8hpp_ac8590f4d4ba6c820c34afe14df54f2c2}{operator$<$$<$}} (std\+::ostream \&ostr, const \mbox{\hyperlink{classList}{List}}$<$ T $>$ \&obj) +\begin{DoxyCompactList}\small\item\em Writes \mbox{\hyperlink{classList}{List}} to stream with \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Stores declaration and definition of templated class \mbox{\hyperlink{classList}{List}}. + + + +\doxysubsection{Function Documentation} +\mbox{\Hypertarget{List_8hpp_ac8590f4d4ba6c820c34afe14df54f2c2}\label{List_8hpp_ac8590f4d4ba6c820c34afe14df54f2c2}} +\index{List.hpp@{List.hpp}!operator$<$$<$@{operator$<$$<$}} +\index{operator$<$$<$@{operator$<$$<$}!List.hpp@{List.hpp}} +\doxysubsubsection{\texorpdfstring{operator$<$$<$()}{operator<<()}} +{\footnotesize\ttfamily template$<$typename T $>$ \\ +std\+::ostream \& operator$<$$<$ (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{ostr, }\item[{const \mbox{\hyperlink{classList}{List}}$<$ T $>$ \&}]{obj }\end{DoxyParamCaption})} + + + +Writes \mbox{\hyperlink{classList}{List}} to stream with \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator. + +Uses the stream\textquotesingle{}s \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator to write the count and then all objects. + +\begin{DoxyWarning}{Warning} +The function depends on the type having the operator \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} defined, which takes an std\+::ostream\& and writes it\textquotesingle{}s data to it. Return type doesn\textquotesingle{}t matter. +\end{DoxyWarning} +\begin{DoxyNote}{Note} +Best used with std\+::cout or text std\+::ofstream +\end{DoxyNote} +\mbox{\Hypertarget{List_8hpp_a7469c3479753bfbada761697c539aa07}\label{List_8hpp_a7469c3479753bfbada761697c539aa07}} +\index{List.hpp@{List.hpp}!operator$>$$>$@{operator$>$$>$}} +\index{operator$>$$>$@{operator$>$$>$}!List.hpp@{List.hpp}} +\doxysubsubsection{\texorpdfstring{operator$>$$>$()}{operator>>()}} +{\footnotesize\ttfamily template$<$typename T $>$ \\ +std\+::istream \& operator$>$$>$ (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{istr, }\item[{\mbox{\hyperlink{classList}{List}}$<$ T $>$ \&}]{obj }\end{DoxyParamCaption})} + + + +Reads \mbox{\hyperlink{classList}{List}} from stream with \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} operator. + +Uses the stream\textquotesingle{}s \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} operator to read and parse the elements. The first item in the stream should be the count. + +\begin{DoxyWarning}{Warning} +The function depends on the type having the operator \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} defined, which takes an std\+::istream\& and writes it\textquotesingle{}s data to it. Return type doesn\textquotesingle{}t matter. +\end{DoxyWarning} +\begin{DoxyNote}{Note} +Best used with std\+::cin or text std\+::ifstream +\end{DoxyNote} diff --git a/docs/latex/List_8hpp_source.tex b/docs/latex/List_8hpp_source.tex new file mode 100644 index 0000000..1d5b9a9 --- /dev/null +++ b/docs/latex/List_8hpp_source.tex @@ -0,0 +1,263 @@ +\hypertarget{List_8hpp_source}{}\doxysection{List.\+hpp} +\label{List_8hpp_source}\index{src/Generic/List/List.hpp@{src/Generic/List/List.hpp}} +\mbox{\hyperlink{List_8hpp}{Go to the documentation of this file.}} +\begin{DoxyCode}{0} +\DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef HEADER\_LIST}} +\DoxyCodeLine{2 \textcolor{preprocessor}{\#define HEADER\_LIST}} +\DoxyCodeLine{3 } +\DoxyCodeLine{8 \textcolor{preprocessor}{\#include }} +\DoxyCodeLine{9 \textcolor{preprocessor}{\#include }} +\DoxyCodeLine{10 } +\DoxyCodeLine{21 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{22 \textcolor{keyword}{class }\mbox{\hyperlink{classList}{List}} \{} +\DoxyCodeLine{23 \textcolor{keyword}{protected}:} +\DoxyCodeLine{24 T* elements;} +\DoxyCodeLine{25 \textcolor{keywordtype}{unsigned} length;} +\DoxyCodeLine{26 \textcolor{keywordtype}{unsigned} count;} +\DoxyCodeLine{27 } +\DoxyCodeLine{28 \textcolor{keywordtype}{void} resize();} +\DoxyCodeLine{29 \textcolor{keywordtype}{void} free();} +\DoxyCodeLine{30 \textcolor{keywordtype}{void} copyFrom(\textcolor{keyword}{const} \mbox{\hyperlink{classList}{List}}\& other);} +\DoxyCodeLine{31 } +\DoxyCodeLine{32 \textcolor{keyword}{public}:} +\DoxyCodeLine{34 \mbox{\hyperlink{classList_a93cd36efc12aa5ef5fc28866edce7e61}{List}}(\textcolor{keyword}{const} T* elements, \textcolor{keywordtype}{unsigned} elementsCount);} +\DoxyCodeLine{36 \textcolor{keywordtype}{void} \mbox{\hyperlink{classList_abfec4f2e7990d06c143852ecfdf907bb}{add}}(\textcolor{keyword}{const} T\& element);} +\DoxyCodeLine{38 \textcolor{keywordtype}{void} \mbox{\hyperlink{classList_ae4586debf72af33bccb3c2fbfce420e8}{insertAt}}(\textcolor{keyword}{const} T\& element, \textcolor{keywordtype}{unsigned} index);} +\DoxyCodeLine{40 \textcolor{keywordtype}{bool} \mbox{\hyperlink{classList_ad9c0a5b5bca6286f458d6fab280de65a}{removeAt}}(\textcolor{keywordtype}{unsigned} index);} +\DoxyCodeLine{42 \textcolor{keywordtype}{unsigned} \mbox{\hyperlink{classList_a3804f03273ef5e339b504e439c5b6534}{findIndex}}(\textcolor{keyword}{const} T\& element) \textcolor{keyword}{const};} +\DoxyCodeLine{43 \textcolor{keywordtype}{bool} \mbox{\hyperlink{classList_a163a070c7d5dc77ca3c1726b8f2d4bc1}{contain}}(\textcolor{keyword}{const} T\& element) \textcolor{keyword}{const};} +\DoxyCodeLine{45 T\& \mbox{\hyperlink{classList_a321bb581943398344aad07198d1f02ac}{operator[]}}(\textcolor{keywordtype}{unsigned} index);} +\DoxyCodeLine{47 \textcolor{keyword}{const} T\& \mbox{\hyperlink{classList_a5fa582de3aec5094a871852b658cf853}{operator[]}}(\textcolor{keywordtype}{unsigned} index) \textcolor{keyword}{const};} +\DoxyCodeLine{48 } +\DoxyCodeLine{50 \mbox{\hyperlink{classList}{List}}\& \mbox{\hyperlink{classList_aa4332ce5a589da28528f035ded6d41e5}{operator+=}}(\textcolor{keyword}{const} \mbox{\hyperlink{classList}{List}} other);} +\DoxyCodeLine{51 } +\DoxyCodeLine{53 std::istream\& \mbox{\hyperlink{classList_a5e3581ee07649f462aa8bb3221a5466e}{read}}(std::istream\& istr);} +\DoxyCodeLine{55 std::ostream\& \mbox{\hyperlink{classList_a8d2babffd2fb4a5e0a40dbd306e19956}{write}}(std::ostream\& ostr) \textcolor{keyword}{const};} +\DoxyCodeLine{56 } +\DoxyCodeLine{58 \textcolor{keywordtype}{unsigned} \mbox{\hyperlink{classList_aa32109b77dccd8241b125ebabdda876c}{get\_length}}() \textcolor{keyword}{const};} +\DoxyCodeLine{60 \textcolor{keywordtype}{unsigned} \mbox{\hyperlink{classList_a3c1e3a3fc085f5b7ae68514c4758687b}{get\_count}}() \textcolor{keyword}{const};} +\DoxyCodeLine{61 } +\DoxyCodeLine{62 \mbox{\hyperlink{classList}{List}}();} +\DoxyCodeLine{63 \mbox{\hyperlink{classList}{List}}\& operator=(\textcolor{keyword}{const} \mbox{\hyperlink{classList}{List}}\& other);} +\DoxyCodeLine{64 \mbox{\hyperlink{classList}{List}}(\textcolor{keyword}{const} \mbox{\hyperlink{classList}{List}}\& other);} +\DoxyCodeLine{65 \mbox{\hyperlink{classList}{\string~List}}();} +\DoxyCodeLine{66 } +\DoxyCodeLine{67 \mbox{\hyperlink{classList}{List}}(\mbox{\hyperlink{classList}{List}}\&\& other);} +\DoxyCodeLine{68 \mbox{\hyperlink{classList}{List}}\& operator=(\mbox{\hyperlink{classList}{List}}\&\& other);} +\DoxyCodeLine{69 \};} +\DoxyCodeLine{70 } +\DoxyCodeLine{72 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{73 std::istream\& \mbox{\hyperlink{List_8hpp_a7469c3479753bfbada761697c539aa07}{operator>>}}(std::istream\& istr, \mbox{\hyperlink{classList}{List}}\& obj);} +\DoxyCodeLine{75 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{76 std::ostream\& \mbox{\hyperlink{List_8hpp_ac8590f4d4ba6c820c34afe14df54f2c2}{operator<<}}(std::ostream\& ostr, \textcolor{keyword}{const} \mbox{\hyperlink{classList}{List}}\& obj);} +\DoxyCodeLine{77 } +\DoxyCodeLine{78 \textcolor{comment}{/* Private */}} +\DoxyCodeLine{79 } +\DoxyCodeLine{80 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{81 \textcolor{keywordtype}{void} \mbox{\hyperlink{classList}{List::resize}}() \{} +\DoxyCodeLine{82 length = (length == 0) ? 8 : length << 1;} +\DoxyCodeLine{83 T* temp = \textcolor{keyword}{new} T[length];} +\DoxyCodeLine{84 \textcolor{keywordflow}{for} (\textcolor{keywordtype}{int} i = 0; i < count; i++)} +\DoxyCodeLine{85 temp[i] = elements[i];} +\DoxyCodeLine{86 \textcolor{keyword}{delete}[] elements;} +\DoxyCodeLine{87 elements = temp;} +\DoxyCodeLine{88 \}} +\DoxyCodeLine{89 } +\DoxyCodeLine{90 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{91 \textcolor{keywordtype}{void} \mbox{\hyperlink{classList}{List::free}}() \{} +\DoxyCodeLine{92 \textcolor{keyword}{delete}[] elements;} +\DoxyCodeLine{93 \}} +\DoxyCodeLine{94 } +\DoxyCodeLine{95 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{96 \textcolor{keywordtype}{void} \mbox{\hyperlink{classList}{List::copyFrom}}(\textcolor{keyword}{const} \mbox{\hyperlink{classList}{List}}\& other) \{} +\DoxyCodeLine{97 elements = \textcolor{keyword}{new} T[other.length];} +\DoxyCodeLine{98 \textcolor{keywordflow}{for} (\textcolor{keywordtype}{int} i = 0; i < other.count; i++)} +\DoxyCodeLine{99 elements[i] = other.elements[i];} +\DoxyCodeLine{100 length = other.length;} +\DoxyCodeLine{101 count = other.count;} +\DoxyCodeLine{102 \}} +\DoxyCodeLine{103 } +\DoxyCodeLine{104 \textcolor{comment}{/* Public */}} +\DoxyCodeLine{105 } +\DoxyCodeLine{106 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{107 \mbox{\hyperlink{classList}{List::List}}(\textcolor{keyword}{const} T* elements, \textcolor{keywordtype}{unsigned} elementsCount) \{} +\DoxyCodeLine{108 length = 8;} +\DoxyCodeLine{109 count = elementsCount;} +\DoxyCodeLine{110 this-\/>elements = \textcolor{keyword}{new} T[length];} +\DoxyCodeLine{111 \textcolor{keywordflow}{for} (\textcolor{keywordtype}{unsigned} i = 0; i < count; i++)} +\DoxyCodeLine{112 this-\/>elements[i] = elements[i];} +\DoxyCodeLine{113 \}} +\DoxyCodeLine{114 } +\DoxyCodeLine{118 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{119 \textcolor{keywordtype}{void} \mbox{\hyperlink{classList_abfec4f2e7990d06c143852ecfdf907bb}{List::add}}(\textcolor{keyword}{const} T\& element) \{} +\DoxyCodeLine{120 \textcolor{keywordflow}{if} (length == count) resize();} +\DoxyCodeLine{121 } +\DoxyCodeLine{122 elements[count++] = element;} +\DoxyCodeLine{123 \}} +\DoxyCodeLine{124 } +\DoxyCodeLine{131 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{132 \textcolor{keywordtype}{void} \mbox{\hyperlink{classList_ae4586debf72af33bccb3c2fbfce420e8}{List::insertAt}}(\textcolor{keyword}{const} T\& element, \textcolor{keywordtype}{unsigned} index) \{} +\DoxyCodeLine{133 \textcolor{keywordflow}{if} (index >= count) \{} +\DoxyCodeLine{134 add(element);} +\DoxyCodeLine{135 \textcolor{keywordflow}{return};} +\DoxyCodeLine{136 \}} +\DoxyCodeLine{137 \textcolor{keywordflow}{if} (length == count) resize();} +\DoxyCodeLine{138 } +\DoxyCodeLine{139 \textcolor{keywordflow}{for} (\textcolor{keywordtype}{unsigned} i = count; i > index; i-\/-\/)} +\DoxyCodeLine{140 elements[i] = elements[i -\/ 1];} +\DoxyCodeLine{141 } +\DoxyCodeLine{142 elements[index] = element;} +\DoxyCodeLine{143 count++;} +\DoxyCodeLine{144 \}} +\DoxyCodeLine{145 } +\DoxyCodeLine{151 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{152 \textcolor{keywordtype}{bool} \mbox{\hyperlink{classList_ad9c0a5b5bca6286f458d6fab280de65a}{List::removeAt}}(\textcolor{keywordtype}{unsigned} index) \{} +\DoxyCodeLine{153 \textcolor{keywordflow}{if} (index >= count) \textcolor{keywordflow}{return} \textcolor{keyword}{false};} +\DoxyCodeLine{154 } +\DoxyCodeLine{155 \textcolor{keywordflow}{for} (\textcolor{keywordtype}{int} i = index; i < count; i++)} +\DoxyCodeLine{156 elements[i] = elements[i + 1];} +\DoxyCodeLine{157 count-\/-\/;} +\DoxyCodeLine{158 \textcolor{keywordflow}{return} \textcolor{keyword}{true};} +\DoxyCodeLine{159 \}} +\DoxyCodeLine{160 } +\DoxyCodeLine{166 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{167 \textcolor{keywordtype}{unsigned} \mbox{\hyperlink{classList_a3804f03273ef5e339b504e439c5b6534}{List::findIndex}}(\textcolor{keyword}{const} T\& element)\textcolor{keyword}{ const }\{} +\DoxyCodeLine{168 \textcolor{keywordtype}{unsigned} ind = 0;} +\DoxyCodeLine{169 \textcolor{keywordflow}{while} (ind < count \&\& elements[ind].compare(element) != 0)} +\DoxyCodeLine{170 ind++;} +\DoxyCodeLine{171 \textcolor{keywordflow}{return} ind;} +\DoxyCodeLine{172 \}} +\DoxyCodeLine{173 } +\DoxyCodeLine{179 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{180 \textcolor{keywordtype}{bool} \mbox{\hyperlink{classList_a163a070c7d5dc77ca3c1726b8f2d4bc1}{List::contain}}(\textcolor{keyword}{const} T\& element)\textcolor{keyword}{ const }\{} +\DoxyCodeLine{181 \textcolor{keywordflow}{return} findIndex(element) < count;} +\DoxyCodeLine{182 \}} +\DoxyCodeLine{183 } +\DoxyCodeLine{184 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{185 T\& \mbox{\hyperlink{classList_a321bb581943398344aad07198d1f02ac}{List::operator[]}}(\textcolor{keywordtype}{unsigned} index) \{} +\DoxyCodeLine{186 \textcolor{keywordflow}{return} elements[index];} +\DoxyCodeLine{187 \}} +\DoxyCodeLine{188 } +\DoxyCodeLine{189 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{190 \textcolor{keyword}{const} T\& \mbox{\hyperlink{classList_a321bb581943398344aad07198d1f02ac}{List::operator[]}}(\textcolor{keywordtype}{unsigned} index)\textcolor{keyword}{ const }\{} +\DoxyCodeLine{191 \textcolor{keywordflow}{return} elements[index];} +\DoxyCodeLine{192 \}} +\DoxyCodeLine{193 } +\DoxyCodeLine{194 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{195 \mbox{\hyperlink{classList}{List}}\& \mbox{\hyperlink{classList_aa4332ce5a589da28528f035ded6d41e5}{List::operator+=}}(\textcolor{keyword}{const} \mbox{\hyperlink{classList}{List}} other) \{} +\DoxyCodeLine{196 \textcolor{keywordflow}{for} (\textcolor{keywordtype}{unsigned} i = 0; i < other.length; i++)} +\DoxyCodeLine{197 add(other[i]);} +\DoxyCodeLine{198 \textcolor{keywordflow}{return} *\textcolor{keyword}{this};} +\DoxyCodeLine{199 \}} +\DoxyCodeLine{200 } +\DoxyCodeLine{210 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{211 std::istream\& \mbox{\hyperlink{classList_a5e3581ee07649f462aa8bb3221a5466e}{List::read}}(std::istream\& istr) \{} +\DoxyCodeLine{212 istr.read((\textcolor{keywordtype}{char}*)\&length, \textcolor{keyword}{sizeof}(length));} +\DoxyCodeLine{213 istr.read((\textcolor{keywordtype}{char}*)\&count, \textcolor{keyword}{sizeof}(count));} +\DoxyCodeLine{214 } +\DoxyCodeLine{215 \textcolor{keyword}{delete}[] elements;} +\DoxyCodeLine{216 elements = \textcolor{keyword}{new} T[length];} +\DoxyCodeLine{217 } +\DoxyCodeLine{218 \textcolor{keywordflow}{for} (\textcolor{keywordtype}{int} i = 0; i < count; i++)} +\DoxyCodeLine{219 elements[i].\mbox{\hyperlink{Toolbox_8hpp_a3c9098dc2b305107367c56ded5dec787}{read}}(istr);} +\DoxyCodeLine{220 } +\DoxyCodeLine{221 \textcolor{keywordflow}{return} istr;} +\DoxyCodeLine{222 \}} +\DoxyCodeLine{223 } +\DoxyCodeLine{232 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{233 std::ostream\& \mbox{\hyperlink{classList_a8d2babffd2fb4a5e0a40dbd306e19956}{List::write}}(std::ostream\& ostr)\textcolor{keyword}{ const }\{} +\DoxyCodeLine{234 ostr.write((\textcolor{keyword}{const} \textcolor{keywordtype}{char}*)\&length, \textcolor{keyword}{sizeof}(length));} +\DoxyCodeLine{235 ostr.write((\textcolor{keyword}{const} \textcolor{keywordtype}{char}*)\&count, \textcolor{keyword}{sizeof}(count));} +\DoxyCodeLine{236 } +\DoxyCodeLine{237 \textcolor{keywordflow}{for} (\textcolor{keywordtype}{int} i = 0; i < count; i++)} +\DoxyCodeLine{238 elements[i].write(ostr);} +\DoxyCodeLine{239 } +\DoxyCodeLine{240 \textcolor{keywordflow}{return} ostr;} +\DoxyCodeLine{241 \}} +\DoxyCodeLine{242 } +\DoxyCodeLine{246 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{247 \textcolor{keywordtype}{unsigned} \mbox{\hyperlink{classList_aa32109b77dccd8241b125ebabdda876c}{List::get\_length}}()\textcolor{keyword}{ const }\{} +\DoxyCodeLine{248 \textcolor{keywordflow}{return} length;} +\DoxyCodeLine{249 \}} +\DoxyCodeLine{250 } +\DoxyCodeLine{254 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{255 \textcolor{keywordtype}{unsigned} \mbox{\hyperlink{classList_a3c1e3a3fc085f5b7ae68514c4758687b}{List::get\_count}}()\textcolor{keyword}{ const }\{} +\DoxyCodeLine{256 \textcolor{keywordflow}{return} count;} +\DoxyCodeLine{257 \}} +\DoxyCodeLine{258 } +\DoxyCodeLine{259 \textcolor{comment}{// Rule of 4}} +\DoxyCodeLine{260 } +\DoxyCodeLine{261 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{262 \mbox{\hyperlink{classList}{List::List}}() : \mbox{\hyperlink{classList}{List}}(nullptr, 0) \{\}} +\DoxyCodeLine{263 } +\DoxyCodeLine{264 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{265 \mbox{\hyperlink{classList}{List}}\& \mbox{\hyperlink{classList}{List::operator=}}(\textcolor{keyword}{const} \mbox{\hyperlink{classList}{List}}\& other) \{} +\DoxyCodeLine{266 \textcolor{keywordflow}{if} (\textcolor{keyword}{this} != \&other) \{} +\DoxyCodeLine{267 free();} +\DoxyCodeLine{268 copyFrom(other);} +\DoxyCodeLine{269 \}} +\DoxyCodeLine{270 \textcolor{keywordflow}{return} *\textcolor{keyword}{this};} +\DoxyCodeLine{271 \}} +\DoxyCodeLine{272 } +\DoxyCodeLine{273 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{274 \mbox{\hyperlink{classList}{List::List}}(\textcolor{keyword}{const} \mbox{\hyperlink{classList}{List}}\& other) \{} +\DoxyCodeLine{275 copyFrom(other);} +\DoxyCodeLine{276 \}} +\DoxyCodeLine{277 } +\DoxyCodeLine{278 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{279 \mbox{\hyperlink{classList}{List::\string~List}}() \{} +\DoxyCodeLine{280 free();} +\DoxyCodeLine{281 \}} +\DoxyCodeLine{282 } +\DoxyCodeLine{283 \textcolor{comment}{// Move semantics}} +\DoxyCodeLine{284 } +\DoxyCodeLine{285 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{286 \mbox{\hyperlink{classList}{List::List}}(\mbox{\hyperlink{classList}{List}}\&\& other) \{} +\DoxyCodeLine{287 length = other.length;} +\DoxyCodeLine{288 count = other.count;} +\DoxyCodeLine{289 elements = other.elements;} +\DoxyCodeLine{290 other.elements = \textcolor{keyword}{nullptr};} +\DoxyCodeLine{291 \}} +\DoxyCodeLine{292 } +\DoxyCodeLine{293 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{294 \mbox{\hyperlink{classList}{List}}\& \mbox{\hyperlink{classList}{List::operator=}}(\mbox{\hyperlink{classList}{List}}\&\& other) \{} +\DoxyCodeLine{295 \textcolor{keywordflow}{if} (\textcolor{keyword}{this} != \&other) \{} +\DoxyCodeLine{296 free();} +\DoxyCodeLine{297 length = other.length;} +\DoxyCodeLine{298 count = other.count;} +\DoxyCodeLine{299 elements = other.elements;} +\DoxyCodeLine{300 other.elements = \textcolor{keyword}{nullptr};} +\DoxyCodeLine{301 \}} +\DoxyCodeLine{302 \textcolor{keywordflow}{return} *\textcolor{keyword}{this};} +\DoxyCodeLine{303 \}} +\DoxyCodeLine{304 } +\DoxyCodeLine{305 \textcolor{comment}{/* Outside of class */}} +\DoxyCodeLine{306 } +\DoxyCodeLine{314 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{315 std::istream\& \mbox{\hyperlink{List_8hpp_a7469c3479753bfbada761697c539aa07}{operator>>}}(std::istream\& istr, \mbox{\hyperlink{classList}{List}}\& obj) \{} +\DoxyCodeLine{316 \mbox{\hyperlink{classList}{List}} newObj;} +\DoxyCodeLine{317 \textcolor{keywordtype}{unsigned} count;} +\DoxyCodeLine{318 istr >> count;} +\DoxyCodeLine{319 } +\DoxyCodeLine{320 T temp;} +\DoxyCodeLine{321 \textcolor{keywordflow}{for} (\textcolor{keywordtype}{int} i = 0; i < count; i++) \{} +\DoxyCodeLine{322 istr >> temp;} +\DoxyCodeLine{323 obj.\mbox{\hyperlink{classList_abfec4f2e7990d06c143852ecfdf907bb}{add}}(temp);} +\DoxyCodeLine{324 \}} +\DoxyCodeLine{325 } +\DoxyCodeLine{326 \textcolor{keywordflow}{return} istr;} +\DoxyCodeLine{327 \}} +\DoxyCodeLine{328 } +\DoxyCodeLine{335 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{336 std::ostream\& \mbox{\hyperlink{List_8hpp_ac8590f4d4ba6c820c34afe14df54f2c2}{operator<<}}(std::ostream\& ostr, \textcolor{keyword}{const} \mbox{\hyperlink{classList}{List}}\& obj) \{} +\DoxyCodeLine{337 ostr << obj.\mbox{\hyperlink{classList_a3c1e3a3fc085f5b7ae68514c4758687b}{get\_count}}() << std::endl;} +\DoxyCodeLine{338 \textcolor{keywordflow}{for} (\textcolor{keywordtype}{int} i = 0; i < obj.\mbox{\hyperlink{classList_a3c1e3a3fc085f5b7ae68514c4758687b}{get\_count}}(); i++)} +\DoxyCodeLine{339 ostr << obj[i];} +\DoxyCodeLine{340 } +\DoxyCodeLine{341 \textcolor{keywordflow}{return} ostr;} +\DoxyCodeLine{342 \}} +\DoxyCodeLine{343 } +\DoxyCodeLine{344 } +\DoxyCodeLine{345 \textcolor{preprocessor}{\#endif}} + +\end{DoxyCode} diff --git a/docs/latex/Makefile b/docs/latex/Makefile new file mode 100644 index 0000000..877c9cc --- /dev/null +++ b/docs/latex/Makefile @@ -0,0 +1,23 @@ +LATEX_CMD=pdflatex + +all: refman.pdf + +pdf: refman.pdf + +refman.pdf: clean refman.tex + $(LATEX_CMD) refman + makeindex refman.idx + $(LATEX_CMD) refman + latex_count=8 ; \ + while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ + do \ + echo "Rerunning latex...." ;\ + $(LATEX_CMD) refman ;\ + latex_count=`expr $$latex_count - 1` ;\ + done + makeindex refman.idx + $(LATEX_CMD) refman + + +clean: + rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf diff --git a/docs/latex/Menu_8h.tex b/docs/latex/Menu_8h.tex new file mode 100644 index 0000000..ea2d495 --- /dev/null +++ b/docs/latex/Menu_8h.tex @@ -0,0 +1,19 @@ +\hypertarget{Menu_8h}{}\doxysection{src/\+Generic/\+Console\+Interface/\+Menu.h File Reference} +\label{Menu_8h}\index{src/Generic/ConsoleInterface/Menu.h@{src/Generic/ConsoleInterface/Menu.h}} + + +Stores the declaration of class \mbox{\hyperlink{classMenu}{Menu}}. + + +{\ttfamily \#include \char`\"{}Command.\+h\char`\"{}}\newline +{\ttfamily \#include \char`\"{}../\+List/\+List.\+hpp\char`\"{}}\newline +\doxysubsection*{Classes} +\begin{DoxyCompactItemize} +\item +class \mbox{\hyperlink{classMenu}{Menu}} +\begin{DoxyCompactList}\small\item\em Handles navigation between multiple commands. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Stores the declaration of class \mbox{\hyperlink{classMenu}{Menu}}. + diff --git a/docs/latex/Menu_8h_source.tex b/docs/latex/Menu_8h_source.tex new file mode 100644 index 0000000..1190e08 --- /dev/null +++ b/docs/latex/Menu_8h_source.tex @@ -0,0 +1,34 @@ +\hypertarget{Menu_8h_source}{}\doxysection{Menu.\+h} +\label{Menu_8h_source}\index{src/Generic/ConsoleInterface/Menu.h@{src/Generic/ConsoleInterface/Menu.h}} +\mbox{\hyperlink{Menu_8h}{Go to the documentation of this file.}} +\begin{DoxyCode}{0} +\DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef HEADER\_CONSOLEINTERFACE\_MENU}} +\DoxyCodeLine{2 \textcolor{preprocessor}{\#define HEADER\_CONSOLEINTERFACE\_MENU}} +\DoxyCodeLine{3 } +\DoxyCodeLine{8 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{Command_8h}{Command.h}}"{}}} +\DoxyCodeLine{9 \textcolor{preprocessor}{\#include "{}../List/List.hpp"{}}} +\DoxyCodeLine{10 } +\DoxyCodeLine{17 \textcolor{keyword}{class }\mbox{\hyperlink{classMenu}{Menu}} \{} +\DoxyCodeLine{18 \textcolor{keywordtype}{char} title[256];} +\DoxyCodeLine{19 \mbox{\hyperlink{classList}{List}} menuOptions;} +\DoxyCodeLine{20 } +\DoxyCodeLine{21 \textcolor{keywordtype}{bool} backExistsApp;} +\DoxyCodeLine{22 \textcolor{keywordtype}{bool} isSubMenu;} +\DoxyCodeLine{23 } +\DoxyCodeLine{24 \textcolor{keyword}{public}:} +\DoxyCodeLine{26 \mbox{\hyperlink{classMenu_ad466dd83355124a6ed958430450bfe94}{Menu}}();} +\DoxyCodeLine{28 \mbox{\hyperlink{classMenu_ad466dd83355124a6ed958430450bfe94}{Menu}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* title, \textcolor{keywordtype}{bool} backExistsApp, \textcolor{keywordtype}{bool} isSubMenu);} +\DoxyCodeLine{30 \mbox{\hyperlink{classMenu_ad466dd83355124a6ed958430450bfe94}{Menu}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* title, \textcolor{keywordtype}{bool} backExistsApp, \textcolor{keywordtype}{bool} isSubMenu, \textcolor{keyword}{const} \mbox{\hyperlink{classCommand}{Command}}* commands, \textcolor{keywordtype}{unsigned} commandCount);} +\DoxyCodeLine{31 } +\DoxyCodeLine{33 \textcolor{keywordtype}{void} \mbox{\hyperlink{classMenu_a1f022cc8b705369073f8fd7b90b30c8d}{addCommand}}(\textcolor{keyword}{const} \mbox{\hyperlink{classCommand}{Command}}\& command);} +\DoxyCodeLine{34 } +\DoxyCodeLine{36 \textcolor{keywordtype}{void} \mbox{\hyperlink{classMenu_aad506cb9a7f35dea98c60484bb2d095c}{registerError}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* message) \textcolor{keyword}{const};} +\DoxyCodeLine{38 \textcolor{keywordtype}{void} \mbox{\hyperlink{classMenu_a5350b1addf9bf365351486cd161696ad}{registerWarning}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* message) \textcolor{keyword}{const};} +\DoxyCodeLine{40 \textcolor{keywordtype}{void} \mbox{\hyperlink{classMenu_a3504e28b5d05e1ad70dada190bbc3a9c}{registerSuccess}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* message) \textcolor{keyword}{const};} +\DoxyCodeLine{41 } +\DoxyCodeLine{43 \textcolor{keywordtype}{void} \mbox{\hyperlink{classMenu_a0400751da7f8583029b7a12d3003c36d}{navigate}}() \textcolor{keyword}{const};} +\DoxyCodeLine{44 \};} +\DoxyCodeLine{45 } +\DoxyCodeLine{46 \textcolor{preprocessor}{\#endif}} + +\end{DoxyCode} diff --git a/docs/latex/OrderedList_8hpp.tex b/docs/latex/OrderedList_8hpp.tex new file mode 100644 index 0000000..12ff026 --- /dev/null +++ b/docs/latex/OrderedList_8hpp.tex @@ -0,0 +1,18 @@ +\hypertarget{OrderedList_8hpp}{}\doxysection{src/\+Generic/\+List/\+Ordered\+List.hpp File Reference} +\label{OrderedList_8hpp}\index{src/Generic/List/OrderedList.hpp@{src/Generic/List/OrderedList.hpp}} + + +Stores declaration and definition of templated class \mbox{\hyperlink{classOrderedList}{Ordered\+List}}. + + +{\ttfamily \#include \char`\"{}List.\+hpp\char`\"{}}\newline +\doxysubsection*{Classes} +\begin{DoxyCompactItemize} +\item +class \mbox{\hyperlink{classOrderedList}{Ordered\+List$<$ T $>$}} +\begin{DoxyCompactList}\small\item\em Inherits \mbox{\hyperlink{classList}{List}}, but contains it\textquotesingle{}s elements in a sorted manner. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Stores declaration and definition of templated class \mbox{\hyperlink{classOrderedList}{Ordered\+List}}. + diff --git a/docs/latex/OrderedList_8hpp_source.tex b/docs/latex/OrderedList_8hpp_source.tex new file mode 100644 index 0000000..632ec54 --- /dev/null +++ b/docs/latex/OrderedList_8hpp_source.tex @@ -0,0 +1,41 @@ +\hypertarget{OrderedList_8hpp_source}{}\doxysection{Ordered\+List.\+hpp} +\label{OrderedList_8hpp_source}\index{src/Generic/List/OrderedList.hpp@{src/Generic/List/OrderedList.hpp}} +\mbox{\hyperlink{OrderedList_8hpp}{Go to the documentation of this file.}} +\begin{DoxyCode}{0} +\DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef HEADER\_ORDEREDLIST}} +\DoxyCodeLine{2 \textcolor{preprocessor}{\#define HEADER\_ORDEREDLIST}} +\DoxyCodeLine{3 } +\DoxyCodeLine{8 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{List_8hpp}{List.hpp}}"{}}} +\DoxyCodeLine{9 } +\DoxyCodeLine{15 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{16 \textcolor{keyword}{class }\mbox{\hyperlink{classOrderedList}{OrderedList}} : \textcolor{keyword}{public} \mbox{\hyperlink{classList}{List}} \{} +\DoxyCodeLine{17 \textcolor{keyword}{public}:} +\DoxyCodeLine{18 \mbox{\hyperlink{classOrderedList}{OrderedList}}();} +\DoxyCodeLine{19 \mbox{\hyperlink{classOrderedList}{OrderedList}}(\textcolor{keyword}{const} T* elements, \textcolor{keywordtype}{unsigned} elementsCount);} +\DoxyCodeLine{20 } +\DoxyCodeLine{24 \textcolor{keywordtype}{void} \mbox{\hyperlink{classOrderedList_a8b2748c3cdefe4869e0d7a2fc9b4b2cd}{add}}(T element) = \textcolor{keyword}{delete};} +\DoxyCodeLine{28 \textcolor{keywordtype}{void} \mbox{\hyperlink{classOrderedList_a45af729846bacc77fc8292e5d0690f99}{insertAt}}(T element, \textcolor{keywordtype}{unsigned} index) = \textcolor{keyword}{delete};} +\DoxyCodeLine{29 } +\DoxyCodeLine{31 \textcolor{keywordtype}{void} \mbox{\hyperlink{classOrderedList_a1132cd9c92901e9b9950a4a409b0fc8b}{insert}}(T element);} +\DoxyCodeLine{32 \};} +\DoxyCodeLine{33 } +\DoxyCodeLine{34 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{35 \mbox{\hyperlink{classOrderedList}{OrderedList::OrderedList}}() : \mbox{\hyperlink{classOrderedList}{OrderedList}}(nullptr, 0) \{\}} +\DoxyCodeLine{36 } +\DoxyCodeLine{37 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{38 \mbox{\hyperlink{classOrderedList}{OrderedList::OrderedList}}(\textcolor{keyword}{const} T* elements, \textcolor{keywordtype}{unsigned} elementsCount) : \mbox{\hyperlink{classList}{List}}::\mbox{\hyperlink{classList}{List}}(elements, elementsCount) \{\}} +\DoxyCodeLine{39 } +\DoxyCodeLine{44 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{45 \textcolor{keywordtype}{void} \mbox{\hyperlink{classOrderedList_a1132cd9c92901e9b9950a4a409b0fc8b}{OrderedList::insert}}(T element) \{} +\DoxyCodeLine{46 \textcolor{keywordflow}{if} (\mbox{\hyperlink{classList}{List::length}} == \mbox{\hyperlink{classList}{List::count}}) \mbox{\hyperlink{classList}{List::resize}}();} +\DoxyCodeLine{47 } +\DoxyCodeLine{48 \textcolor{keywordtype}{unsigned} insertionInd = 0;} +\DoxyCodeLine{49 \textcolor{keywordflow}{while} (insertionInd < \mbox{\hyperlink{classList}{List::count}} \&\& \mbox{\hyperlink{classList}{List::elements}}[insertionInd].compare(element) < 0)} +\DoxyCodeLine{50 insertionInd++;} +\DoxyCodeLine{51 } +\DoxyCodeLine{52 \mbox{\hyperlink{classList_ae4586debf72af33bccb3c2fbfce420e8}{List::insertAt}}(element, insertionInd);} +\DoxyCodeLine{53 \}} +\DoxyCodeLine{54 } +\DoxyCodeLine{55 \textcolor{preprocessor}{\#endif}} + +\end{DoxyCode} diff --git a/docs/latex/Reservation_8h.tex b/docs/latex/Reservation_8h.tex new file mode 100644 index 0000000..3df169e --- /dev/null +++ b/docs/latex/Reservation_8h.tex @@ -0,0 +1,29 @@ +\hypertarget{Reservation_8h}{}\doxysection{src/\+Models/\+Reservation.h File Reference} +\label{Reservation_8h}\index{src/Models/Reservation.h@{src/Models/Reservation.h}} + + +Stores the declaration of class \mbox{\hyperlink{classReservation}{Reservation}}. + + +{\ttfamily \#include \char`\"{}Ticket.\+h\char`\"{}}\newline +{\ttfamily \#include $<$istream$>$}\newline +{\ttfamily \#include $<$ostream$>$}\newline +\doxysubsection*{Classes} +\begin{DoxyCompactItemize} +\item +class \mbox{\hyperlink{classReservation}{Reservation}} +\begin{DoxyCompactList}\small\item\em Each Reservations contains a ticket, a password and a note. \end{DoxyCompactList}\end{DoxyCompactItemize} +\doxysubsection*{Macros} +\begin{DoxyCompactItemize} +\item +\mbox{\Hypertarget{Reservation_8h_a0fe437f408e254d25bd93c55b2a17371}\label{Reservation_8h_a0fe437f408e254d25bd93c55b2a17371}} +\#define {\bfseries PASSWORD\+\_\+\+LEN}~8 +\item +\mbox{\Hypertarget{Reservation_8h_a3c10da010db9a0c17470973fea43566f}\label{Reservation_8h_a3c10da010db9a0c17470973fea43566f}} +\#define {\bfseries NOTE\+\_\+\+LEN}~32 +\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Stores the declaration of class \mbox{\hyperlink{classReservation}{Reservation}}. + diff --git a/docs/latex/Reservation_8h_source.tex b/docs/latex/Reservation_8h_source.tex new file mode 100644 index 0000000..539658d --- /dev/null +++ b/docs/latex/Reservation_8h_source.tex @@ -0,0 +1,39 @@ +\hypertarget{Reservation_8h_source}{}\doxysection{Reservation.\+h} +\label{Reservation_8h_source}\index{src/Models/Reservation.h@{src/Models/Reservation.h}} +\mbox{\hyperlink{Reservation_8h}{Go to the documentation of this file.}} +\begin{DoxyCode}{0} +\DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef HEADER\_MODEL\_RESERVATION}} +\DoxyCodeLine{2 \textcolor{preprocessor}{\#define HEADER\_MODEL\_RESERVATION}} +\DoxyCodeLine{3 } +\DoxyCodeLine{8 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{Ticket_8h}{Ticket.h}}"{}}} +\DoxyCodeLine{9 \textcolor{preprocessor}{\#include }} +\DoxyCodeLine{10 \textcolor{preprocessor}{\#include }} +\DoxyCodeLine{11 } +\DoxyCodeLine{12 \textcolor{preprocessor}{\#define PASSWORD\_LEN 8}} +\DoxyCodeLine{13 \textcolor{preprocessor}{\#define NOTE\_LEN 32}} +\DoxyCodeLine{14 } +\DoxyCodeLine{17 \textcolor{keyword}{class }\mbox{\hyperlink{classReservation}{Reservation}} \{} +\DoxyCodeLine{18 \mbox{\hyperlink{classTicket}{Ticket}} ticket;} +\DoxyCodeLine{19 \textcolor{keywordtype}{char} password[PASSWORD\_LEN];} +\DoxyCodeLine{20 \textcolor{keywordtype}{char} note[NOTE\_LEN];} +\DoxyCodeLine{21 } +\DoxyCodeLine{22 \textcolor{keyword}{public}:} +\DoxyCodeLine{24 \mbox{\hyperlink{classReservation_a63b283053695e6f50fa44c50da2b3de5}{Reservation}}();} +\DoxyCodeLine{26 \mbox{\hyperlink{classReservation_a63b283053695e6f50fa44c50da2b3de5}{Reservation}}(\textcolor{keyword}{const} \mbox{\hyperlink{classTicket}{Ticket}}\& ticket);} +\DoxyCodeLine{28 \mbox{\hyperlink{classReservation_a63b283053695e6f50fa44c50da2b3de5}{Reservation}}(\textcolor{keyword}{const} \mbox{\hyperlink{classTicket}{Ticket}}\& ticket, \textcolor{keyword}{const} \textcolor{keywordtype}{char}* password, \textcolor{keyword}{const} \textcolor{keywordtype}{char}* note);} +\DoxyCodeLine{29 } +\DoxyCodeLine{31 \textcolor{keyword}{const} \mbox{\hyperlink{classTicket}{Ticket}}\& \mbox{\hyperlink{classReservation_af1b95b3d7c46f506dec4d275d6821cdb}{get\_ticket}}() \textcolor{keyword}{const};} +\DoxyCodeLine{33 \textcolor{keyword}{const} \textcolor{keywordtype}{char}* \mbox{\hyperlink{classReservation_aa34cd16a057a4a483e569ec5d7527ad9}{get\_password}}() \textcolor{keyword}{const};} +\DoxyCodeLine{35 \textcolor{keyword}{const} \textcolor{keywordtype}{char}* \mbox{\hyperlink{classReservation_a2285881510bf07f469bf360bb1050f12}{get\_note}}() \textcolor{keyword}{const};} +\DoxyCodeLine{36 } +\DoxyCodeLine{38 \textcolor{keywordtype}{void} \mbox{\hyperlink{classReservation_a03f0d1a522edb2c5fba7538f0c879573}{read}}(std::istream\& istr);} +\DoxyCodeLine{40 \textcolor{keywordtype}{void} \mbox{\hyperlink{classReservation_a1aba46b8e181750bd89fdfca6ff8ba32}{write}}(std::ostream\& ostr) \textcolor{keyword}{const};} +\DoxyCodeLine{42 \textcolor{keywordtype}{int} \mbox{\hyperlink{classReservation_a31cc66beeaf85befe2185dfc88086d38}{compare}}(\textcolor{keyword}{const} \mbox{\hyperlink{classReservation}{Reservation}}\& other) \textcolor{keyword}{const};} +\DoxyCodeLine{43 } +\DoxyCodeLine{45 \textcolor{keyword}{friend} std::istream\& \mbox{\hyperlink{classReservation_a2b7331e532f77bbc67eab217bfeb1f25}{operator>>}}(std::istream\& istr, \mbox{\hyperlink{classReservation}{Reservation}}\& reservation);} +\DoxyCodeLine{47 \textcolor{keyword}{friend} std::ostream\& \mbox{\hyperlink{classReservation_abf734c0a55da55ef89dab1e2f12b8ebd}{operator<<}}(std::ostream\& ostr, \textcolor{keyword}{const} \mbox{\hyperlink{classReservation}{Reservation}}\& reservation);} +\DoxyCodeLine{48 \};} +\DoxyCodeLine{49 } +\DoxyCodeLine{50 \textcolor{preprocessor}{\#endif}} + +\end{DoxyCode} diff --git a/docs/latex/StatusCode_8h.tex b/docs/latex/StatusCode_8h.tex new file mode 100644 index 0000000..4d61d13 --- /dev/null +++ b/docs/latex/StatusCode_8h.tex @@ -0,0 +1,46 @@ +\hypertarget{StatusCode_8h}{}\doxysection{src/\+Services/\+Status\+Code.h File Reference} +\label{StatusCode_8h}\index{src/Services/StatusCode.h@{src/Services/StatusCode.h}} + + +Stores declaration of enum Status\+Code. + + +\doxysubsection*{Enumerations} +\begin{DoxyCompactItemize} +\item +enum \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} \{ \newline +{\bfseries Success} +, {\bfseries W\+\_\+\+Ticket\+Had\+Not\+Been\+Reserved} +, {\bfseries E\+\_\+\+File\+Could\+Not\+Be\+Opened} +, {\bfseries E\+\_\+\+Hall\+Doesnt\+Exist} +, \newline +{\bfseries E\+\_\+\+Event\+Will\+Overlap} +, {\bfseries E\+\_\+\+Event\+Does\+Not\+Exist} +, {\bfseries E\+\_\+\+Ticket\+Already\+Bought} +, {\bfseries E\+\_\+\+Ticket\+Already\+Reserved} +, \newline +{\bfseries E\+\_\+\+Reservation\+Does\+Not\+Exist} +, {\bfseries E\+\_\+\+Wrong\+Reservation\+Password} + \} +\begin{DoxyCompactList}\small\item\em Used for communication between Services and what uses them. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Stores declaration of enum Status\+Code. + + + +\doxysubsection{Enumeration Type Documentation} +\mbox{\Hypertarget{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}\label{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}} +\index{StatusCode.h@{StatusCode.h}!StatusCode@{StatusCode}} +\index{StatusCode@{StatusCode}!StatusCode.h@{StatusCode.h}} +\doxysubsubsection{\texorpdfstring{StatusCode}{StatusCode}} +{\footnotesize\ttfamily enum \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}}} + + + +Used for communication between Services and what uses them. + +Most functions in Services return a Status\+Code. + +Those starting with W should be considered Warning, and those starting with E should be considered Errors. \ No newline at end of file diff --git a/docs/latex/StatusCode_8h_source.tex b/docs/latex/StatusCode_8h_source.tex new file mode 100644 index 0000000..77cc2e0 --- /dev/null +++ b/docs/latex/StatusCode_8h_source.tex @@ -0,0 +1,30 @@ +\hypertarget{StatusCode_8h_source}{}\doxysection{Status\+Code.\+h} +\label{StatusCode_8h_source}\index{src/Services/StatusCode.h@{src/Services/StatusCode.h}} +\mbox{\hyperlink{StatusCode_8h}{Go to the documentation of this file.}} +\begin{DoxyCode}{0} +\DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef HEADER\_SERVICES\_STATUSCODE}} +\DoxyCodeLine{2 \textcolor{preprocessor}{\#define HEADER\_SERVICES\_STATUSCODE}} +\DoxyCodeLine{3 } +\DoxyCodeLine{14 \textcolor{keyword}{enum} \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{StatusCode}} \{} +\DoxyCodeLine{15 Success,} +\DoxyCodeLine{16 } +\DoxyCodeLine{17 } +\DoxyCodeLine{18 W\_TicketHadNotBeenReserved,} +\DoxyCodeLine{19 } +\DoxyCodeLine{20 } +\DoxyCodeLine{21 E\_FileCouldNotBeOpened,} +\DoxyCodeLine{22 } +\DoxyCodeLine{23 E\_HallDoesntExist,} +\DoxyCodeLine{24 } +\DoxyCodeLine{25 E\_EventWillOverlap,} +\DoxyCodeLine{26 E\_EventDoesNotExist,} +\DoxyCodeLine{27 } +\DoxyCodeLine{28 E\_TicketAlreadyBought,} +\DoxyCodeLine{29 E\_TicketAlreadyReserved,} +\DoxyCodeLine{30 E\_ReservationDoesNotExist,} +\DoxyCodeLine{31 E\_WrongReservationPassword,} +\DoxyCodeLine{32 \};} +\DoxyCodeLine{33 } +\DoxyCodeLine{34 \textcolor{preprocessor}{\#endif}} + +\end{DoxyCode} diff --git a/docs/latex/String_8h.tex b/docs/latex/String_8h.tex new file mode 100644 index 0000000..b8108e0 --- /dev/null +++ b/docs/latex/String_8h.tex @@ -0,0 +1,19 @@ +\hypertarget{String_8h}{}\doxysection{src/\+Generic/\+String/\+String.h File Reference} +\label{String_8h}\index{src/Generic/String/String.h@{src/Generic/String/String.h}} + + +Stores declaration of class \mbox{\hyperlink{classString}{String}}. + + +{\ttfamily \#include $<$istream$>$}\newline +{\ttfamily \#include $<$ostream$>$}\newline +\doxysubsection*{Classes} +\begin{DoxyCompactItemize} +\item +class \mbox{\hyperlink{classString}{String}} +\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Stores declaration of class \mbox{\hyperlink{classString}{String}}. + diff --git a/docs/latex/String_8h_source.tex b/docs/latex/String_8h_source.tex new file mode 100644 index 0000000..5db0734 --- /dev/null +++ b/docs/latex/String_8h_source.tex @@ -0,0 +1,46 @@ +\hypertarget{String_8h_source}{}\doxysection{String.\+h} +\label{String_8h_source}\index{src/Generic/String/String.h@{src/Generic/String/String.h}} +\mbox{\hyperlink{String_8h}{Go to the documentation of this file.}} +\begin{DoxyCode}{0} +\DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef HEADER\_STRING}} +\DoxyCodeLine{2 \textcolor{preprocessor}{\#define HEADER\_STRING}} +\DoxyCodeLine{3 } +\DoxyCodeLine{8 \textcolor{preprocessor}{\#include }} +\DoxyCodeLine{9 \textcolor{preprocessor}{\#include }} +\DoxyCodeLine{10 } +\DoxyCodeLine{11 \textcolor{keyword}{class }\mbox{\hyperlink{classString}{String}} \{} +\DoxyCodeLine{12 \textcolor{keywordtype}{char}* str;} +\DoxyCodeLine{13 \textcolor{keywordtype}{unsigned} length;} +\DoxyCodeLine{14 } +\DoxyCodeLine{15 \textcolor{keywordtype}{void} free();} +\DoxyCodeLine{16 \textcolor{keywordtype}{void} copyFrom(\textcolor{keyword}{const} \mbox{\hyperlink{classString}{String}}\& other);} +\DoxyCodeLine{17 } +\DoxyCodeLine{18 \textcolor{keyword}{public}:} +\DoxyCodeLine{20 \mbox{\hyperlink{classString}{String}}(\textcolor{keywordtype}{unsigned} length);} +\DoxyCodeLine{22 \mbox{\hyperlink{classString}{String}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* str);} +\DoxyCodeLine{24 \textcolor{keyword}{const} \textcolor{keywordtype}{char}* \mbox{\hyperlink{classString_a3d7f953737f3d4dca72d1cc4836f7dcc}{get\_cstr}}() \textcolor{keyword}{const};} +\DoxyCodeLine{26 \textcolor{keywordtype}{unsigned} \mbox{\hyperlink{classString_a7793a7e9a7601d4c724dcc85566259bf}{get\_length}}() \textcolor{keyword}{const};} +\DoxyCodeLine{28 \textcolor{keywordtype}{char}\& \mbox{\hyperlink{classString_a5d3b77a51619a8580a373d2cd1092a54}{operator[]}}(\textcolor{keywordtype}{unsigned} index);} +\DoxyCodeLine{29 } +\DoxyCodeLine{31 \mbox{\hyperlink{classString}{String}}\& \mbox{\hyperlink{classString_a64de9ab1af5df9397f8fbd8c79d5f4b6}{operator+=}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* str);} +\DoxyCodeLine{33 \mbox{\hyperlink{classString}{String}}\& \mbox{\hyperlink{classString_a64de9ab1af5df9397f8fbd8c79d5f4b6}{operator+=}}(\textcolor{keywordtype}{unsigned} number);} +\DoxyCodeLine{34 } +\DoxyCodeLine{35 \mbox{\hyperlink{classString}{String}}();} +\DoxyCodeLine{36 \mbox{\hyperlink{classString}{String}}(\textcolor{keyword}{const} \mbox{\hyperlink{classString}{String}}\& other);} +\DoxyCodeLine{37 \mbox{\hyperlink{classString}{String}}\& operator=(\textcolor{keyword}{const} \mbox{\hyperlink{classString}{String}}\& other);} +\DoxyCodeLine{38 \mbox{\hyperlink{classString}{\string~String}}();} +\DoxyCodeLine{39 } +\DoxyCodeLine{40 \mbox{\hyperlink{classString}{String}}(\mbox{\hyperlink{classString}{String}}\&\& other);} +\DoxyCodeLine{41 \mbox{\hyperlink{classString}{String}}\& operator=(\mbox{\hyperlink{classString}{String}}\&\& other);} +\DoxyCodeLine{42 } +\DoxyCodeLine{44 \textcolor{keywordtype}{void} \mbox{\hyperlink{classString_ad76bb9eca15651c67332808cdaad6344}{read}}(std::istream\& istr);} +\DoxyCodeLine{46 \textcolor{keywordtype}{void} \mbox{\hyperlink{classString_a7b0ea809587c21bc1d2b87bfee53e628}{write}}(std::ostream\& ostr) \textcolor{keyword}{const};} +\DoxyCodeLine{48 \textcolor{keywordtype}{int} \mbox{\hyperlink{classString_a3f420d69fbe3de91711dc69148d23cc7}{compare}}(\textcolor{keyword}{const} \mbox{\hyperlink{classString}{String}}\& other) \textcolor{keyword}{const};} +\DoxyCodeLine{49 } +\DoxyCodeLine{51 \textcolor{keyword}{friend} std::istream\& \mbox{\hyperlink{classString_a1918adea635f3f340dbecd6fb05341f8}{operator>>}}(std::istream\& istr, \mbox{\hyperlink{classString}{String}}\& event);} +\DoxyCodeLine{53 \textcolor{keyword}{friend} std::ostream\& \mbox{\hyperlink{classString_aa00d824f40064ff356aa7c15d6a9da12}{operator<<}}(std::ostream\& ostr, \textcolor{keyword}{const} \mbox{\hyperlink{classString}{String}}\& event);} +\DoxyCodeLine{54 \};} +\DoxyCodeLine{55 } +\DoxyCodeLine{56 \textcolor{preprocessor}{\#endif}} + +\end{DoxyCode} diff --git a/docs/latex/Ticket_8h.tex b/docs/latex/Ticket_8h.tex new file mode 100644 index 0000000..42be99a --- /dev/null +++ b/docs/latex/Ticket_8h.tex @@ -0,0 +1,59 @@ +\hypertarget{Ticket_8h}{}\doxysection{src/\+Models/\+Ticket.h File Reference} +\label{Ticket_8h}\index{src/Models/Ticket.h@{src/Models/Ticket.h}} + + +Stores the declaration of class \mbox{\hyperlink{classTicket}{Ticket}}. + + +{\ttfamily \#include $<$istream$>$}\newline +{\ttfamily \#include $<$ostream$>$}\newline +\doxysubsection*{Classes} +\begin{DoxyCompactItemize} +\item +class \mbox{\hyperlink{classTicket}{Ticket}} +\begin{DoxyCompactList}\small\item\em Each \mbox{\hyperlink{classTicket}{Ticket}} contains a row and a seat number. \end{DoxyCompactList}\end{DoxyCompactItemize} +\doxysubsection*{Functions} +\begin{DoxyCompactItemize} +\item +std\+::istream \& \mbox{\hyperlink{Ticket_8h_ac5c53ae039e173faa4cce85c2e32c920}{operator$>$$>$}} (std\+::istream \&istr, \mbox{\hyperlink{classTicket}{Ticket}} \&ticket) +\begin{DoxyCompactList}\small\item\em Reads \mbox{\hyperlink{classTicket}{Ticket}} from stream with \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} operator. \end{DoxyCompactList}\item +std\+::ostream \& \mbox{\hyperlink{Ticket_8h_ae1686d3505df5e86e64e6e1b263e92ce}{operator$<$$<$}} (std\+::ostream \&ostr, const \mbox{\hyperlink{classTicket}{Ticket}} \&ticket) +\begin{DoxyCompactList}\small\item\em Writes \mbox{\hyperlink{classTicket}{Ticket}} to stream with \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Stores the declaration of class \mbox{\hyperlink{classTicket}{Ticket}}. + + + +\doxysubsection{Function Documentation} +\mbox{\Hypertarget{Ticket_8h_ae1686d3505df5e86e64e6e1b263e92ce}\label{Ticket_8h_ae1686d3505df5e86e64e6e1b263e92ce}} +\index{Ticket.h@{Ticket.h}!operator$<$$<$@{operator$<$$<$}} +\index{operator$<$$<$@{operator$<$$<$}!Ticket.h@{Ticket.h}} +\doxysubsubsection{\texorpdfstring{operator$<$$<$()}{operator<<()}} +{\footnotesize\ttfamily std\+::ostream \& operator$<$$<$ (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{ostr, }\item[{const \mbox{\hyperlink{classTicket}{Ticket}} \&}]{ticket }\end{DoxyParamCaption})} + + + +Writes \mbox{\hyperlink{classTicket}{Ticket}} to stream with \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator. + +Uses the stream\textquotesingle{}s \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator to write row and seat, separated by a space. + +\begin{DoxyNote}{Note} +Best used with std\+::cout or text std\+::ofstream +\end{DoxyNote} +\mbox{\Hypertarget{Ticket_8h_ac5c53ae039e173faa4cce85c2e32c920}\label{Ticket_8h_ac5c53ae039e173faa4cce85c2e32c920}} +\index{Ticket.h@{Ticket.h}!operator$>$$>$@{operator$>$$>$}} +\index{operator$>$$>$@{operator$>$$>$}!Ticket.h@{Ticket.h}} +\doxysubsubsection{\texorpdfstring{operator$>$$>$()}{operator>>()}} +{\footnotesize\ttfamily std\+::istream \& operator$>$$>$ (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{istr, }\item[{\mbox{\hyperlink{classTicket}{Ticket}} \&}]{ticket }\end{DoxyParamCaption})} + + + +Reads \mbox{\hyperlink{classTicket}{Ticket}} from stream with \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} operator. + +Uses the stream\textquotesingle{}s \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} operator to read and parse row and seat. + +\begin{DoxyNote}{Note} +Best used with std\+::cin or text std\+::ifstream +\end{DoxyNote} diff --git a/docs/latex/Ticket_8h_source.tex b/docs/latex/Ticket_8h_source.tex new file mode 100644 index 0000000..c605906 --- /dev/null +++ b/docs/latex/Ticket_8h_source.tex @@ -0,0 +1,32 @@ +\hypertarget{Ticket_8h_source}{}\doxysection{Ticket.\+h} +\label{Ticket_8h_source}\index{src/Models/Ticket.h@{src/Models/Ticket.h}} +\mbox{\hyperlink{Ticket_8h}{Go to the documentation of this file.}} +\begin{DoxyCode}{0} +\DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef HEADER\_HEADER\_TICKET}} +\DoxyCodeLine{2 \textcolor{preprocessor}{\#define HEADER\_HEADER\_TICKET}} +\DoxyCodeLine{3 } +\DoxyCodeLine{8 \textcolor{preprocessor}{\#include }} +\DoxyCodeLine{9 \textcolor{preprocessor}{\#include }} +\DoxyCodeLine{10 } +\DoxyCodeLine{13 \textcolor{keyword}{class }\mbox{\hyperlink{classTicket}{Ticket}} \{} +\DoxyCodeLine{14 \textcolor{keywordtype}{unsigned} row;} +\DoxyCodeLine{15 \textcolor{keywordtype}{unsigned} seat;} +\DoxyCodeLine{16 } +\DoxyCodeLine{17 \textcolor{keyword}{public}:} +\DoxyCodeLine{19 \mbox{\hyperlink{classTicket_aba3a46c9223efb6ab0bde93a09403537}{Ticket}}();} +\DoxyCodeLine{21 \mbox{\hyperlink{classTicket_aba3a46c9223efb6ab0bde93a09403537}{Ticket}}(\textcolor{keywordtype}{unsigned} row, \textcolor{keywordtype}{unsigned} seat);} +\DoxyCodeLine{22 } +\DoxyCodeLine{24 \textcolor{keywordtype}{unsigned} \mbox{\hyperlink{classTicket_a94476de3cd6711185527d0fe4df9a278}{get\_row}}() \textcolor{keyword}{const};} +\DoxyCodeLine{26 \textcolor{keywordtype}{unsigned} \mbox{\hyperlink{classTicket_af7b64cb77a676d0f7bdb32255283f005}{get\_seat}}() \textcolor{keyword}{const};} +\DoxyCodeLine{27 } +\DoxyCodeLine{29 \textcolor{keywordtype}{void} \mbox{\hyperlink{classTicket_aad2d0b7b92b54ec861db92c31f50f4ad}{read}}(std::istream\& istr);} +\DoxyCodeLine{31 \textcolor{keywordtype}{void} \mbox{\hyperlink{classTicket_a584a11f6236fc96f3bdbd0592d3f60f4}{write}}(std::ostream\& ostr) \textcolor{keyword}{const};} +\DoxyCodeLine{33 \textcolor{keywordtype}{int} \mbox{\hyperlink{classTicket_a82a063f71be89f44dd969970855187c4}{compare}}(\textcolor{keyword}{const} \mbox{\hyperlink{classTicket}{Ticket}}\& other) \textcolor{keyword}{const};} +\DoxyCodeLine{34 \};} +\DoxyCodeLine{35 } +\DoxyCodeLine{37 std::istream\& \mbox{\hyperlink{Ticket_8h_ac5c53ae039e173faa4cce85c2e32c920}{operator>>}}(std::istream\& istr, \mbox{\hyperlink{classTicket}{Ticket}}\& ticket);} +\DoxyCodeLine{39 std::ostream\& \mbox{\hyperlink{Ticket_8h_ae1686d3505df5e86e64e6e1b263e92ce}{operator<<}}(std::ostream\& ostr, \textcolor{keyword}{const} \mbox{\hyperlink{classTicket}{Ticket}}\& ticket);} +\DoxyCodeLine{40 } +\DoxyCodeLine{41 \textcolor{preprocessor}{\#endif}} + +\end{DoxyCode} diff --git a/docs/latex/Toolbox_8hpp.tex b/docs/latex/Toolbox_8hpp.tex new file mode 100644 index 0000000..246f05f --- /dev/null +++ b/docs/latex/Toolbox_8hpp.tex @@ -0,0 +1,423 @@ +\hypertarget{Toolbox_8hpp}{}\doxysection{src/\+Generic/\+Console\+Interface/\+Toolbox.hpp File Reference} +\label{Toolbox_8hpp}\index{src/Generic/ConsoleInterface/Toolbox.hpp@{src/Generic/ConsoleInterface/Toolbox.hpp}} + + +Stores a wide range of functions for simpler/more automated printing. + + +{\ttfamily \#include $<$iostream$>$}\newline +\doxysubsection*{Macros} +\begin{DoxyCompactItemize} +\item +\mbox{\Hypertarget{Toolbox_8hpp_a09f908aa6474fe2b1f82b1aaade947f6}\label{Toolbox_8hpp_a09f908aa6474fe2b1f82b1aaade947f6}} +\#define {\bfseries MAX\+\_\+\+LINE\+\_\+\+WIDTH}~1024 +\end{DoxyCompactItemize} +\doxysubsection*{Functions} +\begin{DoxyCompactItemize} +\item +void \mbox{\hyperlink{Toolbox_8hpp_ac8bb3912a3ce86b15842e79d0b421204}{clear}} () +\begin{DoxyCompactList}\small\item\em Clears the console screen. \end{DoxyCompactList}\item +void \mbox{\hyperlink{Toolbox_8hpp_a24a3fa9050ea032396c213ea85a1de0b}{title\+Box}} (const char $\ast$title) +\begin{DoxyCompactList}\small\item\em Prints a title box. \end{DoxyCompactList}\item +void \mbox{\hyperlink{Toolbox_8hpp_ad557e4a1167be4e0c57fe530ce74a120}{sub\+Title\+Box}} (const char $\ast$title) +\begin{DoxyCompactList}\small\item\em Prints a title sub box. \end{DoxyCompactList}\item +void \mbox{\hyperlink{Toolbox_8hpp_a6c82ac6987703376c17c74a81fb0a91a}{success\+Box}} (const char $\ast$message) +\begin{DoxyCompactList}\small\item\em Prints a success box. \end{DoxyCompactList}\item +void \mbox{\hyperlink{Toolbox_8hpp_aa78e2e87fff9b64ca032a5b1c7054081}{success\+Sub\+Box}} (const char $\ast$message) +\begin{DoxyCompactList}\small\item\em Prints a success box as a sub box. \end{DoxyCompactList}\item +void \mbox{\hyperlink{Toolbox_8hpp_a52222c9ff8739ef87c89df899deb5052}{warning\+Box}} (const char $\ast$message) +\begin{DoxyCompactList}\small\item\em Prints a warning box. \end{DoxyCompactList}\item +void \mbox{\hyperlink{Toolbox_8hpp_a22f8b3135115d1b9fca09eea98dc6d92}{warning\+Sub\+Box}} (const char $\ast$message) +\begin{DoxyCompactList}\small\item\em Prints a warning box as a sub box. \end{DoxyCompactList}\item +void \mbox{\hyperlink{Toolbox_8hpp_a9d709a3db7de05368cc38671c896bb2d}{error\+Box}} (const char $\ast$message) +\begin{DoxyCompactList}\small\item\em Prints an error box. \end{DoxyCompactList}\item +void \mbox{\hyperlink{Toolbox_8hpp_ade748c3f15151748c9f978097715d2e7}{error\+Sub\+Box}} (const char $\ast$message) +\begin{DoxyCompactList}\small\item\em Prints an error box as a sub box. \end{DoxyCompactList}\item +void \mbox{\hyperlink{Toolbox_8hpp_aa49b4d5a7b00249bc1fb08eec5e3aeaf}{input\+Line\+Box}} (const char $\ast$label, char $\ast$output, unsigned max\+Width, bool ignore=true) +\begin{DoxyCompactList}\small\item\em Prints label, gets a whole line of input and stores it to output. \end{DoxyCompactList}\item +void \mbox{\hyperlink{Toolbox_8hpp_ad2c61ce27ec52d14e427d6f6e93d38f2}{input\+Line\+Sub\+Box}} (const char $\ast$label, char $\ast$output, unsigned max\+Width, bool ignore=true) +\begin{DoxyCompactList}\small\item\em Prints label as a sub box, gets a whole line of input and stores it to output. \end{DoxyCompactList}\item +void \mbox{\hyperlink{Toolbox_8hpp_ac7f54319bf4e70a46e3155ae1b39e832}{press\+Enter\+To\+Continue}} (bool ignore=true) +\begin{DoxyCompactList}\small\item\em Waits for user to press enter. \end{DoxyCompactList}\item +void \mbox{\hyperlink{Toolbox_8hpp_a4456d10f7e141c4fc1a29aff4ad29108}{reset\+Ordered\+List}} (int starter=1) +\begin{DoxyCompactList}\small\item\em Resets the ordered list starting number. \end{DoxyCompactList}\item +void \mbox{\hyperlink{Toolbox_8hpp_a6c90056ede686f0319d0fb0a408d02e5}{table}} (unsigned start\+Number, unsigned columns, const char $\ast$items) +\begin{DoxyCompactList}\small\item\em Prints a string as a table. \end{DoxyCompactList}\item +void \mbox{\hyperlink{Toolbox_8hpp_ac17b91efad13dbe9e10e5550ee4707c6}{\+\_\+print\+Sub\+Box\+Spacing}} () +\begin{DoxyCompactList}\small\item\em Semi-\/internal function that prints the spacing for sub boxes. \end{DoxyCompactList}\item +void \mbox{\hyperlink{Toolbox_8hpp_ab3ce613add75d2385c8e1424527d2c3d}{\+\_\+print\+Input\+Box\+Label}} (const char $\ast$label) +\begin{DoxyCompactList}\small\item\em Semi-\/internal function that prints the label of an input box. \end{DoxyCompactList}\item +void \mbox{\hyperlink{Toolbox_8hpp_a27b565355e018d36b6ce47169cc26fad}{\+\_\+print\+Ordered\+List\+Beginning}} () +\begin{DoxyCompactList}\small\item\em Semi-\/internal function that prints the latest ordered list index. \end{DoxyCompactList}\item +\mbox{\Hypertarget{Toolbox_8hpp_a3c9098dc2b305107367c56ded5dec787}\label{Toolbox_8hpp_a3c9098dc2b305107367c56ded5dec787}} +{\footnotesize template$<$typename T $>$ }\\void {\bfseries read} (T $\ast$storage) +\begin{DoxyCompactList}\small\item\em Reads user input and stores it. \end{DoxyCompactList}\item +\mbox{\Hypertarget{Toolbox_8hpp_a06ca09434be2a02543a2371d477acfa0}\label{Toolbox_8hpp_a06ca09434be2a02543a2371d477acfa0}} +{\footnotesize template$<$typename T $>$ }\\void {\bfseries read} (T \&storage) +\begin{DoxyCompactList}\small\item\em Reads user input and stores it. \end{DoxyCompactList}\item +\mbox{\Hypertarget{Toolbox_8hpp_a5ca1093462d3266fceb8522e144c1e73}\label{Toolbox_8hpp_a5ca1093462d3266fceb8522e144c1e73}} +{\footnotesize template$<$typename T $>$ }\\void {\bfseries print} (const T $\ast$item) +\begin{DoxyCompactList}\small\item\em Prints given item. \end{DoxyCompactList}\item +\mbox{\Hypertarget{Toolbox_8hpp_a9c0a0d7d3210ca5f12f02ac4cb88476e}\label{Toolbox_8hpp_a9c0a0d7d3210ca5f12f02ac4cb88476e}} +{\footnotesize template$<$typename T $>$ }\\void {\bfseries print} (const T \&item) +\begin{DoxyCompactList}\small\item\em Prints given item. \end{DoxyCompactList}\item +\mbox{\Hypertarget{Toolbox_8hpp_a148d9d6b8b15bbfc2b1f4cdb16c2ee81}\label{Toolbox_8hpp_a148d9d6b8b15bbfc2b1f4cdb16c2ee81}} +{\footnotesize template$<$typename T $>$ }\\void {\bfseries print\+Line} (const T $\ast$item) +\begin{DoxyCompactList}\small\item\em Prints given item and an endline character. \end{DoxyCompactList}\item +\mbox{\Hypertarget{Toolbox_8hpp_a799f4cb5b4da3d40261e25d9e41995aa}\label{Toolbox_8hpp_a799f4cb5b4da3d40261e25d9e41995aa}} +{\footnotesize template$<$typename T $>$ }\\void {\bfseries print\+Line} (const T \&item) +\begin{DoxyCompactList}\small\item\em Prints given item and an endline character. \end{DoxyCompactList}\item +\mbox{\Hypertarget{Toolbox_8hpp_abe3a449632ee6d40eb59101dd2d2f114}\label{Toolbox_8hpp_abe3a449632ee6d40eb59101dd2d2f114}} +{\footnotesize template$<$typename T $>$ }\\void {\bfseries print\+Ordered\+List\+Elem} (const T \&elem) +\begin{DoxyCompactList}\small\item\em Prints the element as the latest list item. \end{DoxyCompactList}\item +\mbox{\Hypertarget{Toolbox_8hpp_ab7651f0a92f8d0d0be3d63c1045eee1e}\label{Toolbox_8hpp_ab7651f0a92f8d0d0be3d63c1045eee1e}} +{\footnotesize template$<$typename T $>$ }\\void {\bfseries input\+Box} (const char $\ast$label, T $\ast$output) +\begin{DoxyCompactList}\small\item\em Prints a label and then reads user input and stores it. \end{DoxyCompactList}\item +{\footnotesize template$<$typename T $>$ }\\void \mbox{\hyperlink{Toolbox_8hpp_a92da1c5f0023cd5c4809d9c1f682e92f}{input\+Sub\+Box}} (const char $\ast$label, T $\ast$output) +\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Stores a wide range of functions for simpler/more automated printing. + +Adds a lot of functions for printing. + +\begin{DoxyRemark}{Remarks} +iostream is included by necessity (templated functions), you should only use the provided functions, if you can. +\end{DoxyRemark} + + +\doxysubsection{Function Documentation} +\mbox{\Hypertarget{Toolbox_8hpp_ab3ce613add75d2385c8e1424527d2c3d}\label{Toolbox_8hpp_ab3ce613add75d2385c8e1424527d2c3d}} +\index{Toolbox.hpp@{Toolbox.hpp}!\_printInputBoxLabel@{\_printInputBoxLabel}} +\index{\_printInputBoxLabel@{\_printInputBoxLabel}!Toolbox.hpp@{Toolbox.hpp}} +\doxysubsubsection{\texorpdfstring{\_printInputBoxLabel()}{\_printInputBoxLabel()}} +{\footnotesize\ttfamily void \+\_\+print\+Input\+Box\+Label (\begin{DoxyParamCaption}\item[{const char $\ast$}]{label }\end{DoxyParamCaption})} + + + +Semi-\/internal function that prints the label of an input box. + + +\begin{DoxyParams}{Parameters} +{\em label} & C-\/style string, there are no size checks so it could wrap\\ +\hline +\end{DoxyParams} +Prints \char`\"{}(+)\char`\"{} and then the given label. It doesn\textquotesingle{}t create spacing after label, so it should exist in the label itself. + +\begin{DoxyRemark}{Remarks} +Semi-\/internal means the function is defined in the header out of necessity (for templated functions) +\end{DoxyRemark} +\mbox{\Hypertarget{Toolbox_8hpp_a27b565355e018d36b6ce47169cc26fad}\label{Toolbox_8hpp_a27b565355e018d36b6ce47169cc26fad}} +\index{Toolbox.hpp@{Toolbox.hpp}!\_printOrderedListBeginning@{\_printOrderedListBeginning}} +\index{\_printOrderedListBeginning@{\_printOrderedListBeginning}!Toolbox.hpp@{Toolbox.hpp}} +\doxysubsubsection{\texorpdfstring{\_printOrderedListBeginning()}{\_printOrderedListBeginning()}} +{\footnotesize\ttfamily void \+\_\+print\+Ordered\+List\+Beginning (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} + + + +Semi-\/internal function that prints the latest ordered list index. + +Prints the latests ordered list index, surrounded by square brackets, and increments the ordered list index. + +\begin{DoxyRemark}{Remarks} +There are no size checks, so list index could overflow. + +Semi-\/internal means the function is defined in the header out of necessity (for templated functions) +\end{DoxyRemark} +\mbox{\Hypertarget{Toolbox_8hpp_ac17b91efad13dbe9e10e5550ee4707c6}\label{Toolbox_8hpp_ac17b91efad13dbe9e10e5550ee4707c6}} +\index{Toolbox.hpp@{Toolbox.hpp}!\_printSubBoxSpacing@{\_printSubBoxSpacing}} +\index{\_printSubBoxSpacing@{\_printSubBoxSpacing}!Toolbox.hpp@{Toolbox.hpp}} +\doxysubsubsection{\texorpdfstring{\_printSubBoxSpacing()}{\_printSubBoxSpacing()}} +{\footnotesize\ttfamily void \+\_\+print\+Sub\+Box\+Spacing (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} + + + +Semi-\/internal function that prints the spacing for sub boxes. + +Sub boxes are like normal boxes, but indented with 4 spaces. \mbox{\Hypertarget{Toolbox_8hpp_ac8bb3912a3ce86b15842e79d0b421204}\label{Toolbox_8hpp_ac8bb3912a3ce86b15842e79d0b421204}} +\index{Toolbox.hpp@{Toolbox.hpp}!clear@{clear}} +\index{clear@{clear}!Toolbox.hpp@{Toolbox.hpp}} +\doxysubsubsection{\texorpdfstring{clear()}{clear()}} +{\footnotesize\ttfamily void clear (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} + + + +Clears the console screen. + +Erases display and moves cursor to top left corner via ANSI escape sequences\+: {\ttfamily ESC}\mbox{[}2J {\ttfamily ESC}\mbox{[}1;1H + +\begin{DoxyWarning}{Warning} +Not all terminals support any or all ANSI escape sequences +\end{DoxyWarning} +\begin{DoxyNote}{Note} +Source\+: \href{https://stackoverflow.com/a/52895729/12036073}{\texttt{ https\+://stackoverflow.\+com/a/52895729/12036073}} +\end{DoxyNote} +\mbox{\Hypertarget{Toolbox_8hpp_a9d709a3db7de05368cc38671c896bb2d}\label{Toolbox_8hpp_a9d709a3db7de05368cc38671c896bb2d}} +\index{Toolbox.hpp@{Toolbox.hpp}!errorBox@{errorBox}} +\index{errorBox@{errorBox}!Toolbox.hpp@{Toolbox.hpp}} +\doxysubsubsection{\texorpdfstring{errorBox()}{errorBox()}} +{\footnotesize\ttfamily void error\+Box (\begin{DoxyParamCaption}\item[{const char $\ast$}]{message }\end{DoxyParamCaption})} + + + +Prints an error box. + + +\begin{DoxyParams}{Parameters} +{\em message} & C-\/style string, there are no size checks so it could wrap\\ +\hline +\end{DoxyParams} +Error boxes start with \char`\"{}$<$\+E$>$\char`\"{} and print the message. + +\begin{DoxyRemark}{Remarks} +Success/\+Warning/\+Error boxes start with \char`\"{}$<$\+C$>$\char`\"{} where C is an appropriate character. +\end{DoxyRemark} +\mbox{\Hypertarget{Toolbox_8hpp_ade748c3f15151748c9f978097715d2e7}\label{Toolbox_8hpp_ade748c3f15151748c9f978097715d2e7}} +\index{Toolbox.hpp@{Toolbox.hpp}!errorSubBox@{errorSubBox}} +\index{errorSubBox@{errorSubBox}!Toolbox.hpp@{Toolbox.hpp}} +\doxysubsubsection{\texorpdfstring{errorSubBox()}{errorSubBox()}} +{\footnotesize\ttfamily void error\+Sub\+Box (\begin{DoxyParamCaption}\item[{const char $\ast$}]{message }\end{DoxyParamCaption})} + + + +Prints an error box as a sub box. + + +\begin{DoxyParams}{Parameters} +{\em message} & C-\/style string, there are no size checks so it could wrap\\ +\hline +\end{DoxyParams} +Error boxes start with \char`\"{}$<$\+E$>$\char`\"{} and print the message. + +\begin{DoxyRemark}{Remarks} +Success/\+Warning/\+Error boxes start with \char`\"{}$<$\+C$>$\char`\"{} where C is an appropriate character. +\end{DoxyRemark} +\begin{DoxySeeAlso}{See also} +\mbox{\hyperlink{Toolbox_8hpp_ac17b91efad13dbe9e10e5550ee4707c6}{\+\_\+print\+Sub\+Box\+Spacing()}} +\end{DoxySeeAlso} +\mbox{\Hypertarget{Toolbox_8hpp_aa49b4d5a7b00249bc1fb08eec5e3aeaf}\label{Toolbox_8hpp_aa49b4d5a7b00249bc1fb08eec5e3aeaf}} +\index{Toolbox.hpp@{Toolbox.hpp}!inputLineBox@{inputLineBox}} +\index{inputLineBox@{inputLineBox}!Toolbox.hpp@{Toolbox.hpp}} +\doxysubsubsection{\texorpdfstring{inputLineBox()}{inputLineBox()}} +{\footnotesize\ttfamily void input\+Line\+Box (\begin{DoxyParamCaption}\item[{const char $\ast$}]{label, }\item[{char $\ast$}]{output, }\item[{unsigned}]{max\+Width, }\item[{bool}]{ignore }\end{DoxyParamCaption})} + + + +Prints label, gets a whole line of input and stores it to output. + + +\begin{DoxyParams}{Parameters} +{\em label} & C-\/style string, there are no size check so it could wrap \\ +\hline +{\em output} & Pointer to a char array \\ +\hline +{\em max\+Width} & Maximum count of characters to read from user input. output MUST be able to hold that many characters! \\ +\hline +{\em ignore} & Whether or not to ignore the first new-\/line delimiter. true by default, should be set to false only when an input\+Line\+Box/\+Sub\+Box has been issued directly prior or when it\textquotesingle{}s the very first issued box command.\\ +\hline +\end{DoxyParams} +Prints \char`\"{}(+)\char`\"{} before the label. \mbox{\Hypertarget{Toolbox_8hpp_ad2c61ce27ec52d14e427d6f6e93d38f2}\label{Toolbox_8hpp_ad2c61ce27ec52d14e427d6f6e93d38f2}} +\index{Toolbox.hpp@{Toolbox.hpp}!inputLineSubBox@{inputLineSubBox}} +\index{inputLineSubBox@{inputLineSubBox}!Toolbox.hpp@{Toolbox.hpp}} +\doxysubsubsection{\texorpdfstring{inputLineSubBox()}{inputLineSubBox()}} +{\footnotesize\ttfamily void input\+Line\+Sub\+Box (\begin{DoxyParamCaption}\item[{const char $\ast$}]{label, }\item[{char $\ast$}]{output, }\item[{unsigned}]{max\+Width, }\item[{bool}]{ignore }\end{DoxyParamCaption})} + + + +Prints label as a sub box, gets a whole line of input and stores it to output. + + +\begin{DoxyParams}{Parameters} +{\em label} & C-\/style string, there are no size check so it could wrap \\ +\hline +{\em output} & Pointer to a char array \\ +\hline +{\em max\+Width} & Maximum count of characters to read from user input. output MUST be able to hold that many characters! \\ +\hline +{\em ignore} & Whether or not to ignore the first new-\/line delimiter. true by default, should be set to false only when an input\+Line\+Box/\+Sub\+Box has been issued directly prior or when it\textquotesingle{}s the very first issued box command.\\ +\hline +\end{DoxyParams} +Prints \char`\"{}(+)\char`\"{} before the label. \begin{DoxySeeAlso}{See also} +\mbox{\hyperlink{Toolbox_8hpp_ac17b91efad13dbe9e10e5550ee4707c6}{\+\_\+print\+Sub\+Box\+Spacing()}} +\end{DoxySeeAlso} +\mbox{\Hypertarget{Toolbox_8hpp_a92da1c5f0023cd5c4809d9c1f682e92f}\label{Toolbox_8hpp_a92da1c5f0023cd5c4809d9c1f682e92f}} +\index{Toolbox.hpp@{Toolbox.hpp}!inputSubBox@{inputSubBox}} +\index{inputSubBox@{inputSubBox}!Toolbox.hpp@{Toolbox.hpp}} +\doxysubsubsection{\texorpdfstring{inputSubBox()}{inputSubBox()}} +{\footnotesize\ttfamily template$<$typename T $>$ \\ +void input\+Sub\+Box (\begin{DoxyParamCaption}\item[{const char $\ast$}]{label, }\item[{T $\ast$}]{output }\end{DoxyParamCaption})} + +Prints a label with sub box spacing and then reads user input and stores it \begin{DoxySeeAlso}{See also} +\mbox{\hyperlink{Toolbox_8hpp_ac17b91efad13dbe9e10e5550ee4707c6}{\+\_\+print\+Sub\+Box\+Spacing()}} +\end{DoxySeeAlso} +\mbox{\Hypertarget{Toolbox_8hpp_ac7f54319bf4e70a46e3155ae1b39e832}\label{Toolbox_8hpp_ac7f54319bf4e70a46e3155ae1b39e832}} +\index{Toolbox.hpp@{Toolbox.hpp}!pressEnterToContinue@{pressEnterToContinue}} +\index{pressEnterToContinue@{pressEnterToContinue}!Toolbox.hpp@{Toolbox.hpp}} +\doxysubsubsection{\texorpdfstring{pressEnterToContinue()}{pressEnterToContinue()}} +{\footnotesize\ttfamily void press\+Enter\+To\+Continue (\begin{DoxyParamCaption}\item[{bool}]{ignore }\end{DoxyParamCaption})} + + + +Waits for user to press enter. + + +\begin{DoxyParams}{Parameters} +{\em ignore} & Whether or not to ignore the first new-\/line delimiter. true by default, should be set to false only when an input\+Line\+Box/\+Sub\+Box has been issued directly prior or when it\textquotesingle{}s the very first issued box command.\\ +\hline +\end{DoxyParams} +Prints a \char`\"{}\+Press enter to continue\char`\"{} message and waits for the user \mbox{\Hypertarget{Toolbox_8hpp_a4456d10f7e141c4fc1a29aff4ad29108}\label{Toolbox_8hpp_a4456d10f7e141c4fc1a29aff4ad29108}} +\index{Toolbox.hpp@{Toolbox.hpp}!resetOrderedList@{resetOrderedList}} +\index{resetOrderedList@{resetOrderedList}!Toolbox.hpp@{Toolbox.hpp}} +\doxysubsubsection{\texorpdfstring{resetOrderedList()}{resetOrderedList()}} +{\footnotesize\ttfamily void reset\+Ordered\+List (\begin{DoxyParamCaption}\item[{int}]{starter }\end{DoxyParamCaption})} + + + +Resets the ordered list starting number. + + +\begin{DoxyParams}{Parameters} +{\em starter} & Sets the starting number by which ordered list will enumerate\\ +\hline +\end{DoxyParams} +\begin{DoxyRemark}{Remarks} +Although starter can be a negative number, ordered list will always increment up the number. +\end{DoxyRemark} +\mbox{\Hypertarget{Toolbox_8hpp_ad557e4a1167be4e0c57fe530ce74a120}\label{Toolbox_8hpp_ad557e4a1167be4e0c57fe530ce74a120}} +\index{Toolbox.hpp@{Toolbox.hpp}!subTitleBox@{subTitleBox}} +\index{subTitleBox@{subTitleBox}!Toolbox.hpp@{Toolbox.hpp}} +\doxysubsubsection{\texorpdfstring{subTitleBox()}{subTitleBox()}} +{\footnotesize\ttfamily void sub\+Title\+Box (\begin{DoxyParamCaption}\item[{const char $\ast$}]{title }\end{DoxyParamCaption})} + + + +Prints a title sub box. + + +\begin{DoxyParams}{Parameters} +{\em title} & C-\/style string, there are no size checks so it could wrap\\ +\hline +\end{DoxyParams} +Prints the title, surrounded by \char`\"{}-\/-\/-\/\char`\"{}. \mbox{\Hypertarget{Toolbox_8hpp_a6c82ac6987703376c17c74a81fb0a91a}\label{Toolbox_8hpp_a6c82ac6987703376c17c74a81fb0a91a}} +\index{Toolbox.hpp@{Toolbox.hpp}!successBox@{successBox}} +\index{successBox@{successBox}!Toolbox.hpp@{Toolbox.hpp}} +\doxysubsubsection{\texorpdfstring{successBox()}{successBox()}} +{\footnotesize\ttfamily void success\+Box (\begin{DoxyParamCaption}\item[{const char $\ast$}]{message }\end{DoxyParamCaption})} + + + +Prints a success box. + + +\begin{DoxyParams}{Parameters} +{\em message} & C-\/style string, there are no size checks so it could wrap\\ +\hline +\end{DoxyParams} +Success boxes start with \char`\"{}$<$\+S$>$\char`\"{} and print the message. + +\begin{DoxyRemark}{Remarks} +Success/\+Warning/\+Error boxes start with \char`\"{}$<$\+C$>$\char`\"{} where C is an appropriate character. +\end{DoxyRemark} +\mbox{\Hypertarget{Toolbox_8hpp_aa78e2e87fff9b64ca032a5b1c7054081}\label{Toolbox_8hpp_aa78e2e87fff9b64ca032a5b1c7054081}} +\index{Toolbox.hpp@{Toolbox.hpp}!successSubBox@{successSubBox}} +\index{successSubBox@{successSubBox}!Toolbox.hpp@{Toolbox.hpp}} +\doxysubsubsection{\texorpdfstring{successSubBox()}{successSubBox()}} +{\footnotesize\ttfamily void success\+Sub\+Box (\begin{DoxyParamCaption}\item[{const char $\ast$}]{message }\end{DoxyParamCaption})} + + + +Prints a success box as a sub box. + + +\begin{DoxyParams}{Parameters} +{\em message} & C-\/style string, there are no size checks so it could wrap\\ +\hline +\end{DoxyParams} +Success boxes start with \char`\"{}$<$\+S$>$\char`\"{} and print the message. + +\begin{DoxyRemark}{Remarks} +Success/\+Warning/\+Error boxes start with \char`\"{}$<$\+C$>$\char`\"{} where C is an appropriate character. +\end{DoxyRemark} +\begin{DoxySeeAlso}{See also} +\mbox{\hyperlink{Toolbox_8hpp_ac17b91efad13dbe9e10e5550ee4707c6}{\+\_\+print\+Sub\+Box\+Spacing()}} +\end{DoxySeeAlso} +\mbox{\Hypertarget{Toolbox_8hpp_a6c90056ede686f0319d0fb0a408d02e5}\label{Toolbox_8hpp_a6c90056ede686f0319d0fb0a408d02e5}} +\index{Toolbox.hpp@{Toolbox.hpp}!table@{table}} +\index{table@{table}!Toolbox.hpp@{Toolbox.hpp}} +\doxysubsubsection{\texorpdfstring{table()}{table()}} +{\footnotesize\ttfamily void table (\begin{DoxyParamCaption}\item[{unsigned}]{start\+Number, }\item[{unsigned}]{columns, }\item[{const char $\ast$}]{items }\end{DoxyParamCaption})} + + + +Prints a string as a table. + + +\begin{DoxyParams}{Parameters} +{\em start\+Number} & The number by which column and row enumeration begins \\ +\hline +{\em columns} & How many columns the table should have \\ +\hline +{\em items} & C-\/style string, each cell is a single character from the string\\ +\hline +\end{DoxyParams} +Prints a string as a grid/table of characters from top to bottom, left to right. The first character is on the top left, the last one is on the bottom right. + +Table is printed until a terminating zero is encountered. The rows are \char`\"{}calculated\char`\"{} from the columns count and the items length. \mbox{\Hypertarget{Toolbox_8hpp_a24a3fa9050ea032396c213ea85a1de0b}\label{Toolbox_8hpp_a24a3fa9050ea032396c213ea85a1de0b}} +\index{Toolbox.hpp@{Toolbox.hpp}!titleBox@{titleBox}} +\index{titleBox@{titleBox}!Toolbox.hpp@{Toolbox.hpp}} +\doxysubsubsection{\texorpdfstring{titleBox()}{titleBox()}} +{\footnotesize\ttfamily void title\+Box (\begin{DoxyParamCaption}\item[{const char $\ast$}]{title }\end{DoxyParamCaption})} + + + +Prints a title box. + + +\begin{DoxyParams}{Parameters} +{\em title} & C-\/style string, there are no size checks so it could wrap\\ +\hline +\end{DoxyParams} +Prints the title, surrounded by \char`\"{}===\char`\"{}. \mbox{\Hypertarget{Toolbox_8hpp_a52222c9ff8739ef87c89df899deb5052}\label{Toolbox_8hpp_a52222c9ff8739ef87c89df899deb5052}} +\index{Toolbox.hpp@{Toolbox.hpp}!warningBox@{warningBox}} +\index{warningBox@{warningBox}!Toolbox.hpp@{Toolbox.hpp}} +\doxysubsubsection{\texorpdfstring{warningBox()}{warningBox()}} +{\footnotesize\ttfamily void warning\+Box (\begin{DoxyParamCaption}\item[{const char $\ast$}]{message }\end{DoxyParamCaption})} + + + +Prints a warning box. + + +\begin{DoxyParams}{Parameters} +{\em message} & C-\/style string, there are no size checks so it could wrap\\ +\hline +\end{DoxyParams} +Warning boxes start with \char`\"{}$<$\+W$>$\char`\"{} and print the message. + +\begin{DoxyRemark}{Remarks} +Success/\+Warning/\+Error boxes start with \char`\"{}$<$\+C$>$\char`\"{} where C is an appropriate character. +\end{DoxyRemark} +\mbox{\Hypertarget{Toolbox_8hpp_a22f8b3135115d1b9fca09eea98dc6d92}\label{Toolbox_8hpp_a22f8b3135115d1b9fca09eea98dc6d92}} +\index{Toolbox.hpp@{Toolbox.hpp}!warningSubBox@{warningSubBox}} +\index{warningSubBox@{warningSubBox}!Toolbox.hpp@{Toolbox.hpp}} +\doxysubsubsection{\texorpdfstring{warningSubBox()}{warningSubBox()}} +{\footnotesize\ttfamily void warning\+Sub\+Box (\begin{DoxyParamCaption}\item[{const char $\ast$}]{message }\end{DoxyParamCaption})} + + + +Prints a warning box as a sub box. + + +\begin{DoxyParams}{Parameters} +{\em message} & C-\/style string, there are no size checks so it could wrap\\ +\hline +\end{DoxyParams} +Warning boxes start with \char`\"{}$<$\+W$>$\char`\"{} and print the message. + +\begin{DoxyRemark}{Remarks} +Success/\+Warning/\+Error boxes start with \char`\"{}$<$\+C$>$\char`\"{} where C is an appropriate character. +\end{DoxyRemark} +\begin{DoxySeeAlso}{See also} +\mbox{\hyperlink{Toolbox_8hpp_ac17b91efad13dbe9e10e5550ee4707c6}{\+\_\+print\+Sub\+Box\+Spacing()}} +\end{DoxySeeAlso} diff --git a/docs/latex/Toolbox_8hpp_source.tex b/docs/latex/Toolbox_8hpp_source.tex new file mode 100644 index 0000000..a505d11 --- /dev/null +++ b/docs/latex/Toolbox_8hpp_source.tex @@ -0,0 +1,86 @@ +\hypertarget{Toolbox_8hpp_source}{}\doxysection{Toolbox.\+hpp} +\label{Toolbox_8hpp_source}\index{src/Generic/ConsoleInterface/Toolbox.hpp@{src/Generic/ConsoleInterface/Toolbox.hpp}} +\mbox{\hyperlink{Toolbox_8hpp}{Go to the documentation of this file.}} +\begin{DoxyCode}{0} +\DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef HEADER\_CONSOLEINTERFACE\_TOOLBOX}} +\DoxyCodeLine{2 \textcolor{preprocessor}{\#define HEADER\_CONSOLEINTERFACE\_TOOLBOX}} +\DoxyCodeLine{3 } +\DoxyCodeLine{4 \textcolor{preprocessor}{\#include }} +\DoxyCodeLine{5 } +\DoxyCodeLine{14 \textcolor{preprocessor}{\#define MAX\_LINE\_WIDTH 1024}} +\DoxyCodeLine{15 } +\DoxyCodeLine{17 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_ac8bb3912a3ce86b15842e79d0b421204}{clear}}();} +\DoxyCodeLine{19 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_a24a3fa9050ea032396c213ea85a1de0b}{titleBox}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* title);} +\DoxyCodeLine{21 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_ad557e4a1167be4e0c57fe530ce74a120}{subTitleBox}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* title);} +\DoxyCodeLine{22 } +\DoxyCodeLine{24 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_a6c82ac6987703376c17c74a81fb0a91a}{successBox}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* message);} +\DoxyCodeLine{26 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_aa78e2e87fff9b64ca032a5b1c7054081}{successSubBox}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* message);} +\DoxyCodeLine{28 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_a52222c9ff8739ef87c89df899deb5052}{warningBox}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* message);} +\DoxyCodeLine{30 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_a22f8b3135115d1b9fca09eea98dc6d92}{warningSubBox}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* message);} +\DoxyCodeLine{32 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_a9d709a3db7de05368cc38671c896bb2d}{errorBox}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* message);} +\DoxyCodeLine{34 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_ade748c3f15151748c9f978097715d2e7}{errorSubBox}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* message);} +\DoxyCodeLine{35 } +\DoxyCodeLine{37 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_aa49b4d5a7b00249bc1fb08eec5e3aeaf}{inputLineBox}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* label, \textcolor{keywordtype}{char}* output, \textcolor{keywordtype}{unsigned} maxWidth, \textcolor{keywordtype}{bool} ignore = \textcolor{keyword}{true});} +\DoxyCodeLine{39 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_ad2c61ce27ec52d14e427d6f6e93d38f2}{inputLineSubBox}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* label, \textcolor{keywordtype}{char}* output, \textcolor{keywordtype}{unsigned} maxWidth, \textcolor{keywordtype}{bool} ignore = \textcolor{keyword}{true});} +\DoxyCodeLine{41 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_ac7f54319bf4e70a46e3155ae1b39e832}{pressEnterToContinue}}(\textcolor{keywordtype}{bool} ignore = \textcolor{keyword}{true});} +\DoxyCodeLine{42 } +\DoxyCodeLine{44 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_a4456d10f7e141c4fc1a29aff4ad29108}{resetOrderedList}}(\textcolor{keywordtype}{int} starter = 1);} +\DoxyCodeLine{45 } +\DoxyCodeLine{47 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_a6c90056ede686f0319d0fb0a408d02e5}{table}}(\textcolor{keywordtype}{unsigned} startNumber, \textcolor{keywordtype}{unsigned} columns, \textcolor{keyword}{const} \textcolor{keywordtype}{char}* items);} +\DoxyCodeLine{48 } +\DoxyCodeLine{50 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_ac17b91efad13dbe9e10e5550ee4707c6}{\_printSubBoxSpacing}}();} +\DoxyCodeLine{52 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_ab3ce613add75d2385c8e1424527d2c3d}{\_printInputBoxLabel}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* label);} +\DoxyCodeLine{54 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_a27b565355e018d36b6ce47169cc26fad}{\_printOrderedListBeginning}}();} +\DoxyCodeLine{55 } +\DoxyCodeLine{57 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{58 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_a3c9098dc2b305107367c56ded5dec787}{read}}(T* storage) \{} +\DoxyCodeLine{59 std::cin >> storage;} +\DoxyCodeLine{60 \}} +\DoxyCodeLine{61 } +\DoxyCodeLine{63 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{64 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_a3c9098dc2b305107367c56ded5dec787}{read}}(T\& storage) \{} +\DoxyCodeLine{65 std::cin >> storage;} +\DoxyCodeLine{66 \}} +\DoxyCodeLine{67 } +\DoxyCodeLine{69 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{70 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_a5ca1093462d3266fceb8522e144c1e73}{print}}(\textcolor{keyword}{const} T* item) \{} +\DoxyCodeLine{71 std::cout << item;} +\DoxyCodeLine{72 \}} +\DoxyCodeLine{73 } +\DoxyCodeLine{75 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{76 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_a5ca1093462d3266fceb8522e144c1e73}{print}}(\textcolor{keyword}{const} T\& item) \{} +\DoxyCodeLine{77 std::cout << item;} +\DoxyCodeLine{78 \}} +\DoxyCodeLine{79 } +\DoxyCodeLine{81 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{82 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_a148d9d6b8b15bbfc2b1f4cdb16c2ee81}{printLine}}(\textcolor{keyword}{const} T* item) \{} +\DoxyCodeLine{83 std::cout << item << std::endl;} +\DoxyCodeLine{84 \}} +\DoxyCodeLine{85 } +\DoxyCodeLine{87 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{88 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_a148d9d6b8b15bbfc2b1f4cdb16c2ee81}{printLine}}(\textcolor{keyword}{const} T\& item) \{} +\DoxyCodeLine{89 std::cout << item << std::endl;} +\DoxyCodeLine{90 \}} +\DoxyCodeLine{91 } +\DoxyCodeLine{93 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{94 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_abe3a449632ee6d40eb59101dd2d2f114}{printOrderedListElem}}(\textcolor{keyword}{const} T\& elem) \{} +\DoxyCodeLine{95 \mbox{\hyperlink{Toolbox_8hpp_a27b565355e018d36b6ce47169cc26fad}{\_printOrderedListBeginning}}();} +\DoxyCodeLine{96 \mbox{\hyperlink{Toolbox_8hpp_a148d9d6b8b15bbfc2b1f4cdb16c2ee81}{printLine}}(elem);} +\DoxyCodeLine{97 \}} +\DoxyCodeLine{98 } +\DoxyCodeLine{100 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{101 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_ab7651f0a92f8d0d0be3d63c1045eee1e}{inputBox}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* label, T* output) \{} +\DoxyCodeLine{102 \mbox{\hyperlink{Toolbox_8hpp_ab3ce613add75d2385c8e1424527d2c3d}{\_printInputBoxLabel}}(label);} +\DoxyCodeLine{103 std::cin >> *output;} +\DoxyCodeLine{104 \}} +\DoxyCodeLine{105 } +\DoxyCodeLine{108 \textcolor{keyword}{template} <\textcolor{keyword}{typename} T>} +\DoxyCodeLine{109 \textcolor{keywordtype}{void} \mbox{\hyperlink{Toolbox_8hpp_a92da1c5f0023cd5c4809d9c1f682e92f}{inputSubBox}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* label, T* output) \{} +\DoxyCodeLine{110 \mbox{\hyperlink{Toolbox_8hpp_ac17b91efad13dbe9e10e5550ee4707c6}{\_printSubBoxSpacing}}();} +\DoxyCodeLine{111 \mbox{\hyperlink{Toolbox_8hpp_ab3ce613add75d2385c8e1424527d2c3d}{\_printInputBoxLabel}}(label);} +\DoxyCodeLine{112 std::cin >> *output;} +\DoxyCodeLine{113 \}} +\DoxyCodeLine{114 } +\DoxyCodeLine{115 \textcolor{preprocessor}{\#endif}} + +\end{DoxyCode} diff --git a/docs/latex/annotated.tex b/docs/latex/annotated.tex new file mode 100644 index 0000000..ac5b211 --- /dev/null +++ b/docs/latex/annotated.tex @@ -0,0 +1,15 @@ +\doxysection{Class List} +Here are the classes, structs, unions and interfaces with brief descriptions\+:\begin{DoxyCompactList} +\item\contentsline{section}{\mbox{\hyperlink{classCommand}{Command}} \\*Stores a 256 character name and a function pointer to be executed when calling \mbox{\hyperlink{classCommand_a44689093b812bfc97b2787c2ba0303ce}{run()}} }{\pageref{classCommand}}{} +\item\contentsline{section}{\mbox{\hyperlink{classDate}{Date}} \\*Stores a day, month and year }{\pageref{classDate}}{} +\item\contentsline{section}{\mbox{\hyperlink{classEvent}{Event}} \\*Stores an event\textquotesingle{}s hall, name, date, bought tickets and reservations }{\pageref{classEvent}}{} +\item\contentsline{section}{\mbox{\hyperlink{classEventService}{Event\+Service}} \\*Each \mbox{\hyperlink{classEventService}{Event\+Service}} stores all events and a pointer to \mbox{\hyperlink{classHallService}{Hall\+Service}} }{\pageref{classEventService}}{} +\item\contentsline{section}{\mbox{\hyperlink{classHall}{Hall}} \\*Each hall contains a number, rows and seats per row }{\pageref{classHall}}{} +\item\contentsline{section}{\mbox{\hyperlink{classHallService}{Hall\+Service}} \\*Each \mbox{\hyperlink{classHallService}{Hall\+Service}} stores all halls }{\pageref{classHallService}}{} +\item\contentsline{section}{\mbox{\hyperlink{classList}{List$<$ T $>$}} \\*Templated class that stores an array of elements in dynamic memory }{\pageref{classList}}{} +\item\contentsline{section}{\mbox{\hyperlink{classMenu}{Menu}} \\*Handles navigation between multiple commands }{\pageref{classMenu}}{} +\item\contentsline{section}{\mbox{\hyperlink{classOrderedList}{Ordered\+List$<$ T $>$}} \\*Inherits \mbox{\hyperlink{classList}{List}}, but contains it\textquotesingle{}s elements in a sorted manner }{\pageref{classOrderedList}}{} +\item\contentsline{section}{\mbox{\hyperlink{classReservation}{Reservation}} \\*Each Reservations contains a ticket, a password and a note }{\pageref{classReservation}}{} +\item\contentsline{section}{\mbox{\hyperlink{classString}{String}} }{\pageref{classString}}{} +\item\contentsline{section}{\mbox{\hyperlink{classTicket}{Ticket}} \\*Each \mbox{\hyperlink{classTicket}{Ticket}} contains a row and a seat number }{\pageref{classTicket}}{} +\end{DoxyCompactList} diff --git a/docs/latex/classCommand.tex b/docs/latex/classCommand.tex new file mode 100644 index 0000000..e588b0d --- /dev/null +++ b/docs/latex/classCommand.tex @@ -0,0 +1,68 @@ +\hypertarget{classCommand}{}\doxysection{Command Class Reference} +\label{classCommand}\index{Command@{Command}} + + +Stores a 256 character name and a function pointer to be executed when calling \mbox{\hyperlink{classCommand_a44689093b812bfc97b2787c2ba0303ce}{run()}} + + + + +{\ttfamily \#include $<$Command.\+h$>$} + +\doxysubsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\mbox{\Hypertarget{classCommand_a18df2d81039392daeb0b78c346a70537}\label{classCommand_a18df2d81039392daeb0b78c346a70537}} +{\bfseries Command} () +\begin{DoxyCompactList}\small\item\em Leaves name empty and exec function pointer to nullptr. \end{DoxyCompactList}\item +\mbox{\hyperlink{classCommand_a4e22ce5bdf74f9c975494dddd280884a}{Command}} (const char $\ast$name\+In\+Menu, void($\ast$exec)()) +\begin{DoxyCompactList}\small\item\em Copies contents of name\+In\+Menu and stores exec. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classCommand_a44689093b812bfc97b2787c2ba0303ce}{run}} () const +\begin{DoxyCompactList}\small\item\em Executes the stored function pointer. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classCommand_a06adf2e6710dd57506449f0997f467c0}\label{classCommand_a06adf2e6710dd57506449f0997f467c0}} +const char $\ast$ {\bfseries get\+\_\+name\+In\+Menu} () const +\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Stores a 256 character name and a function pointer to be executed when calling \mbox{\hyperlink{classCommand_a44689093b812bfc97b2787c2ba0303ce}{run()}} + +\mbox{\hyperlink{classMenu}{Menu}} uses this class for a more generic implementation of it\textquotesingle{}s navigate function. + +\doxysubsection{Constructor \& Destructor Documentation} +\mbox{\Hypertarget{classCommand_a4e22ce5bdf74f9c975494dddd280884a}\label{classCommand_a4e22ce5bdf74f9c975494dddd280884a}} +\index{Command@{Command}!Command@{Command}} +\index{Command@{Command}!Command@{Command}} +\doxysubsubsection{\texorpdfstring{Command()}{Command()}} +{\footnotesize\ttfamily Command\+::\+Command (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name\+In\+Menu, }\item[{void($\ast$)()}]{exec }\end{DoxyParamCaption})} + + + +Copies contents of name\+In\+Menu and stores exec. + + +\begin{DoxyParams}{Parameters} +{\em name\+In\+Menu} & C-\/style string, class stores at most 255 characters (last character is always terminating zero) \\ +\hline +{\em exec} & Function pointer that will be executed when \mbox{\hyperlink{classCommand_a44689093b812bfc97b2787c2ba0303ce}{run()}} is called. Can be nullptr. \\ +\hline +\end{DoxyParams} + + +\doxysubsection{Member Function Documentation} +\mbox{\Hypertarget{classCommand_a44689093b812bfc97b2787c2ba0303ce}\label{classCommand_a44689093b812bfc97b2787c2ba0303ce}} +\index{Command@{Command}!run@{run}} +\index{run@{run}!Command@{Command}} +\doxysubsubsection{\texorpdfstring{run()}{run()}} +{\footnotesize\ttfamily void Command\+::run (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const} + + + +Executes the stored function pointer. + +Executes the stored function pointer, when it\textquotesingle{}s not nullptr. Otherwise does nothing. + +The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} +\item +src/\+Generic/\+Console\+Interface/\mbox{\hyperlink{Command_8h}{Command.\+h}}\item +src/\+Generic/\+Console\+Interface/Command.\+cpp\end{DoxyCompactItemize} diff --git a/docs/latex/classDate.tex b/docs/latex/classDate.tex new file mode 100644 index 0000000..5a148e3 --- /dev/null +++ b/docs/latex/classDate.tex @@ -0,0 +1,207 @@ +\hypertarget{classDate}{}\doxysection{Date Class Reference} +\label{classDate}\index{Date@{Date}} + + +Stores a day, month and year. + + + + +{\ttfamily \#include $<$Date.\+h$>$} + +\doxysubsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\mbox{\Hypertarget{classDate_a4e59ed4ba66eec61c27460c5d09fa1bd}\label{classDate_a4e59ed4ba66eec61c27460c5d09fa1bd}} +{\bfseries Date} () +\begin{DoxyCompactList}\small\item\em Sets date as 01 May 2022. \end{DoxyCompactList}\item +\mbox{\hyperlink{classDate_a99d57b698afdacd18f5a414cdc7524fd}{Date}} (const char $\ast$str) +\begin{DoxyCompactList}\small\item\em Parses string. \end{DoxyCompactList}\item +\mbox{\hyperlink{classDate_a87b3c3ede7dee726e8779eebfcc0a299}{Date}} (unsigned short day, unsigned short month, unsigned short year) +\begin{DoxyCompactList}\small\item\em Sets day, month and year. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classDate_a2e4dc4249f8cccd40acc5950b42e1339}\label{classDate_a2e4dc4249f8cccd40acc5950b42e1339}} +unsigned short {\bfseries get\+\_\+day} () const +\begin{DoxyCompactList}\small\item\em Returns the day. \end{DoxyCompactList}\item +bool \mbox{\hyperlink{classDate_acaf0c3ee1b2d36edf4f870ddd8acce08}{set\+\_\+day}} (unsigned short day) +\begin{DoxyCompactList}\small\item\em Sets the day. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classDate_a79ebbf3cb46f892604dc79ffc82bcfcc}\label{classDate_a79ebbf3cb46f892604dc79ffc82bcfcc}} +unsigned short {\bfseries get\+\_\+month} () const +\begin{DoxyCompactList}\small\item\em Returns the month. \end{DoxyCompactList}\item +bool \mbox{\hyperlink{classDate_ad0a591a557ddde0871389c3d716e6044}{set\+\_\+month}} (unsigned short month) +\begin{DoxyCompactList}\small\item\em Sets the month. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classDate_a025aae2b290ba357e049d054085f91e3}\label{classDate_a025aae2b290ba357e049d054085f91e3}} +unsigned short {\bfseries get\+\_\+year} () const +\begin{DoxyCompactList}\small\item\em Returns the year. \end{DoxyCompactList}\item +bool \mbox{\hyperlink{classDate_a6a0f3124e1850cd9f1514ebffcdd0cae}{set\+\_\+year}} (unsigned short year) +\begin{DoxyCompactList}\small\item\em Sets the year. \end{DoxyCompactList}\item +\mbox{\hyperlink{classString}{String}} \mbox{\hyperlink{classDate_a6e00ace9f8c923c96188bd76f1e064c2}{create\+String}} () const +\begin{DoxyCompactList}\small\item\em Returns the date as a \mbox{\hyperlink{classString}{String}} object. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classDate_a982c0c9098056aa33c5cbc9eba093852}{read}} (std\+::istream \&istr) +\begin{DoxyCompactList}\small\item\em Reads date from stream. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classDate_a9c728831f35f27abf3348132a13b7844}{write}} (std\+::ostream \&ostr) +\begin{DoxyCompactList}\small\item\em Writes date to stream. \end{DoxyCompactList}\item +int \mbox{\hyperlink{classDate_a3cda588bf2f65b84639303a1aa1105be}{compare}} (const \mbox{\hyperlink{classDate}{Date}} \&other) const +\begin{DoxyCompactList}\small\item\em Compares two dates. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Stores a day, month and year. + +\doxysubsection{Constructor \& Destructor Documentation} +\mbox{\Hypertarget{classDate_a99d57b698afdacd18f5a414cdc7524fd}\label{classDate_a99d57b698afdacd18f5a414cdc7524fd}} +\index{Date@{Date}!Date@{Date}} +\index{Date@{Date}!Date@{Date}} +\doxysubsubsection{\texorpdfstring{Date()}{Date()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}} +{\footnotesize\ttfamily Date\+::\+Date (\begin{DoxyParamCaption}\item[{const char $\ast$}]{str }\end{DoxyParamCaption})} + + + +Parses string. + + +\begin{DoxyParams}{Parameters} +{\em str} & C-\/style string\\ +\hline +\end{DoxyParams} +Values are initialized with zeroes. Then it parses the string\+: + +Skips spaces, saves day with atoi, skips two characters, skips spaces, saves month with atoi, skips two characters, skips spaces, saves year with atoi. + +Values are validated with setters. You should always have spaces between day, month and year and no non-\/numeric characters between them. + +\begin{DoxyRemark}{Remarks} +If there are non-\/numeric characters, as per atoi() spec, the appropriate property is zero. +\end{DoxyRemark} +\mbox{\Hypertarget{classDate_a87b3c3ede7dee726e8779eebfcc0a299}\label{classDate_a87b3c3ede7dee726e8779eebfcc0a299}} +\index{Date@{Date}!Date@{Date}} +\index{Date@{Date}!Date@{Date}} +\doxysubsubsection{\texorpdfstring{Date()}{Date()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}} +{\footnotesize\ttfamily Date\+::\+Date (\begin{DoxyParamCaption}\item[{unsigned short}]{day, }\item[{unsigned short}]{month, }\item[{unsigned short}]{year }\end{DoxyParamCaption})} + + + +Sets day, month and year. + +Initializes values with zeroes and then uses setters to save the function arguments. + +\doxysubsection{Member Function Documentation} +\mbox{\Hypertarget{classDate_a3cda588bf2f65b84639303a1aa1105be}\label{classDate_a3cda588bf2f65b84639303a1aa1105be}} +\index{Date@{Date}!compare@{compare}} +\index{compare@{compare}!Date@{Date}} +\doxysubsubsection{\texorpdfstring{compare()}{compare()}} +{\footnotesize\ttfamily int Date\+::compare (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classDate}{Date}} \&}]{other }\end{DoxyParamCaption}) const} + + + +Compares two dates. + +\begin{DoxyReturn}{Returns} +-\/1 if this \texorpdfstring{$<$}{<} other, 1 if this \texorpdfstring{$>$}{>} other, 0 if this == other +\end{DoxyReturn} +\mbox{\Hypertarget{classDate_a6e00ace9f8c923c96188bd76f1e064c2}\label{classDate_a6e00ace9f8c923c96188bd76f1e064c2}} +\index{Date@{Date}!createString@{createString}} +\index{createString@{createString}!Date@{Date}} +\doxysubsubsection{\texorpdfstring{createString()}{createString()}} +{\footnotesize\ttfamily \mbox{\hyperlink{classString}{String}} Date\+::create\+String (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const} + + + +Returns the date as a \mbox{\hyperlink{classString}{String}} object. + +\begin{DoxyReturn}{Returns} +\mbox{\hyperlink{classString}{String}} object in the format \char`\"{}day.\+month.\+year\char`\"{} +\end{DoxyReturn} +\begin{DoxyNote}{Note} +Currently there isn\textquotesingle{}t any way to change the formatting +\end{DoxyNote} +\mbox{\Hypertarget{classDate_a982c0c9098056aa33c5cbc9eba093852}\label{classDate_a982c0c9098056aa33c5cbc9eba093852}} +\index{Date@{Date}!read@{read}} +\index{read@{read}!Date@{Date}} +\doxysubsubsection{\texorpdfstring{read()}{read()}} +{\footnotesize\ttfamily void Date\+::read (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{istr }\end{DoxyParamCaption})} + + + +Reads date from stream. + + +\begin{DoxyParams}{Parameters} +{\em istr} & An input stream\\ +\hline +\end{DoxyParams} +Directly reads bytes from stream (calls \mbox{\hyperlink{classDate_a982c0c9098056aa33c5cbc9eba093852}{read()}} function). + +\begin{DoxyRemark}{Remarks} +Doesn\textquotesingle{}t alter the stream in any other way. +\end{DoxyRemark} +\begin{DoxyNote}{Note} +Best used with binary ifstream +\end{DoxyNote} +\mbox{\Hypertarget{classDate_acaf0c3ee1b2d36edf4f870ddd8acce08}\label{classDate_acaf0c3ee1b2d36edf4f870ddd8acce08}} +\index{Date@{Date}!set\_day@{set\_day}} +\index{set\_day@{set\_day}!Date@{Date}} +\doxysubsubsection{\texorpdfstring{set\_day()}{set\_day()}} +{\footnotesize\ttfamily bool Date\+::set\+\_\+day (\begin{DoxyParamCaption}\item[{unsigned short}]{new\+Day }\end{DoxyParamCaption})} + + + +Sets the day. + +\begin{DoxyReturn}{Returns} +Whether new\+Day was saved or not +\end{DoxyReturn} +If new\+Day is equal to 0, or is more than the appropriate days in the month, the day isn\textquotesingle{}t set. \mbox{\Hypertarget{classDate_ad0a591a557ddde0871389c3d716e6044}\label{classDate_ad0a591a557ddde0871389c3d716e6044}} +\index{Date@{Date}!set\_month@{set\_month}} +\index{set\_month@{set\_month}!Date@{Date}} +\doxysubsubsection{\texorpdfstring{set\_month()}{set\_month()}} +{\footnotesize\ttfamily bool Date\+::set\+\_\+month (\begin{DoxyParamCaption}\item[{unsigned short}]{new\+Month }\end{DoxyParamCaption})} + + + +Sets the month. + +\begin{DoxyReturn}{Returns} +Whether new\+Month was saved or not +\end{DoxyReturn} +If new\+Month is equal to 0 or is more than 12, the month isn\textquotesingle{}t set. \mbox{\Hypertarget{classDate_a6a0f3124e1850cd9f1514ebffcdd0cae}\label{classDate_a6a0f3124e1850cd9f1514ebffcdd0cae}} +\index{Date@{Date}!set\_year@{set\_year}} +\index{set\_year@{set\_year}!Date@{Date}} +\doxysubsubsection{\texorpdfstring{set\_year()}{set\_year()}} +{\footnotesize\ttfamily bool Date\+::set\+\_\+year (\begin{DoxyParamCaption}\item[{unsigned short}]{new\+Year }\end{DoxyParamCaption})} + + + +Sets the year. + +\begin{DoxyReturn}{Returns} +Whether year was saved or not +\end{DoxyReturn} +Year isn\textquotesingle{}t set when new\+Year is zero \mbox{\Hypertarget{classDate_a9c728831f35f27abf3348132a13b7844}\label{classDate_a9c728831f35f27abf3348132a13b7844}} +\index{Date@{Date}!write@{write}} +\index{write@{write}!Date@{Date}} +\doxysubsubsection{\texorpdfstring{write()}{write()}} +{\footnotesize\ttfamily void Date\+::write (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{ostr }\end{DoxyParamCaption})} + + + +Writes date to stream. + + +\begin{DoxyParams}{Parameters} +{\em ostr} & An output stream\\ +\hline +\end{DoxyParams} +Directly writes bytes to stream (calls \mbox{\hyperlink{classDate_a9c728831f35f27abf3348132a13b7844}{write()}} function). + +\begin{DoxyRemark}{Remarks} +Doesn\textquotesingle{}t alter the stream in any other way. +\end{DoxyRemark} +\begin{DoxyNote}{Note} +Best used with binary ofstream +\end{DoxyNote} + + +The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} +\item +src/\+Generic/\+Date/\mbox{\hyperlink{Date_8h}{Date.\+h}}\item +src/\+Generic/\+Date/Date.\+cpp\end{DoxyCompactItemize} diff --git a/docs/latex/classEvent.tex b/docs/latex/classEvent.tex new file mode 100644 index 0000000..2396976 --- /dev/null +++ b/docs/latex/classEvent.tex @@ -0,0 +1,118 @@ +\hypertarget{classEvent}{}\doxysection{Event Class Reference} +\label{classEvent}\index{Event@{Event}} + + +Stores an event\textquotesingle{}s hall, name, date, bought tickets and reservations. + + + + +{\ttfamily \#include $<$Event.\+h$>$} + +\doxysubsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\mbox{\Hypertarget{classEvent_a5a40dd4708297f7031e29b39e039ae10}\label{classEvent_a5a40dd4708297f7031e29b39e039ae10}} +{\bfseries Event} () +\begin{DoxyCompactList}\small\item\em Calls default constructors on data. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classEvent_a6ecbd134ada51629f30b2d1cf352d88f}\label{classEvent_a6ecbd134ada51629f30b2d1cf352d88f}} +{\bfseries Event} (const \mbox{\hyperlink{classHall}{Hall}} \&hall, \mbox{\hyperlink{classString}{String}} name, \mbox{\hyperlink{classDate}{Date}} date) +\begin{DoxyCompactList}\small\item\em Copies given hall and sets name and date. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classEvent_ae3023ae2c487f46b3235f67554e58615}\label{classEvent_ae3023ae2c487f46b3235f67554e58615}} +const \mbox{\hyperlink{classHall}{Hall}} \& {\bfseries get\+\_\+hall} () const +\begin{DoxyCompactList}\small\item\em Returns constant reference \mbox{\hyperlink{classHall}{Hall}} in which event will be held. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classEvent_a7bf717630c32826689df41e0bb3ecbce}\label{classEvent_a7bf717630c32826689df41e0bb3ecbce}} +const \mbox{\hyperlink{classString}{String}} \& {\bfseries get\+\_\+name} () const +\begin{DoxyCompactList}\small\item\em Returns constant reference to name of event. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classEvent_a222904d44dfaf3f1f96e2190c5ea4293}\label{classEvent_a222904d44dfaf3f1f96e2190c5ea4293}} +const \mbox{\hyperlink{classDate}{Date}} \& {\bfseries get\+\_\+date} () const +\begin{DoxyCompactList}\small\item\em Returns constant reference to date on which event will be held. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classEvent_a16a84fced8e02f756232c54c27bb22ad}\label{classEvent_a16a84fced8e02f756232c54c27bb22ad}} +\mbox{\hyperlink{classOrderedList}{Ordered\+List}}$<$ \mbox{\hyperlink{classTicket}{Ticket}} $>$ \& {\bfseries get\+\_\+tickets} () +\begin{DoxyCompactList}\small\item\em Returns reference to bought tickets. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classEvent_a1f914fc91044a5c10d71f31b8e712c46}\label{classEvent_a1f914fc91044a5c10d71f31b8e712c46}} +const \mbox{\hyperlink{classOrderedList}{Ordered\+List}}$<$ \mbox{\hyperlink{classTicket}{Ticket}} $>$ \& {\bfseries get\+\_\+tickets} () const +\begin{DoxyCompactList}\small\item\em Returns constant reference to bought tickets. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classEvent_a43c6b2bddd42435eb6c8cd0f15d75c6f}\label{classEvent_a43c6b2bddd42435eb6c8cd0f15d75c6f}} +\mbox{\hyperlink{classOrderedList}{Ordered\+List}}$<$ \mbox{\hyperlink{classReservation}{Reservation}} $>$ \& {\bfseries get\+\_\+reservations} () +\begin{DoxyCompactList}\small\item\em Returns reference to reservations. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classEvent_a7af1c5d57d41701e6411b7c251bf904e}\label{classEvent_a7af1c5d57d41701e6411b7c251bf904e}} +const \mbox{\hyperlink{classOrderedList}{Ordered\+List}}$<$ \mbox{\hyperlink{classReservation}{Reservation}} $>$ \& {\bfseries get\+\_\+reservations} () const +\begin{DoxyCompactList}\small\item\em Returns constant reference to reservations. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classEvent_ae58d2ed716836adcdacaeec4dd08c1cf}{read}} (std\+::istream \&istr) +\begin{DoxyCompactList}\small\item\em Reads \mbox{\hyperlink{classEvent}{Event}} from stream. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classEvent_a05a302aa998977c30950987c07f0fbba}{write}} (std\+::ostream \&ostr) +\begin{DoxyCompactList}\small\item\em Writes \mbox{\hyperlink{classEvent}{Event}} to stream. \end{DoxyCompactList}\item +int \mbox{\hyperlink{classEvent_af5c84a902db8f29f8b8737026011f1f6}{compare}} (const \mbox{\hyperlink{classEvent}{Event}} \&other) +\begin{DoxyCompactList}\small\item\em Compares two events. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Stores an event\textquotesingle{}s hall, name, date, bought tickets and reservations. + +\doxysubsection{Member Function Documentation} +\mbox{\Hypertarget{classEvent_af5c84a902db8f29f8b8737026011f1f6}\label{classEvent_af5c84a902db8f29f8b8737026011f1f6}} +\index{Event@{Event}!compare@{compare}} +\index{compare@{compare}!Event@{Event}} +\doxysubsubsection{\texorpdfstring{compare()}{compare()}} +{\footnotesize\ttfamily int Event\+::compare (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classEvent}{Event}} \&}]{other }\end{DoxyParamCaption})} + + + +Compares two events. + +\begin{DoxyReturn}{Returns} +compare of halls, or if they are equal, compare of dates +\end{DoxyReturn} +\mbox{\Hypertarget{classEvent_ae58d2ed716836adcdacaeec4dd08c1cf}\label{classEvent_ae58d2ed716836adcdacaeec4dd08c1cf}} +\index{Event@{Event}!read@{read}} +\index{read@{read}!Event@{Event}} +\doxysubsubsection{\texorpdfstring{read()}{read()}} +{\footnotesize\ttfamily void Event\+::read (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{istr }\end{DoxyParamCaption})} + + + +Reads \mbox{\hyperlink{classEvent}{Event}} from stream. + + +\begin{DoxyParams}{Parameters} +{\em istr} & An input stream\\ +\hline +\end{DoxyParams} +Directly reads bytes from stream (calls \mbox{\hyperlink{classEvent_ae58d2ed716836adcdacaeec4dd08c1cf}{read()}} function). Stored types must have defined a \mbox{\hyperlink{classEvent_ae58d2ed716836adcdacaeec4dd08c1cf}{read()}} function. + +\begin{DoxyRemark}{Remarks} +Doesn\textquotesingle{}t alter the stream in any other way. +\end{DoxyRemark} +\begin{DoxyNote}{Note} +Best used with binary ifstream +\end{DoxyNote} +\mbox{\Hypertarget{classEvent_a05a302aa998977c30950987c07f0fbba}\label{classEvent_a05a302aa998977c30950987c07f0fbba}} +\index{Event@{Event}!write@{write}} +\index{write@{write}!Event@{Event}} +\doxysubsubsection{\texorpdfstring{write()}{write()}} +{\footnotesize\ttfamily void Event\+::write (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{ostr }\end{DoxyParamCaption})} + + + +Writes \mbox{\hyperlink{classEvent}{Event}} to stream. + + +\begin{DoxyParams}{Parameters} +{\em ostr} & An output stream\\ +\hline +\end{DoxyParams} +Directly writes bytes to stream (calls \mbox{\hyperlink{classEvent_a05a302aa998977c30950987c07f0fbba}{write()}} function). Stored types must have defined a \mbox{\hyperlink{classEvent_ae58d2ed716836adcdacaeec4dd08c1cf}{read()}} function. + +\begin{DoxyRemark}{Remarks} +Doesn\textquotesingle{}t alter the stream in any other way. +\end{DoxyRemark} +\begin{DoxyNote}{Note} +Best used with binary ofstream +\end{DoxyNote} + + +The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} +\item +src/\+Models/\mbox{\hyperlink{Event_8h}{Event.\+h}}\item +src/\+Models/Event.\+cpp\end{DoxyCompactItemize} diff --git a/docs/latex/classEventService.tex b/docs/latex/classEventService.tex new file mode 100644 index 0000000..d16cb71 --- /dev/null +++ b/docs/latex/classEventService.tex @@ -0,0 +1,314 @@ +\hypertarget{classEventService}{}\doxysection{Event\+Service Class Reference} +\label{classEventService}\index{EventService@{EventService}} + + +Each \mbox{\hyperlink{classEventService}{Event\+Service}} stores all events and a pointer to \mbox{\hyperlink{classHallService}{Hall\+Service}}. + + + + +{\ttfamily \#include $<$Event\+Service.\+h$>$} + +\doxysubsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\mbox{\Hypertarget{classEventService_a9b30bb95890abac259ba27b53cabe545}\label{classEventService_a9b30bb95890abac259ba27b53cabe545}} +{\bfseries Event\+Service} (const \mbox{\hyperlink{classHallService}{Hall\+Service}} $\ast$hs) +\begin{DoxyCompactList}\small\item\em Sets \mbox{\hyperlink{classHallService}{Hall\+Service}} pointer and initializes events \mbox{\hyperlink{classList}{List}}. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classEventService_af35cde4a05edfec88496772b6d0b1e37}\label{classEventService_af35cde4a05edfec88496772b6d0b1e37}} +{\bfseries Event\+Service} (const \mbox{\hyperlink{classHallService}{Hall\+Service}} $\ast$hs, const \mbox{\hyperlink{classEvent}{Event}} $\ast$events, unsigned event\+Count) +\begin{DoxyCompactList}\small\item\em Sets \mbox{\hyperlink{classHallService}{Hall\+Service}} pointer and copies values from events into events \mbox{\hyperlink{classList}{List}}. \end{DoxyCompactList}\item +\mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} \mbox{\hyperlink{classEventService_a7a21a5909116215e402254510d6d81d6}{create\+Event}} (int hall\+Number, const \mbox{\hyperlink{classString}{String}} \&name, const \mbox{\hyperlink{classDate}{Date}} \&date) +\begin{DoxyCompactList}\small\item\em Creates an \mbox{\hyperlink{classEvent}{Event}}, with the given hall\+Number, name and date. \end{DoxyCompactList}\item +\mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} \mbox{\hyperlink{classEventService_ac7ea565af5ad78e84749558477ceaf26}{cancel\+Event}} (const char $\ast$name, const \mbox{\hyperlink{classDate}{Date}} \&date) +\begin{DoxyCompactList}\small\item\em Cancels an \mbox{\hyperlink{classEvent}{Event}} with the given name and date. \end{DoxyCompactList}\item +\mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} \mbox{\hyperlink{classEventService_a3c0d2a05e2a3026044b9e13e6802fbdb}{reserve\+Ticket}} (const char $\ast$name, const \mbox{\hyperlink{classDate}{Date}} \&date, const char $\ast$password, const char $\ast$note, const \mbox{\hyperlink{classTicket}{Ticket}} \&ticket) +\begin{DoxyCompactList}\small\item\em Creates a \mbox{\hyperlink{classReservation}{Reservation}} for an \mbox{\hyperlink{classEvent}{Event}} by name and date. \end{DoxyCompactList}\item +\mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} \mbox{\hyperlink{classEventService_aa6fd620de878f225f7c51bb0df6ea749}{cancel\+Ticket\+Reservation}} (const char $\ast$name, const \mbox{\hyperlink{classDate}{Date}} \&date, const \mbox{\hyperlink{classTicket}{Ticket}} \&ticket) +\begin{DoxyCompactList}\small\item\em Cancels a \mbox{\hyperlink{classReservation}{Reservation}} for a ticket. \end{DoxyCompactList}\item +\mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} \mbox{\hyperlink{classEventService_ad1efbed6111da8e755d86b5bc9ada806}{ticket\+Is\+Reserved}} (const char $\ast$name, const \mbox{\hyperlink{classDate}{Date}} \&date, const \mbox{\hyperlink{classTicket}{Ticket}} \&ticket) +\begin{DoxyCompactList}\small\item\em Whether a ticket is a reserved or not. \end{DoxyCompactList}\item +\mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} \mbox{\hyperlink{classEventService_ac447cac3e4974b9cc676d9bb90152979}{buy\+Ticket}} (const char $\ast$name, const \mbox{\hyperlink{classDate}{Date}} \&date, const \mbox{\hyperlink{classTicket}{Ticket}} \&ticket, const char $\ast$password, \mbox{\hyperlink{classString}{String}} $\ast$reservation\+Note\+Output) +\begin{DoxyCompactList}\small\item\em Buys ticket, assuming it is reserved and stores the reservation note. \end{DoxyCompactList}\item +\mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} \mbox{\hyperlink{classEventService_ad0a204aca9cc8287f562f42916248e9e}{buy\+Ticket}} (const char $\ast$name, const \mbox{\hyperlink{classDate}{Date}} \&date, const \mbox{\hyperlink{classTicket}{Ticket}} \&ticket) +\begin{DoxyCompactList}\small\item\em Buys ticket, assuming it isn\textquotesingle{}t reserved. \end{DoxyCompactList}\item +\mbox{\hyperlink{classString}{String}} \mbox{\hyperlink{classEventService_a7f4632e3beae5d24087047ab0223f85e}{create\+Seating\+String}} (const char $\ast$name, const \mbox{\hyperlink{classDate}{Date}} \&date, unsigned $\ast$seats\+Per\+Row) +\begin{DoxyCompactList}\small\item\em Creates a special \mbox{\hyperlink{classString}{String}} for status of all seats in given \mbox{\hyperlink{classEvent}{Event}} (by name and date) and returns seats\+Per\+Row in given pointer. \end{DoxyCompactList}\item +\mbox{\hyperlink{classList}{List}}$<$ \mbox{\hyperlink{classEvent}{Event}} $>$ \mbox{\hyperlink{classEventService_a6700bd4f9da6d12a47812b9c8549556e}{query\+Most\+Watched}} (unsigned topN) +\item +\mbox{\hyperlink{classList}{List}}$<$ \mbox{\hyperlink{classEvent}{Event}} $>$ \mbox{\hyperlink{classEventService_a814de3510f72150f2e54d44f8c8948bb}{query\+Insufficiently\+Visited}} () +\item +\mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} \mbox{\hyperlink{classEventService_a277194aea79a2c9bf955b7706a20c54c}{report\+Reservations}} (const char $\ast$name, const \mbox{\hyperlink{classDate}{Date}} \&date) +\begin{DoxyCompactList}\small\item\em Creates a report that lists all Events (with given name and date) and their reserved tickets. \end{DoxyCompactList}\item +\mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} \mbox{\hyperlink{classEventService_afc74fc6d44fca054bce8e54997c0cd3e}{report\+Bought\+Tickets}} (int hall\+Number, const \mbox{\hyperlink{classDate}{Date}} \&start, const \mbox{\hyperlink{classDate}{Date}} \&end, bool all=false) +\begin{DoxyCompactList}\small\item\em Creates a report that Lists all Events (with given name and date) and number of bought tickets. \end{DoxyCompactList}\item +\mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} \mbox{\hyperlink{classEventService_a1225c23dae83fa928da47113cd1c5617}{load}} () +\begin{DoxyCompactList}\small\item\em Loads Events from a database file. \end{DoxyCompactList}\item +\mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} \mbox{\hyperlink{classEventService_a5aac3df17ef30f84c1c28277c256ec32}{save}} () +\begin{DoxyCompactList}\small\item\em Saves Events to a database file. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Each \mbox{\hyperlink{classEventService}{Event\+Service}} stores all events and a pointer to \mbox{\hyperlink{classHallService}{Hall\+Service}}. + +\doxysubsection{Member Function Documentation} +\mbox{\Hypertarget{classEventService_ad0a204aca9cc8287f562f42916248e9e}\label{classEventService_ad0a204aca9cc8287f562f42916248e9e}} +\index{EventService@{EventService}!buyTicket@{buyTicket}} +\index{buyTicket@{buyTicket}!EventService@{EventService}} +\doxysubsubsection{\texorpdfstring{buyTicket()}{buyTicket()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}} +{\footnotesize\ttfamily \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} Event\+Service\+::buy\+Ticket (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name, }\item[{const \mbox{\hyperlink{classDate}{Date}} \&}]{date, }\item[{const \mbox{\hyperlink{classTicket}{Ticket}} \&}]{ticket }\end{DoxyParamCaption})} + + + +Buys ticket, assuming it isn\textquotesingle{}t reserved. + +Calls buy\+Ticket with \mbox{\hyperlink{classReservation}{Reservation}}, but sets password and note\+Output to nullptr. \begin{DoxyReturn}{Returns} +E\+\_\+\+Event\+Does\+Not\+Exist {\bfseries{if}} No \mbox{\hyperlink{classEvent}{Event}} with the given name and date exists + +E\+\_\+\+Ticket\+Already\+Bought {\bfseries{if}} A ticket for the given row and seat has already been bought + +E\+\_\+\+Ticket\+Already\+Reserved {\bfseries{if}} The seat and row are reserved, but given password is nullptr + +E\+\_\+\+Wrong\+Reservation\+Password {\bfseries{if}} The seat and row are reserved, but given password is incorrect + +Success {\bfseries{otherwise}} +\end{DoxyReturn} +\mbox{\Hypertarget{classEventService_ac447cac3e4974b9cc676d9bb90152979}\label{classEventService_ac447cac3e4974b9cc676d9bb90152979}} +\index{EventService@{EventService}!buyTicket@{buyTicket}} +\index{buyTicket@{buyTicket}!EventService@{EventService}} +\doxysubsubsection{\texorpdfstring{buyTicket()}{buyTicket()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}} +{\footnotesize\ttfamily \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} Event\+Service\+::buy\+Ticket (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name, }\item[{const \mbox{\hyperlink{classDate}{Date}} \&}]{date, }\item[{const \mbox{\hyperlink{classTicket}{Ticket}} \&}]{ticket, }\item[{const char $\ast$}]{password, }\item[{\mbox{\hyperlink{classString}{String}} $\ast$}]{reservation\+Note\+Output }\end{DoxyParamCaption})} + + + +Buys ticket, assuming it is reserved and stores the reservation note. + +\begin{DoxyReturn}{Returns} +E\+\_\+\+Event\+Does\+Not\+Exist {\bfseries{if}} No \mbox{\hyperlink{classEvent}{Event}} with the given name and date exists + +E\+\_\+\+Ticket\+Already\+Bought {\bfseries{if}} A ticket for the given row and seat has already been bought + +E\+\_\+\+Ticket\+Already\+Reserved {\bfseries{if}} The seat and row are reserved, but given password is nullptr + +E\+\_\+\+Wrong\+Reservation\+Password {\bfseries{if}} The seat and row are reserved, but given password is incorrect + +Success {\bfseries{otherwise}} +\end{DoxyReturn} +\mbox{\Hypertarget{classEventService_ac7ea565af5ad78e84749558477ceaf26}\label{classEventService_ac7ea565af5ad78e84749558477ceaf26}} +\index{EventService@{EventService}!cancelEvent@{cancelEvent}} +\index{cancelEvent@{cancelEvent}!EventService@{EventService}} +\doxysubsubsection{\texorpdfstring{cancelEvent()}{cancelEvent()}} +{\footnotesize\ttfamily \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} Event\+Service\+::cancel\+Event (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name, }\item[{const \mbox{\hyperlink{classDate}{Date}} \&}]{date }\end{DoxyParamCaption})} + + + +Cancels an \mbox{\hyperlink{classEvent}{Event}} with the given name and date. + +\begin{DoxyReturn}{Returns} +E\+\_\+\+Event\+Does\+Not\+Exist {\bfseries{if}} No \mbox{\hyperlink{classEvent}{Event}} with the given name and date exists + +Success {\bfseries{otherwise}} +\end{DoxyReturn} +\mbox{\Hypertarget{classEventService_aa6fd620de878f225f7c51bb0df6ea749}\label{classEventService_aa6fd620de878f225f7c51bb0df6ea749}} +\index{EventService@{EventService}!cancelTicketReservation@{cancelTicketReservation}} +\index{cancelTicketReservation@{cancelTicketReservation}!EventService@{EventService}} +\doxysubsubsection{\texorpdfstring{cancelTicketReservation()}{cancelTicketReservation()}} +{\footnotesize\ttfamily \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} Event\+Service\+::cancel\+Ticket\+Reservation (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name, }\item[{const \mbox{\hyperlink{classDate}{Date}} \&}]{date, }\item[{const \mbox{\hyperlink{classTicket}{Ticket}} \&}]{ticket }\end{DoxyParamCaption})} + + + +Cancels a \mbox{\hyperlink{classReservation}{Reservation}} for a ticket. + +Canceling a reservation doesn\textquotesingle{}t require password and doesn\textquotesingle{}t return the \mbox{\hyperlink{classReservation}{Reservation}}\textquotesingle{}s note + +\begin{DoxyReturn}{Returns} +E\+\_\+\+Event\+Does\+Not\+Exist {\bfseries{if}} No \mbox{\hyperlink{classEvent}{Event}} with the given name and date exists + +W\+\_\+\+Ticket\+Had\+Not\+Been\+Reserved {\bfseries{\mbox{\hyperlink{classTicket}{Ticket}}}} hadn\textquotesingle{}t been reserved in the first place + +Success {\bfseries{otherwise}} +\end{DoxyReturn} +\mbox{\Hypertarget{classEventService_a7a21a5909116215e402254510d6d81d6}\label{classEventService_a7a21a5909116215e402254510d6d81d6}} +\index{EventService@{EventService}!createEvent@{createEvent}} +\index{createEvent@{createEvent}!EventService@{EventService}} +\doxysubsubsection{\texorpdfstring{createEvent()}{createEvent()}} +{\footnotesize\ttfamily \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} Event\+Service\+::create\+Event (\begin{DoxyParamCaption}\item[{int}]{hall\+Number, }\item[{const \mbox{\hyperlink{classString}{String}} \&}]{name, }\item[{const \mbox{\hyperlink{classDate}{Date}} \&}]{date }\end{DoxyParamCaption})} + + + +Creates an \mbox{\hyperlink{classEvent}{Event}}, with the given hall\+Number, name and date. + +Uses \mbox{\hyperlink{classHallService}{Hall\+Service}} pointer to get \mbox{\hyperlink{classHall}{Hall}} from hall\+Number \begin{DoxyReturn}{Returns} +E\+\_\+\+Hall\+Doesnt\+Exist {\bfseries{if}} hall\+Number doesn\textquotesingle{}t correspond to any \mbox{\hyperlink{classHall}{Hall}}, saved in \mbox{\hyperlink{classHallService}{Hall\+Service}} + +E\+\_\+\+Event\+Will\+Overlap {\bfseries{if}} \mbox{\hyperlink{classEvent}{Event}}\textquotesingle{}s date overlaps with another event in the same \mbox{\hyperlink{classHall}{Hall}} + +Success {\bfseries{otherwise}} +\end{DoxyReturn} +\mbox{\Hypertarget{classEventService_a7f4632e3beae5d24087047ab0223f85e}\label{classEventService_a7f4632e3beae5d24087047ab0223f85e}} +\index{EventService@{EventService}!createSeatingString@{createSeatingString}} +\index{createSeatingString@{createSeatingString}!EventService@{EventService}} +\doxysubsubsection{\texorpdfstring{createSeatingString()}{createSeatingString()}} +{\footnotesize\ttfamily \mbox{\hyperlink{classString}{String}} Event\+Service\+::create\+Seating\+String (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name, }\item[{const \mbox{\hyperlink{classDate}{Date}} \&}]{date, }\item[{unsigned $\ast$}]{seats\+Per\+Row }\end{DoxyParamCaption})} + + + +Creates a special \mbox{\hyperlink{classString}{String}} for status of all seats in given \mbox{\hyperlink{classEvent}{Event}} (by name and date) and returns seats\+Per\+Row in given pointer. + +Each seat in the \mbox{\hyperlink{classHall}{Hall}} of the \mbox{\hyperlink{classEvent}{Event}} is represented by a single character, where \textquotesingle{}R\textquotesingle{} means the seat is reserved, \textquotesingle{}B\textquotesingle{} means the seat is bought and \textquotesingle{} \textquotesingle{} if it\textquotesingle{}s neither. + +\begin{DoxyReturn}{Returns} +Empty \mbox{\hyperlink{classString}{String}} {\bfseries{if}} No \mbox{\hyperlink{classEvent}{Event}} with the given name and date exists + +Proper \mbox{\hyperlink{classString}{String}} {\bfseries{otherwise}} +\end{DoxyReturn} +\mbox{\Hypertarget{classEventService_a1225c23dae83fa928da47113cd1c5617}\label{classEventService_a1225c23dae83fa928da47113cd1c5617}} +\index{EventService@{EventService}!load@{load}} +\index{load@{load}!EventService@{EventService}} +\doxysubsubsection{\texorpdfstring{load()}{load()}} +{\footnotesize\ttfamily \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} Event\+Service\+::load (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} + + + +Loads Events from a database file. + +Looks for file named \char`\"{}events\+Databse.\+fmits\char`\"{}, which is just a binary file, and then reads it with the \char`\"{}read\char`\"{} function in events \mbox{\hyperlink{classList}{List}}. + +\begin{DoxyReturn}{Returns} +E\+\_\+\+File\+Could\+Not\+Be\+Opened {\bfseries{if}} The files couldn\textquotesingle{}t be opened/\+Doesn\textquotesingle{}t exist + +Success {\bfseries{otherwise}} +\end{DoxyReturn} +\mbox{\Hypertarget{classEventService_a814de3510f72150f2e54d44f8c8948bb}\label{classEventService_a814de3510f72150f2e54d44f8c8948bb}} +\index{EventService@{EventService}!queryInsufficientlyVisited@{queryInsufficientlyVisited}} +\index{queryInsufficientlyVisited@{queryInsufficientlyVisited}!EventService@{EventService}} +\doxysubsubsection{\texorpdfstring{queryInsufficientlyVisited()}{queryInsufficientlyVisited()}} +{\footnotesize\ttfamily \mbox{\hyperlink{classList}{List}}$<$ \mbox{\hyperlink{classEvent}{Event}} $>$ Event\+Service\+::query\+Insufficiently\+Visited (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} + +\begin{DoxyReturn}{Returns} +A \mbox{\hyperlink{classList}{List}} of events which have attracted sales of less than 10\% of the \mbox{\hyperlink{classHall}{Hall}}\textquotesingle{}s seat +\end{DoxyReturn} +\mbox{\Hypertarget{classEventService_a6700bd4f9da6d12a47812b9c8549556e}\label{classEventService_a6700bd4f9da6d12a47812b9c8549556e}} +\index{EventService@{EventService}!queryMostWatched@{queryMostWatched}} +\index{queryMostWatched@{queryMostWatched}!EventService@{EventService}} +\doxysubsubsection{\texorpdfstring{queryMostWatched()}{queryMostWatched()}} +{\footnotesize\ttfamily \mbox{\hyperlink{classList}{List}}$<$ \mbox{\hyperlink{classEvent}{Event}} $>$ Event\+Service\+::query\+Most\+Watched (\begin{DoxyParamCaption}\item[{unsigned}]{topN }\end{DoxyParamCaption})} + +\begin{DoxyReturn}{Returns} +A \mbox{\hyperlink{classList}{List}} of topN most watched Events +\end{DoxyReturn} +Events are sorted from index 0 to last index decreasingly by number of watchers. Watchers count for an \mbox{\hyperlink{classEvent}{Event}} is the amount of bought tickets. + +If there are less events than topN, all events are returned. \mbox{\Hypertarget{classEventService_afc74fc6d44fca054bce8e54997c0cd3e}\label{classEventService_afc74fc6d44fca054bce8e54997c0cd3e}} +\index{EventService@{EventService}!reportBoughtTickets@{reportBoughtTickets}} +\index{reportBoughtTickets@{reportBoughtTickets}!EventService@{EventService}} +\doxysubsubsection{\texorpdfstring{reportBoughtTickets()}{reportBoughtTickets()}} +{\footnotesize\ttfamily \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} Event\+Service\+::report\+Bought\+Tickets (\begin{DoxyParamCaption}\item[{int}]{hall\+Number, }\item[{const \mbox{\hyperlink{classDate}{Date}} \&}]{start, }\item[{const \mbox{\hyperlink{classDate}{Date}} \&}]{end, }\item[{bool}]{all = {\ttfamily false} }\end{DoxyParamCaption})} + + + +Creates a report that Lists all Events (with given name and date) and number of bought tickets. + + +\begin{DoxyParams}{Parameters} +{\em hall\+Number} & Number of the \mbox{\hyperlink{classEvent}{Event}}\textquotesingle{}s \mbox{\hyperlink{classHall}{Hall}} \\ +\hline +{\em start} & Starting \mbox{\hyperlink{classDate}{Date}} from which to take Events \\ +\hline +{\em end} & Ending \mbox{\hyperlink{classDate}{Date}} until which to take Evnets (including)\\ +\hline +\end{DoxyParams} +Report is saved in a file named \char`\"{}bought\+Tickets.\+txt\char`\"{} in the current directory. + +All Events are inserted into the file with the \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator and a setting of 0b01001. + +\begin{DoxyReturn}{Returns} +E\+\_\+\+File\+Could\+Not\+Be\+Opened {\bfseries{if}} Report file couldn\textquotesingle{}t be created + +Success {\bfseries{otherwise}} +\end{DoxyReturn} +\mbox{\Hypertarget{classEventService_a277194aea79a2c9bf955b7706a20c54c}\label{classEventService_a277194aea79a2c9bf955b7706a20c54c}} +\index{EventService@{EventService}!reportReservations@{reportReservations}} +\index{reportReservations@{reportReservations}!EventService@{EventService}} +\doxysubsubsection{\texorpdfstring{reportReservations()}{reportReservations()}} +{\footnotesize\ttfamily \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} Event\+Service\+::report\+Reservations (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name, }\item[{const \mbox{\hyperlink{classDate}{Date}} \&}]{date }\end{DoxyParamCaption})} + + + +Creates a report that lists all Events (with given name and date) and their reserved tickets. + + +\begin{DoxyParams}{Parameters} +{\em name} & C-\/style string, if it is equal to \char`\"{}\+ALL\char`\"{}, reservations from all Events on the given date will be reported \\ +\hline +{\em date} & If day, month and year are equal to 0, reservations from all dates will be reported\\ +\hline +\end{DoxyParams} +Report is saved in a file in the current directory, named \char`\"{}report-\/\+NAME-\/\+DATE.\+txt\char`\"{}, where NAME is the given name, and DATE is the given date or \char`\"{}\+ALL\char`\"{} if the date is 0/0/0 + +All Events are inserted into the file with the \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator and a setting of 0b00101. + +\begin{DoxyReturn}{Returns} +E\+\_\+\+File\+Could\+Not\+Be\+Opened {\bfseries{if}} Report file couldn\textquotesingle{}t be created + +Success {\bfseries{otherwise}} +\end{DoxyReturn} +\mbox{\Hypertarget{classEventService_a3c0d2a05e2a3026044b9e13e6802fbdb}\label{classEventService_a3c0d2a05e2a3026044b9e13e6802fbdb}} +\index{EventService@{EventService}!reserveTicket@{reserveTicket}} +\index{reserveTicket@{reserveTicket}!EventService@{EventService}} +\doxysubsubsection{\texorpdfstring{reserveTicket()}{reserveTicket()}} +{\footnotesize\ttfamily \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} Event\+Service\+::reserve\+Ticket (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name, }\item[{const \mbox{\hyperlink{classDate}{Date}} \&}]{date, }\item[{const char $\ast$}]{password, }\item[{const char $\ast$}]{note, }\item[{const \mbox{\hyperlink{classTicket}{Ticket}} \&}]{ticket }\end{DoxyParamCaption})} + + + +Creates a \mbox{\hyperlink{classReservation}{Reservation}} for an \mbox{\hyperlink{classEvent}{Event}} by name and date. + +\begin{DoxyReturn}{Returns} +E\+\_\+\+Event\+Does\+Not\+Exist {\bfseries{if}} No \mbox{\hyperlink{classEvent}{Event}} with the given name and date exists + +E\+\_\+\+Ticket\+Already\+Bought {\bfseries{if}} A ticket for the given row and seat has already been bought + +E\+\_\+\+Ticket\+Already\+Reserved {\bfseries{if}} A reservation has already been placed on the given row and seat + +Success {\bfseries{otherwise}} +\end{DoxyReturn} +\mbox{\Hypertarget{classEventService_a5aac3df17ef30f84c1c28277c256ec32}\label{classEventService_a5aac3df17ef30f84c1c28277c256ec32}} +\index{EventService@{EventService}!save@{save}} +\index{save@{save}!EventService@{EventService}} +\doxysubsubsection{\texorpdfstring{save()}{save()}} +{\footnotesize\ttfamily \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} Event\+Service\+::save (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} + + + +Saves Events to a database file. + +Looks for file named \char`\"{}events\+Databse.\+fmits\char`\"{}, which is just a binary file, and then writes to it with the \char`\"{}write\char`\"{} function in events \mbox{\hyperlink{classList}{List}}. + +\begin{DoxyReturn}{Returns} +E\+\_\+\+File\+Could\+Not\+Be\+Opened {\bfseries{if}} The files couldn\textquotesingle{}t be opened + +Success {\bfseries{otherwise}} +\end{DoxyReturn} +\mbox{\Hypertarget{classEventService_ad1efbed6111da8e755d86b5bc9ada806}\label{classEventService_ad1efbed6111da8e755d86b5bc9ada806}} +\index{EventService@{EventService}!ticketIsReserved@{ticketIsReserved}} +\index{ticketIsReserved@{ticketIsReserved}!EventService@{EventService}} +\doxysubsubsection{\texorpdfstring{ticketIsReserved()}{ticketIsReserved()}} +{\footnotesize\ttfamily \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} Event\+Service\+::ticket\+Is\+Reserved (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name, }\item[{const \mbox{\hyperlink{classDate}{Date}} \&}]{date, }\item[{const \mbox{\hyperlink{classTicket}{Ticket}} \&}]{ticket }\end{DoxyParamCaption})} + + + +Whether a ticket is a reserved or not. + +\begin{DoxyReturn}{Returns} +E\+\_\+\+Event\+Does\+Not\+Exist {\bfseries{if}} No \mbox{\hyperlink{classEvent}{Event}} with the given name and date exists + +W\+\_\+\+Ticket\+Had\+Not\+Been\+Reserved {\bfseries{\mbox{\hyperlink{classTicket}{Ticket}}}} hadn\textquotesingle{}t been reserved in the first place + +Success {\bfseries{otherwise}} +\end{DoxyReturn} + + +The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} +\item +src/\+Services/\mbox{\hyperlink{EventService_8h}{Event\+Service.\+h}}\item +src/\+Services/Event\+Service.\+cpp\end{DoxyCompactItemize} diff --git a/docs/latex/classHall.tex b/docs/latex/classHall.tex new file mode 100644 index 0000000..526db1e --- /dev/null +++ b/docs/latex/classHall.tex @@ -0,0 +1,109 @@ +\hypertarget{classHall}{}\doxysection{Hall Class Reference} +\label{classHall}\index{Hall@{Hall}} + + +Each hall contains a number, rows and seats per row. + + + + +{\ttfamily \#include $<$Hall.\+h$>$} + +\doxysubsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\mbox{\Hypertarget{classHall_a122ed8085be305339c89cadb3e360b86}\label{classHall_a122ed8085be305339c89cadb3e360b86}} +{\bfseries Hall} () +\begin{DoxyCompactList}\small\item\em Sets values to 0. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classHall_af88f012be2e7671366e10d4e154a8d8f}\label{classHall_af88f012be2e7671366e10d4e154a8d8f}} +{\bfseries Hall} (int number) +\begin{DoxyCompactList}\small\item\em Sets values, except number, to 0. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classHall_ab93a2ca8463f3b3d398374a6efea4c71}\label{classHall_ab93a2ca8463f3b3d398374a6efea4c71}} +{\bfseries Hall} (int number, unsigned rows, unsigned seats\+Per\+Row) +\begin{DoxyCompactList}\small\item\em Sets values. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classHall_a84186aee50631f25b214f18f7b0dc178}\label{classHall_a84186aee50631f25b214f18f7b0dc178}} +int {\bfseries get\+\_\+number} () const +\begin{DoxyCompactList}\small\item\em Returns a \mbox{\hyperlink{classHall}{Hall}}\textquotesingle{}s number. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classHall_a6b3c304a95d3f56980c6faf0cc2073a2}\label{classHall_a6b3c304a95d3f56980c6faf0cc2073a2}} +unsigned {\bfseries get\+\_\+rows} () const +\begin{DoxyCompactList}\small\item\em Returns a \mbox{\hyperlink{classHall}{Hall}}\textquotesingle{}s row count. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classHall_a42e1cd716086d8a42a627e00cde17a7e}\label{classHall_a42e1cd716086d8a42a627e00cde17a7e}} +unsigned {\bfseries get\+\_\+seats\+Per\+Row} () const +\begin{DoxyCompactList}\small\item\em Return a \mbox{\hyperlink{classHall}{Hall}}\textquotesingle{}s seats per row count. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classHall_acef974f302d8131ef4608e15f96c2df9}{read}} (std\+::istream \&istr) +\begin{DoxyCompactList}\small\item\em Reads \mbox{\hyperlink{classHall}{Hall}} from stream. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classHall_a0239d59ab0f832f16cf35c820d0eba5a}{write}} (std\+::ostream \&ostr) const +\begin{DoxyCompactList}\small\item\em Writes \mbox{\hyperlink{classHall}{Hall}} to steam. \end{DoxyCompactList}\item +int \mbox{\hyperlink{classHall_a4259837f943c488c6b15ed6c80d5f30b}{compare}} (const \mbox{\hyperlink{classHall}{Hall}} \&other) const +\begin{DoxyCompactList}\small\item\em Compare two Halls. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Each hall contains a number, rows and seats per row. + +\doxysubsection{Member Function Documentation} +\mbox{\Hypertarget{classHall_a4259837f943c488c6b15ed6c80d5f30b}\label{classHall_a4259837f943c488c6b15ed6c80d5f30b}} +\index{Hall@{Hall}!compare@{compare}} +\index{compare@{compare}!Hall@{Hall}} +\doxysubsubsection{\texorpdfstring{compare()}{compare()}} +{\footnotesize\ttfamily int Hall\+::compare (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classHall}{Hall}} \&}]{other }\end{DoxyParamCaption}) const} + + + +Compare two Halls. + +\begin{DoxyReturn}{Returns} +-\/1 if number \texorpdfstring{$<$}{<} other.\+number, 1 if number \texorpdfstring{$>$}{>} other.\+number, 0 if number == other.\+number +\end{DoxyReturn} +\mbox{\Hypertarget{classHall_acef974f302d8131ef4608e15f96c2df9}\label{classHall_acef974f302d8131ef4608e15f96c2df9}} +\index{Hall@{Hall}!read@{read}} +\index{read@{read}!Hall@{Hall}} +\doxysubsubsection{\texorpdfstring{read()}{read()}} +{\footnotesize\ttfamily void Hall\+::read (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{istr }\end{DoxyParamCaption})} + + + +Reads \mbox{\hyperlink{classHall}{Hall}} from stream. + + +\begin{DoxyParams}{Parameters} +{\em istr} & An input stream\\ +\hline +\end{DoxyParams} +Directly reads bytes from stream (calls \mbox{\hyperlink{classHall_acef974f302d8131ef4608e15f96c2df9}{read()}} function). + +\begin{DoxyRemark}{Remarks} +Doesn\textquotesingle{}t alter the stream in any other way. +\end{DoxyRemark} +\begin{DoxyNote}{Note} +Best used with binary ifstream +\end{DoxyNote} +\mbox{\Hypertarget{classHall_a0239d59ab0f832f16cf35c820d0eba5a}\label{classHall_a0239d59ab0f832f16cf35c820d0eba5a}} +\index{Hall@{Hall}!write@{write}} +\index{write@{write}!Hall@{Hall}} +\doxysubsubsection{\texorpdfstring{write()}{write()}} +{\footnotesize\ttfamily void Hall\+::write (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{ostr }\end{DoxyParamCaption}) const} + + + +Writes \mbox{\hyperlink{classHall}{Hall}} to steam. + + +\begin{DoxyParams}{Parameters} +{\em ostr} & An output stream\\ +\hline +\end{DoxyParams} +Directly writes bytes to stream (calls \mbox{\hyperlink{classHall_a0239d59ab0f832f16cf35c820d0eba5a}{write()}} function). + +\begin{DoxyRemark}{Remarks} +Doesn\textquotesingle{}t alter the stream in any other way. +\end{DoxyRemark} +\begin{DoxyNote}{Note} +Best used with binary ofstream +\end{DoxyNote} + + +The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} +\item +src/\+Models/\mbox{\hyperlink{Hall_8h}{Hall.\+h}}\item +src/\+Models/Hall.\+cpp\end{DoxyCompactItemize} diff --git a/docs/latex/classHallService.tex b/docs/latex/classHallService.tex new file mode 100644 index 0000000..6ea0784 --- /dev/null +++ b/docs/latex/classHallService.tex @@ -0,0 +1,70 @@ +\hypertarget{classHallService}{}\doxysection{Hall\+Service Class Reference} +\label{classHallService}\index{HallService@{HallService}} + + +Each \mbox{\hyperlink{classHallService}{Hall\+Service}} stores all halls. + + + + +{\ttfamily \#include $<$Hall\+Service.\+h$>$} + +\doxysubsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\mbox{\Hypertarget{classHallService_a57a8117d8d510afb5351a3f7efc18dff}\label{classHallService_a57a8117d8d510afb5351a3f7efc18dff}} +{\bfseries Hall\+Service} (const \mbox{\hyperlink{classHall}{Hall}} $\ast$halls, unsigned hall\+Count) +\begin{DoxyCompactList}\small\item\em Copies halls from parameters. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classHallService_a641fdcc475e094687713e94094e2a623}\label{classHallService_a641fdcc475e094687713e94094e2a623}} +const \mbox{\hyperlink{classOrderedList}{Ordered\+List}}$<$ \mbox{\hyperlink{classHall}{Hall}} $>$ \& {\bfseries get\+\_\+halls} () const +\begin{DoxyCompactList}\small\item\em Returns a constant reference to halls. \end{DoxyCompactList}\item +\mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} \mbox{\hyperlink{classHallService_ab63c1ccff811ed3268f2fe5e996eb6ae}{load}} () +\begin{DoxyCompactList}\small\item\em Loads Halls to a database file. \end{DoxyCompactList}\item +\mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} \mbox{\hyperlink{classHallService_a083e3d10ec89ee8c78a117c3754c66d2}{save}} () +\begin{DoxyCompactList}\small\item\em Saves Halls to a database file. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Each \mbox{\hyperlink{classHallService}{Hall\+Service}} stores all halls. + +\doxysubsection{Member Function Documentation} +\mbox{\Hypertarget{classHallService_ab63c1ccff811ed3268f2fe5e996eb6ae}\label{classHallService_ab63c1ccff811ed3268f2fe5e996eb6ae}} +\index{HallService@{HallService}!load@{load}} +\index{load@{load}!HallService@{HallService}} +\doxysubsubsection{\texorpdfstring{load()}{load()}} +{\footnotesize\ttfamily \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} Hall\+Service\+::load (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} + + + +Loads Halls to a database file. + +Looks for file named \char`\"{}halls\+Databse.\+fmits\char`\"{}, which is just a binary file, and then reads it with the \char`\"{}read\char`\"{} function in events \mbox{\hyperlink{classList}{List}}. + +\begin{DoxyReturn}{Returns} +E\+\_\+\+File\+Could\+Not\+Be\+Opened {\bfseries{if}} The files couldn\textquotesingle{}t be opened/\+Doesn\textquotesingle{}t exist + +Success {\bfseries{otherwise}} +\end{DoxyReturn} +\mbox{\Hypertarget{classHallService_a083e3d10ec89ee8c78a117c3754c66d2}\label{classHallService_a083e3d10ec89ee8c78a117c3754c66d2}} +\index{HallService@{HallService}!save@{save}} +\index{save@{save}!HallService@{HallService}} +\doxysubsubsection{\texorpdfstring{save()}{save()}} +{\footnotesize\ttfamily \mbox{\hyperlink{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{Status\+Code}} Hall\+Service\+::save (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} + + + +Saves Halls to a database file. + +Looks for file named \char`\"{}halls\+Databse.\+fmits\char`\"{}, which is just a binary file, and then writes to it with the \char`\"{}write\char`\"{} function in events \mbox{\hyperlink{classList}{List}}. + +\begin{DoxyReturn}{Returns} +E\+\_\+\+File\+Could\+Not\+Be\+Opened {\bfseries{if}} The files couldn\textquotesingle{}t be opened + +Success {\bfseries{otherwise}} +\end{DoxyReturn} + + +The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} +\item +src/\+Services/\mbox{\hyperlink{HallService_8h}{Hall\+Service.\+h}}\item +src/\+Services/Hall\+Service.\+cpp\end{DoxyCompactItemize} diff --git a/docs/latex/classList.eps b/docs/latex/classList.eps new file mode 100644 index 0000000..f3ba9f8 --- /dev/null +++ b/docs/latex/classList.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 338.983063 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.475000 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text 'arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col 'arg1' to 'arg2' of row 'arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(List< T >) cw +(OrderedList< T >) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (List< T >) 0.000000 1.000000 box + (OrderedList< T >) 0.000000 0.000000 box + +% ----- relations ----- + +solid +1 0.000000 0.250000 out +solid +0 0.000000 0.750000 in diff --git a/docs/latex/classList.pdf b/docs/latex/classList.pdf new file mode 100644 index 0000000..d0ee570 --- /dev/null +++ b/docs/latex/classList.pdf @@ -0,0 +1,116 @@ +%PDF-1.5 +%Çì�¢ +%%Invocation: gs -q -dSAFER -dNOPAUSE -dBATCH -dCompatibilityLevel=1.5 -sDEVICE=pdfwrite -sOutputFile=? -dPDFSETTINGS#/prepress -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -dAutoRotatePages#/None - +5 0 obj +<> +stream +xœ•‘¿NÄ0 Æw?…G`0¶“Ô�„� *ä î/ˆ=�îõIÓ–ö8PÇ–íï÷%2 rƸj�qH©âV-Þ%¸~6¬i0Á´…aBP4RÌ%õF S �¯Ÿ7˜ðö2½Á}‚‚’‰wxÌÐá4ý­ªÂ5åñ󜾩“J©®rzzŸÛöàŒ™œö 6lzÁæ^´"BDWQ,FžëÍa³>÷ó‹žØy¢ž4Òå� ¯·,ã-‹Å‘µÈg¢ãùz ý¾P åGÓÙ|^–ú‹Ä†RÇü/’›Ô+StËÊé–=l¯þRé€ Ê |IluUendstream +endobj +6 0 obj +256 +endobj +4 0 obj +<> +/Contents 5 0 R +>> +endobj +3 0 obj +<< /Type /Pages /Kids [ +4 0 R +] /Count 1 +>> +endobj +1 0 obj +<> +endobj +9 0 obj +<> +endobj +7 0 obj +<> +endobj +8 0 obj +<> +endobj +10 0 obj +<>stream +xœ�“PÓuÇ?_¾Û÷û¹œË¤é‘¸í¬³ ÉÙAà�‡W˜iri€€‰è„©Ûp?Ôñ{ÀãÃÉ�­ÆX2uâE'þˆ(Y¨]é¥yTzÕÕ•grýñ|¸uÍ®»ú»ÿžçyß=Ïs¯÷ópHƒ8Ž“eëôZsb¦Q_dx˜¯¢Ë8C—ó¤jnãÜ)UÊ‘ñD&é‹—ü¸|�Aý£`]„$—²5×ûÌŽÌÜU «Ó�e6“®¤Ô¢~^³6I]lSÿ£¨7jͺƒze48¢=d,Ók –×túb«Yý÷Xu¦¶Äz¨ÈôßÚ¿Ýþ_„�Ìd¶dìÓnÓe«×§!”…²Ñ”ˆ^F›�½Š’‡–#ZÅ€$¨ýÊ¥rõ1\LaÌ·|_Ë×óýü8xäp—øiªŸ»=÷-�†^a³»¢ÇÁ`C£—ßìpÚ»”½•^g7ÁÁ^ßàÉ#~]‘Ñš¾Sõ“ètgYKª²lqb�§£ÅKð»{TÌ#ºrŽŒZ,§qö@�Ÿ&÷/þð +¬»±4ö|Ÿ+a¹´VpÖ;›ÄAìîÚ6K»¥ÍLðúÌÜô¬ÐÞ;»T“Nõ™É¡¸=�y›JGf-Ê +¦éŽw¶º£ƒbóºˆ×ÕïÀ±çï5ú—M_�¼qÉ|r[XÅÐ5£¯2HâÞ»|âÀÚ~¥†íãTânÌðÐNs+ �.�SùzŠ^g(¯mp<ܤ©Ååqá�Ø„�r¢0rq$8~RYÝe=\Qg%qû+®ªàìQN�œ¥¿ù¹û³<œŸ{VÁNn:½Õît<¿]t¥WW¥7âcô´x^’š„ü…‡™¢oÒÜõžæ0¦zÑ}³»{º5 +¨)º×ƒÜÀ]8:ÃÓšIEu³ƒ4\Z×5¦¢×¢Œó+tµ[Ê£ŒÛ[ÚHÁg:ìÅ*¦µ¡²®½3ñ9&e+Øã·’€ÿdÄþ”j«ØÚO�KY§ +ÒÐPc¯-?zØn 8eÇ7°$oÝž¸�Ÿ£’Óíöë`�æèjHUìÚPhØJ2Iá�á²m¤!亂aJ¨ÿÌ>d +éûûrÉN’oÓêò‹Ë6’u˜)¿Lñ—¯"€F•lV+º¦O�™"S$hìNÂò¹ýUaúg˜;M�‡?æR,‹Å³'YAbhÍD¦j2ã‡}ß ;!TPpßp7;¢Ê¸žN ¸D2FÆláƒo '¶€l¯Ùt$·ÎTn²XJK l9d7)x»d8oìÀ<™¼7zŸýàbàc‚£†Gïzrvñôì 3Kc¯¿µì½Â–¶†Žæ›@lô°5ÙÒÊ(S¯ÛÛÒIâ‚_n¥èz±ÎþJ޽’9�¢Ìb1ÖÁ�ÀÐ�%`P=ôÞOï�rp|–§yï(ÖµV{›oaÚ>!võ•‡ƒ‚Ò¤óS‚ƒ¥IƒB?p}>Ýxb¾IhN®³§8ñ18'Ê£ïG§h%ýY1¯a>©C¤6$ý]d(„ì’FåÛ—T>éqq^ƒÒ§Dˆ°"aQ±ª‡ætBA�0òÈw F<2Ù×­²…ý9>ç +endstream +endobj +11 0 obj +<>stream + + + + + +2022-05-12T20:19:17+03:00 +2022-05-12T20:19:17+03:00 +Doxygen + +ClassName + + + + + +endstream +endobj +2 0 obj +<>endobj +xref +0 12 +0000000000 65535 f +0000000767 00000 n +0000004058 00000 n +0000000708 00000 n +0000000573 00000 n +0000000228 00000 n +0000000554 00000 n +0000000861 00000 n +0000001210 00000 n +0000000832 00000 n +0000001477 00000 n +0000002748 00000 n +trailer +<< /Size 12 /Root 1 0 R /Info 2 0 R +/ID [<0EF19F22F689AC8E3058E6CE4329811B><0EF19F22F689AC8E3058E6CE4329811B>] +>> +startxref +4229 +%%EOF diff --git a/docs/latex/classList.tex b/docs/latex/classList.tex new file mode 100644 index 0000000..a363eaf --- /dev/null +++ b/docs/latex/classList.tex @@ -0,0 +1,267 @@ +\hypertarget{classList}{}\doxysection{List\texorpdfstring{$<$}{<} T \texorpdfstring{$>$}{>} Class Template Reference} +\label{classList}\index{List$<$ T $>$@{List$<$ T $>$}} + + +Templated class that stores an array of elements in dynamic memory. + + + + +{\ttfamily \#include $<$List.\+hpp$>$} + +Inheritance diagram for List\texorpdfstring{$<$}{<} T \texorpdfstring{$>$}{>}\+:\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2.000000cm]{classList} +\end{center} +\end{figure} +\doxysubsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\mbox{\Hypertarget{classList_a93cd36efc12aa5ef5fc28866edce7e61}\label{classList_a93cd36efc12aa5ef5fc28866edce7e61}} +{\bfseries List} (const T $\ast$elements, unsigned elements\+Count) +\begin{DoxyCompactList}\small\item\em Copies all elements in given array. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classList_abfec4f2e7990d06c143852ecfdf907bb}{add}} (const T \&element) +\begin{DoxyCompactList}\small\item\em Adds an element. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classList_ae4586debf72af33bccb3c2fbfce420e8}{insert\+At}} (const T \&element, unsigned index) +\begin{DoxyCompactList}\small\item\em Inserts element at given index. \end{DoxyCompactList}\item +bool \mbox{\hyperlink{classList_ad9c0a5b5bca6286f458d6fab280de65a}{remove\+At}} (unsigned index) +\begin{DoxyCompactList}\small\item\em Removes element at index. \end{DoxyCompactList}\item +unsigned \mbox{\hyperlink{classList_a3804f03273ef5e339b504e439c5b6534}{find\+Index}} (const T \&element) const +\begin{DoxyCompactList}\small\item\em Finds the index of element. \end{DoxyCompactList}\item +bool \mbox{\hyperlink{classList_a163a070c7d5dc77ca3c1726b8f2d4bc1}{contain}} (const T \&element) const +\item +\mbox{\Hypertarget{classList_a321bb581943398344aad07198d1f02ac}\label{classList_a321bb581943398344aad07198d1f02ac}} +T \& {\bfseries operator\mbox{[}$\,$\mbox{]}} (unsigned index) +\begin{DoxyCompactList}\small\item\em Returns reference to element at index. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classList_a5fa582de3aec5094a871852b658cf853}\label{classList_a5fa582de3aec5094a871852b658cf853}} +const T \& {\bfseries operator\mbox{[}$\,$\mbox{]}} (unsigned index) const +\begin{DoxyCompactList}\small\item\em Returns constant reference to element at index. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classList_aa4332ce5a589da28528f035ded6d41e5}\label{classList_aa4332ce5a589da28528f035ded6d41e5}} +\mbox{\hyperlink{classList}{List}}$<$ T $>$ \& {\bfseries operator+=} (const \mbox{\hyperlink{classList}{List}}$<$ T $>$ other) +\begin{DoxyCompactList}\small\item\em Appends elements from other list. \end{DoxyCompactList}\item +std\+::istream \& \mbox{\hyperlink{classList_a5e3581ee07649f462aa8bb3221a5466e}{read}} (std\+::istream \&istr) +\begin{DoxyCompactList}\small\item\em Reads from stream. \end{DoxyCompactList}\item +std\+::ostream \& \mbox{\hyperlink{classList_a8d2babffd2fb4a5e0a40dbd306e19956}{write}} (std\+::ostream \&ostr) const +\begin{DoxyCompactList}\small\item\em Writes to stream. \end{DoxyCompactList}\item +unsigned \mbox{\hyperlink{classList_aa32109b77dccd8241b125ebabdda876c}{get\+\_\+length}} () const +\begin{DoxyCompactList}\small\item\em Returns the length. \end{DoxyCompactList}\item +unsigned \mbox{\hyperlink{classList_a3c1e3a3fc085f5b7ae68514c4758687b}{get\+\_\+count}} () const +\begin{DoxyCompactList}\small\item\em Returns the count. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classList_a248952759645a68a4a1ea5aa31bc089f}\label{classList_a248952759645a68a4a1ea5aa31bc089f}} +\mbox{\hyperlink{classList}{List}} \& {\bfseries operator=} (const \mbox{\hyperlink{classList}{List}} \&other) +\item +\mbox{\Hypertarget{classList_a43ce719b9dcc8aa532bad580c44e99f6}\label{classList_a43ce719b9dcc8aa532bad580c44e99f6}} +{\bfseries List} (const \mbox{\hyperlink{classList}{List}} \&other) +\item +\mbox{\Hypertarget{classList_a25feb644d97345e4f36bf54c7aab4ade}\label{classList_a25feb644d97345e4f36bf54c7aab4ade}} +{\bfseries List} (\mbox{\hyperlink{classList}{List}} \&\&other) +\item +\mbox{\Hypertarget{classList_a3be35847f78c9fdb37c957eff55c1608}\label{classList_a3be35847f78c9fdb37c957eff55c1608}} +\mbox{\hyperlink{classList}{List}} \& {\bfseries operator=} (\mbox{\hyperlink{classList}{List}} \&\&other) +\end{DoxyCompactItemize} +\doxysubsection*{Protected Member Functions} +\begin{DoxyCompactItemize} +\item +\mbox{\Hypertarget{classList_a302d78384a6516a4d4dede84d4f0968e}\label{classList_a302d78384a6516a4d4dede84d4f0968e}} +void {\bfseries resize} () +\item +\mbox{\Hypertarget{classList_a29cb6681b3f5514f747d04661b08cfd6}\label{classList_a29cb6681b3f5514f747d04661b08cfd6}} +void {\bfseries free} () +\item +\mbox{\Hypertarget{classList_aef2dcec4a271f7ba2f71ef164535e273}\label{classList_aef2dcec4a271f7ba2f71ef164535e273}} +void {\bfseries copy\+From} (const \mbox{\hyperlink{classList}{List}} \&other) +\end{DoxyCompactItemize} +\doxysubsection*{Protected Attributes} +\begin{DoxyCompactItemize} +\item +\mbox{\Hypertarget{classList_ab28a0d67da45b5d3bb755c72105a516c}\label{classList_ab28a0d67da45b5d3bb755c72105a516c}} +T $\ast$ {\bfseries elements} +\item +\mbox{\Hypertarget{classList_af44323f3a486341510ad97b6bceda1be}\label{classList_af44323f3a486341510ad97b6bceda1be}} +unsigned {\bfseries length} +\item +\mbox{\Hypertarget{classList_a66db5f1795dd0530911f32552ddd9815}\label{classList_a66db5f1795dd0530911f32552ddd9815}} +unsigned {\bfseries count} +\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +\subsubsection*{template$<$typename T$>$\newline +class List$<$ T $>$} +Templated class that stores an array of elements in dynamic memory. + +\begin{DoxyWarning}{Warning} +\mbox{\hyperlink{classList_a3804f03273ef5e339b504e439c5b6534}{find\+Index()}}, \mbox{\hyperlink{classList_a163a070c7d5dc77ca3c1726b8f2d4bc1}{contain()}}, \mbox{\hyperlink{classList_a5e3581ee07649f462aa8bb3221a5466e}{read()}}, \mbox{\hyperlink{classList_a8d2babffd2fb4a5e0a40dbd306e19956}{write()}}, operator$<$$<$() and operator$>$$>$() require the type to have defined a couple of functions. +\end{DoxyWarning} +\begin{DoxySeeAlso}{See also} +\mbox{\hyperlink{classList_a3804f03273ef5e339b504e439c5b6534}{find\+Index()}} + +\mbox{\hyperlink{classList_a163a070c7d5dc77ca3c1726b8f2d4bc1}{contain()}} + +\mbox{\hyperlink{classList_a5e3581ee07649f462aa8bb3221a5466e}{read()}} + +\mbox{\hyperlink{classList_a8d2babffd2fb4a5e0a40dbd306e19956}{write()}} + +\mbox{\hyperlink{Date_8h_ad12d4bbc4f7919efdec583d1478a6a76}{operator$<$$<$()}} + +\mbox{\hyperlink{Date_8h_ae020cf1772268f1a43d172d3adfc9797}{operator$>$$>$()}} +\end{DoxySeeAlso} + + +\doxysubsection{Member Function Documentation} +\mbox{\Hypertarget{classList_abfec4f2e7990d06c143852ecfdf907bb}\label{classList_abfec4f2e7990d06c143852ecfdf907bb}} +\index{List$<$ T $>$@{List$<$ T $>$}!add@{add}} +\index{add@{add}!List$<$ T $>$@{List$<$ T $>$}} +\doxysubsubsection{\texorpdfstring{add()}{add()}} +{\footnotesize\ttfamily template$<$typename T $>$ \\ +void \mbox{\hyperlink{classList}{List}}$<$ T $>$\+::add (\begin{DoxyParamCaption}\item[{const T \&}]{element }\end{DoxyParamCaption})} + + + +Adds an element. + +Resizes internal array if there is no space for additional elements. \mbox{\Hypertarget{classList_a163a070c7d5dc77ca3c1726b8f2d4bc1}\label{classList_a163a070c7d5dc77ca3c1726b8f2d4bc1}} +\index{List$<$ T $>$@{List$<$ T $>$}!contain@{contain}} +\index{contain@{contain}!List$<$ T $>$@{List$<$ T $>$}} +\doxysubsubsection{\texorpdfstring{contain()}{contain()}} +{\footnotesize\ttfamily template$<$typename T $>$ \\ +bool \mbox{\hyperlink{classList}{List}}$<$ T $>$\+::contain (\begin{DoxyParamCaption}\item[{const T \&}]{element }\end{DoxyParamCaption}) const} + +\begin{DoxyReturn}{Returns} +Whether the element is contained in the current \mbox{\hyperlink{classList}{List}} +\end{DoxyReturn} +\begin{DoxyWarning}{Warning} +Function depends on \mbox{\hyperlink{classList_a3804f03273ef5e339b504e439c5b6534}{find\+Index()}}, which means the same \char`\"{}compare\char`\"{} function must be defined in the type +\end{DoxyWarning} +\begin{DoxySeeAlso}{See also} +\mbox{\hyperlink{classList_a3804f03273ef5e339b504e439c5b6534}{find\+Index()}} +\end{DoxySeeAlso} +\mbox{\Hypertarget{classList_a3804f03273ef5e339b504e439c5b6534}\label{classList_a3804f03273ef5e339b504e439c5b6534}} +\index{List$<$ T $>$@{List$<$ T $>$}!findIndex@{findIndex}} +\index{findIndex@{findIndex}!List$<$ T $>$@{List$<$ T $>$}} +\doxysubsubsection{\texorpdfstring{findIndex()}{findIndex()}} +{\footnotesize\ttfamily template$<$typename T $>$ \\ +unsigned \mbox{\hyperlink{classList}{List}}$<$ T $>$\+::find\+Index (\begin{DoxyParamCaption}\item[{const T \&}]{element }\end{DoxyParamCaption}) const} + + + +Finds the index of element. + +\begin{DoxyReturn}{Returns} +Index of element. If element isn\textquotesingle{}t found, returns the count of element. +\end{DoxyReturn} +\begin{DoxyWarning}{Warning} +The function depends on the type having a function \char`\"{}compare\char`\"{} defined, which takes two elements and returns a number \texorpdfstring{$<$}{<}0 if elem1 \texorpdfstring{$<$}{<} elem2, \texorpdfstring{$>$}{>}0 if elem1 \texorpdfstring{$>$}{>} elem2, 0 if elem1 == elem2 +\end{DoxyWarning} +\begin{DoxyNote}{Note} +Searching is done linearly +\end{DoxyNote} +\mbox{\Hypertarget{classList_a3c1e3a3fc085f5b7ae68514c4758687b}\label{classList_a3c1e3a3fc085f5b7ae68514c4758687b}} +\index{List$<$ T $>$@{List$<$ T $>$}!get\_count@{get\_count}} +\index{get\_count@{get\_count}!List$<$ T $>$@{List$<$ T $>$}} +\doxysubsubsection{\texorpdfstring{get\_count()}{get\_count()}} +{\footnotesize\ttfamily template$<$typename T $>$ \\ +unsigned \mbox{\hyperlink{classList}{List}}$<$ T $>$\+::get\+\_\+count} + + + +Returns the count. + +Count is the amount of elements that are stored. \mbox{\Hypertarget{classList_aa32109b77dccd8241b125ebabdda876c}\label{classList_aa32109b77dccd8241b125ebabdda876c}} +\index{List$<$ T $>$@{List$<$ T $>$}!get\_length@{get\_length}} +\index{get\_length@{get\_length}!List$<$ T $>$@{List$<$ T $>$}} +\doxysubsubsection{\texorpdfstring{get\_length()}{get\_length()}} +{\footnotesize\ttfamily template$<$typename T $>$ \\ +unsigned \mbox{\hyperlink{classList}{List}}$<$ T $>$\+::get\+\_\+length} + + + +Returns the length. + +Length is the size of the underlying array (allocated memory). \mbox{\Hypertarget{classList_ae4586debf72af33bccb3c2fbfce420e8}\label{classList_ae4586debf72af33bccb3c2fbfce420e8}} +\index{List$<$ T $>$@{List$<$ T $>$}!insertAt@{insertAt}} +\index{insertAt@{insertAt}!List$<$ T $>$@{List$<$ T $>$}} +\doxysubsubsection{\texorpdfstring{insertAt()}{insertAt()}} +{\footnotesize\ttfamily template$<$typename T $>$ \\ +void \mbox{\hyperlink{classList}{List}}$<$ T $>$\+::insert\+At (\begin{DoxyParamCaption}\item[{const T \&}]{element, }\item[{unsigned}]{index }\end{DoxyParamCaption})} + + + +Inserts element at given index. + +If index is after the last element, the element is just added. Otherwise all elements after the index are shifted right and element is put in place. + +Resizes internal array if there is no space for additional elements. \mbox{\Hypertarget{classList_a5e3581ee07649f462aa8bb3221a5466e}\label{classList_a5e3581ee07649f462aa8bb3221a5466e}} +\index{List$<$ T $>$@{List$<$ T $>$}!read@{read}} +\index{read@{read}!List$<$ T $>$@{List$<$ T $>$}} +\doxysubsubsection{\texorpdfstring{read()}{read()}} +{\footnotesize\ttfamily template$<$typename T $>$ \\ +std\+::istream \& \mbox{\hyperlink{classList}{List}}$<$ T $>$\+::read (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{istr }\end{DoxyParamCaption})} + + + +Reads from stream. + + +\begin{DoxyParams}{Parameters} +{\em istr} & An input stream\\ +\hline +\end{DoxyParams} +Directly reads bytes from stream (calls \mbox{\hyperlink{classList_a5e3581ee07649f462aa8bb3221a5466e}{read()}} function). Any stored values are deleted and replaced with those from the stream. + +\begin{DoxyWarning}{Warning} +The function depends on the type having a function \char`\"{}read\char`\"{} defined, which takes an std\+::istream\& and writes it\textquotesingle{}s data to it. Return type doesn\textquotesingle{}t matter. +\end{DoxyWarning} +\begin{DoxyRemark}{Remarks} +Doesn\textquotesingle{}t alter the stream in any other way. +\end{DoxyRemark} +\begin{DoxyNote}{Note} +Best used with binary ifstream +\end{DoxyNote} +\mbox{\Hypertarget{classList_ad9c0a5b5bca6286f458d6fab280de65a}\label{classList_ad9c0a5b5bca6286f458d6fab280de65a}} +\index{List$<$ T $>$@{List$<$ T $>$}!removeAt@{removeAt}} +\index{removeAt@{removeAt}!List$<$ T $>$@{List$<$ T $>$}} +\doxysubsubsection{\texorpdfstring{removeAt()}{removeAt()}} +{\footnotesize\ttfamily template$<$typename T $>$ \\ +bool \mbox{\hyperlink{classList}{List}}$<$ T $>$\+::remove\+At (\begin{DoxyParamCaption}\item[{unsigned}]{index }\end{DoxyParamCaption})} + + + +Removes element at index. + +\begin{DoxyReturn}{Returns} +Wether element could be removed +\end{DoxyReturn} +If index is after that of the last element, nothing is done and false is returned. Otherwise elements after index are shifted right and count is reduced. \mbox{\Hypertarget{classList_a8d2babffd2fb4a5e0a40dbd306e19956}\label{classList_a8d2babffd2fb4a5e0a40dbd306e19956}} +\index{List$<$ T $>$@{List$<$ T $>$}!write@{write}} +\index{write@{write}!List$<$ T $>$@{List$<$ T $>$}} +\doxysubsubsection{\texorpdfstring{write()}{write()}} +{\footnotesize\ttfamily template$<$typename T $>$ \\ +std\+::ostream \& \mbox{\hyperlink{classList}{List}}$<$ T $>$\+::write (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{ostr }\end{DoxyParamCaption}) const} + + + +Writes to stream. + + +\begin{DoxyParams}{Parameters} +{\em ostr} & An output stream\\ +\hline +\end{DoxyParams} +Directly writes bytes to stream (calls \mbox{\hyperlink{classList_a8d2babffd2fb4a5e0a40dbd306e19956}{write()}} function). + +\begin{DoxyWarning}{Warning} +The function depends on the type having a function \char`\"{}write\char`\"{} defined, which takes an std\+::ostream\& and writes it\textquotesingle{}s data to it. Return type doesn\textquotesingle{}t matter. +\end{DoxyWarning} +\begin{DoxyRemark}{Remarks} +Doesn\textquotesingle{}t alter the stream in any other way. +\end{DoxyRemark} +\begin{DoxyNote}{Note} +Best used with binary ofstream +\end{DoxyNote} + + +The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize} +\item +src/\+Generic/\+List/\mbox{\hyperlink{List_8hpp}{List.\+hpp}}\end{DoxyCompactItemize} diff --git a/docs/latex/classMenu.tex b/docs/latex/classMenu.tex new file mode 100644 index 0000000..3157f01 --- /dev/null +++ b/docs/latex/classMenu.tex @@ -0,0 +1,156 @@ +\hypertarget{classMenu}{}\doxysection{Menu Class Reference} +\label{classMenu}\index{Menu@{Menu}} + + +Handles navigation between multiple commands. + + + + +{\ttfamily \#include $<$Menu.\+h$>$} + +\doxysubsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\mbox{\Hypertarget{classMenu_ad466dd83355124a6ed958430450bfe94}\label{classMenu_ad466dd83355124a6ed958430450bfe94}} +{\bfseries Menu} () +\begin{DoxyCompactList}\small\item\em Sets name as \char`\"{}\+Menu\char`\"{}, leaves all flags to false and creates an empty \mbox{\hyperlink{classCommand}{Command}} list. \end{DoxyCompactList}\item +\mbox{\hyperlink{classMenu_aeec919379638ad526df5167ed755a1f3}{Menu}} (const char $\ast$title, bool back\+Exists\+App, bool is\+Sub\+Menu) +\begin{DoxyCompactList}\small\item\em Copies title, saves flags and creates and empty \mbox{\hyperlink{classCommand}{Command}} list. \end{DoxyCompactList}\item +\mbox{\hyperlink{classMenu_a12057ad84f3a9d41bc7092cc2d86c87a}{Menu}} (const char $\ast$title, bool back\+Exists\+App, bool is\+Sub\+Menu, const \mbox{\hyperlink{classCommand}{Command}} $\ast$commands, unsigned command\+Count) +\begin{DoxyCompactList}\small\item\em Copies title, saves flags and copies commands. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classMenu_a1f022cc8b705369073f8fd7b90b30c8d}\label{classMenu_a1f022cc8b705369073f8fd7b90b30c8d}} +void {\bfseries add\+Command} (const \mbox{\hyperlink{classCommand}{Command}} \&command) +\begin{DoxyCompactList}\small\item\em Adds a command to the internal \mbox{\hyperlink{classCommand}{Command}} list. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classMenu_aad506cb9a7f35dea98c60484bb2d095c}{register\+Error}} (const char $\ast$message) const +\begin{DoxyCompactList}\small\item\em Tell \mbox{\hyperlink{classMenu}{Menu}} to show an error message next time it prints. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classMenu_a5350b1addf9bf365351486cd161696ad}{register\+Warning}} (const char $\ast$message) const +\begin{DoxyCompactList}\small\item\em Tell \mbox{\hyperlink{classMenu}{Menu}} to show a warning message next time it prints. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classMenu_a3504e28b5d05e1ad70dada190bbc3a9c}{register\+Success}} (const char $\ast$message) const +\begin{DoxyCompactList}\small\item\em Tell \mbox{\hyperlink{classMenu}{Menu}} to show a success message next time it prints. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classMenu_a0400751da7f8583029b7a12d3003c36d}{navigate}} () const +\begin{DoxyCompactList}\small\item\em Lists commands and after user input executes an appropriate command run() function. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Handles navigation between multiple commands. + +Shows the title, then below it an Error/\+Warning/\+Success message if set, lists all command options as an enumerated list, takes command index and calls the chosen command\textquotesingle{}s run() function. + +\doxysubsection{Constructor \& Destructor Documentation} +\mbox{\Hypertarget{classMenu_aeec919379638ad526df5167ed755a1f3}\label{classMenu_aeec919379638ad526df5167ed755a1f3}} +\index{Menu@{Menu}!Menu@{Menu}} +\index{Menu@{Menu}!Menu@{Menu}} +\doxysubsubsection{\texorpdfstring{Menu()}{Menu()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}} +{\footnotesize\ttfamily Menu\+::\+Menu (\begin{DoxyParamCaption}\item[{const char $\ast$}]{title, }\item[{bool}]{back\+Exists\+App, }\item[{bool}]{is\+Sub\+Menu }\end{DoxyParamCaption})} + + + +Copies title, saves flags and creates and empty \mbox{\hyperlink{classCommand}{Command}} list. + + +\begin{DoxyParams}{Parameters} +{\em title} & C-\/style string, class stores at most 255 characters (last character is always terminating zero) \\ +\hline +{\em back\+Exists\+App} & Flag whether or not to list the 0-\/th option as \char`\"{}\+Exit\char`\"{}, rather than \char`\"{}\+Go Back\char`\"{} \\ +\hline +{\em is\+Sub\+Menu} & Flag whether or not to show the title as a sub\+Title or not \\ +\hline +\end{DoxyParams} +\mbox{\Hypertarget{classMenu_a12057ad84f3a9d41bc7092cc2d86c87a}\label{classMenu_a12057ad84f3a9d41bc7092cc2d86c87a}} +\index{Menu@{Menu}!Menu@{Menu}} +\index{Menu@{Menu}!Menu@{Menu}} +\doxysubsubsection{\texorpdfstring{Menu()}{Menu()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}} +{\footnotesize\ttfamily Menu\+::\+Menu (\begin{DoxyParamCaption}\item[{const char $\ast$}]{title, }\item[{bool}]{back\+Exists\+App, }\item[{bool}]{is\+Sub\+Menu, }\item[{const \mbox{\hyperlink{classCommand}{Command}} $\ast$}]{commands, }\item[{unsigned}]{command\+Count }\end{DoxyParamCaption})} + + + +Copies title, saves flags and copies commands. + + +\begin{DoxyParams}{Parameters} +{\em title} & C-\/style string, class stores at most 255 characters (last character is always terminating zero) \\ +\hline +{\em back\+Exists\+App} & Flag whether or not to list the 0-\/th option as \char`\"{}\+Exit\char`\"{}, rather than \char`\"{}\+Go Back\char`\"{} \\ +\hline +{\em is\+Sub\+Menu} & Flag whether or not to show the title as a sub\+Title or not \\ +\hline +{\em commands} & Pointer to an array of \mbox{\hyperlink{classCommand}{Command}} instances \\ +\hline +{\em command\+Count} & Number of elements that \char`\"{}commands\char`\"{} points to \\ +\hline +\end{DoxyParams} + + +\doxysubsection{Member Function Documentation} +\mbox{\Hypertarget{classMenu_a0400751da7f8583029b7a12d3003c36d}\label{classMenu_a0400751da7f8583029b7a12d3003c36d}} +\index{Menu@{Menu}!navigate@{navigate}} +\index{navigate@{navigate}!Menu@{Menu}} +\doxysubsubsection{\texorpdfstring{navigate()}{navigate()}} +{\footnotesize\ttfamily void Menu\+::navigate (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const} + + + +Lists commands and after user input executes an appropriate command run() function. + +Prints the title, then an Error/\+Warning/\+Sucess message (if set), prints all command names as an ordered list (starting from 1), waits for user input to select one of those commands (by list number) and finally executes the appropriate command\textquotesingle{}s run() function. + +After the run() function exists, everything is reprinted. The 0 list index is always \char`\"{}\+Go Back\char`\"{}/\char`\"{}\+Exit\char`\"{} and it always stops the reprinting loop. + +If there are no commands, prints \char`\"{}\+Menu is empty!\char`\"{}. If user input doesn\textquotesingle{}t correspond to any command, registers an error message and reprints. \mbox{\Hypertarget{classMenu_aad506cb9a7f35dea98c60484bb2d095c}\label{classMenu_aad506cb9a7f35dea98c60484bb2d095c}} +\index{Menu@{Menu}!registerError@{registerError}} +\index{registerError@{registerError}!Menu@{Menu}} +\doxysubsubsection{\texorpdfstring{registerError()}{registerError()}} +{\footnotesize\ttfamily void Menu\+::register\+Error (\begin{DoxyParamCaption}\item[{const char $\ast$}]{message }\end{DoxyParamCaption}) const} + + + +Tell \mbox{\hyperlink{classMenu}{Menu}} to show an error message next time it prints. + + +\begin{DoxyParams}{Parameters} +{\em message} & C-\/style string, saves to pointer for later reuse when showing the message.\\ +\hline +\end{DoxyParams} +Stores the message pointer in a global variable (in the cpp file) and sets it\textquotesingle{}s type as an Error in another global variable (in the cpp file). + +The next time the whole \mbox{\hyperlink{classMenu}{Menu}} is shown, the message will appear below the title. \mbox{\Hypertarget{classMenu_a3504e28b5d05e1ad70dada190bbc3a9c}\label{classMenu_a3504e28b5d05e1ad70dada190bbc3a9c}} +\index{Menu@{Menu}!registerSuccess@{registerSuccess}} +\index{registerSuccess@{registerSuccess}!Menu@{Menu}} +\doxysubsubsection{\texorpdfstring{registerSuccess()}{registerSuccess()}} +{\footnotesize\ttfamily void Menu\+::register\+Success (\begin{DoxyParamCaption}\item[{const char $\ast$}]{message }\end{DoxyParamCaption}) const} + + + +Tell \mbox{\hyperlink{classMenu}{Menu}} to show a success message next time it prints. + + +\begin{DoxyParams}{Parameters} +{\em message} & C-\/style string, saves to pointer for later reuse when showing the message.\\ +\hline +\end{DoxyParams} +Stores the message pointer in a global variable (in the cpp file) and sets it\textquotesingle{}s type as Success in another global variable (in the cpp file). + +The next time the whole \mbox{\hyperlink{classMenu}{Menu}} is shown, the message will appear below the title. \mbox{\Hypertarget{classMenu_a5350b1addf9bf365351486cd161696ad}\label{classMenu_a5350b1addf9bf365351486cd161696ad}} +\index{Menu@{Menu}!registerWarning@{registerWarning}} +\index{registerWarning@{registerWarning}!Menu@{Menu}} +\doxysubsubsection{\texorpdfstring{registerWarning()}{registerWarning()}} +{\footnotesize\ttfamily void Menu\+::register\+Warning (\begin{DoxyParamCaption}\item[{const char $\ast$}]{message }\end{DoxyParamCaption}) const} + + + +Tell \mbox{\hyperlink{classMenu}{Menu}} to show a warning message next time it prints. + + +\begin{DoxyParams}{Parameters} +{\em message} & C-\/style string, saves to pointer for later reuse when showing the message.\\ +\hline +\end{DoxyParams} +Stores the message pointer in a global variable (in the cpp file) and sets it\textquotesingle{}s type as a Warning in another global variable (in the cpp file). + +The next time the whole \mbox{\hyperlink{classMenu}{Menu}} is shown, the message will appear below the title. + +The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} +\item +src/\+Generic/\+Console\+Interface/\mbox{\hyperlink{Menu_8h}{Menu.\+h}}\item +src/\+Generic/\+Console\+Interface/Menu.\+cpp\end{DoxyCompactItemize} diff --git a/docs/latex/classOrderedList.eps b/docs/latex/classOrderedList.eps new file mode 100644 index 0000000..7003121 --- /dev/null +++ b/docs/latex/classOrderedList.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 338.983063 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.475000 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text 'arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col 'arg1' to 'arg2' of row 'arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(OrderedList< T >) cw +(List< T >) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (OrderedList< T >) 0.000000 0.000000 box + (List< T >) 0.000000 1.000000 box + +% ----- relations ----- + +solid +0 0.000000 0.000000 out +solid +1 0.000000 1.000000 in diff --git a/docs/latex/classOrderedList.pdf b/docs/latex/classOrderedList.pdf new file mode 100644 index 0000000..cf2fb6d --- /dev/null +++ b/docs/latex/classOrderedList.pdf @@ -0,0 +1,117 @@ +%PDF-1.5 +%Çì�¢ +%%Invocation: gs -q -dSAFER -dNOPAUSE -dBATCH -dCompatibilityLevel=1.5 -sDEVICE=pdfwrite -sOutputFile=? -dPDFSETTINGS#/prepress -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -dAutoRotatePages#/None - +5 0 obj +<> +stream +xœ•�ÏNÃ0 Æï~ +�ƒqœ¤n$Ä qABƒ¼Áþ´6�öú8mÊ:mÔCl볿_¿=29äòÕwÙãöà†)ÖgÙãS†ûwÅÆ“Du˜70n8”†|Œ }C s7o‡Õú°^½~~ÿ<`ÆÇÛüÏ…Ô�G3y�=Nþœ{ˆÌ¥Ø�…ãH’µçutÔLƒšu²Í\ü�ÜI¢d# Ju€¿¤¾Â)Ž[²…J;µ•Ù»F¨mÎy}’uà•™¼k/ú!J:^šJœ¥1µ±udyîÆ_¿¾R5µ=1 ~óQQh"Vtm²@œ‰$SòóÉù•6w–Ñ/W1uUendstream +endobj +6 0 obj +260 +endobj +4 0 obj +<> +/Contents 5 0 R +>> +endobj +3 0 obj +<< /Type /Pages /Kids [ +4 0 R +] /Count 1 +>> +endobj +1 0 obj +<> +endobj +9 0 obj +<> +endobj +7 0 obj +<> +endobj +8 0 obj +<> +endobj +10 0 obj +<>stream +xœ�“PÓuÇ?_¾Û÷û¹œË¤é‘¸í¬³ ÉÙAà�‡W˜iri€€‰è„©Ûp?Ôñ{ÀãÃÉ�­ÆX2uâE'þˆ(Y¨]é¥yTzÕÕ•grýñ|¸uÍ®»ú»ÿžçyß=Ïs¯÷ópHƒ8Ž“eëôZsb¦Q_dx˜¯¢Ë8C—ó¤jnãÜ)UÊ‘ñD&é‹—ü¸|�Aý£`]„$—²5×ûÌŽÌÜU «Ó�e6“®¤Ô¢~^³6I]lSÿ£¨7jͺƒze48¢=d,Ók –×túb«Yý÷Xu¦¶Äz¨ÈôßÚ¿Ýþ_„�Ìd¶dìÓnÓe«×§!”…²Ñ”ˆ^F›�½Š’‡–#ZÅ€$¨ýÊ¥rõ1\LaÌ·|_Ë×óýü8xäp—øiªŸ»=÷-�†^a³»¢ÇÁ`C£—ßìpÚ»”½•^g7ÁÁ^ßàÉ#~]‘Ñš¾Sõ“ètgYKª²lqb�§£ÅKð»{TÌ#ºrŽŒZ,§qö@�Ÿ&÷/þð +¬»±4ö|Ÿ+a¹´VpÖ;›ÄAìîÚ6K»¥ÍLðúÌÜô¬ÐÞ;»T“Nõ™É¡¸=�y›JGf-Ê +¦éŽw¶º£ƒbóºˆ×ÕïÀ±çï5ú—M_�¼qÉ|r[XÅÐ5£¯2HâÞ»|âÀÚ~¥†íãTânÌðÐNs+ �.�SùzŠ^g(¯mp<ܤ©Ååqá�Ø„�r¢0rq$8~RYÝe=\Qg%qû+®ªàìQN�œ¥¿ù¹û³<œŸ{VÁNn:½Õît<¿]t¥WW¥7âcô´x^’š„ü…‡™¢oÒÜõžæ0¦zÑ}³»{º5 +¨)º×ƒÜÀ]8:ÃÓšIEu³ƒ4\Z×5¦¢×¢Œó+tµ[Ê£ŒÛ[ÚHÁg:ìÅ*¦µ¡²®½3ñ9&e+Øã·’€ÿdÄþ”j«ØÚO�KY§ +ÒÐPc¯-?zØn 8eÇ7°$oÝž¸�Ÿ£’Óíöë`�æèjHUìÚPhØJ2Iá�á²m¤!亂aJ¨ÿÌ>d +éûûrÉN’oÓêò‹Ë6’u˜)¿Lñ—¯"€F•lV+º¦O�™"S$hìNÂò¹ýUaúg˜;M�‡?æR,‹Å³'YAbhÍD¦j2ã‡}ß ;!TPpßp7;¢Ê¸žN ¸D2FÆláƒo '¶€l¯Ùt$·ÎTn²XJK l9d7)x»d8oìÀ<™¼7zŸýàbàc‚£†Gïzrvñôì 3Kc¯¿µì½Â–¶†Žæ›@lô°5ÙÒÊ(S¯ÛÛÒIâ‚_n¥èz±ÎþJ޽’9�¢Ìb1ÖÁ�ÀÐ�%`P=ôÞOï�rp|–§yï(ÖµV{›oaÚ>!võ•‡ƒ‚Ò¤óS‚ƒ¥IƒB?p}>Ýxb¾IhN®³§8ñ18'Ê£ïG§h%ýY1¯a>©C¤6$ý]d(„ì’FåÛ—T>éqq^ƒÒ§Dˆ°"aQ±ª‡ætBA�0òÈw F<2Ù×­²…ý9>ç +endstream +endobj +11 0 obj +<>stream + + + + + +2022-05-12T20:19:17+03:00 +2022-05-12T20:19:17+03:00 +Doxygen + +ClassName + + + + + +endstream +endobj +2 0 obj +<>endobj +xref +0 12 +0000000000 65535 f +0000000771 00000 n +0000004062 00000 n +0000000712 00000 n +0000000577 00000 n +0000000228 00000 n +0000000558 00000 n +0000000865 00000 n +0000001214 00000 n +0000000836 00000 n +0000001481 00000 n +0000002752 00000 n +trailer +<< /Size 12 /Root 1 0 R /Info 2 0 R +/ID [<390CF1C4862214E16A53E7299A120F60><390CF1C4862214E16A53E7299A120F60>] +>> +startxref +4233 +%%EOF diff --git a/docs/latex/classOrderedList.tex b/docs/latex/classOrderedList.tex new file mode 100644 index 0000000..750b447 --- /dev/null +++ b/docs/latex/classOrderedList.tex @@ -0,0 +1,94 @@ +\hypertarget{classOrderedList}{}\doxysection{Ordered\+List\texorpdfstring{$<$}{<} T \texorpdfstring{$>$}{>} Class Template Reference} +\label{classOrderedList}\index{OrderedList$<$ T $>$@{OrderedList$<$ T $>$}} + + +Inherits \mbox{\hyperlink{classList}{List}}, but contains it\textquotesingle{}s elements in a sorted manner. + + + + +{\ttfamily \#include $<$Ordered\+List.\+hpp$>$} + +Inheritance diagram for Ordered\+List\texorpdfstring{$<$}{<} T \texorpdfstring{$>$}{>}\+:\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2.000000cm]{classOrderedList} +\end{center} +\end{figure} +\doxysubsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\mbox{\Hypertarget{classOrderedList_a736559aa9cd4d085e4bc76ae2c751097}\label{classOrderedList_a736559aa9cd4d085e4bc76ae2c751097}} +{\bfseries Ordered\+List} (const T $\ast$elements, unsigned elements\+Count) +\item +void \mbox{\hyperlink{classOrderedList_a8b2748c3cdefe4869e0d7a2fc9b4b2cd}{add}} (T element)=delete +\item +void \mbox{\hyperlink{classOrderedList_a45af729846bacc77fc8292e5d0690f99}{insert\+At}} (T element, unsigned index)=delete +\item +void \mbox{\hyperlink{classOrderedList_a1132cd9c92901e9b9950a4a409b0fc8b}{insert}} (T element) +\begin{DoxyCompactList}\small\item\em Inserts an element at a sorted position. \end{DoxyCompactList}\end{DoxyCompactItemize} +\doxysubsection*{Additional Inherited Members} + + +\doxysubsection{Detailed Description} +\subsubsection*{template$<$typename T$>$\newline +class Ordered\+List$<$ T $>$} +Inherits \mbox{\hyperlink{classList}{List}}, but contains it\textquotesingle{}s elements in a sorted manner. + +\begin{DoxyWarning}{Warning} +Outside those defined in \mbox{\hyperlink{classList}{List}}, \mbox{\hyperlink{classOrderedList_a1132cd9c92901e9b9950a4a409b0fc8b}{insert()}} requires the type to have defined a \char`\"{}compare\char`\"{} of functions. +\end{DoxyWarning} +\begin{DoxySeeAlso}{See also} +\mbox{\hyperlink{classOrderedList_a1132cd9c92901e9b9950a4a409b0fc8b}{insert()}} +\end{DoxySeeAlso} + + +\doxysubsection{Member Function Documentation} +\mbox{\Hypertarget{classOrderedList_a8b2748c3cdefe4869e0d7a2fc9b4b2cd}\label{classOrderedList_a8b2748c3cdefe4869e0d7a2fc9b4b2cd}} +\index{OrderedList$<$ T $>$@{OrderedList$<$ T $>$}!add@{add}} +\index{add@{add}!OrderedList$<$ T $>$@{OrderedList$<$ T $>$}} +\doxysubsubsection{\texorpdfstring{add()}{add()}} +{\footnotesize\ttfamily template$<$typename T $>$ \\ +void \mbox{\hyperlink{classOrderedList}{Ordered\+List}}$<$ T $>$\+::add (\begin{DoxyParamCaption}\item[{T}]{element }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [delete]}} + +\begin{DoxyWarning}{Warning} +Function is deleted, use \mbox{\hyperlink{classOrderedList_a1132cd9c92901e9b9950a4a409b0fc8b}{insert()}} instead +\end{DoxyWarning} +\begin{DoxySeeAlso}{See also} +\mbox{\hyperlink{classOrderedList_a1132cd9c92901e9b9950a4a409b0fc8b}{insert()}} +\end{DoxySeeAlso} +\mbox{\Hypertarget{classOrderedList_a1132cd9c92901e9b9950a4a409b0fc8b}\label{classOrderedList_a1132cd9c92901e9b9950a4a409b0fc8b}} +\index{OrderedList$<$ T $>$@{OrderedList$<$ T $>$}!insert@{insert}} +\index{insert@{insert}!OrderedList$<$ T $>$@{OrderedList$<$ T $>$}} +\doxysubsubsection{\texorpdfstring{insert()}{insert()}} +{\footnotesize\ttfamily template$<$typename T $>$ \\ +void \mbox{\hyperlink{classOrderedList}{Ordered\+List}}$<$ T $>$\+::insert (\begin{DoxyParamCaption}\item[{T}]{element }\end{DoxyParamCaption})} + + + +Inserts an element at a sorted position. + +\begin{DoxyWarning}{Warning} +The function depends on the type having a function \char`\"{}compare\char`\"{} defined, which takes two elements and returns a number \texorpdfstring{$<$}{<}0 if elem1 \texorpdfstring{$<$}{<} elem2, \texorpdfstring{$>$}{>}0 if elem1 \texorpdfstring{$>$}{>} elem2, 0 if elem1 == elem2 +\end{DoxyWarning} +\begin{DoxyNote}{Note} +Insertion is done linearly +\end{DoxyNote} +\mbox{\Hypertarget{classOrderedList_a45af729846bacc77fc8292e5d0690f99}\label{classOrderedList_a45af729846bacc77fc8292e5d0690f99}} +\index{OrderedList$<$ T $>$@{OrderedList$<$ T $>$}!insertAt@{insertAt}} +\index{insertAt@{insertAt}!OrderedList$<$ T $>$@{OrderedList$<$ T $>$}} +\doxysubsubsection{\texorpdfstring{insertAt()}{insertAt()}} +{\footnotesize\ttfamily template$<$typename T $>$ \\ +void \mbox{\hyperlink{classOrderedList}{Ordered\+List}}$<$ T $>$\+::insert\+At (\begin{DoxyParamCaption}\item[{T}]{element, }\item[{unsigned}]{index }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [delete]}} + +\begin{DoxyWarning}{Warning} +Function is deleted, use \mbox{\hyperlink{classOrderedList_a1132cd9c92901e9b9950a4a409b0fc8b}{insert()}} instead +\end{DoxyWarning} +\begin{DoxySeeAlso}{See also} +\mbox{\hyperlink{classOrderedList_a1132cd9c92901e9b9950a4a409b0fc8b}{insert()}} +\end{DoxySeeAlso} + + +The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize} +\item +src/\+Generic/\+List/\mbox{\hyperlink{OrderedList_8hpp}{Ordered\+List.\+hpp}}\end{DoxyCompactItemize} diff --git a/docs/latex/classReservation.tex b/docs/latex/classReservation.tex new file mode 100644 index 0000000..ffe6aaa --- /dev/null +++ b/docs/latex/classReservation.tex @@ -0,0 +1,149 @@ +\hypertarget{classReservation}{}\doxysection{Reservation Class Reference} +\label{classReservation}\index{Reservation@{Reservation}} + + +Each Reservations contains a ticket, a password and a note. + + + + +{\ttfamily \#include $<$Reservation.\+h$>$} + +\doxysubsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\mbox{\Hypertarget{classReservation_a63b283053695e6f50fa44c50da2b3de5}\label{classReservation_a63b283053695e6f50fa44c50da2b3de5}} +{\bfseries Reservation} () +\begin{DoxyCompactList}\small\item\em Sets ticket as default value and leaves password and note blank. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classReservation_a7320a032f87c7d45cf287a146c73695c}\label{classReservation_a7320a032f87c7d45cf287a146c73695c}} +{\bfseries Reservation} (const \mbox{\hyperlink{classTicket}{Ticket}} \&ticket) +\begin{DoxyCompactList}\small\item\em Sets ticket and leaves password and note blank. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classReservation_ac6fdecd9bc06f3de2e28129ab370f4f7}\label{classReservation_ac6fdecd9bc06f3de2e28129ab370f4f7}} +{\bfseries Reservation} (const \mbox{\hyperlink{classTicket}{Ticket}} \&ticket, const char $\ast$password, const char $\ast$note) +\begin{DoxyCompactList}\small\item\em Sets ticket, password and note. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classReservation_af1b95b3d7c46f506dec4d275d6821cdb}\label{classReservation_af1b95b3d7c46f506dec4d275d6821cdb}} +const \mbox{\hyperlink{classTicket}{Ticket}} \& {\bfseries get\+\_\+ticket} () const +\begin{DoxyCompactList}\small\item\em Returns constant reference to ticket. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classReservation_aa34cd16a057a4a483e569ec5d7527ad9}\label{classReservation_aa34cd16a057a4a483e569ec5d7527ad9}} +const char $\ast$ {\bfseries get\+\_\+password} () const +\begin{DoxyCompactList}\small\item\em Returns constant C-\/style string to password. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classReservation_a2285881510bf07f469bf360bb1050f12}\label{classReservation_a2285881510bf07f469bf360bb1050f12}} +const char $\ast$ {\bfseries get\+\_\+note} () const +\begin{DoxyCompactList}\small\item\em Returns constant C-\/style string to note. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classReservation_a03f0d1a522edb2c5fba7538f0c879573}{read}} (std\+::istream \&istr) +\begin{DoxyCompactList}\small\item\em Reads \mbox{\hyperlink{classReservation}{Reservation}} from stream. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classReservation_a1aba46b8e181750bd89fdfca6ff8ba32}{write}} (std\+::ostream \&ostr) const +\begin{DoxyCompactList}\small\item\em Writes \mbox{\hyperlink{classReservation}{Reservation}} to stream. \end{DoxyCompactList}\item +int \mbox{\hyperlink{classReservation_a31cc66beeaf85befe2185dfc88086d38}{compare}} (const \mbox{\hyperlink{classReservation}{Reservation}} \&other) const +\begin{DoxyCompactList}\small\item\em Compares two Reservations. \end{DoxyCompactList}\end{DoxyCompactItemize} +\doxysubsection*{Friends} +\begin{DoxyCompactItemize} +\item +std\+::istream \& \mbox{\hyperlink{classReservation_a2b7331e532f77bbc67eab217bfeb1f25}{operator$>$$>$}} (std\+::istream \&istr, \mbox{\hyperlink{classReservation}{Reservation}} \&reservation) +\begin{DoxyCompactList}\small\item\em Reads \mbox{\hyperlink{classReservation}{Reservation}} from stream with \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} operator. \end{DoxyCompactList}\item +std\+::ostream \& \mbox{\hyperlink{classReservation_abf734c0a55da55ef89dab1e2f12b8ebd}{operator$<$$<$}} (std\+::ostream \&ostr, const \mbox{\hyperlink{classReservation}{Reservation}} \&reservation) +\begin{DoxyCompactList}\small\item\em Writes \mbox{\hyperlink{classReservation}{Reservation}} to stream with \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Each Reservations contains a ticket, a password and a note. + +\doxysubsection{Member Function Documentation} +\mbox{\Hypertarget{classReservation_a31cc66beeaf85befe2185dfc88086d38}\label{classReservation_a31cc66beeaf85befe2185dfc88086d38}} +\index{Reservation@{Reservation}!compare@{compare}} +\index{compare@{compare}!Reservation@{Reservation}} +\doxysubsubsection{\texorpdfstring{compare()}{compare()}} +{\footnotesize\ttfamily int Reservation\+::compare (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classReservation}{Reservation}} \&}]{other }\end{DoxyParamCaption}) const} + + + +Compares two Reservations. + +\begin{DoxyReturn}{Returns} +Compares tickets +\end{DoxyReturn} +\mbox{\Hypertarget{classReservation_a03f0d1a522edb2c5fba7538f0c879573}\label{classReservation_a03f0d1a522edb2c5fba7538f0c879573}} +\index{Reservation@{Reservation}!read@{read}} +\index{read@{read}!Reservation@{Reservation}} +\doxysubsubsection{\texorpdfstring{read()}{read()}} +{\footnotesize\ttfamily void Reservation\+::read (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{istr }\end{DoxyParamCaption})} + + + +Reads \mbox{\hyperlink{classReservation}{Reservation}} from stream. + + +\begin{DoxyParams}{Parameters} +{\em istr} & An input stream\\ +\hline +\end{DoxyParams} +Directly reads bytes from stream (calls \mbox{\hyperlink{classReservation_a03f0d1a522edb2c5fba7538f0c879573}{read()}} function). Uses ticket\textquotesingle{}s \mbox{\hyperlink{classReservation_a03f0d1a522edb2c5fba7538f0c879573}{read()}} function. + +\begin{DoxyRemark}{Remarks} +Doesn\textquotesingle{}t alter the stream in any other way. +\end{DoxyRemark} +\begin{DoxyNote}{Note} +Best used with binary ifstream +\end{DoxyNote} +\mbox{\Hypertarget{classReservation_a1aba46b8e181750bd89fdfca6ff8ba32}\label{classReservation_a1aba46b8e181750bd89fdfca6ff8ba32}} +\index{Reservation@{Reservation}!write@{write}} +\index{write@{write}!Reservation@{Reservation}} +\doxysubsubsection{\texorpdfstring{write()}{write()}} +{\footnotesize\ttfamily void Reservation\+::write (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{ostr }\end{DoxyParamCaption}) const} + + + +Writes \mbox{\hyperlink{classReservation}{Reservation}} to stream. + + +\begin{DoxyParams}{Parameters} +{\em ostr} & An output stream\\ +\hline +\end{DoxyParams} +Directly writes bytes to stream (calls \mbox{\hyperlink{classReservation_a1aba46b8e181750bd89fdfca6ff8ba32}{write()}} function). Uses ticket\textquotesingle{}s \mbox{\hyperlink{classReservation_a1aba46b8e181750bd89fdfca6ff8ba32}{write()}} function. + +\begin{DoxyRemark}{Remarks} +Doesn\textquotesingle{}t alter the stream in any other way. +\end{DoxyRemark} +\begin{DoxyNote}{Note} +Best used with binary ofstream +\end{DoxyNote} + + +\doxysubsection{Friends And Related Function Documentation} +\mbox{\Hypertarget{classReservation_abf734c0a55da55ef89dab1e2f12b8ebd}\label{classReservation_abf734c0a55da55ef89dab1e2f12b8ebd}} +\index{Reservation@{Reservation}!operator$<$$<$@{operator$<$$<$}} +\index{operator$<$$<$@{operator$<$$<$}!Reservation@{Reservation}} +\doxysubsubsection{\texorpdfstring{operator$<$$<$}{operator<<}} +{\footnotesize\ttfamily std\+::ostream \& operator$<$$<$ (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{ostr, }\item[{const \mbox{\hyperlink{classReservation}{Reservation}} \&}]{reservation }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [friend]}} + + + +Writes \mbox{\hyperlink{classReservation}{Reservation}} to stream with \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator. + +Uses the stream\textquotesingle{}s \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator to write the ticket only. + +\begin{DoxyNote}{Note} +Best used with std\+::cout or text std\+::ofstream +\end{DoxyNote} +\mbox{\Hypertarget{classReservation_a2b7331e532f77bbc67eab217bfeb1f25}\label{classReservation_a2b7331e532f77bbc67eab217bfeb1f25}} +\index{Reservation@{Reservation}!operator$>$$>$@{operator$>$$>$}} +\index{operator$>$$>$@{operator$>$$>$}!Reservation@{Reservation}} +\doxysubsubsection{\texorpdfstring{operator$>$$>$}{operator>>}} +{\footnotesize\ttfamily std\+::istream \& operator$>$$>$ (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{istr, }\item[{\mbox{\hyperlink{classReservation}{Reservation}} \&}]{reservation }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [friend]}} + + + +Reads \mbox{\hyperlink{classReservation}{Reservation}} from stream with \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} operator. + +Uses the stream\textquotesingle{}s \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} operator to read and parse the ticket. Password and note are left blank. + +\begin{DoxyNote}{Note} +Best used with std\+::cin or text std\+::ifstream +\end{DoxyNote} + + +The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} +\item +src/\+Models/\mbox{\hyperlink{Reservation_8h}{Reservation.\+h}}\item +src/\+Models/Reservation.\+cpp\end{DoxyCompactItemize} diff --git a/docs/latex/classString.tex b/docs/latex/classString.tex new file mode 100644 index 0000000..d0d0396 --- /dev/null +++ b/docs/latex/classString.tex @@ -0,0 +1,194 @@ +\hypertarget{classString}{}\doxysection{String Class Reference} +\label{classString}\index{String@{String}} +\doxysubsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\mbox{\hyperlink{classString_ad3d65397e27bb3c4db1295208cfb1559}{String}} (unsigned length) +\begin{DoxyCompactList}\small\item\em The underlying array is allocated with length (+ 1) size. \end{DoxyCompactList}\item +\mbox{\hyperlink{classString_a3fba40cf6cb11735ffddc355a5ff68f4}{String}} (const char $\ast$str) +\begin{DoxyCompactList}\small\item\em Copies str. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classString_a3d7f953737f3d4dca72d1cc4836f7dcc}\label{classString_a3d7f953737f3d4dca72d1cc4836f7dcc}} +const char $\ast$ {\bfseries get\+\_\+cstr} () const +\begin{DoxyCompactList}\small\item\em Returns internal C-\/style string. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classString_a7793a7e9a7601d4c724dcc85566259bf}\label{classString_a7793a7e9a7601d4c724dcc85566259bf}} +unsigned {\bfseries get\+\_\+length} () const +\begin{DoxyCompactList}\small\item\em Returns number of characters in string. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classString_a5d3b77a51619a8580a373d2cd1092a54}\label{classString_a5d3b77a51619a8580a373d2cd1092a54}} +char \& {\bfseries operator\mbox{[}$\,$\mbox{]}} (unsigned index) +\begin{DoxyCompactList}\small\item\em Returns a character reference (from the underlying C-\/style string) at the given index. \end{DoxyCompactList}\item +\mbox{\hyperlink{classString}{String}} \& \mbox{\hyperlink{classString_a64de9ab1af5df9397f8fbd8c79d5f4b6}{operator+=}} (const char $\ast$str) +\begin{DoxyCompactList}\small\item\em Appends a C-\/style string. \end{DoxyCompactList}\item +\mbox{\hyperlink{classString}{String}} \& \mbox{\hyperlink{classString_aed8480111703abc1f281148c778b0445}{operator+=}} (unsigned number) +\begin{DoxyCompactList}\small\item\em Appends a number. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classString_afc158dffcdf56e601bd640cbacdfcd3c}\label{classString_afc158dffcdf56e601bd640cbacdfcd3c}} +{\bfseries String} (const \mbox{\hyperlink{classString}{String}} \&other) +\item +\mbox{\Hypertarget{classString_a734f34a0b7a42bcad30c368d6e8c5469}\label{classString_a734f34a0b7a42bcad30c368d6e8c5469}} +\mbox{\hyperlink{classString}{String}} \& {\bfseries operator=} (const \mbox{\hyperlink{classString}{String}} \&other) +\item +\mbox{\Hypertarget{classString_a553fcc11563b3d0f5c020309e8b68843}\label{classString_a553fcc11563b3d0f5c020309e8b68843}} +{\bfseries String} (\mbox{\hyperlink{classString}{String}} \&\&other) +\item +\mbox{\Hypertarget{classString_a3c0ede83ee25c89959a0c4369166d98a}\label{classString_a3c0ede83ee25c89959a0c4369166d98a}} +\mbox{\hyperlink{classString}{String}} \& {\bfseries operator=} (\mbox{\hyperlink{classString}{String}} \&\&other) +\item +void \mbox{\hyperlink{classString_ad76bb9eca15651c67332808cdaad6344}{read}} (std\+::istream \&istr) +\begin{DoxyCompactList}\small\item\em Reads \mbox{\hyperlink{classString}{String}} from stream. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classString_a7b0ea809587c21bc1d2b87bfee53e628}{write}} (std\+::ostream \&ostr) const +\begin{DoxyCompactList}\small\item\em Writes \mbox{\hyperlink{classString}{String}} to stream. \end{DoxyCompactList}\item +int \mbox{\hyperlink{classString_a3f420d69fbe3de91711dc69148d23cc7}{compare}} (const \mbox{\hyperlink{classString}{String}} \&other) const +\begin{DoxyCompactList}\small\item\em Compares two strings. \end{DoxyCompactList}\end{DoxyCompactItemize} +\doxysubsection*{Friends} +\begin{DoxyCompactItemize} +\item +std\+::istream \& \mbox{\hyperlink{classString_a1918adea635f3f340dbecd6fb05341f8}{operator$>$$>$}} (std\+::istream \&istr, \mbox{\hyperlink{classString}{String}} \&event) +\begin{DoxyCompactList}\small\item\em Reads \mbox{\hyperlink{classString}{String}} from stream with \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} operator. \end{DoxyCompactList}\item +std\+::ostream \& \mbox{\hyperlink{classString_aa00d824f40064ff356aa7c15d6a9da12}{operator$<$$<$}} (std\+::ostream \&ostr, const \mbox{\hyperlink{classString}{String}} \&event) +\begin{DoxyCompactList}\small\item\em Writes \mbox{\hyperlink{classString}{String}} to stream with \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Constructor \& Destructor Documentation} +\mbox{\Hypertarget{classString_ad3d65397e27bb3c4db1295208cfb1559}\label{classString_ad3d65397e27bb3c4db1295208cfb1559}} +\index{String@{String}!String@{String}} +\index{String@{String}!String@{String}} +\doxysubsubsection{\texorpdfstring{String()}{String()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}} +{\footnotesize\ttfamily String\+::\+String (\begin{DoxyParamCaption}\item[{unsigned}]{length }\end{DoxyParamCaption})} + + + +The underlying array is allocated with length (+ 1) size. + +Allocated with length + 1 size, so there is a terminating zero at the end. \mbox{\Hypertarget{classString_a3fba40cf6cb11735ffddc355a5ff68f4}\label{classString_a3fba40cf6cb11735ffddc355a5ff68f4}} +\index{String@{String}!String@{String}} +\index{String@{String}!String@{String}} +\doxysubsubsection{\texorpdfstring{String()}{String()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}} +{\footnotesize\ttfamily String\+::\+String (\begin{DoxyParamCaption}\item[{const char $\ast$}]{str }\end{DoxyParamCaption})} + + + +Copies str. + +\textbackslash{}params str C-\/style string + +\doxysubsection{Member Function Documentation} +\mbox{\Hypertarget{classString_a3f420d69fbe3de91711dc69148d23cc7}\label{classString_a3f420d69fbe3de91711dc69148d23cc7}} +\index{String@{String}!compare@{compare}} +\index{compare@{compare}!String@{String}} +\doxysubsubsection{\texorpdfstring{compare()}{compare()}} +{\footnotesize\ttfamily int String\+::compare (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classString}{String}} \&}]{other }\end{DoxyParamCaption}) const} + + + +Compares two strings. + +\textbackslash{}params other C-\/style string \begin{DoxyReturn}{Returns} +strcmp between underlying C-\/style string and \char`\"{}other\char`\"{} +\end{DoxyReturn} +\mbox{\Hypertarget{classString_a64de9ab1af5df9397f8fbd8c79d5f4b6}\label{classString_a64de9ab1af5df9397f8fbd8c79d5f4b6}} +\index{String@{String}!operator+=@{operator+=}} +\index{operator+=@{operator+=}!String@{String}} +\doxysubsubsection{\texorpdfstring{operator+=()}{operator+=()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}} +{\footnotesize\ttfamily \mbox{\hyperlink{classString}{String}} \& String\+::operator+= (\begin{DoxyParamCaption}\item[{const char $\ast$}]{str }\end{DoxyParamCaption})} + + + +Appends a C-\/style string. + +\textbackslash{}params str C-\/style string \mbox{\Hypertarget{classString_aed8480111703abc1f281148c778b0445}\label{classString_aed8480111703abc1f281148c778b0445}} +\index{String@{String}!operator+=@{operator+=}} +\index{operator+=@{operator+=}!String@{String}} +\doxysubsubsection{\texorpdfstring{operator+=()}{operator+=()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}} +{\footnotesize\ttfamily \mbox{\hyperlink{classString}{String}} \& String\+::operator+= (\begin{DoxyParamCaption}\item[{unsigned}]{number }\end{DoxyParamCaption})} + + + +Appends a number. + +Converts the number to a C-\/style string and then uses += to append it. \mbox{\Hypertarget{classString_ad76bb9eca15651c67332808cdaad6344}\label{classString_ad76bb9eca15651c67332808cdaad6344}} +\index{String@{String}!read@{read}} +\index{read@{read}!String@{String}} +\doxysubsubsection{\texorpdfstring{read()}{read()}} +{\footnotesize\ttfamily void String\+::read (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{istr }\end{DoxyParamCaption})} + + + +Reads \mbox{\hyperlink{classString}{String}} from stream. + + +\begin{DoxyParams}{Parameters} +{\em istr} & An input stream\\ +\hline +\end{DoxyParams} +Directly reads bytes from stream (calls \mbox{\hyperlink{classString_ad76bb9eca15651c67332808cdaad6344}{read()}} function). First reads the string length, then the underlying C-\/style string (including terminating zero). + +\begin{DoxyRemark}{Remarks} +Doesn\textquotesingle{}t alter the stream in any other way. +\end{DoxyRemark} +\begin{DoxyNote}{Note} +Best used with binary ifstream +\end{DoxyNote} +\mbox{\Hypertarget{classString_a7b0ea809587c21bc1d2b87bfee53e628}\label{classString_a7b0ea809587c21bc1d2b87bfee53e628}} +\index{String@{String}!write@{write}} +\index{write@{write}!String@{String}} +\doxysubsubsection{\texorpdfstring{write()}{write()}} +{\footnotesize\ttfamily void String\+::write (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{ostr }\end{DoxyParamCaption}) const} + + + +Writes \mbox{\hyperlink{classString}{String}} to stream. + + +\begin{DoxyParams}{Parameters} +{\em ostr} & An output stream\\ +\hline +\end{DoxyParams} +Directly writes bytes to stream (calls \mbox{\hyperlink{classString_a7b0ea809587c21bc1d2b87bfee53e628}{write()}} function). First writes the string length, then the underlying C-\/style string (including terminating zero). + +\begin{DoxyRemark}{Remarks} +Doesn\textquotesingle{}t alter the stream in any other way. +\end{DoxyRemark} +\begin{DoxyNote}{Note} +Best used with binary ofstream +\end{DoxyNote} + + +\doxysubsection{Friends And Related Function Documentation} +\mbox{\Hypertarget{classString_aa00d824f40064ff356aa7c15d6a9da12}\label{classString_aa00d824f40064ff356aa7c15d6a9da12}} +\index{String@{String}!operator$<$$<$@{operator$<$$<$}} +\index{operator$<$$<$@{operator$<$$<$}!String@{String}} +\doxysubsubsection{\texorpdfstring{operator$<$$<$}{operator<<}} +{\footnotesize\ttfamily std\+::ostream \& operator$<$$<$ (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{ostr, }\item[{const \mbox{\hyperlink{classString}{String}} \&}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [friend]}} + + + +Writes \mbox{\hyperlink{classString}{String}} to stream with \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator. + +Uses the stream\textquotesingle{}s \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} operator to write the underlying C-\/style string + +\begin{DoxyNote}{Note} +Best used with std\+::cout or text std\+::ofstream +\end{DoxyNote} +\mbox{\Hypertarget{classString_a1918adea635f3f340dbecd6fb05341f8}\label{classString_a1918adea635f3f340dbecd6fb05341f8}} +\index{String@{String}!operator$>$$>$@{operator$>$$>$}} +\index{operator$>$$>$@{operator$>$$>$}!String@{String}} +\doxysubsubsection{\texorpdfstring{operator$>$$>$}{operator>>}} +{\footnotesize\ttfamily std\+::istream \& operator$>$$>$ (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{istr, }\item[{\mbox{\hyperlink{classString}{String}} \&}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [friend]}} + + + +Reads \mbox{\hyperlink{classString}{String}} from stream with \texorpdfstring{$>$}{>}\texorpdfstring{$>$}{>} operator. + +Uses the stream\textquotesingle{}s getline function to read the data. + +\begin{DoxyWarning}{Warning} +It takes at most 1024 characters from the stream! +\end{DoxyWarning} +\begin{DoxyNote}{Note} +Best used with std\+::cin or text std\+::ifstream +\end{DoxyNote} + + +The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} +\item +src/\+Generic/\+String/\mbox{\hyperlink{String_8h}{String.\+h}}\item +src/\+Generic/\+String/String.\+cpp\end{DoxyCompactItemize} diff --git a/docs/latex/classTicket.tex b/docs/latex/classTicket.tex new file mode 100644 index 0000000..69d709f --- /dev/null +++ b/docs/latex/classTicket.tex @@ -0,0 +1,103 @@ +\hypertarget{classTicket}{}\doxysection{Ticket Class Reference} +\label{classTicket}\index{Ticket@{Ticket}} + + +Each \mbox{\hyperlink{classTicket}{Ticket}} contains a row and a seat number. + + + + +{\ttfamily \#include $<$Ticket.\+h$>$} + +\doxysubsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\mbox{\Hypertarget{classTicket_aba3a46c9223efb6ab0bde93a09403537}\label{classTicket_aba3a46c9223efb6ab0bde93a09403537}} +{\bfseries Ticket} () +\begin{DoxyCompactList}\small\item\em Sets row and seat to zeroes. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classTicket_a6fa09371f1b70520b96dbb9ac9a71768}\label{classTicket_a6fa09371f1b70520b96dbb9ac9a71768}} +{\bfseries Ticket} (unsigned row, unsigned seat) +\begin{DoxyCompactList}\small\item\em Sets row and seat. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classTicket_a94476de3cd6711185527d0fe4df9a278}\label{classTicket_a94476de3cd6711185527d0fe4df9a278}} +unsigned {\bfseries get\+\_\+row} () const +\begin{DoxyCompactList}\small\item\em Returns row. \end{DoxyCompactList}\item +\mbox{\Hypertarget{classTicket_af7b64cb77a676d0f7bdb32255283f005}\label{classTicket_af7b64cb77a676d0f7bdb32255283f005}} +unsigned {\bfseries get\+\_\+seat} () const +\begin{DoxyCompactList}\small\item\em Returns seat. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classTicket_aad2d0b7b92b54ec861db92c31f50f4ad}{read}} (std\+::istream \&istr) +\begin{DoxyCompactList}\small\item\em Reads \mbox{\hyperlink{classTicket}{Ticket}} from stram. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classTicket_a584a11f6236fc96f3bdbd0592d3f60f4}{write}} (std\+::ostream \&ostr) const +\begin{DoxyCompactList}\small\item\em Writes \mbox{\hyperlink{classTicket}{Ticket}} to stream. \end{DoxyCompactList}\item +int \mbox{\hyperlink{classTicket_a82a063f71be89f44dd969970855187c4}{compare}} (const \mbox{\hyperlink{classTicket}{Ticket}} \&other) const +\begin{DoxyCompactList}\small\item\em Compares two Tickets. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Each \mbox{\hyperlink{classTicket}{Ticket}} contains a row and a seat number. + +\doxysubsection{Member Function Documentation} +\mbox{\Hypertarget{classTicket_a82a063f71be89f44dd969970855187c4}\label{classTicket_a82a063f71be89f44dd969970855187c4}} +\index{Ticket@{Ticket}!compare@{compare}} +\index{compare@{compare}!Ticket@{Ticket}} +\doxysubsubsection{\texorpdfstring{compare()}{compare()}} +{\footnotesize\ttfamily int Ticket\+::compare (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classTicket}{Ticket}} \&}]{other }\end{DoxyParamCaption}) const} + + + +Compares two Tickets. + +\begin{DoxyReturn}{Returns} +If rows are equal, -\/1 if seat \texorpdfstring{$<$}{<} other.\+seat, 1 if seat \texorpdfstring{$>$}{>} other.\+seat, 0 if seat == other.\+seat, else the same, but for rows +\end{DoxyReturn} +\mbox{\Hypertarget{classTicket_aad2d0b7b92b54ec861db92c31f50f4ad}\label{classTicket_aad2d0b7b92b54ec861db92c31f50f4ad}} +\index{Ticket@{Ticket}!read@{read}} +\index{read@{read}!Ticket@{Ticket}} +\doxysubsubsection{\texorpdfstring{read()}{read()}} +{\footnotesize\ttfamily void Ticket\+::read (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{istr }\end{DoxyParamCaption})} + + + +Reads \mbox{\hyperlink{classTicket}{Ticket}} from stram. + + +\begin{DoxyParams}{Parameters} +{\em istr} & An input stream\\ +\hline +\end{DoxyParams} +Directly reads bytes from stream (calls \mbox{\hyperlink{classTicket_aad2d0b7b92b54ec861db92c31f50f4ad}{read()}} function). + +\begin{DoxyRemark}{Remarks} +Doesn\textquotesingle{}t alter the stream in any other way. +\end{DoxyRemark} +\begin{DoxyNote}{Note} +Best used with binary ifstream +\end{DoxyNote} +\mbox{\Hypertarget{classTicket_a584a11f6236fc96f3bdbd0592d3f60f4}\label{classTicket_a584a11f6236fc96f3bdbd0592d3f60f4}} +\index{Ticket@{Ticket}!write@{write}} +\index{write@{write}!Ticket@{Ticket}} +\doxysubsubsection{\texorpdfstring{write()}{write()}} +{\footnotesize\ttfamily void Ticket\+::write (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{ostr }\end{DoxyParamCaption}) const} + + + +Writes \mbox{\hyperlink{classTicket}{Ticket}} to stream. + + +\begin{DoxyParams}{Parameters} +{\em ostr} & An output stream\\ +\hline +\end{DoxyParams} +Directly writes bytes to stream (calls \mbox{\hyperlink{classTicket_a584a11f6236fc96f3bdbd0592d3f60f4}{write()}} function). + +\begin{DoxyRemark}{Remarks} +Doesn\textquotesingle{}t alter the stream in any other way. +\end{DoxyRemark} +\begin{DoxyNote}{Note} +Best used with binary ofstream +\end{DoxyNote} + + +The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} +\item +src/\+Models/\mbox{\hyperlink{Ticket_8h}{Ticket.\+h}}\item +src/\+Models/Ticket.\+cpp\end{DoxyCompactItemize} diff --git a/docs/latex/doxygen.sty b/docs/latex/doxygen.sty new file mode 100644 index 0000000..7e01991 --- /dev/null +++ b/docs/latex/doxygen.sty @@ -0,0 +1,601 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{doxygen} + +% Packages used by this style file +\RequirePackage{alltt} +%%\RequirePackage{array} %% moved to refman.tex due to workaround for LaTex 2019 version and unmaintained tabu package +\RequirePackage{calc} +\RequirePackage{float} +%%\RequirePackage{ifthen} %% moved to refman.tex due to workaround for LaTex 2019 version and unmaintained tabu package +\RequirePackage{verbatim} +\RequirePackage[table]{xcolor} +\RequirePackage{longtable_doxygen} +\RequirePackage{tabu_doxygen} +\RequirePackage{fancyvrb} +\RequirePackage{tabularx} +\RequirePackage{multicol} +\RequirePackage{multirow} +\RequirePackage{hanging} +\RequirePackage{ifpdf} +\RequirePackage{adjustbox} +\RequirePackage{amssymb} +\RequirePackage{stackengine} +\RequirePackage{enumitem} +\RequirePackage{alphalph} +\RequirePackage[normalem]{ulem} % for strikeout, but don't modify emphasis +\RequirePackage{enumitem} + +%---------- Internal commands used in this style file ---------------- + +\newcommand{\ensurespace}[1]{% + \begingroup% + \setlength{\dimen@}{#1}% + \vskip\z@\@plus\dimen@% + \penalty -100\vskip\z@\@plus -\dimen@% + \vskip\dimen@% + \penalty 9999% + \vskip -\dimen@% + \vskip\z@skip% hide the previous |\vskip| from |\addvspace| + \endgroup% +} + +\newcommand{\DoxyHorRuler}[1]{% + \setlength{\parskip}{0ex plus 0ex minus 0ex}% + \ifthenelse{#1=0}% + {% + \hrule% + }% + {% + \hrulefilll% + }% +} +\newcommand{\DoxyLabelFont}{} +\newcommand{\entrylabel}[1]{% + {% + \parbox[b]{\labelwidth-4pt}{% + \makebox[0pt][l]{\DoxyLabelFont#1}% + \vspace{1.5\baselineskip}% + }% + }% +} + +\newenvironment{DoxyDesc}[1]{% + \ensurespace{4\baselineskip}% + \begin{list}{}{% + \settowidth{\labelwidth}{20pt}% + %\setlength{\parsep}{0pt}% + \setlength{\itemsep}{0pt}% + \setlength{\leftmargin}{\labelwidth+\labelsep}% + \renewcommand{\makelabel}{\entrylabel}% + }% + \item[#1]% +}{% + \end{list}% +} + +\newsavebox{\xrefbox} +\newlength{\xreflength} +\newcommand{\xreflabel}[1]{% + \sbox{\xrefbox}{#1}% + \setlength{\xreflength}{\wd\xrefbox}% + \ifthenelse{\xreflength>\labelwidth}{% + \begin{minipage}{\textwidth}% + \setlength{\parindent}{0pt}% + \hangindent=15pt\bfseries #1\vspace{1.2\itemsep}% + \end{minipage}% + }{% + \parbox[b]{\labelwidth}{\makebox[0pt][l]{\textbf{#1}}}% + }% +} + +%---------- Commands used by doxygen LaTeX output generator ---------- + +% Used by
     ... 
    +\newenvironment{DoxyPre}{% + \small% + \begin{alltt}% +}{% + \end{alltt}% + \normalsize% +} +% Necessary for redefining not defined characters, i.e. "Replacement Character" in tex output. +\newlength{\CodeWidthChar} +\newlength{\CodeHeightChar} +\settowidth{\CodeWidthChar}{?} +\settoheight{\CodeHeightChar}{?} +% Necessary for hanging indent +\newlength{\DoxyCodeWidth} + +\newcommand\DoxyCodeLine[1]{\hangpara{\DoxyCodeWidth}{1}{#1}\par} + +\newcommand\NiceSpace{% + \discretionary{}{\kern\fontdimen2\font}{\kern\fontdimen2\font}% +} + +% Used by @code ... @endcode +\newenvironment{DoxyCode}[1]{% + \par% + \scriptsize% + \normalfont\ttfamily% + \rightskip0pt plus 1fil% + \settowidth{\DoxyCodeWidth}{000000}% + \settowidth{\CodeWidthChar}{?}% + \settoheight{\CodeHeightChar}{?}% + \setlength{\parskip}{0ex plus 0ex minus 0ex}% + \ifthenelse{\equal{#1}{0}} + { + {\lccode`~32 \lowercase{\global\let~}\NiceSpace}\obeyspaces% + } + { + {\lccode`~32 \lowercase{\global\let~}}\obeyspaces% + } + +}{% + \normalfont% + \normalsize% + \settowidth{\CodeWidthChar}{?}% + \settoheight{\CodeHeightChar}{?}% +} + +% Redefining not defined characters, i.e. "Replacement Character" in tex output. +\def\ucr{\adjustbox{width=\CodeWidthChar,height=\CodeHeightChar}{\stackinset{c}{}{c}{-.2pt}{% + \textcolor{white}{\sffamily\bfseries\small ?}}{% + \rotatebox{45}{$\blacksquare$}}}} + +% Used by @example, @include, @includelineno and @dontinclude +\newenvironment{DoxyCodeInclude}[1]{% + \DoxyCode{#1}% +}{% + \endDoxyCode% +} + +% Used by @verbatim ... @endverbatim +\newenvironment{DoxyVerb}{% + \footnotesize% + \verbatim% +}{% + \endverbatim% + \normalsize% +} + +% Used by @verbinclude +\newenvironment{DoxyVerbInclude}{% + \DoxyVerb% +}{% + \endDoxyVerb% +} + +% Used by numbered lists (using '-#' or
      ...
    ) +\setlistdepth{12} +\newlist{DoxyEnumerate}{enumerate}{12} +\setlist[DoxyEnumerate,1]{label=\arabic*.} +\setlist[DoxyEnumerate,2]{label=(\enumalphalphcnt*)} +\setlist[DoxyEnumerate,3]{label=\roman*.} +\setlist[DoxyEnumerate,4]{label=\enumAlphAlphcnt*.} +\setlist[DoxyEnumerate,5]{label=\arabic*.} +\setlist[DoxyEnumerate,6]{label=(\enumalphalphcnt*)} +\setlist[DoxyEnumerate,7]{label=\roman*.} +\setlist[DoxyEnumerate,8]{label=\enumAlphAlphcnt*.} +\setlist[DoxyEnumerate,9]{label=\arabic*.} +\setlist[DoxyEnumerate,10]{label=(\enumalphalphcnt*)} +\setlist[DoxyEnumerate,11]{label=\roman*.} +\setlist[DoxyEnumerate,12]{label=\enumAlphAlphcnt*.} + +% Used by bullet lists (using '-', @li, @arg, or
      ...
    ) +\setlistdepth{12} +\newlist{DoxyItemize}{itemize}{12} +\setlist[DoxyItemize]{label=\textperiodcentered} + +\setlist[DoxyItemize,1]{label=\textbullet} +\setlist[DoxyItemize,2]{label=\normalfont\bfseries \textendash} +\setlist[DoxyItemize,3]{label=\textasteriskcentered} +\setlist[DoxyItemize,4]{label=\textperiodcentered} + +% Used by description lists (using
    ...
    ) +\newenvironment{DoxyDescription}{% + \description% +}{% + \enddescription% +} + +% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc +% (only if caption is specified) +\newenvironment{DoxyImage}{% + \begin{figure}[H]% + \centering% +}{% + \end{figure}% +} + +% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc +% (only if no caption is specified) +\newenvironment{DoxyImageNoCaption}{% + \begin{center}% +}{% + \end{center}% +} + +% Used by @image +% (only if inline is specified) +\newenvironment{DoxyInlineImage}{% +}{% +} + +% Used by @attention +\newenvironment{DoxyAttention}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @author and @authors +\newenvironment{DoxyAuthor}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @date +\newenvironment{DoxyDate}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @invariant +\newenvironment{DoxyInvariant}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @note +\newenvironment{DoxyNote}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @post +\newenvironment{DoxyPostcond}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @pre +\newenvironment{DoxyPrecond}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @copyright +\newenvironment{DoxyCopyright}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @remark +\newenvironment{DoxyRemark}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @return and @returns +\newenvironment{DoxyReturn}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @since +\newenvironment{DoxySince}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @see +\newenvironment{DoxySeeAlso}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @version +\newenvironment{DoxyVersion}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @warning +\newenvironment{DoxyWarning}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @internal +\newenvironment{DoxyInternal}[1]{% + \paragraph*{#1}% +}{% +} + +% Used by @par and @paragraph +\newenvironment{DoxyParagraph}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by parameter lists +\newenvironment{DoxyParams}[2][]{% + \tabulinesep=1mm% + \par% + \ifthenelse{\equal{#1}{}}% + {\begin{longtabu*}spread 0pt [l]{|X[-1,l]|X[-1,l]|}}% name + description + {\ifthenelse{\equal{#1}{1}}% + {\begin{longtabu*}spread 0pt [l]{|X[-1,l]|X[-1,l]|X[-1,l]|}}% in/out + name + desc + {\begin{longtabu*}spread 0pt [l]{|X[-1,l]|X[-1,l]|X[-1,l]|X[-1,l]|}}% in/out + type + name + desc + } + \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]% + \hline% + \endfirsthead% + \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]% + \hline% + \endhead% +}{% + \end{longtabu*}% + \vspace{6pt}% +} + +% Used for fields of simple structs +\newenvironment{DoxyFields}[1]{% + \tabulinesep=1mm% + \par% + \begin{longtabu*}spread 0pt [l]{|X[-1,r]|X[-1,l]|X[-1,l]|}% + \multicolumn{3}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]% + \hline% + \endfirsthead% + \multicolumn{3}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]% + \hline% + \endhead% +}{% + \end{longtabu*}% + \vspace{6pt}% +} + +% Used for fields simple class style enums +\newenvironment{DoxyEnumFields}[1]{% + \tabulinesep=1mm% + \par% + \begin{longtabu*}spread 0pt [l]{|X[-1,r]|X[-1,l]|}% + \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]% + \hline% + \endfirsthead% + \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]% + \hline% + \endhead% +}{% + \end{longtabu*}% + \vspace{6pt}% +} + +% Used for parameters within a detailed function description +\newenvironment{DoxyParamCaption}{% + \renewcommand{\item}[2][]{\\ \hspace*{2.0cm} ##1 {\em ##2}}% +}{% +} + +% Used by return value lists +\newenvironment{DoxyRetVals}[1]{% + \tabulinesep=1mm% + \par% + \begin{longtabu*}spread 0pt [l]{|X[-1,r]|X[-1,l]|}% + \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]% + \hline% + \endfirsthead% + \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]% + \hline% + \endhead% +}{% + \end{longtabu*}% + \vspace{6pt}% +} + +% Used by exception lists +\newenvironment{DoxyExceptions}[1]{% + \tabulinesep=1mm% + \par% + \begin{longtabu*}spread 0pt [l]{|X[-1,r]|X[-1,l]|}% + \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]% + \hline% + \endfirsthead% + \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]% + \hline% + \endhead% +}{% + \end{longtabu*}% + \vspace{6pt}% +} + +% Used by template parameter lists +\newenvironment{DoxyTemplParams}[1]{% + \tabulinesep=1mm% + \par% + \begin{longtabu*}spread 0pt [l]{|X[-1,r]|X[-1,l]|}% + \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]% + \hline% + \endfirsthead% + \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]% + \hline% + \endhead% +}{% + \end{longtabu*}% + \vspace{6pt}% +} + +% Used for member lists +\newenvironment{DoxyCompactItemize}{% + \begin{itemize}% + \setlength{\itemsep}{-3pt}% + \setlength{\parsep}{0pt}% + \setlength{\topsep}{0pt}% + \setlength{\partopsep}{0pt}% +}{% + \end{itemize}% +} + +% Used for member descriptions +\newenvironment{DoxyCompactList}{% + \begin{list}{}{% + \setlength{\leftmargin}{0.5cm}% + \setlength{\itemsep}{0pt}% + \setlength{\parsep}{0pt}% + \setlength{\topsep}{0pt}% + \renewcommand{\makelabel}{\hfill}% + }% +}{% + \end{list}% +} + +% Used for reference lists (@bug, @deprecated, @todo, etc.) +\newenvironment{DoxyRefList}{% + \begin{list}{}{% + \setlength{\labelwidth}{10pt}% + \setlength{\leftmargin}{\labelwidth}% + \addtolength{\leftmargin}{\labelsep}% + \renewcommand{\makelabel}{\xreflabel}% + }% +}{% + \end{list}% +} + +% Used by @bug, @deprecated, @todo, etc. +\newenvironment{DoxyRefDesc}[1]{% + \begin{list}{}{% + \renewcommand\makelabel[1]{\textbf{##1}}% + \settowidth\labelwidth{\makelabel{#1}}% + \setlength\leftmargin{\labelwidth+\labelsep}% + }% +}{% + \end{list}% +} + +% Used by parameter lists and simple sections +\newenvironment{Desc} +{\begin{list}{}{% + \settowidth{\labelwidth}{20pt}% + \setlength{\parsep}{0pt}% + \setlength{\itemsep}{0pt}% + \setlength{\leftmargin}{\labelwidth+\labelsep}% + \renewcommand{\makelabel}{\entrylabel}% + } +}{% + \end{list}% +} + +% Used by tables +\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp}% +\newenvironment{TabularC}[1]% +{\tabulinesep=1mm +\begin{longtabu*}spread 0pt [c]{*#1{|X[-1]}|}}% +{\end{longtabu*}\par}% + +\newenvironment{TabularNC}[1]% +{\begin{tabu}spread 0pt [l]{*#1{|X[-1]}|}}% +{\end{tabu}\par}% + +% Used for member group headers +\newenvironment{Indent}{% + \begin{list}{}{% + \setlength{\leftmargin}{0.5cm}% + }% + \item[]\ignorespaces% +}{% + \unskip% + \end{list}% +} + +% Used when hyperlinks are turned off +\newcommand{\doxyref}[3]{% + \textbf{#1} (\textnormal{#2}\,\pageref{#3})% +} + +% Used to link to a table when hyperlinks are turned on +\newcommand{\doxytablelink}[2]{% + \ref{#1}% +} + +% Used to link to a table when hyperlinks are turned off +\newcommand{\doxytableref}[3]{% + \ref{#3}% +} + +% Used by @addindex +\newcommand{\lcurly}{\{} +\newcommand{\rcurly}{\}} + +% Colors used for syntax highlighting +\definecolor{comment}{rgb}{0.5,0.0,0.0} +\definecolor{keyword}{rgb}{0.0,0.5,0.0} +\definecolor{keywordtype}{rgb}{0.38,0.25,0.125} +\definecolor{keywordflow}{rgb}{0.88,0.5,0.0} +\definecolor{preprocessor}{rgb}{0.5,0.38,0.125} +\definecolor{stringliteral}{rgb}{0.0,0.125,0.25} +\definecolor{charliteral}{rgb}{0.0,0.5,0.5} +\definecolor{vhdldigit}{rgb}{1.0,0.0,1.0} +\definecolor{vhdlkeyword}{rgb}{0.43,0.0,0.43} +\definecolor{vhdllogic}{rgb}{1.0,0.0,0.0} +\definecolor{vhdlchar}{rgb}{0.0,0.0,0.0} + +% Color used for table heading +\newcommand{\tableheadbgcolor}{lightgray}% + +% Version of hypertarget with correct landing location +\newcommand{\Hypertarget}[1]{\Hy@raisedlink{\hypertarget{#1}{}}} + +% possibility to have sections etc. be within the margins +% unfortunately had to copy part of book.cls and add \raggedright +\makeatletter +\newcommand\doxysection{\@startsection {section}{1}{\z@}% + {-3.5ex \@plus -1ex \@minus -.2ex}% + {2.3ex \@plus.2ex}% + {\raggedright\normalfont\Large\bfseries}} +\newcommand\doxysubsection{\@startsection{subsection}{2}{\z@}% + {-3.25ex\@plus -1ex \@minus -.2ex}% + {1.5ex \@plus .2ex}% + {\raggedright\normalfont\large\bfseries}} +\newcommand\doxysubsubsection{\@startsection{subsubsection}{3}{\z@}% + {-3.25ex\@plus -1ex \@minus -.2ex}% + {1.5ex \@plus .2ex}% + {\raggedright\normalfont\normalsize\bfseries}} +\newcommand\doxyparagraph{\@startsection{paragraph}{4}{\z@}% + {3.25ex \@plus1ex \@minus.2ex}% + {-1em}% + {\raggedright\normalfont\normalsize\bfseries}} +\newcommand\doxysubparagraph{\@startsection{subparagraph}{5}{\parindent}% + {3.25ex \@plus1ex \@minus .2ex}% + {-1em}% + {\raggedright\normalfont\normalsize\bfseries}} +\makeatother +% Define caption that is also suitable in a table +\makeatletter +\def\doxyfigcaption{% +\H@refstepcounter{figure}% +\@dblarg{\@caption{figure}}} +\makeatother + +% Define alpha enumarative names for counters > 26 +\makeatletter +\def\enumalphalphcnt#1{\expandafter\@enumalphalphcnt\csname c@#1\endcsname} +\def\@enumalphalphcnt#1{\alphalph{#1}} +\def\enumAlphAlphcnt#1{\expandafter\@enumAlphAlphcnt\csname c@#1\endcsname} +\def\@enumAlphAlphcnt#1{\AlphAlph{#1}} +\makeatother +\AddEnumerateCounter{\enumalphalphcnt}{\@enumalphalphcnt}{aa} +\AddEnumerateCounter{\enumAlphAlphcnt}{\@enumAlphAlphcnt}{AA} diff --git a/docs/latex/files.tex b/docs/latex/files.tex new file mode 100644 index 0000000..42bfeb7 --- /dev/null +++ b/docs/latex/files.tex @@ -0,0 +1,19 @@ +\doxysection{File List} +Here is a list of all documented files with brief descriptions\+:\begin{DoxyCompactList} +\item\contentsline{section}{src/\mbox{\hyperlink{main_8cpp}{main.\+cpp}} \\*Entry point for application }{\pageref{main_8cpp}}{} +\item\contentsline{section}{src/\+Generic/\+Console\+Interface/\mbox{\hyperlink{Command_8h}{Command.\+h}} \\*Stores the declaration of class \mbox{\hyperlink{classCommand}{Command}} }{\pageref{Command_8h}}{} +\item\contentsline{section}{src/\+Generic/\+Console\+Interface/\mbox{\hyperlink{Menu_8h}{Menu.\+h}} \\*Stores the declaration of class \mbox{\hyperlink{classMenu}{Menu}} }{\pageref{Menu_8h}}{} +\item\contentsline{section}{src/\+Generic/\+Console\+Interface/\mbox{\hyperlink{Toolbox_8hpp}{Toolbox.\+hpp}} \\*Stores a wide range of functions for simpler/more automated printing }{\pageref{Toolbox_8hpp}}{} +\item\contentsline{section}{src/\+Generic/\+Date/\mbox{\hyperlink{Date_8h}{Date.\+h}} \\*Stores the declaration of class \mbox{\hyperlink{classDate}{Date}} }{\pageref{Date_8h}}{} +\item\contentsline{section}{src/\+Generic/\+List/\mbox{\hyperlink{List_8hpp}{List.\+hpp}} \\*Stores declaration and definition of templated class \mbox{\hyperlink{classList}{List}} }{\pageref{List_8hpp}}{} +\item\contentsline{section}{src/\+Generic/\+List/\mbox{\hyperlink{OrderedList_8hpp}{Ordered\+List.\+hpp}} \\*Stores declaration and definition of templated class \mbox{\hyperlink{classOrderedList}{Ordered\+List}} }{\pageref{OrderedList_8hpp}}{} +\item\contentsline{section}{src/\+Generic/\+String/\mbox{\hyperlink{String_8h}{String.\+h}} \\*Stores declaration of class \mbox{\hyperlink{classString}{String}} }{\pageref{String_8h}}{} +\item\contentsline{section}{src/\+Models/\mbox{\hyperlink{Event_8h}{Event.\+h}} \\*Stores the declaration of class \mbox{\hyperlink{classEvent}{Event}} }{\pageref{Event_8h}}{} +\item\contentsline{section}{src/\+Models/\mbox{\hyperlink{Hall_8h}{Hall.\+h}} \\*Stores the declaration of class \mbox{\hyperlink{classHall}{Hall}} }{\pageref{Hall_8h}}{} +\item\contentsline{section}{src/\+Models/\mbox{\hyperlink{Reservation_8h}{Reservation.\+h}} \\*Stores the declaration of class \mbox{\hyperlink{classReservation}{Reservation}} }{\pageref{Reservation_8h}}{} +\item\contentsline{section}{src/\+Models/\mbox{\hyperlink{Ticket_8h}{Ticket.\+h}} \\*Stores the declaration of class \mbox{\hyperlink{classTicket}{Ticket}} }{\pageref{Ticket_8h}}{} +\item\contentsline{section}{src/\+Services/\mbox{\hyperlink{EventService_8h}{Event\+Service.\+h}} \\*Stores the declaration of class \mbox{\hyperlink{classEventService}{Event\+Service}} }{\pageref{EventService_8h}}{} +\item\contentsline{section}{src/\+Services/\mbox{\hyperlink{HallService_8h}{Hall\+Service.\+h}} \\*Stores the declaration of class \mbox{\hyperlink{classHallService}{Hall\+Service}} }{\pageref{HallService_8h}}{} +\item\contentsline{section}{src/\+Services/\mbox{\hyperlink{StatusCode_8h}{Status\+Code.\+h}} \\*Stores declaration of enum Status\+Code }{\pageref{StatusCode_8h}}{} +\item\contentsline{section}{src/\+User\+Interface/\mbox{\hyperlink{FMITicketSystemConsoleUI_8h}{FMITicket\+System\+Console\+UI.\+h}} \\*Stores declaration of run\+UI function }{\pageref{FMITicketSystemConsoleUI_8h}}{} +\end{DoxyCompactList} diff --git a/docs/latex/hierarchy.tex b/docs/latex/hierarchy.tex new file mode 100644 index 0000000..822760c --- /dev/null +++ b/docs/latex/hierarchy.tex @@ -0,0 +1,34 @@ +\doxysection{Class Hierarchy} +This inheritance list is sorted roughly, but not completely, alphabetically\+:\begin{DoxyCompactList} +\item \contentsline{section}{Command}{\pageref{classCommand}}{} +\item \contentsline{section}{Date}{\pageref{classDate}}{} +\item \contentsline{section}{Event}{\pageref{classEvent}}{} +\item \contentsline{section}{Event\+Service}{\pageref{classEventService}}{} +\item \contentsline{section}{Hall}{\pageref{classHall}}{} +\item \contentsline{section}{Hall\+Service}{\pageref{classHallService}}{} +\item \contentsline{section}{List\texorpdfstring{$<$}{<} T \texorpdfstring{$>$}{>}}{\pageref{classList}}{} +\begin{DoxyCompactList} +\item \contentsline{section}{Ordered\+List\texorpdfstring{$<$}{<} T \texorpdfstring{$>$}{>}}{\pageref{classOrderedList}}{} +\end{DoxyCompactList} +\item \contentsline{section}{List\texorpdfstring{$<$}{<} Command \texorpdfstring{$>$}{>}}{\pageref{classList}}{} +\item \contentsline{section}{List\texorpdfstring{$<$}{<} Event \texorpdfstring{$>$}{>}}{\pageref{classList}}{} +\begin{DoxyCompactList} +\item \contentsline{section}{Ordered\+List\texorpdfstring{$<$}{<} Event \texorpdfstring{$>$}{>}}{\pageref{classOrderedList}}{} +\end{DoxyCompactList} +\item \contentsline{section}{List\texorpdfstring{$<$}{<} Hall \texorpdfstring{$>$}{>}}{\pageref{classList}}{} +\begin{DoxyCompactList} +\item \contentsline{section}{Ordered\+List\texorpdfstring{$<$}{<} Hall \texorpdfstring{$>$}{>}}{\pageref{classOrderedList}}{} +\end{DoxyCompactList} +\item \contentsline{section}{List\texorpdfstring{$<$}{<} Reservation \texorpdfstring{$>$}{>}}{\pageref{classList}}{} +\begin{DoxyCompactList} +\item \contentsline{section}{Ordered\+List\texorpdfstring{$<$}{<} Reservation \texorpdfstring{$>$}{>}}{\pageref{classOrderedList}}{} +\end{DoxyCompactList} +\item \contentsline{section}{List\texorpdfstring{$<$}{<} Ticket \texorpdfstring{$>$}{>}}{\pageref{classList}}{} +\begin{DoxyCompactList} +\item \contentsline{section}{Ordered\+List\texorpdfstring{$<$}{<} Ticket \texorpdfstring{$>$}{>}}{\pageref{classOrderedList}}{} +\end{DoxyCompactList} +\item \contentsline{section}{Menu}{\pageref{classMenu}}{} +\item \contentsline{section}{Reservation}{\pageref{classReservation}}{} +\item \contentsline{section}{String}{\pageref{classString}}{} +\item \contentsline{section}{Ticket}{\pageref{classTicket}}{} +\end{DoxyCompactList} diff --git a/docs/latex/index.tex b/docs/latex/index.tex new file mode 100644 index 0000000..a85f5b5 --- /dev/null +++ b/docs/latex/index.tex @@ -0,0 +1,55 @@ +\label{index_mainpage}% +\Hypertarget{index_mainpage}% + \begin{DoxyAuthor}{Author} +Kamen Mladenov; FMI Computer Science, Year 1, Group 6; Project 1, Topic 4 +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +12 May 2022 +\end{DoxyDate} +\begin{DoxyCopyright}{Copyright} +GNU General Public License v3.\+0 +\end{DoxyCopyright} + +\begin{DoxyDescription} +\item[Source Code ]\href{https://github.com/Syndamia/FMI-OOP-P1_TicketSystem}{\texttt{ https\+://github.\+com/\+Syndamia/\+FMI-\/\+OOP-\/\+P1\+\_\+\+Ticket\+System}} +\end{DoxyDescription}\hypertarget{index_autotoc_md0}{}\doxysection{About}\label{index_autotoc_md0} +The \char`\"{}\+FMI Ticket System\char`\"{} is a small project, designed for managing the seats for different events. You can create or cancel an event in any available hall, reserve or straight out buy tickets for any given event and create some reports.\hypertarget{index_autotoc_md1}{}\doxysection{Structure overview}\label{index_autotoc_md1} +The project is roughly divided into 4 main components\+: User Interface, Services, Models and Generic \mbox{\hyperlink{index_fig1}{fig1}}. +\begin{DoxyItemize} +\item The User Interface is the messenger between a user and the underlying application. All input and output is handled here. +\item Services contain the business logic of the whole application. All requests to do anything like buying a ticket or creating an event must be sent to here. +\item Models are the general classes that are used in the previous two layers. +\item Generic is a place for all code that is can be used independently from the project. Stuff like \mbox{\hyperlink{classDate}{Date}}, \mbox{\hyperlink{classString}{String}} or \mbox{\hyperlink{classList}{List}}. +\end{DoxyItemize} + +This offers a fairly modular and flexible architecture, which should make big changes or additions to the code easier and more pain-\/free.\hypertarget{index_autotoc_md2}{}\doxysection{Building the project}\label{index_autotoc_md2} +Instructions are all for {\ttfamily gcc}. All commands should be executed while in the {\ttfamily src} folder.\hypertarget{index_autotoc_md3}{}\doxysubsection{Linux/\+BSD/\+Mac\+OS}\label{index_autotoc_md3} + +\begin{DoxyCode}{0} +\DoxyCodeLine{g++ *.cpp */*.cpp */*/*.cpp -\/o TicketSystem.out \&\& ./TicketSystem.out} + +\end{DoxyCode} +\hypertarget{index_autotoc_md4}{}\doxysubsection{Windows (\+Power\+Shell)}\label{index_autotoc_md4} + +\begin{DoxyCode}{0} +\DoxyCodeLine{g++ (Get-\/ChildItem -\/Recurse *.cpp) -\/o TicketSystem.exe \&\& ./TicketSystem.exe} + +\end{DoxyCode} +\hypertarget{index_autotoc_md5}{}\doxysection{Acknowledgements}\label{index_autotoc_md5} + +\begin{DoxyDescription} +\item[Wikipedia ]Leap year calculation for \mbox{\hyperlink{classDate}{Date}} ~\newline + \href{https://en.wikipedia.org/wiki/Leap_year\#Gregorian_calendar}{\texttt{ https\+://en.\+wikipedia.\+org/wiki/\+Leap\+\_\+year\#\+Gregorian\+\_\+calendar}} +\item[Stack\+Overflow ]Way to clear the console in \mbox{\hyperlink{Toolbox_8hpp}{Toolbox.\+hpp}} ~\newline + \href{https://stackoverflow.com/a/52895729/12036073}{\texttt{ https\+://stackoverflow.\+com/a/52895729/12036073}} +\end{DoxyDescription}\hypertarget{index_autotoc_md6}{}\doxysection{Figures}\label{index_autotoc_md6} +\label{index_fig1}% +\Hypertarget{index_fig1}% +{\bfseries{Figure 1\+:}} Overview of the \char`\"{}\+FMI Ticket System\char`\"{} design + + +\begin{DoxyImage} +\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{FMI-OOP-P1_TicketSystem Overview.svg} +\doxyfigcaption{Not available in La\+Te\+X!} +\end{DoxyImage} + \ No newline at end of file diff --git a/docs/latex/longtable_doxygen.sty b/docs/latex/longtable_doxygen.sty new file mode 100644 index 0000000..a0eb314 --- /dev/null +++ b/docs/latex/longtable_doxygen.sty @@ -0,0 +1,448 @@ +%% +%% This is file `longtable.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% longtable.dtx (with options: `package') +%% +%% This is a generated file. +%% +%% The source is maintained by the LaTeX Project team and bug +%% reports for it can be opened at http://latex-project.org/bugs.html +%% (but please observe conditions on bug reports sent to that address!) +%% +%% Copyright 1993-2016 +%% The LaTeX3 Project and any individual authors listed elsewhere +%% in this file. +%% +%% This file was generated from file(s) of the Standard LaTeX `Tools Bundle'. +%% -------------------------------------------------------------------------- +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3c +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3c or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This file may only be distributed together with a copy of the LaTeX +%% `Tools Bundle'. You may however distribute the LaTeX `Tools Bundle' +%% without such generated files. +%% +%% The list of all files belonging to the LaTeX `Tools Bundle' is +%% given in the file `manifest.txt'. +%% +%% File: longtable.dtx Copyright (C) 1990-2001 David Carlisle +\NeedsTeXFormat{LaTeX2e}[1995/06/01] +\ProvidesPackage{longtable_doxygen} + [2014/10/28 v4.11 Multi-page Table package (DPC) - frozen version for doxygen] +\def\LT@err{\PackageError{longtable}} +\def\LT@warn{\PackageWarning{longtable}} +\def\LT@final@warn{% + \AtEndDocument{% + \LT@warn{Table \@width s have changed. Rerun LaTeX.\@gobbletwo}}% + \global\let\LT@final@warn\relax} +\DeclareOption{errorshow}{% + \def\LT@warn{\PackageInfo{longtable}}} +\DeclareOption{pausing}{% + \def\LT@warn#1{% + \LT@err{#1}{This is not really an error}}} +\DeclareOption{set}{} +\DeclareOption{final}{} +\ProcessOptions +\newskip\LTleft \LTleft=\fill +\newskip\LTright \LTright=\fill +\newskip\LTpre \LTpre=\bigskipamount +\newskip\LTpost \LTpost=\bigskipamount +\newcount\LTchunksize \LTchunksize=20 +\let\c@LTchunksize\LTchunksize +\newdimen\LTcapwidth \LTcapwidth=4in +\newbox\LT@head +\newbox\LT@firsthead +\newbox\LT@foot +\newbox\LT@lastfoot +\newcount\LT@cols +\newcount\LT@rows +\newcounter{LT@tables} +\newcounter{LT@chunks}[LT@tables] +\ifx\c@table\undefined + \newcounter{table} + \def\fnum@table{\tablename~\thetable} +\fi +\ifx\tablename\undefined + \def\tablename{Table} +\fi +\newtoks\LT@p@ftn +\mathchardef\LT@end@pen=30000 +\def\longtable{% + \par + \ifx\multicols\@undefined + \else + \ifnum\col@number>\@ne + \@twocolumntrue + \fi + \fi + \if@twocolumn + \LT@err{longtable not in 1-column mode}\@ehc + \fi + \begingroup + \@ifnextchar[\LT@array{\LT@array[x]}} +\def\LT@array[#1]#2{% + \refstepcounter{table}\stepcounter{LT@tables}% + \if l#1% + \LTleft\z@ \LTright\fill + \else\if r#1% + \LTleft\fill \LTright\z@ + \else\if c#1% + \LTleft\fill \LTright\fill + \fi\fi\fi + \let\LT@mcol\multicolumn + \let\LT@@tabarray\@tabarray + \let\LT@@hl\hline + \def\@tabarray{% + \let\hline\LT@@hl + \LT@@tabarray}% + \let\\\LT@tabularcr\let\tabularnewline\\% + \def\newpage{\noalign{\break}}% + \def\pagebreak{\noalign{\ifnum`}=0\fi\@testopt{\LT@no@pgbk-}4}% + \def\nopagebreak{\noalign{\ifnum`}=0\fi\@testopt\LT@no@pgbk4}% + \let\hline\LT@hline \let\kill\LT@kill\let\caption\LT@caption + \@tempdima\ht\strutbox + \let\@endpbox\LT@endpbox + \ifx\extrarowheight\@undefined + \let\@acol\@tabacol + \let\@classz\@tabclassz \let\@classiv\@tabclassiv + \def\@startpbox{\vtop\LT@startpbox}% + \let\@@startpbox\@startpbox + \let\@@endpbox\@endpbox + \let\LT@LL@FM@cr\@tabularcr + \else + \advance\@tempdima\extrarowheight + \col@sep\tabcolsep + \let\@startpbox\LT@startpbox\let\LT@LL@FM@cr\@arraycr + \fi + \setbox\@arstrutbox\hbox{\vrule + \@height \arraystretch \@tempdima + \@depth \arraystretch \dp \strutbox + \@width \z@}% + \let\@sharp##\let\protect\relax + \begingroup + \@mkpream{#2}% + \xdef\LT@bchunk{% + \global\advance\c@LT@chunks\@ne + \global\LT@rows\z@\setbox\z@\vbox\bgroup + \LT@setprevdepth + \tabskip\LTleft \noexpand\halign to\hsize\bgroup + \tabskip\z@ \@arstrut \@preamble \tabskip\LTright \cr}% + \endgroup + \expandafter\LT@nofcols\LT@bchunk&\LT@nofcols + \LT@make@row + \m@th\let\par\@empty + \everycr{}\lineskip\z@\baselineskip\z@ + \LT@bchunk} +\def\LT@no@pgbk#1[#2]{\penalty #1\@getpen{#2}\ifnum`{=0\fi}} +\def\LT@start{% + \let\LT@start\endgraf + \endgraf\penalty\z@\vskip\LTpre + \dimen@\pagetotal + \advance\dimen@ \ht\ifvoid\LT@firsthead\LT@head\else\LT@firsthead\fi + \advance\dimen@ \dp\ifvoid\LT@firsthead\LT@head\else\LT@firsthead\fi + \advance\dimen@ \ht\LT@foot + \dimen@ii\vfuzz + \vfuzz\maxdimen + \setbox\tw@\copy\z@ + \setbox\tw@\vsplit\tw@ to \ht\@arstrutbox + \setbox\tw@\vbox{\unvbox\tw@}% + \vfuzz\dimen@ii + \advance\dimen@ \ht + \ifdim\ht\@arstrutbox>\ht\tw@\@arstrutbox\else\tw@\fi + \advance\dimen@\dp + \ifdim\dp\@arstrutbox>\dp\tw@\@arstrutbox\else\tw@\fi + \advance\dimen@ -\pagegoal + \ifdim \dimen@>\z@\vfil\break\fi + \global\@colroom\@colht + \ifvoid\LT@foot\else + \advance\vsize-\ht\LT@foot + \global\advance\@colroom-\ht\LT@foot + \dimen@\pagegoal\advance\dimen@-\ht\LT@foot\pagegoal\dimen@ + \maxdepth\z@ + \fi + \ifvoid\LT@firsthead\copy\LT@head\else\box\LT@firsthead\fi\nobreak + \output{\LT@output}} +\def\endlongtable{% + \crcr + \noalign{% + \let\LT@entry\LT@entry@chop + \xdef\LT@save@row{\LT@save@row}}% + \LT@echunk + \LT@start + \unvbox\z@ + \LT@get@widths + \if@filesw + {\let\LT@entry\LT@entry@write\immediate\write\@auxout{% + \gdef\expandafter\noexpand + \csname LT@\romannumeral\c@LT@tables\endcsname + {\LT@save@row}}}% + \fi + \ifx\LT@save@row\LT@@save@row + \else + \LT@warn{Column \@width s have changed\MessageBreak + in table \thetable}% + \LT@final@warn + \fi + \endgraf\penalty -\LT@end@pen + \endgroup + \global\@mparbottom\z@ + \pagegoal\vsize + \endgraf\penalty\z@\addvspace\LTpost + \ifvoid\footins\else\insert\footins{}\fi} +\def\LT@nofcols#1&{% + \futurelet\@let@token\LT@n@fcols} +\def\LT@n@fcols{% + \advance\LT@cols\@ne + \ifx\@let@token\LT@nofcols + \expandafter\@gobble + \else + \expandafter\LT@nofcols + \fi} +\def\LT@tabularcr{% + \relax\iffalse{\fi\ifnum0=`}\fi + \@ifstar + {\def\crcr{\LT@crcr\noalign{\nobreak}}\let\cr\crcr + \LT@t@bularcr}% + {\LT@t@bularcr}} +\let\LT@crcr\crcr +\let\LT@setprevdepth\relax +\def\LT@t@bularcr{% + \global\advance\LT@rows\@ne + \ifnum\LT@rows=\LTchunksize + \gdef\LT@setprevdepth{% + \prevdepth\z@\global + \global\let\LT@setprevdepth\relax}% + \expandafter\LT@xtabularcr + \else + \ifnum0=`{}\fi + \expandafter\LT@LL@FM@cr + \fi} +\def\LT@xtabularcr{% + \@ifnextchar[\LT@argtabularcr\LT@ntabularcr} +\def\LT@ntabularcr{% + \ifnum0=`{}\fi + \LT@echunk + \LT@start + \unvbox\z@ + \LT@get@widths + \LT@bchunk} +\def\LT@argtabularcr[#1]{% + \ifnum0=`{}\fi + \ifdim #1>\z@ + \unskip\@xargarraycr{#1}% + \else + \@yargarraycr{#1}% + \fi + \LT@echunk + \LT@start + \unvbox\z@ + \LT@get@widths + \LT@bchunk} +\def\LT@echunk{% + \crcr\LT@save@row\cr\egroup + \global\setbox\@ne\lastbox + \unskip + \egroup} +\def\LT@entry#1#2{% + \ifhmode\@firstofone{&}\fi\omit + \ifnum#1=\c@LT@chunks + \else + \kern#2\relax + \fi} +\def\LT@entry@chop#1#2{% + \noexpand\LT@entry + {\ifnum#1>\c@LT@chunks + 1}{0pt% + \else + #1}{#2% + \fi}} +\def\LT@entry@write{% + \noexpand\LT@entry^^J% + \@spaces} +\def\LT@kill{% + \LT@echunk + \LT@get@widths + \expandafter\LT@rebox\LT@bchunk} +\def\LT@rebox#1\bgroup{% + #1\bgroup + \unvbox\z@ + \unskip + \setbox\z@\lastbox} +\def\LT@blank@row{% + \xdef\LT@save@row{\expandafter\LT@build@blank + \romannumeral\number\LT@cols 001 }} +\def\LT@build@blank#1{% + \if#1m% + \noexpand\LT@entry{1}{0pt}% + \expandafter\LT@build@blank + \fi} +\def\LT@make@row{% + \global\expandafter\let\expandafter\LT@save@row + \csname LT@\romannumeral\c@LT@tables\endcsname + \ifx\LT@save@row\relax + \LT@blank@row + \else + {\let\LT@entry\or + \if!% + \ifcase\expandafter\expandafter\expandafter\LT@cols + \expandafter\@gobble\LT@save@row + \or + \else + \relax + \fi + !% + \else + \aftergroup\LT@blank@row + \fi}% + \fi} +\let\setlongtables\relax +\def\LT@get@widths{% + \setbox\tw@\hbox{% + \unhbox\@ne + \let\LT@old@row\LT@save@row + \global\let\LT@save@row\@empty + \count@\LT@cols + \loop + \unskip + \setbox\tw@\lastbox + \ifhbox\tw@ + \LT@def@row + \advance\count@\m@ne + \repeat}% + \ifx\LT@@save@row\@undefined + \let\LT@@save@row\LT@save@row + \fi} +\def\LT@def@row{% + \let\LT@entry\or + \edef\@tempa{% + \ifcase\expandafter\count@\LT@old@row + \else + {1}{0pt}% + \fi}% + \let\LT@entry\relax + \xdef\LT@save@row{% + \LT@entry + \expandafter\LT@max@sel\@tempa + \LT@save@row}} +\def\LT@max@sel#1#2{% + {\ifdim#2=\wd\tw@ + #1% + \else + \number\c@LT@chunks + \fi}% + {\the\wd\tw@}} +\def\LT@hline{% + \noalign{\ifnum0=`}\fi + \penalty\@M + \futurelet\@let@token\LT@@hline} +\def\LT@@hline{% + \ifx\@let@token\hline + \global\let\@gtempa\@gobble + \gdef\LT@sep{\penalty-\@medpenalty\vskip\doublerulesep}% + \else + \global\let\@gtempa\@empty + \gdef\LT@sep{\penalty-\@lowpenalty\vskip-\arrayrulewidth}% + \fi + \ifnum0=`{\fi}% + \multispan\LT@cols + \unskip\leaders\hrule\@height\arrayrulewidth\hfill\cr + \noalign{\LT@sep}% + \multispan\LT@cols + \unskip\leaders\hrule\@height\arrayrulewidth\hfill\cr + \noalign{\penalty\@M}% + \@gtempa} +\def\LT@caption{% + \noalign\bgroup + \@ifnextchar[{\egroup\LT@c@ption\@firstofone}\LT@capti@n} +\def\LT@c@ption#1[#2]#3{% + \LT@makecaption#1\fnum@table{#3}% + \def\@tempa{#2}% + \ifx\@tempa\@empty\else + {\let\\\space + \addcontentsline{lot}{table}{\protect\numberline{\thetable}{#2}}}% + \fi} +\def\LT@capti@n{% + \@ifstar + {\egroup\LT@c@ption\@gobble[]}% + {\egroup\@xdblarg{\LT@c@ption\@firstofone}}} +\def\LT@makecaption#1#2#3{% + \LT@mcol\LT@cols c{\hbox to\z@{\hss\parbox[t]\LTcapwidth{% + \sbox\@tempboxa{#1{#2: }#3}% + \ifdim\wd\@tempboxa>\hsize + #1{#2: }#3% + \else + \hbox to\hsize{\hfil\box\@tempboxa\hfil}% + \fi + \endgraf\vskip\baselineskip}% + \hss}}} +\def\LT@output{% + \ifnum\outputpenalty <-\@Mi + \ifnum\outputpenalty > -\LT@end@pen + \LT@err{floats and marginpars not allowed in a longtable}\@ehc + \else + \setbox\z@\vbox{\unvbox\@cclv}% + \ifdim \ht\LT@lastfoot>\ht\LT@foot + \dimen@\pagegoal + \advance\dimen@-\ht\LT@lastfoot + \ifdim\dimen@<\ht\z@ + \setbox\@cclv\vbox{\unvbox\z@\copy\LT@foot\vss}% + \@makecol + \@outputpage + \setbox\z@\vbox{\box\LT@head}% + \fi + \fi + \global\@colroom\@colht + \global\vsize\@colht + \vbox + {\unvbox\z@\box\ifvoid\LT@lastfoot\LT@foot\else\LT@lastfoot\fi}% + \fi + \else + \setbox\@cclv\vbox{\unvbox\@cclv\copy\LT@foot\vss}% + \@makecol + \@outputpage + \global\vsize\@colroom + \copy\LT@head\nobreak + \fi} +\def\LT@end@hd@ft#1{% + \LT@echunk + \ifx\LT@start\endgraf + \LT@err + {Longtable head or foot not at start of table}% + {Increase LTchunksize}% + \fi + \setbox#1\box\z@ + \LT@get@widths + \LT@bchunk} +\def\endfirsthead{\LT@end@hd@ft\LT@firsthead} +\def\endhead{\LT@end@hd@ft\LT@head} +\def\endfoot{\LT@end@hd@ft\LT@foot} +\def\endlastfoot{\LT@end@hd@ft\LT@lastfoot} +\def\LT@startpbox#1{% + \bgroup + \let\@footnotetext\LT@p@ftntext + \setlength\hsize{#1}% + \@arrayparboxrestore + \vrule \@height \ht\@arstrutbox \@width \z@} +\def\LT@endpbox{% + \@finalstrut\@arstrutbox + \egroup + \the\LT@p@ftn + \global\LT@p@ftn{}% + \hfil} +\def\LT@p@ftntext#1{% + \edef\@tempa{\the\LT@p@ftn\noexpand\footnotetext[\the\c@footnote]}% + \global\LT@p@ftn\expandafter{\@tempa{#1}}}% + +\@namedef{ver@longtable.sty}{2014/10/28 v4.11 Multi-page Table package (DPC) - frozen version for doxygen} +\endinput +%% +%% End of file `longtable.sty'. diff --git a/docs/latex/main_8cpp.tex b/docs/latex/main_8cpp.tex new file mode 100644 index 0000000..31e87fd --- /dev/null +++ b/docs/latex/main_8cpp.tex @@ -0,0 +1,31 @@ +\hypertarget{main_8cpp}{}\doxysection{src/main.cpp File Reference} +\label{main_8cpp}\index{src/main.cpp@{src/main.cpp}} + + +Entry point for application. + + +{\ttfamily \#include \char`\"{}Services/\+Event\+Service.\+h\char`\"{}}\newline +{\ttfamily \#include \char`\"{}Services/\+Hall\+Service.\+h\char`\"{}}\newline +{\ttfamily \#include \char`\"{}Models/\+Hall.\+h\char`\"{}}\newline +{\ttfamily \#include \char`\"{}User\+Interface/\+FMITicket\+System\+Console\+UI.\+h\char`\"{}}\newline +\doxysubsection*{Functions} +\begin{DoxyCompactItemize} +\item +int \mbox{\hyperlink{main_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{main}} () +\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Entry point for application. + +Contains the \mbox{\hyperlink{main_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{main()}} function. + +\doxysubsection{Function Documentation} +\mbox{\Hypertarget{main_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}\label{main_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}} +\index{main.cpp@{main.cpp}!main@{main}} +\index{main@{main}!main.cpp@{main.cpp}} +\doxysubsubsection{\texorpdfstring{main()}{main()}} +{\footnotesize\ttfamily int main (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} + +Creates instances of \mbox{\hyperlink{classHallService}{Hall\+Service}} and \mbox{\hyperlink{classEventService}{Event\+Service}} and executes \mbox{\hyperlink{FMITicketSystemConsoleUI_8h_a79d6833c27b5a32b6d9917f5cd6e32a3}{run\+UI()}} function. \ No newline at end of file diff --git a/docs/latex/refman.aux b/docs/latex/refman.aux new file mode 100644 index 0000000..860d0a1 --- /dev/null +++ b/docs/latex/refman.aux @@ -0,0 +1,577 @@ +\relax +\providecommand\hyper@newdestlabel[2]{} +\providecommand\HyperFirstAtBeginDocument{\AtBeginDocument} +\HyperFirstAtBeginDocument{\ifx\hyper@anchor\@undefined +\global\let\oldcontentsline\contentsline +\gdef\contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}} +\global\let\oldnewlabel\newlabel +\gdef\newlabel#1#2{\newlabelxx{#1}#2} +\gdef\newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}} +\AtEndDocument{\ifx\hyper@anchor\@undefined +\let\contentsline\oldcontentsline +\let\newlabel\oldnewlabel +\fi} +\fi} +\global\let\hyper@last\relax +\gdef\HyperFirstAtBeginDocument#1{#1} +\providecommand\HyField@AuxAddToFields[1]{} +\providecommand\HyField@AuxAddToCoFields[2]{} +\providecommand \oddpage@label [2]{} +\@writefile{toc}{\@ifundefined {etoctocstyle}{\let \etoc@startlocaltoc \@gobble \let \etoc@settocdepth \@gobble \let \etoc@depthtag \@gobble \let \etoc@setlocaltop \@gobble }{}} +\@writefile{toc}{\contentsline {chapter}{\numberline {1}FMI Tickets System}{1}{chapter.1}\protected@file@percent } +\@writefile{lof}{\addvspace {10\p@ }} +\@writefile{lot}{\addvspace {10\p@ }} +\newlabel{index}{{1}{1}{FMI Tickets System}{chapter.1}{}} +\newlabel{index_mainpage}{{1}{1}{FMI Tickets System}{chapter.1}{}} +\@writefile{toc}{\contentsline {section}{\numberline {1.1}About}{1}{section.1.1}\protected@file@percent } +\newlabel{index_autotoc_md0}{{1.1}{1}{About}{section.1.1}{}} +\@writefile{toc}{\contentsline {section}{\numberline {1.2}Structure overview}{1}{section.1.2}\protected@file@percent } +\newlabel{index_autotoc_md1}{{1.2}{1}{Structure overview}{section.1.2}{}} +\@writefile{toc}{\contentsline {section}{\numberline {1.3}Acknowledgements}{2}{section.1.3}\protected@file@percent } +\newlabel{index_autotoc_md2}{{1.3}{2}{Acknowledgements}{section.1.3}{}} +\@writefile{toc}{\contentsline {section}{\numberline {1.4}Figures}{2}{section.1.4}\protected@file@percent } +\newlabel{index_autotoc_md3}{{1.4}{2}{Figures}{section.1.4}{}} +\newlabel{index_fig1}{{1.4}{2}{Figures}{section.1.4}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {1.1}{\ignorespaces Not available in La\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Te\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}X!}}{2}{figure.caption.1}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {2}Hierarchical Index}{3}{chapter.2}\protected@file@percent } +\@writefile{lof}{\addvspace {10\p@ }} +\@writefile{lot}{\addvspace {10\p@ }} +\@writefile{toc}{\contentsline {section}{\numberline {2.1}Class Hierarchy}{3}{section.2.1}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {3}Class Index}{5}{chapter.3}\protected@file@percent } +\@writefile{lof}{\addvspace {10\p@ }} +\@writefile{lot}{\addvspace {10\p@ }} +\@writefile{toc}{\contentsline {section}{\numberline {3.1}Class List}{5}{section.3.1}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {4}File Index}{7}{chapter.4}\protected@file@percent } +\@writefile{lof}{\addvspace {10\p@ }} +\@writefile{lot}{\addvspace {10\p@ }} +\@writefile{toc}{\contentsline {section}{\numberline {4.1}File List}{7}{section.4.1}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {5}Class Documentation}{9}{chapter.5}\protected@file@percent } +\@writefile{lof}{\addvspace {10\p@ }} +\@writefile{lot}{\addvspace {10\p@ }} +\@writefile{toc}{\contentsline {section}{\numberline {5.1}Command Class Reference}{9}{section.5.1}\protected@file@percent } +\newlabel{classCommand}{{5.1}{9}{Command Class Reference}{section.5.1}{}} +\newlabel{classCommand_a18df2d81039392daeb0b78c346a70537}{{5.1}{9}{Public Member Functions}{section*.2}{}} +\newlabel{classCommand_a06adf2e6710dd57506449f0997f467c0}{{5.1}{9}{Public Member Functions}{section*.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.1.1}Detailed Description}{9}{subsection.5.1.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.1.2}Constructor \& Destructor Documentation}{9}{subsection.5.1.2}\protected@file@percent } +\newlabel{classCommand_a4e22ce5bdf74f9c975494dddd280884a}{{5.1.2}{9}{Constructor \& Destructor Documentation}{subsection.5.1.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.1.2.1}Command()}{9}{subsubsection.5.1.2.1}\protected@file@percent } +\gdef \LT@i {\LT@entry + {3}{65.23303pt}\LT@entry + {3}{379.63779pt}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.1.3}Member Function Documentation}{10}{subsection.5.1.3}\protected@file@percent } +\newlabel{classCommand_a44689093b812bfc97b2787c2ba0303ce}{{5.1.3}{10}{Member Function Documentation}{subsection.5.1.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.1.3.1}run()}{10}{subsubsection.5.1.3.1}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.2}Date Class Reference}{10}{section.5.2}\protected@file@percent } +\newlabel{classDate}{{5.2}{10}{Date Class Reference}{section.5.2}{}} +\newlabel{classDate_a4e59ed4ba66eec61c27460c5d09fa1bd}{{5.2}{10}{Public Member Functions}{section*.3}{}} +\newlabel{classDate_a2e4dc4249f8cccd40acc5950b42e1339}{{5.2}{10}{Public Member Functions}{section*.3}{}} +\newlabel{classDate_a79ebbf3cb46f892604dc79ffc82bcfcc}{{5.2}{10}{Public Member Functions}{section*.3}{}} +\newlabel{classDate_a025aae2b290ba357e049d054085f91e3}{{5.2}{10}{Public Member Functions}{section*.3}{}} +\gdef \LT@ii {\LT@entry + {3}{22.79878pt}\LT@entry + {3}{65.0399pt}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.2.1}Detailed Description}{11}{subsection.5.2.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.2.2}Constructor \& Destructor Documentation}{11}{subsection.5.2.2}\protected@file@percent } +\newlabel{classDate_a99d57b698afdacd18f5a414cdc7524fd}{{5.2.2}{11}{Constructor \& Destructor Documentation}{subsection.5.2.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.2.2.1}Date()\hspace {0.1cm}{\footnotesize \ttfamily [1/2]}}{11}{subsubsection.5.2.2.1}\protected@file@percent } +\newlabel{classDate_a87b3c3ede7dee726e8779eebfcc0a299}{{5.2.2.1}{11}{\texorpdfstring {Date()}{Date()}\hspace {0.1cm}{\footnotesize \ttfamily [1/2]}}{table.5.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.2.2.2}Date()\hspace {0.1cm}{\footnotesize \ttfamily [2/2]}}{12}{subsubsection.5.2.2.2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.2.3}Member Function Documentation}{12}{subsection.5.2.3}\protected@file@percent } +\newlabel{classDate_a3cda588bf2f65b84639303a1aa1105be}{{5.2.3}{12}{Member Function Documentation}{subsection.5.2.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.2.3.1}compare()}{12}{subsubsection.5.2.3.1}\protected@file@percent } +\newlabel{classDate_a6e00ace9f8c923c96188bd76f1e064c2}{{5.2.3.1}{12}{\texorpdfstring {compare()}{compare()}}{subsubsection.5.2.3.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.2.3.2}createString()}{12}{subsubsection.5.2.3.2}\protected@file@percent } +\newlabel{classDate_a982c0c9098056aa33c5cbc9eba093852}{{5.2.3.2}{12}{\texorpdfstring {createString()}{createString()}}{subsubsection.5.2.3.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.2.3.3}read()}{12}{subsubsection.5.2.3.3}\protected@file@percent } +\gdef \LT@iii {\LT@entry + {3}{24.79674pt}\LT@entry + {3}{75.42564pt}} +\newlabel{classDate_acaf0c3ee1b2d36edf4f870ddd8acce08}{{5.2.3.3}{13}{\texorpdfstring {read()}{read()}}{table.5.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.2.3.4}set\_day()}{13}{subsubsection.5.2.3.4}\protected@file@percent } +\newlabel{classDate_ad0a591a557ddde0871389c3d716e6044}{{5.2.3.4}{13}{\texorpdfstring {set\_day()}{set\_day()}}{subsubsection.5.2.3.4}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.2.3.5}set\_month()}{13}{subsubsection.5.2.3.5}\protected@file@percent } +\newlabel{classDate_a6a0f3124e1850cd9f1514ebffcdd0cae}{{5.2.3.5}{13}{\texorpdfstring {set\_month()}{set\_month()}}{subsubsection.5.2.3.5}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.2.3.6}set\_year()}{13}{subsubsection.5.2.3.6}\protected@file@percent } +\newlabel{classDate_a9c728831f35f27abf3348132a13b7844}{{5.2.3.6}{13}{\texorpdfstring {set\_year()}{set\_year()}}{subsubsection.5.2.3.6}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.2.3.7}write()}{13}{subsubsection.5.2.3.7}\protected@file@percent } +\gdef \LT@iv {\LT@entry + {3}{27.80269pt}\LT@entry + {3}{80.93349pt}} +\@writefile{toc}{\contentsline {section}{\numberline {5.3}Event Class Reference}{14}{section.5.3}\protected@file@percent } +\newlabel{classEvent}{{5.3}{14}{Event Class Reference}{section.5.3}{}} +\newlabel{classEvent_a5a40dd4708297f7031e29b39e039ae10}{{5.3}{14}{Public Member Functions}{section*.4}{}} +\newlabel{classEvent_a6ecbd134ada51629f30b2d1cf352d88f}{{5.3}{14}{Public Member Functions}{section*.4}{}} +\newlabel{classEvent_ae3023ae2c487f46b3235f67554e58615}{{5.3}{14}{Public Member Functions}{section*.4}{}} +\newlabel{classEvent_a7bf717630c32826689df41e0bb3ecbce}{{5.3}{14}{Public Member Functions}{section*.4}{}} +\newlabel{classEvent_a222904d44dfaf3f1f96e2190c5ea4293}{{5.3}{14}{Public Member Functions}{section*.4}{}} +\newlabel{classEvent_a16a84fced8e02f756232c54c27bb22ad}{{5.3}{14}{Public Member Functions}{section*.4}{}} +\newlabel{classEvent_a1f914fc91044a5c10d71f31b8e712c46}{{5.3}{14}{Public Member Functions}{section*.4}{}} +\newlabel{classEvent_a43c6b2bddd42435eb6c8cd0f15d75c6f}{{5.3}{14}{Public Member Functions}{section*.4}{}} +\newlabel{classEvent_a7af1c5d57d41701e6411b7c251bf904e}{{5.3}{14}{Public Member Functions}{section*.4}{}} +\gdef \LT@v {\LT@entry + {3}{24.79674pt}\LT@entry + {3}{75.42564pt}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.1}Detailed Description}{15}{subsection.5.3.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.2}Member Function Documentation}{15}{subsection.5.3.2}\protected@file@percent } +\newlabel{classEvent_af5c84a902db8f29f8b8737026011f1f6}{{5.3.2}{15}{Member Function Documentation}{subsection.5.3.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.3.2.1}compare()}{15}{subsubsection.5.3.2.1}\protected@file@percent } +\newlabel{classEvent_ae58d2ed716836adcdacaeec4dd08c1cf}{{5.3.2.1}{15}{\texorpdfstring {compare()}{compare()}}{subsubsection.5.3.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.3.2.2}read()}{15}{subsubsection.5.3.2.2}\protected@file@percent } +\newlabel{classEvent_a05a302aa998977c30950987c07f0fbba}{{5.3.2.2}{15}{\texorpdfstring {read()}{read()}}{table.5.5}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.3.2.3}write()}{15}{subsubsection.5.3.2.3}\protected@file@percent } +\gdef \LT@vi {\LT@entry + {3}{27.80269pt}\LT@entry + {3}{80.93349pt}} +\@writefile{toc}{\contentsline {section}{\numberline {5.4}Event\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Service Class Reference}{16}{section.5.4}\protected@file@percent } +\newlabel{classEventService}{{5.4}{16}{Event\+Service Class Reference}{section.5.4}{}} +\newlabel{classEventService_a9b30bb95890abac259ba27b53cabe545}{{5.4}{16}{Public Member Functions}{section*.5}{}} +\newlabel{classEventService_af35cde4a05edfec88496772b6d0b1e37}{{5.4}{16}{Public Member Functions}{section*.5}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.1}Detailed Description}{17}{subsection.5.4.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.2}Member Function Documentation}{17}{subsection.5.4.2}\protected@file@percent } +\newlabel{classEventService_ad0a204aca9cc8287f562f42916248e9e}{{5.4.2}{17}{Member Function Documentation}{subsection.5.4.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.4.2.1}buyTicket()\hspace {0.1cm}{\footnotesize \ttfamily [1/2]}}{17}{subsubsection.5.4.2.1}\protected@file@percent } +\newlabel{classEventService_ac447cac3e4974b9cc676d9bb90152979}{{5.4.2.1}{17}{\texorpdfstring {buyTicket()}{buyTicket()}\hspace {0.1cm}{\footnotesize \ttfamily [1/2]}}{subsubsection.5.4.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.4.2.2}buyTicket()\hspace {0.1cm}{\footnotesize \ttfamily [2/2]}}{18}{subsubsection.5.4.2.2}\protected@file@percent } +\newlabel{classEventService_ac7ea565af5ad78e84749558477ceaf26}{{5.4.2.2}{18}{\texorpdfstring {buyTicket()}{buyTicket()}\hspace {0.1cm}{\footnotesize \ttfamily [2/2]}}{subsubsection.5.4.2.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.4.2.3}cancelEvent()}{18}{subsubsection.5.4.2.3}\protected@file@percent } +\newlabel{classEventService_aa6fd620de878f225f7c51bb0df6ea749}{{5.4.2.3}{18}{\texorpdfstring {cancelEvent()}{cancelEvent()}}{subsubsection.5.4.2.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.4.2.4}cancelTicketReservation()}{18}{subsubsection.5.4.2.4}\protected@file@percent } +\newlabel{classEventService_a7a21a5909116215e402254510d6d81d6}{{5.4.2.4}{18}{\texorpdfstring {cancelTicketReservation()}{cancelTicketReservation()}}{subsubsection.5.4.2.4}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.4.2.5}createEvent()}{19}{subsubsection.5.4.2.5}\protected@file@percent } +\newlabel{classEventService_a7f4632e3beae5d24087047ab0223f85e}{{5.4.2.5}{19}{\texorpdfstring {createEvent()}{createEvent()}}{subsubsection.5.4.2.5}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.4.2.6}createSeatingString()}{19}{subsubsection.5.4.2.6}\protected@file@percent } +\newlabel{classEventService_a1225c23dae83fa928da47113cd1c5617}{{5.4.2.6}{19}{\texorpdfstring {createSeatingString()}{createSeatingString()}}{subsubsection.5.4.2.6}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.4.2.7}load()}{19}{subsubsection.5.4.2.7}\protected@file@percent } +\newlabel{classEventService_a814de3510f72150f2e54d44f8c8948bb}{{5.4.2.7}{19}{\texorpdfstring {load()}{load()}}{subsubsection.5.4.2.7}{}} +\gdef \LT@vii {\LT@entry + {3}{58.80719pt}\LT@entry + {3}{209.80188pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.4.2.8}queryInsufficientlyVisited()}{20}{subsubsection.5.4.2.8}\protected@file@percent } +\newlabel{classEventService_a6700bd4f9da6d12a47812b9c8549556e}{{5.4.2.8}{20}{\texorpdfstring {queryInsufficientlyVisited()}{queryInsufficientlyVisited()}}{subsubsection.5.4.2.8}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.4.2.9}queryMostWatched()}{20}{subsubsection.5.4.2.9}\protected@file@percent } +\newlabel{classEventService_afc74fc6d44fca054bce8e54997c0cd3e}{{5.4.2.9}{20}{\texorpdfstring {queryMostWatched()}{queryMostWatched()}}{subsubsection.5.4.2.9}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.4.2.10}reportBoughtTickets()}{20}{subsubsection.5.4.2.10}\protected@file@percent } +\newlabel{classEventService_a277194aea79a2c9bf955b7706a20c54c}{{5.4.2.10}{20}{\texorpdfstring {reportBoughtTickets()}{reportBoughtTickets()}}{table.5.7}{}} +\gdef \LT@viii {\LT@entry + {3}{35.30861pt}\LT@entry + {3}{401.02896pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.4.2.11}reportReservations()}{21}{subsubsection.5.4.2.11}\protected@file@percent } +\newlabel{classEventService_a3c0d2a05e2a3026044b9e13e6802fbdb}{{5.4.2.11}{21}{\texorpdfstring {reportReservations()}{reportReservations()}}{table.5.8}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.4.2.12}reserveTicket()}{21}{subsubsection.5.4.2.12}\protected@file@percent } +\newlabel{classEventService_a5aac3df17ef30f84c1c28277c256ec32}{{5.4.2.12}{21}{\texorpdfstring {reserveTicket()}{reserveTicket()}}{subsubsection.5.4.2.12}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.4.2.13}save()}{22}{subsubsection.5.4.2.13}\protected@file@percent } +\newlabel{classEventService_ad1efbed6111da8e755d86b5bc9ada806}{{5.4.2.13}{22}{\texorpdfstring {save()}{save()}}{subsubsection.5.4.2.13}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.4.2.14}ticketIsReserved()}{22}{subsubsection.5.4.2.14}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.5}Hall Class Reference}{22}{section.5.5}\protected@file@percent } +\newlabel{classHall}{{5.5}{22}{Hall Class Reference}{section.5.5}{}} +\newlabel{classHall_a122ed8085be305339c89cadb3e360b86}{{5.5}{23}{Public Member Functions}{section*.6}{}} +\newlabel{classHall_af88f012be2e7671366e10d4e154a8d8f}{{5.5}{23}{Public Member Functions}{section*.6}{}} +\newlabel{classHall_ab93a2ca8463f3b3d398374a6efea4c71}{{5.5}{23}{Public Member Functions}{section*.6}{}} +\newlabel{classHall_a84186aee50631f25b214f18f7b0dc178}{{5.5}{23}{Public Member Functions}{section*.6}{}} +\newlabel{classHall_a6b3c304a95d3f56980c6faf0cc2073a2}{{5.5}{23}{Public Member Functions}{section*.6}{}} +\newlabel{classHall_a42e1cd716086d8a42a627e00cde17a7e}{{5.5}{23}{Public Member Functions}{section*.6}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.5.1}Detailed Description}{23}{subsection.5.5.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.5.2}Member Function Documentation}{23}{subsection.5.5.2}\protected@file@percent } +\newlabel{classHall_a4259837f943c488c6b15ed6c80d5f30b}{{5.5.2}{23}{Member Function Documentation}{subsection.5.5.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.5.2.1}compare()}{23}{subsubsection.5.5.2.1}\protected@file@percent } +\newlabel{classHall_acef974f302d8131ef4608e15f96c2df9}{{5.5.2.1}{23}{\texorpdfstring {compare()}{compare()}}{subsubsection.5.5.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.5.2.2}read()}{23}{subsubsection.5.5.2.2}\protected@file@percent } +\gdef \LT@ix {\LT@entry + {3}{24.79674pt}\LT@entry + {3}{75.42564pt}} +\gdef \LT@x {\LT@entry + {3}{27.80269pt}\LT@entry + {3}{80.93349pt}} +\newlabel{classHall_a0239d59ab0f832f16cf35c820d0eba5a}{{5.5.2.2}{24}{\texorpdfstring {read()}{read()}}{table.5.9}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.5.2.3}write()}{24}{subsubsection.5.5.2.3}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.6}Hall\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Service Class Reference}{24}{section.5.6}\protected@file@percent } +\newlabel{classHallService}{{5.6}{24}{Hall\+Service Class Reference}{section.5.6}{}} +\newlabel{classHallService_a57a8117d8d510afb5351a3f7efc18dff}{{5.6}{25}{Public Member Functions}{section*.7}{}} +\newlabel{classHallService_a641fdcc475e094687713e94094e2a623}{{5.6}{25}{Public Member Functions}{section*.7}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.1}Detailed Description}{25}{subsection.5.6.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.2}Member Function Documentation}{25}{subsection.5.6.2}\protected@file@percent } +\newlabel{classHallService_ab63c1ccff811ed3268f2fe5e996eb6ae}{{5.6.2}{25}{Member Function Documentation}{subsection.5.6.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.6.2.1}load()}{25}{subsubsection.5.6.2.1}\protected@file@percent } +\newlabel{classHallService_a083e3d10ec89ee8c78a117c3754c66d2}{{5.6.2.1}{25}{\texorpdfstring {load()}{load()}}{subsubsection.5.6.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.6.2.2}save()}{25}{subsubsection.5.6.2.2}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.7}List$<$ T $>$ Class Template Reference}{26}{section.5.7}\protected@file@percent } +\newlabel{classList}{{5.7}{26}{List\texorpdfstring {$<$}{<} T \texorpdfstring {$>$}{>} Class Template Reference}{section.5.7}{}} +\newlabel{classList_a93cd36efc12aa5ef5fc28866edce7e61}{{5.7}{26}{Public Member Functions}{section*.9}{}} +\newlabel{classList_a321bb581943398344aad07198d1f02ac}{{5.7}{26}{Public Member Functions}{section*.9}{}} +\newlabel{classList_a5fa582de3aec5094a871852b658cf853}{{5.7}{26}{Public Member Functions}{section*.9}{}} +\newlabel{classList_aa4332ce5a589da28528f035ded6d41e5}{{5.7}{26}{Public Member Functions}{section*.9}{}} +\newlabel{classList_a248952759645a68a4a1ea5aa31bc089f}{{5.7}{26}{Public Member Functions}{section*.9}{}} +\newlabel{classList_a43ce719b9dcc8aa532bad580c44e99f6}{{5.7}{26}{Public Member Functions}{section*.9}{}} +\newlabel{classList_a25feb644d97345e4f36bf54c7aab4ade}{{5.7}{26}{Public Member Functions}{section*.9}{}} +\newlabel{classList_a3be35847f78c9fdb37c957eff55c1608}{{5.7}{26}{Public Member Functions}{section*.9}{}} +\newlabel{classList_a302d78384a6516a4d4dede84d4f0968e}{{5.7}{26}{Protected Member Functions}{section*.10}{}} +\newlabel{classList_a29cb6681b3f5514f747d04661b08cfd6}{{5.7}{26}{Protected Member Functions}{section*.10}{}} +\newlabel{classList_aef2dcec4a271f7ba2f71ef164535e273}{{5.7}{26}{Protected Member Functions}{section*.10}{}} +\newlabel{classList_ab28a0d67da45b5d3bb755c72105a516c}{{5.7}{27}{Protected Attributes}{section*.11}{}} +\newlabel{classList_af44323f3a486341510ad97b6bceda1be}{{5.7}{27}{Protected Attributes}{section*.11}{}} +\newlabel{classList_a66db5f1795dd0530911f32552ddd9815}{{5.7}{27}{Protected Attributes}{section*.11}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.1}Detailed Description}{27}{subsection.5.7.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.2}Member Function Documentation}{27}{subsection.5.7.2}\protected@file@percent } +\newlabel{classList_abfec4f2e7990d06c143852ecfdf907bb}{{5.7.2}{27}{Member Function Documentation}{subsection.5.7.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.7.2.1}add()}{27}{subsubsection.5.7.2.1}\protected@file@percent } +\newlabel{classList_a163a070c7d5dc77ca3c1726b8f2d4bc1}{{5.7.2.1}{27}{\texorpdfstring {add()}{add()}}{subsubsection.5.7.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.7.2.2}contain()}{28}{subsubsection.5.7.2.2}\protected@file@percent } +\newlabel{classList_a3804f03273ef5e339b504e439c5b6534}{{5.7.2.2}{28}{\texorpdfstring {contain()}{contain()}}{subsubsection.5.7.2.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.7.2.3}findIndex()}{28}{subsubsection.5.7.2.3}\protected@file@percent } +\newlabel{classList_a3c1e3a3fc085f5b7ae68514c4758687b}{{5.7.2.3}{28}{\texorpdfstring {findIndex()}{findIndex()}}{subsubsection.5.7.2.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.7.2.4}get\_count()}{28}{subsubsection.5.7.2.4}\protected@file@percent } +\newlabel{classList_aa32109b77dccd8241b125ebabdda876c}{{5.7.2.4}{28}{\texorpdfstring {get\_count()}{get\_count()}}{subsubsection.5.7.2.4}{}} +\gdef \LT@xi {\LT@entry + {3}{24.79674pt}\LT@entry + {3}{75.42564pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.7.2.5}get\_length()}{29}{subsubsection.5.7.2.5}\protected@file@percent } +\newlabel{classList_ae4586debf72af33bccb3c2fbfce420e8}{{5.7.2.5}{29}{\texorpdfstring {get\_length()}{get\_length()}}{subsubsection.5.7.2.5}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.7.2.6}insertAt()}{29}{subsubsection.5.7.2.6}\protected@file@percent } +\newlabel{classList_a5e3581ee07649f462aa8bb3221a5466e}{{5.7.2.6}{29}{\texorpdfstring {insertAt()}{insertAt()}}{subsubsection.5.7.2.6}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.7.2.7}read()}{29}{subsubsection.5.7.2.7}\protected@file@percent } +\newlabel{classList_ad9c0a5b5bca6286f458d6fab280de65a}{{5.7.2.7}{29}{\texorpdfstring {read()}{read()}}{table.5.11}{}} +\gdef \LT@xii {\LT@entry + {3}{27.80269pt}\LT@entry + {3}{80.93349pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.7.2.8}removeAt()}{30}{subsubsection.5.7.2.8}\protected@file@percent } +\newlabel{classList_a8d2babffd2fb4a5e0a40dbd306e19956}{{5.7.2.8}{30}{\texorpdfstring {removeAt()}{removeAt()}}{subsubsection.5.7.2.8}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.7.2.9}write()}{30}{subsubsection.5.7.2.9}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.8}Menu Class Reference}{30}{section.5.8}\protected@file@percent } +\newlabel{classMenu}{{5.8}{30}{Menu Class Reference}{section.5.8}{}} +\gdef \LT@xiii {\LT@entry + {3}{71.64111pt}\LT@entry + {3}{379.63779pt}} +\newlabel{classMenu_ad466dd83355124a6ed958430450bfe94}{{5.8}{31}{Public Member Functions}{section*.13}{}} +\newlabel{classMenu_a1f022cc8b705369073f8fd7b90b30c8d}{{5.8}{31}{Public Member Functions}{section*.13}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.1}Detailed Description}{31}{subsection.5.8.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.2}Constructor \& Destructor Documentation}{31}{subsection.5.8.2}\protected@file@percent } +\newlabel{classMenu_aeec919379638ad526df5167ed755a1f3}{{5.8.2}{31}{Constructor \& Destructor Documentation}{subsection.5.8.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.8.2.1}Menu()\hspace {0.1cm}{\footnotesize \ttfamily [1/2]}}{31}{subsubsection.5.8.2.1}\protected@file@percent } +\newlabel{classMenu_a12057ad84f3a9d41bc7092cc2d86c87a}{{5.8.2.1}{31}{\texorpdfstring {Menu()}{Menu()}\hspace {0.1cm}{\footnotesize \ttfamily [1/2]}}{table.5.13}{}} +\gdef \LT@xiv {\LT@entry + {3}{76.32092pt}\LT@entry + {3}{379.63779pt}} +\gdef \LT@xv {\LT@entry + {3}{49.31245pt}\LT@entry + {3}{306.70302pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.8.2.2}Menu()\hspace {0.1cm}{\footnotesize \ttfamily [2/2]}}{32}{subsubsection.5.8.2.2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.3}Member Function Documentation}{32}{subsection.5.8.3}\protected@file@percent } +\newlabel{classMenu_a0400751da7f8583029b7a12d3003c36d}{{5.8.3}{32}{Member Function Documentation}{subsection.5.8.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.8.3.1}navigate()}{32}{subsubsection.5.8.3.1}\protected@file@percent } +\newlabel{classMenu_aad506cb9a7f35dea98c60484bb2d095c}{{5.8.3.1}{32}{\texorpdfstring {navigate()}{navigate()}}{subsubsection.5.8.3.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.8.3.2}registerError()}{32}{subsubsection.5.8.3.2}\protected@file@percent } +\gdef \LT@xvi {\LT@entry + {3}{49.31245pt}\LT@entry + {3}{306.70302pt}} +\gdef \LT@xvii {\LT@entry + {3}{49.31245pt}\LT@entry + {3}{306.70302pt}} +\newlabel{classMenu_a3504e28b5d05e1ad70dada190bbc3a9c}{{5.8.3.2}{33}{\texorpdfstring {registerError()}{registerError()}}{table.5.15}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.8.3.3}registerSuccess()}{33}{subsubsection.5.8.3.3}\protected@file@percent } +\newlabel{classMenu_a5350b1addf9bf365351486cd161696ad}{{5.8.3.3}{33}{\texorpdfstring {registerSuccess()}{registerSuccess()}}{table.5.16}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.8.3.4}registerWarning()}{33}{subsubsection.5.8.3.4}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.9}Ordered\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}List$<$ T $>$ Class Template Reference}{33}{section.5.9}\protected@file@percent } +\newlabel{classOrderedList}{{5.9}{33}{Ordered\+List\texorpdfstring {$<$}{<} T \texorpdfstring {$>$}{>} Class Template Reference}{section.5.9}{}} +\newlabel{classOrderedList_a736559aa9cd4d085e4bc76ae2c751097}{{5.9}{34}{Public Member Functions}{section*.15}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.9.1}Detailed Description}{34}{subsection.5.9.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.9.2}Member Function Documentation}{34}{subsection.5.9.2}\protected@file@percent } +\newlabel{classOrderedList_a8b2748c3cdefe4869e0d7a2fc9b4b2cd}{{5.9.2}{34}{Member Function Documentation}{subsection.5.9.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.9.2.1}add()}{34}{subsubsection.5.9.2.1}\protected@file@percent } +\newlabel{classOrderedList_a1132cd9c92901e9b9950a4a409b0fc8b}{{5.9.2.1}{34}{\texorpdfstring {add()}{add()}}{subsubsection.5.9.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.9.2.2}insert()}{35}{subsubsection.5.9.2.2}\protected@file@percent } +\newlabel{classOrderedList_a45af729846bacc77fc8292e5d0690f99}{{5.9.2.2}{35}{\texorpdfstring {insert()}{insert()}}{subsubsection.5.9.2.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.9.2.3}insertAt()}{35}{subsubsection.5.9.2.3}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.10}Reservation Class Reference}{35}{section.5.10}\protected@file@percent } +\newlabel{classReservation}{{5.10}{35}{Reservation Class Reference}{section.5.10}{}} +\newlabel{classReservation_a63b283053695e6f50fa44c50da2b3de5}{{5.10}{36}{Public Member Functions}{section*.18}{}} +\newlabel{classReservation_a7320a032f87c7d45cf287a146c73695c}{{5.10}{36}{Public Member Functions}{section*.18}{}} +\newlabel{classReservation_ac6fdecd9bc06f3de2e28129ab370f4f7}{{5.10}{36}{Public Member Functions}{section*.18}{}} +\newlabel{classReservation_af1b95b3d7c46f506dec4d275d6821cdb}{{5.10}{36}{Public Member Functions}{section*.18}{}} +\newlabel{classReservation_aa34cd16a057a4a483e569ec5d7527ad9}{{5.10}{36}{Public Member Functions}{section*.18}{}} +\newlabel{classReservation_a2285881510bf07f469bf360bb1050f12}{{5.10}{36}{Public Member Functions}{section*.18}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.10.1}Detailed Description}{36}{subsection.5.10.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.10.2}Member Function Documentation}{36}{subsection.5.10.2}\protected@file@percent } +\newlabel{classReservation_a31cc66beeaf85befe2185dfc88086d38}{{5.10.2}{36}{Member Function Documentation}{subsection.5.10.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.10.2.1}compare()}{36}{subsubsection.5.10.2.1}\protected@file@percent } +\newlabel{classReservation_a03f0d1a522edb2c5fba7538f0c879573}{{5.10.2.1}{36}{\texorpdfstring {compare()}{compare()}}{subsubsection.5.10.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.10.2.2}read()}{36}{subsubsection.5.10.2.2}\protected@file@percent } +\gdef \LT@xviii {\LT@entry + {3}{24.79674pt}\LT@entry + {3}{75.42564pt}} +\gdef \LT@xix {\LT@entry + {3}{27.80269pt}\LT@entry + {3}{80.93349pt}} +\newlabel{classReservation_a1aba46b8e181750bd89fdfca6ff8ba32}{{5.10.2.2}{37}{\texorpdfstring {read()}{read()}}{table.5.18}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.10.2.3}write()}{37}{subsubsection.5.10.2.3}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.10.3}Friends And Related Function Documentation}{37}{subsection.5.10.3}\protected@file@percent } +\newlabel{classReservation_abf734c0a55da55ef89dab1e2f12b8ebd}{{5.10.3}{37}{Friends And Related Function Documentation}{subsection.5.10.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.10.3.1}operator$<$$<$}{37}{subsubsection.5.10.3.1}\protected@file@percent } +\newlabel{classReservation_a2b7331e532f77bbc67eab217bfeb1f25}{{5.10.3.1}{38}{\texorpdfstring {operator$<$$<$}{operator<<}}{subsubsection.5.10.3.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.10.3.2}operator$>$$>$}{38}{subsubsection.5.10.3.2}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.11}String Class Reference}{38}{section.5.11}\protected@file@percent } +\newlabel{classString}{{5.11}{38}{String Class Reference}{section.5.11}{}} +\newlabel{classString_a3d7f953737f3d4dca72d1cc4836f7dcc}{{5.11}{38}{Public Member Functions}{section*.20}{}} +\newlabel{classString_a7793a7e9a7601d4c724dcc85566259bf}{{5.11}{38}{Public Member Functions}{section*.20}{}} +\newlabel{classString_a5d3b77a51619a8580a373d2cd1092a54}{{5.11}{38}{Public Member Functions}{section*.20}{}} +\newlabel{classString_afc158dffcdf56e601bd640cbacdfcd3c}{{5.11}{38}{Public Member Functions}{section*.20}{}} +\newlabel{classString_a734f34a0b7a42bcad30c368d6e8c5469}{{5.11}{38}{Public Member Functions}{section*.20}{}} +\newlabel{classString_a553fcc11563b3d0f5c020309e8b68843}{{5.11}{38}{Public Member Functions}{section*.20}{}} +\newlabel{classString_a3c0ede83ee25c89959a0c4369166d98a}{{5.11}{38}{Public Member Functions}{section*.20}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.11.1}Constructor \& Destructor Documentation}{39}{subsection.5.11.1}\protected@file@percent } +\newlabel{classString_ad3d65397e27bb3c4db1295208cfb1559}{{5.11.1}{39}{Constructor \& Destructor Documentation}{subsection.5.11.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.11.1.1}String()\hspace {0.1cm}{\footnotesize \ttfamily [1/2]}}{39}{subsubsection.5.11.1.1}\protected@file@percent } +\newlabel{classString_a3fba40cf6cb11735ffddc355a5ff68f4}{{5.11.1.1}{39}{\texorpdfstring {String()}{String()}\hspace {0.1cm}{\footnotesize \ttfamily [1/2]}}{subsubsection.5.11.1.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.11.1.2}String()\hspace {0.1cm}{\footnotesize \ttfamily [2/2]}}{39}{subsubsection.5.11.1.2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.11.2}Member Function Documentation}{39}{subsection.5.11.2}\protected@file@percent } +\newlabel{classString_a3f420d69fbe3de91711dc69148d23cc7}{{5.11.2}{39}{Member Function Documentation}{subsection.5.11.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.11.2.1}compare()}{39}{subsubsection.5.11.2.1}\protected@file@percent } +\newlabel{classString_a64de9ab1af5df9397f8fbd8c79d5f4b6}{{5.11.2.1}{39}{\texorpdfstring {compare()}{compare()}}{subsubsection.5.11.2.1}{}} +\gdef \LT@xx {\LT@entry + {3}{24.79674pt}\LT@entry + {3}{75.42564pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.11.2.2}operator+=()\hspace {0.1cm}{\footnotesize \ttfamily [1/2]}}{40}{subsubsection.5.11.2.2}\protected@file@percent } +\newlabel{classString_aed8480111703abc1f281148c778b0445}{{5.11.2.2}{40}{\texorpdfstring {operator+=()}{operator+=()}\hspace {0.1cm}{\footnotesize \ttfamily [1/2]}}{subsubsection.5.11.2.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.11.2.3}operator+=()\hspace {0.1cm}{\footnotesize \ttfamily [2/2]}}{40}{subsubsection.5.11.2.3}\protected@file@percent } +\newlabel{classString_ad76bb9eca15651c67332808cdaad6344}{{5.11.2.3}{40}{\texorpdfstring {operator+=()}{operator+=()}\hspace {0.1cm}{\footnotesize \ttfamily [2/2]}}{subsubsection.5.11.2.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.11.2.4}read()}{40}{subsubsection.5.11.2.4}\protected@file@percent } +\newlabel{classString_a7b0ea809587c21bc1d2b87bfee53e628}{{5.11.2.4}{40}{\texorpdfstring {read()}{read()}}{table.5.20}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.11.2.5}write()}{40}{subsubsection.5.11.2.5}\protected@file@percent } +\gdef \LT@xxi {\LT@entry + {3}{27.80269pt}\LT@entry + {3}{80.93349pt}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.11.3}Friends And Related Function Documentation}{41}{subsection.5.11.3}\protected@file@percent } +\newlabel{classString_aa00d824f40064ff356aa7c15d6a9da12}{{5.11.3}{41}{Friends And Related Function Documentation}{subsection.5.11.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.11.3.1}operator$<$$<$}{41}{subsubsection.5.11.3.1}\protected@file@percent } +\newlabel{classString_a1918adea635f3f340dbecd6fb05341f8}{{5.11.3.1}{41}{\texorpdfstring {operator$<$$<$}{operator<<}}{subsubsection.5.11.3.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.11.3.2}operator$>$$>$}{41}{subsubsection.5.11.3.2}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.12}Ticket Class Reference}{42}{section.5.12}\protected@file@percent } +\newlabel{classTicket}{{5.12}{42}{Ticket Class Reference}{section.5.12}{}} +\newlabel{classTicket_aba3a46c9223efb6ab0bde93a09403537}{{5.12}{42}{Public Member Functions}{section*.22}{}} +\newlabel{classTicket_a6fa09371f1b70520b96dbb9ac9a71768}{{5.12}{42}{Public Member Functions}{section*.22}{}} +\newlabel{classTicket_a94476de3cd6711185527d0fe4df9a278}{{5.12}{42}{Public Member Functions}{section*.22}{}} +\newlabel{classTicket_af7b64cb77a676d0f7bdb32255283f005}{{5.12}{42}{Public Member Functions}{section*.22}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.12.1}Detailed Description}{42}{subsection.5.12.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.12.2}Member Function Documentation}{42}{subsection.5.12.2}\protected@file@percent } +\newlabel{classTicket_a82a063f71be89f44dd969970855187c4}{{5.12.2}{42}{Member Function Documentation}{subsection.5.12.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.12.2.1}compare()}{42}{subsubsection.5.12.2.1}\protected@file@percent } +\newlabel{classTicket_aad2d0b7b92b54ec861db92c31f50f4ad}{{5.12.2.1}{42}{\texorpdfstring {compare()}{compare()}}{subsubsection.5.12.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.12.2.2}read()}{42}{subsubsection.5.12.2.2}\protected@file@percent } +\gdef \LT@xxii {\LT@entry + {3}{24.79674pt}\LT@entry + {3}{75.42564pt}} +\gdef \LT@xxiii {\LT@entry + {3}{27.80269pt}\LT@entry + {3}{80.93349pt}} +\newlabel{classTicket_a584a11f6236fc96f3bdbd0592d3f60f4}{{5.12.2.2}{43}{\texorpdfstring {read()}{read()}}{table.5.22}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.12.2.3}write()}{43}{subsubsection.5.12.2.3}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {6}File Documentation}{45}{chapter.6}\protected@file@percent } +\@writefile{lof}{\addvspace {10\p@ }} +\@writefile{lot}{\addvspace {10\p@ }} +\@writefile{toc}{\contentsline {section}{\numberline {6.1}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Generic/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Console\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Interface/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Command.h File Reference}{45}{section.6.1}\protected@file@percent } +\newlabel{Command_8h}{{6.1}{45}{src/\+Generic/\+Console\+Interface/\+Command.h File Reference}{section.6.1}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.1.1}Detailed Description}{45}{subsection.6.1.1}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.2}Command.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{45}{section.6.2}\protected@file@percent } +\newlabel{Command_8h_source}{{6.2}{45}{Command.\+h}{section.6.2}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.3}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Generic/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Console\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Interface/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Menu.h File Reference}{45}{section.6.3}\protected@file@percent } +\newlabel{Menu_8h}{{6.3}{45}{src/\+Generic/\+Console\+Interface/\+Menu.h File Reference}{section.6.3}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.1}Detailed Description}{46}{subsection.6.3.1}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.4}Menu.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{46}{section.6.4}\protected@file@percent } +\newlabel{Menu_8h_source}{{6.4}{46}{Menu.\+h}{section.6.4}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.5}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Generic/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Console\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Interface/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Toolbox.hpp File Reference}{46}{section.6.5}\protected@file@percent } +\newlabel{Toolbox_8hpp}{{6.5}{46}{src/\+Generic/\+Console\+Interface/\+Toolbox.hpp File Reference}{section.6.5}{}} +\newlabel{Toolbox_8hpp_a09f908aa6474fe2b1f82b1aaade947f6}{{6.5}{46}{Macros}{section*.25}{}} +\newlabel{Toolbox_8hpp_a3c9098dc2b305107367c56ded5dec787}{{6.5}{47}{Functions}{section*.26}{}} +\newlabel{Toolbox_8hpp_a06ca09434be2a02543a2371d477acfa0}{{6.5}{47}{Functions}{section*.26}{}} +\newlabel{Toolbox_8hpp_a5ca1093462d3266fceb8522e144c1e73}{{6.5}{47}{Functions}{section*.26}{}} +\newlabel{Toolbox_8hpp_a9c0a0d7d3210ca5f12f02ac4cb88476e}{{6.5}{47}{Functions}{section*.26}{}} +\newlabel{Toolbox_8hpp_a148d9d6b8b15bbfc2b1f4cdb16c2ee81}{{6.5}{47}{Functions}{section*.26}{}} +\gdef \LT@xxiv {\LT@entry + {3}{31.80762pt}\LT@entry + {3}{232.20258pt}} +\newlabel{Toolbox_8hpp_a799f4cb5b4da3d40261e25d9e41995aa}{{6.5}{48}{Functions}{section*.26}{}} +\newlabel{Toolbox_8hpp_abe3a449632ee6d40eb59101dd2d2f114}{{6.5}{48}{Functions}{section*.26}{}} +\newlabel{Toolbox_8hpp_ab7651f0a92f8d0d0be3d63c1045eee1e}{{6.5}{48}{Functions}{section*.26}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.5.1}Detailed Description}{48}{subsection.6.5.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.5.2}Function Documentation}{48}{subsection.6.5.2}\protected@file@percent } +\newlabel{Toolbox_8hpp_ab3ce613add75d2385c8e1424527d2c3d}{{6.5.2}{48}{Function Documentation}{subsection.6.5.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.5.2.1}\_printInputBoxLabel()}{48}{subsubsection.6.5.2.1}\protected@file@percent } +\newlabel{Toolbox_8hpp_a27b565355e018d36b6ce47169cc26fad}{{6.5.2.1}{48}{\texorpdfstring {\_printInputBoxLabel()}{\_printInputBoxLabel()}}{table.6.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.5.2.2}\_printOrderedListBeginning()}{49}{subsubsection.6.5.2.2}\protected@file@percent } +\newlabel{Toolbox_8hpp_ac17b91efad13dbe9e10e5550ee4707c6}{{6.5.2.2}{49}{\texorpdfstring {\_printOrderedListBeginning()}{\_printOrderedListBeginning()}}{subsubsection.6.5.2.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.5.2.3}\_printSubBoxSpacing()}{49}{subsubsection.6.5.2.3}\protected@file@percent } +\newlabel{Toolbox_8hpp_ac8bb3912a3ce86b15842e79d0b421204}{{6.5.2.3}{49}{\texorpdfstring {\_printSubBoxSpacing()}{\_printSubBoxSpacing()}}{subsubsection.6.5.2.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.5.2.4}clear()}{49}{subsubsection.6.5.2.4}\protected@file@percent } +\newlabel{Toolbox_8hpp_a9d709a3db7de05368cc38671c896bb2d}{{6.5.2.4}{49}{\texorpdfstring {clear()}{clear()}}{subsubsection.6.5.2.4}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.5.2.5}errorBox()}{49}{subsubsection.6.5.2.5}\protected@file@percent } +\gdef \LT@xxv {\LT@entry + {3}{49.31245pt}\LT@entry + {3}{232.20258pt}} +\gdef \LT@xxvi {\LT@entry + {3}{49.31245pt}\LT@entry + {3}{232.20258pt}} +\gdef \LT@xxvii {\LT@entry + {3}{52.8043pt}\LT@entry + {3}{402.4398pt}} +\newlabel{Toolbox_8hpp_ade748c3f15151748c9f978097715d2e7}{{6.5.2.5}{50}{\texorpdfstring {errorBox()}{errorBox()}}{table.6.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.5.2.6}errorSubBox()}{50}{subsubsection.6.5.2.6}\protected@file@percent } +\newlabel{Toolbox_8hpp_aa49b4d5a7b00249bc1fb08eec5e3aeaf}{{6.5.2.6}{50}{\texorpdfstring {errorSubBox()}{errorSubBox()}}{table.6.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.5.2.7}inputLineBox()}{50}{subsubsection.6.5.2.7}\protected@file@percent } +\gdef \LT@xxviii {\LT@entry + {3}{52.8043pt}\LT@entry + {3}{402.4398pt}} +\newlabel{Toolbox_8hpp_ad2c61ce27ec52d14e427d6f6e93d38f2}{{6.5.2.7}{51}{\texorpdfstring {inputLineBox()}{inputLineBox()}}{table.6.4}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.5.2.8}inputLineSubBox()}{51}{subsubsection.6.5.2.8}\protected@file@percent } +\newlabel{Toolbox_8hpp_a92da1c5f0023cd5c4809d9c1f682e92f}{{6.5.2.8}{51}{\texorpdfstring {inputLineSubBox()}{inputLineSubBox()}}{table.6.5}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.5.2.9}inputSubBox()}{51}{subsubsection.6.5.2.9}\protected@file@percent } +\newlabel{Toolbox_8hpp_ac7f54319bf4e70a46e3155ae1b39e832}{{6.5.2.9}{51}{\texorpdfstring {inputSubBox()}{inputSubBox()}}{subsubsection.6.5.2.9}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.5.2.10}pressEnterToContinue()}{51}{subsubsection.6.5.2.10}\protected@file@percent } +\gdef \LT@xxix {\LT@entry + {3}{37.8105pt}\LT@entry + {3}{420.96371pt}} +\gdef \LT@xxx {\LT@entry + {3}{38.66533pt}\LT@entry + {3}{255.39482pt}} +\gdef \LT@xxxi {\LT@entry + {3}{26.80359pt}\LT@entry + {3}{232.20258pt}} +\gdef \LT@xxxii {\LT@entry + {3}{49.31245pt}\LT@entry + {3}{232.20258pt}} +\newlabel{Toolbox_8hpp_a4456d10f7e141c4fc1a29aff4ad29108}{{6.5.2.10}{52}{\texorpdfstring {pressEnterToContinue()}{pressEnterToContinue()}}{table.6.6}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.5.2.11}resetOrderedList()}{52}{subsubsection.6.5.2.11}\protected@file@percent } +\newlabel{Toolbox_8hpp_ad557e4a1167be4e0c57fe530ce74a120}{{6.5.2.11}{52}{\texorpdfstring {resetOrderedList()}{resetOrderedList()}}{table.6.7}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.5.2.12}subTitleBox()}{52}{subsubsection.6.5.2.12}\protected@file@percent } +\newlabel{Toolbox_8hpp_a6c82ac6987703376c17c74a81fb0a91a}{{6.5.2.12}{52}{\texorpdfstring {subTitleBox()}{subTitleBox()}}{table.6.8}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.5.2.13}successBox()}{52}{subsubsection.6.5.2.13}\protected@file@percent } +\gdef \LT@xxxiii {\LT@entry + {3}{49.31245pt}\LT@entry + {3}{232.20258pt}} +\gdef \LT@xxxiv {\LT@entry + {3}{62.66797pt}\LT@entry + {3}{248.14986pt}} +\newlabel{Toolbox_8hpp_aa78e2e87fff9b64ca032a5b1c7054081}{{6.5.2.13}{53}{\texorpdfstring {successBox()}{successBox()}}{table.6.9}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.5.2.14}successSubBox()}{53}{subsubsection.6.5.2.14}\protected@file@percent } +\newlabel{Toolbox_8hpp_a6c90056ede686f0319d0fb0a408d02e5}{{6.5.2.14}{53}{\texorpdfstring {successSubBox()}{successSubBox()}}{table.6.10}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.5.2.15}table()}{53}{subsubsection.6.5.2.15}\protected@file@percent } +\gdef \LT@xxxv {\LT@entry + {3}{26.80359pt}\LT@entry + {3}{232.20258pt}} +\gdef \LT@xxxvi {\LT@entry + {3}{49.31245pt}\LT@entry + {3}{232.20258pt}} +\gdef \LT@xxxvii {\LT@entry + {3}{49.31245pt}\LT@entry + {3}{232.20258pt}} +\newlabel{Toolbox_8hpp_a24a3fa9050ea032396c213ea85a1de0b}{{6.5.2.15}{54}{\texorpdfstring {table()}{table()}}{table.6.11}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.5.2.16}titleBox()}{54}{subsubsection.6.5.2.16}\protected@file@percent } +\newlabel{Toolbox_8hpp_a52222c9ff8739ef87c89df899deb5052}{{6.5.2.16}{54}{\texorpdfstring {titleBox()}{titleBox()}}{table.6.12}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.5.2.17}warningBox()}{54}{subsubsection.6.5.2.17}\protected@file@percent } +\newlabel{Toolbox_8hpp_a22f8b3135115d1b9fca09eea98dc6d92}{{6.5.2.17}{54}{\texorpdfstring {warningBox()}{warningBox()}}{table.6.13}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.5.2.18}warningSubBox()}{54}{subsubsection.6.5.2.18}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.6}Toolbox.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}hpp}{55}{section.6.6}\protected@file@percent } +\newlabel{Toolbox_8hpp_source}{{6.6}{55}{Toolbox.\+hpp}{section.6.6}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.7}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Generic/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Date/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Date.h File Reference}{56}{section.6.7}\protected@file@percent } +\newlabel{Date_8h}{{6.7}{56}{src/\+Generic/\+Date/\+Date.h File Reference}{section.6.7}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.1}Detailed Description}{56}{subsection.6.7.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.2}Function Documentation}{56}{subsection.6.7.2}\protected@file@percent } +\newlabel{Date_8h_ad12d4bbc4f7919efdec583d1478a6a76}{{6.7.2}{56}{Function Documentation}{subsection.6.7.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.7.2.1}operator$<$$<$()}{56}{subsubsection.6.7.2.1}\protected@file@percent } +\newlabel{Date_8h_ae020cf1772268f1a43d172d3adfc9797}{{6.7.2.1}{56}{\texorpdfstring {operator$<$$<$()}{operator<<()}}{subsubsection.6.7.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.7.2.2}operator$>$$>$()}{57}{subsubsection.6.7.2.2}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.8}Date.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{57}{section.6.8}\protected@file@percent } +\newlabel{Date_8h_source}{{6.8}{57}{Date.\+h}{section.6.8}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.9}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Generic/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}List/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}List.hpp File Reference}{57}{section.6.9}\protected@file@percent } +\newlabel{List_8hpp}{{6.9}{57}{src/\+Generic/\+List/\+List.hpp File Reference}{section.6.9}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.9.1}Detailed Description}{58}{subsection.6.9.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.9.2}Function Documentation}{58}{subsection.6.9.2}\protected@file@percent } +\newlabel{List_8hpp_ac8590f4d4ba6c820c34afe14df54f2c2}{{6.9.2}{58}{Function Documentation}{subsection.6.9.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.9.2.1}operator$<$$<$()}{58}{subsubsection.6.9.2.1}\protected@file@percent } +\newlabel{List_8hpp_a7469c3479753bfbada761697c539aa07}{{6.9.2.1}{58}{\texorpdfstring {operator$<$$<$()}{operator<<()}}{subsubsection.6.9.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.9.2.2}operator$>$$>$()}{59}{subsubsection.6.9.2.2}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.10}List.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}hpp}{59}{section.6.10}\protected@file@percent } +\newlabel{List_8hpp_source}{{6.10}{59}{List.\+hpp}{section.6.10}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.11}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Generic/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}List/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Ordered\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}List.hpp File Reference}{62}{section.6.11}\protected@file@percent } +\newlabel{OrderedList_8hpp}{{6.11}{62}{src/\+Generic/\+List/\+Ordered\+List.hpp File Reference}{section.6.11}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.11.1}Detailed Description}{62}{subsection.6.11.1}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.12}Ordered\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}List.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}hpp}{62}{section.6.12}\protected@file@percent } +\newlabel{OrderedList_8hpp_source}{{6.12}{62}{Ordered\+List.\+hpp}{section.6.12}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.13}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Generic/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}String/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}String.h File Reference}{63}{section.6.13}\protected@file@percent } +\newlabel{String_8h}{{6.13}{63}{src/\+Generic/\+String/\+String.h File Reference}{section.6.13}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.13.1}Detailed Description}{63}{subsection.6.13.1}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.14}String.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{63}{section.6.14}\protected@file@percent } +\newlabel{String_8h_source}{{6.14}{63}{String.\+h}{section.6.14}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.15}src/main.cpp File Reference}{64}{section.6.15}\protected@file@percent } +\newlabel{main_8cpp}{{6.15}{64}{src/main.cpp File Reference}{section.6.15}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.15.1}Detailed Description}{64}{subsection.6.15.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.15.2}Function Documentation}{64}{subsection.6.15.2}\protected@file@percent } +\newlabel{main_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{{6.15.2}{64}{Function Documentation}{subsection.6.15.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.15.2.1}main()}{64}{subsubsection.6.15.2.1}\protected@file@percent } +\gdef \LT@xxxviii {\LT@entry + {3}{39.31342pt}\LT@entry + {3}{333.64781pt}} +\@writefile{toc}{\contentsline {section}{\numberline {6.16}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Models/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Event.h File Reference}{65}{section.6.16}\protected@file@percent } +\newlabel{Event_8h}{{6.16}{65}{src/\+Models/\+Event.h File Reference}{section.6.16}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.16.1}Detailed Description}{65}{subsection.6.16.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.16.2}Function Documentation}{65}{subsection.6.16.2}\protected@file@percent } +\newlabel{Event_8h_ad423797aa9adadabb5651f8955c001bb}{{6.16.2}{65}{Function Documentation}{subsection.6.16.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.16.2.1}configureEventInsertionOp()}{65}{subsubsection.6.16.2.1}\protected@file@percent } +\newlabel{Event_8h_a08eaf45abee385d26c4934afeb9be163}{{6.16.2.1}{66}{\texorpdfstring {configureEventInsertionOp()}{configureEventInsertionOp()}}{Item.5}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.16.2.2}operator$<$$<$()}{66}{subsubsection.6.16.2.2}\protected@file@percent } +\newlabel{Event_8h_a31d9c76919809491b346728ec6659b19}{{6.16.2.2}{66}{\texorpdfstring {operator$<$$<$()}{operator<<()}}{subsubsection.6.16.2.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.16.2.3}operator$>$$>$()}{66}{subsubsection.6.16.2.3}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.17}Event.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{67}{section.6.17}\protected@file@percent } +\newlabel{Event_8h_source}{{6.17}{67}{Event.\+h}{section.6.17}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.18}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Models/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Hall.h File Reference}{67}{section.6.18}\protected@file@percent } +\newlabel{Hall_8h}{{6.18}{67}{src/\+Models/\+Hall.h File Reference}{section.6.18}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.18.1}Detailed Description}{68}{subsection.6.18.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.18.2}Function Documentation}{68}{subsection.6.18.2}\protected@file@percent } +\newlabel{Hall_8h_a9671d0935caa6dd24b5f1b9be101c477}{{6.18.2}{68}{Function Documentation}{subsection.6.18.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.18.2.1}operator$<$$<$()}{68}{subsubsection.6.18.2.1}\protected@file@percent } +\newlabel{Hall_8h_ac55d9db507637effdb1896e33c86d439}{{6.18.2.1}{68}{\texorpdfstring {operator$<$$<$()}{operator<<()}}{subsubsection.6.18.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.18.2.2}operator$>$$>$()}{68}{subsubsection.6.18.2.2}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.19}Hall.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{69}{section.6.19}\protected@file@percent } +\newlabel{Hall_8h_source}{{6.19}{69}{Hall.\+h}{section.6.19}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.20}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Models/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Reservation.h File Reference}{69}{section.6.20}\protected@file@percent } +\newlabel{Reservation_8h}{{6.20}{69}{src/\+Models/\+Reservation.h File Reference}{section.6.20}{}} +\newlabel{Reservation_8h_a0fe437f408e254d25bd93c55b2a17371}{{6.20}{69}{Macros}{section*.39}{}} +\newlabel{Reservation_8h_a3c10da010db9a0c17470973fea43566f}{{6.20}{69}{Macros}{section*.39}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.20.1}Detailed Description}{69}{subsection.6.20.1}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.21}Reservation.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{70}{section.6.21}\protected@file@percent } +\newlabel{Reservation_8h_source}{{6.21}{70}{Reservation.\+h}{section.6.21}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.22}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Models/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Ticket.h File Reference}{70}{section.6.22}\protected@file@percent } +\newlabel{Ticket_8h}{{6.22}{70}{src/\+Models/\+Ticket.h File Reference}{section.6.22}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.22.1}Detailed Description}{70}{subsection.6.22.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.22.2}Function Documentation}{71}{subsection.6.22.2}\protected@file@percent } +\newlabel{Ticket_8h_ae1686d3505df5e86e64e6e1b263e92ce}{{6.22.2}{71}{Function Documentation}{subsection.6.22.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.22.2.1}operator$<$$<$()}{71}{subsubsection.6.22.2.1}\protected@file@percent } +\newlabel{Ticket_8h_ac5c53ae039e173faa4cce85c2e32c920}{{6.22.2.1}{71}{\texorpdfstring {operator$<$$<$()}{operator<<()}}{subsubsection.6.22.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.22.2.2}operator$>$$>$()}{71}{subsubsection.6.22.2.2}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.23}Ticket.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{71}{section.6.23}\protected@file@percent } +\newlabel{Ticket_8h_source}{{6.23}{71}{Ticket.\+h}{section.6.23}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.24}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Services/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Event\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Service.h File Reference}{72}{section.6.24}\protected@file@percent } +\newlabel{EventService_8h}{{6.24}{72}{src/\+Services/\+Event\+Service.h File Reference}{section.6.24}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.24.1}Detailed Description}{72}{subsection.6.24.1}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.25}Event\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Service.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{72}{section.6.25}\protected@file@percent } +\newlabel{EventService_8h_source}{{6.25}{72}{Event\+Service.\+h}{section.6.25}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.26}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Services/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Hall\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Service.h File Reference}{73}{section.6.26}\protected@file@percent } +\newlabel{HallService_8h}{{6.26}{73}{src/\+Services/\+Hall\+Service.h File Reference}{section.6.26}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.26.1}Detailed Description}{73}{subsection.6.26.1}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.27}Hall\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Service.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{73}{section.6.27}\protected@file@percent } +\newlabel{HallService_8h_source}{{6.27}{73}{Hall\+Service.\+h}{section.6.27}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.28}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Services/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Status\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Code.h File Reference}{73}{section.6.28}\protected@file@percent } +\newlabel{StatusCode_8h}{{6.28}{73}{src/\+Services/\+Status\+Code.h File Reference}{section.6.28}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.28.1}Detailed Description}{74}{subsection.6.28.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.28.2}Enumeration Type Documentation}{74}{subsection.6.28.2}\protected@file@percent } +\newlabel{StatusCode_8h_ae98a46f4ea1a43ca48acaf15d2eb7113}{{6.28.2}{74}{Enumeration Type Documentation}{subsection.6.28.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.28.2.1}StatusCode}{74}{subsubsection.6.28.2.1}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.29}Status\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Code.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{74}{section.6.29}\protected@file@percent } +\newlabel{StatusCode_8h_source}{{6.29}{74}{Status\+Code.\+h}{section.6.29}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.30}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}User\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Interface/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}FMITicket\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}System\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Console\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}UI.h File Reference}{74}{section.6.30}\protected@file@percent } +\newlabel{FMITicketSystemConsoleUI_8h}{{6.30}{74}{src/\+User\+Interface/\+FMITicket\+System\+Console\+UI.h File Reference}{section.6.30}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.30.1}Detailed Description}{75}{subsection.6.30.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.30.2}Function Documentation}{75}{subsection.6.30.2}\protected@file@percent } +\newlabel{FMITicketSystemConsoleUI_8h_a79d6833c27b5a32b6d9917f5cd6e32a3}{{6.30.2}{75}{Function Documentation}{subsection.6.30.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.30.2.1}runUI()}{75}{subsubsection.6.30.2.1}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.31}FMITicket\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}System\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Console\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}UI.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{75}{section.6.31}\protected@file@percent } +\newlabel{FMITicketSystemConsoleUI_8h_source}{{6.31}{75}{FMITicket\+System\+Console\+UI.\+h}{section.6.31}{}} diff --git a/docs/latex/refman.idx b/docs/latex/refman.idx new file mode 100644 index 0000000..454c481 --- /dev/null +++ b/docs/latex/refman.idx @@ -0,0 +1,243 @@ +\indexentry{Command@{Command}|hyperpage}{9} +\indexentry{Command@{Command}!Command@{Command}|hyperpage}{9} +\indexentry{Command@{Command}!Command@{Command}|hyperpage}{9} +\indexentry{Command@{Command}!run@{run}|hyperpage}{10} +\indexentry{run@{run}!Command@{Command}|hyperpage}{10} +\indexentry{Date@{Date}|hyperpage}{10} +\indexentry{Date@{Date}!Date@{Date}|hyperpage}{11} +\indexentry{Date@{Date}!Date@{Date}|hyperpage}{11} +\indexentry{Date@{Date}!Date@{Date}|hyperpage}{11} +\indexentry{Date@{Date}!Date@{Date}|hyperpage}{11} +\indexentry{Date@{Date}!compare@{compare}|hyperpage}{12} +\indexentry{compare@{compare}!Date@{Date}|hyperpage}{12} +\indexentry{Date@{Date}!createString@{createString}|hyperpage}{12} +\indexentry{createString@{createString}!Date@{Date}|hyperpage}{12} +\indexentry{Date@{Date}!read@{read}|hyperpage}{12} +\indexentry{read@{read}!Date@{Date}|hyperpage}{12} +\indexentry{Date@{Date}!set\_day@{set\_day}|hyperpage}{13} +\indexentry{set\_day@{set\_day}!Date@{Date}|hyperpage}{13} +\indexentry{Date@{Date}!set\_month@{set\_month}|hyperpage}{13} +\indexentry{set\_month@{set\_month}!Date@{Date}|hyperpage}{13} +\indexentry{Date@{Date}!set\_year@{set\_year}|hyperpage}{13} +\indexentry{set\_year@{set\_year}!Date@{Date}|hyperpage}{13} +\indexentry{Date@{Date}!write@{write}|hyperpage}{13} +\indexentry{write@{write}!Date@{Date}|hyperpage}{13} +\indexentry{Event@{Event}|hyperpage}{14} +\indexentry{Event@{Event}!compare@{compare}|hyperpage}{15} +\indexentry{compare@{compare}!Event@{Event}|hyperpage}{15} +\indexentry{Event@{Event}!read@{read}|hyperpage}{15} +\indexentry{read@{read}!Event@{Event}|hyperpage}{15} +\indexentry{Event@{Event}!write@{write}|hyperpage}{15} +\indexentry{write@{write}!Event@{Event}|hyperpage}{15} +\indexentry{EventService@{EventService}|hyperpage}{16} +\indexentry{EventService@{EventService}!buyTicket@{buyTicket}|hyperpage}{17} +\indexentry{buyTicket@{buyTicket}!EventService@{EventService}|hyperpage}{17} +\indexentry{EventService@{EventService}!buyTicket@{buyTicket}|hyperpage}{17} +\indexentry{buyTicket@{buyTicket}!EventService@{EventService}|hyperpage}{17} +\indexentry{EventService@{EventService}!cancelEvent@{cancelEvent}|hyperpage}{18} +\indexentry{cancelEvent@{cancelEvent}!EventService@{EventService}|hyperpage}{18} +\indexentry{EventService@{EventService}!cancelTicketReservation@{cancelTicketReservation}|hyperpage}{18} +\indexentry{cancelTicketReservation@{cancelTicketReservation}!EventService@{EventService}|hyperpage}{18} +\indexentry{EventService@{EventService}!createEvent@{createEvent}|hyperpage}{18} +\indexentry{createEvent@{createEvent}!EventService@{EventService}|hyperpage}{18} +\indexentry{EventService@{EventService}!createSeatingString@{createSeatingString}|hyperpage}{19} +\indexentry{createSeatingString@{createSeatingString}!EventService@{EventService}|hyperpage}{19} +\indexentry{EventService@{EventService}!load@{load}|hyperpage}{19} +\indexentry{load@{load}!EventService@{EventService}|hyperpage}{19} +\indexentry{EventService@{EventService}!queryInsufficientlyVisited@{queryInsufficientlyVisited}|hyperpage}{19} +\indexentry{queryInsufficientlyVisited@{queryInsufficientlyVisited}!EventService@{EventService}|hyperpage}{19} +\indexentry{EventService@{EventService}!queryMostWatched@{queryMostWatched}|hyperpage}{20} +\indexentry{queryMostWatched@{queryMostWatched}!EventService@{EventService}|hyperpage}{20} +\indexentry{EventService@{EventService}!reportBoughtTickets@{reportBoughtTickets}|hyperpage}{20} +\indexentry{reportBoughtTickets@{reportBoughtTickets}!EventService@{EventService}|hyperpage}{20} +\indexentry{EventService@{EventService}!reportReservations@{reportReservations}|hyperpage}{20} +\indexentry{reportReservations@{reportReservations}!EventService@{EventService}|hyperpage}{20} +\indexentry{EventService@{EventService}!reserveTicket@{reserveTicket}|hyperpage}{21} +\indexentry{reserveTicket@{reserveTicket}!EventService@{EventService}|hyperpage}{21} +\indexentry{EventService@{EventService}!save@{save}|hyperpage}{21} +\indexentry{save@{save}!EventService@{EventService}|hyperpage}{21} +\indexentry{EventService@{EventService}!ticketIsReserved@{ticketIsReserved}|hyperpage}{22} +\indexentry{ticketIsReserved@{ticketIsReserved}!EventService@{EventService}|hyperpage}{22} +\indexentry{Hall@{Hall}|hyperpage}{22} +\indexentry{Hall@{Hall}!compare@{compare}|hyperpage}{23} +\indexentry{compare@{compare}!Hall@{Hall}|hyperpage}{23} +\indexentry{Hall@{Hall}!read@{read}|hyperpage}{23} +\indexentry{read@{read}!Hall@{Hall}|hyperpage}{23} +\indexentry{Hall@{Hall}!write@{write}|hyperpage}{24} +\indexentry{write@{write}!Hall@{Hall}|hyperpage}{24} +\indexentry{HallService@{HallService}|hyperpage}{24} +\indexentry{HallService@{HallService}!load@{load}|hyperpage}{25} +\indexentry{load@{load}!HallService@{HallService}|hyperpage}{25} +\indexentry{HallService@{HallService}!save@{save}|hyperpage}{25} +\indexentry{save@{save}!HallService@{HallService}|hyperpage}{25} +\indexentry{List$<$ T $>$@{List$<$ T $>$}|hyperpage}{26} +\indexentry{List$<$ T $>$@{List$<$ T $>$}!add@{add}|hyperpage}{27} +\indexentry{add@{add}!List$<$ T $>$@{List$<$ T $>$}|hyperpage}{27} +\indexentry{List$<$ T $>$@{List$<$ T $>$}!contain@{contain}|hyperpage}{27} +\indexentry{contain@{contain}!List$<$ T $>$@{List$<$ T $>$}|hyperpage}{27} +\indexentry{List$<$ T $>$@{List$<$ T $>$}!findIndex@{findIndex}|hyperpage}{28} +\indexentry{findIndex@{findIndex}!List$<$ T $>$@{List$<$ T $>$}|hyperpage}{28} +\indexentry{List$<$ T $>$@{List$<$ T $>$}!get\_count@{get\_count}|hyperpage}{28} +\indexentry{get\_count@{get\_count}!List$<$ T $>$@{List$<$ T $>$}|hyperpage}{28} +\indexentry{List$<$ T $>$@{List$<$ T $>$}!get\_length@{get\_length}|hyperpage}{28} +\indexentry{get\_length@{get\_length}!List$<$ T $>$@{List$<$ T $>$}|hyperpage}{28} +\indexentry{List$<$ T $>$@{List$<$ T $>$}!insertAt@{insertAt}|hyperpage}{29} +\indexentry{insertAt@{insertAt}!List$<$ T $>$@{List$<$ T $>$}|hyperpage}{29} +\indexentry{List$<$ T $>$@{List$<$ T $>$}!read@{read}|hyperpage}{29} +\indexentry{read@{read}!List$<$ T $>$@{List$<$ T $>$}|hyperpage}{29} +\indexentry{List$<$ T $>$@{List$<$ T $>$}!removeAt@{removeAt}|hyperpage}{29} +\indexentry{removeAt@{removeAt}!List$<$ T $>$@{List$<$ T $>$}|hyperpage}{29} +\indexentry{List$<$ T $>$@{List$<$ T $>$}!write@{write}|hyperpage}{30} +\indexentry{write@{write}!List$<$ T $>$@{List$<$ T $>$}|hyperpage}{30} +\indexentry{Menu@{Menu}|hyperpage}{30} +\indexentry{Menu@{Menu}!Menu@{Menu}|hyperpage}{31} +\indexentry{Menu@{Menu}!Menu@{Menu}|hyperpage}{31} +\indexentry{Menu@{Menu}!Menu@{Menu}|hyperpage}{31} +\indexentry{Menu@{Menu}!Menu@{Menu}|hyperpage}{31} +\indexentry{Menu@{Menu}!navigate@{navigate}|hyperpage}{32} +\indexentry{navigate@{navigate}!Menu@{Menu}|hyperpage}{32} +\indexentry{Menu@{Menu}!registerError@{registerError}|hyperpage}{32} +\indexentry{registerError@{registerError}!Menu@{Menu}|hyperpage}{32} +\indexentry{Menu@{Menu}!registerSuccess@{registerSuccess}|hyperpage}{33} +\indexentry{registerSuccess@{registerSuccess}!Menu@{Menu}|hyperpage}{33} +\indexentry{Menu@{Menu}!registerWarning@{registerWarning}|hyperpage}{33} +\indexentry{registerWarning@{registerWarning}!Menu@{Menu}|hyperpage}{33} +\indexentry{OrderedList$<$ T $>$@{OrderedList$<$ T $>$}|hyperpage}{33} +\indexentry{OrderedList$<$ T $>$@{OrderedList$<$ T $>$}!add@{add}|hyperpage}{34} +\indexentry{add@{add}!OrderedList$<$ T $>$@{OrderedList$<$ T $>$}|hyperpage}{34} +\indexentry{OrderedList$<$ T $>$@{OrderedList$<$ T $>$}!insert@{insert}|hyperpage}{34} +\indexentry{insert@{insert}!OrderedList$<$ T $>$@{OrderedList$<$ T $>$}|hyperpage}{34} +\indexentry{OrderedList$<$ T $>$@{OrderedList$<$ T $>$}!insertAt@{insertAt}|hyperpage}{35} +\indexentry{insertAt@{insertAt}!OrderedList$<$ T $>$@{OrderedList$<$ T $>$}|hyperpage}{35} +\indexentry{Reservation@{Reservation}|hyperpage}{35} +\indexentry{Reservation@{Reservation}!compare@{compare}|hyperpage}{36} +\indexentry{compare@{compare}!Reservation@{Reservation}|hyperpage}{36} +\indexentry{Reservation@{Reservation}!read@{read}|hyperpage}{36} +\indexentry{read@{read}!Reservation@{Reservation}|hyperpage}{36} +\indexentry{Reservation@{Reservation}!write@{write}|hyperpage}{37} +\indexentry{write@{write}!Reservation@{Reservation}|hyperpage}{37} +\indexentry{Reservation@{Reservation}!operator$<$$<$@{operator$<$$<$}|hyperpage}{37} +\indexentry{operator$<$$<$@{operator$<$$<$}!Reservation@{Reservation}|hyperpage}{37} +\indexentry{Reservation@{Reservation}!operator$>$$>$@{operator$>$$>$}|hyperpage}{38} +\indexentry{operator$>$$>$@{operator$>$$>$}!Reservation@{Reservation}|hyperpage}{38} +\indexentry{String@{String}|hyperpage}{38} +\indexentry{String@{String}!String@{String}|hyperpage}{39} +\indexentry{String@{String}!String@{String}|hyperpage}{39} +\indexentry{String@{String}!String@{String}|hyperpage}{39} +\indexentry{String@{String}!String@{String}|hyperpage}{39} +\indexentry{String@{String}!compare@{compare}|hyperpage}{39} +\indexentry{compare@{compare}!String@{String}|hyperpage}{39} +\indexentry{String@{String}!operator+=@{operator+=}|hyperpage}{39} +\indexentry{operator+=@{operator+=}!String@{String}|hyperpage}{39} +\indexentry{String@{String}!operator+=@{operator+=}|hyperpage}{40} +\indexentry{operator+=@{operator+=}!String@{String}|hyperpage}{40} +\indexentry{String@{String}!read@{read}|hyperpage}{40} +\indexentry{read@{read}!String@{String}|hyperpage}{40} +\indexentry{String@{String}!write@{write}|hyperpage}{40} +\indexentry{write@{write}!String@{String}|hyperpage}{40} +\indexentry{String@{String}!operator$<$$<$@{operator$<$$<$}|hyperpage}{41} +\indexentry{operator$<$$<$@{operator$<$$<$}!String@{String}|hyperpage}{41} +\indexentry{String@{String}!operator$>$$>$@{operator$>$$>$}|hyperpage}{41} +\indexentry{operator$>$$>$@{operator$>$$>$}!String@{String}|hyperpage}{41} +\indexentry{Ticket@{Ticket}|hyperpage}{42} +\indexentry{Ticket@{Ticket}!compare@{compare}|hyperpage}{42} +\indexentry{compare@{compare}!Ticket@{Ticket}|hyperpage}{42} +\indexentry{Ticket@{Ticket}!read@{read}|hyperpage}{42} +\indexentry{read@{read}!Ticket@{Ticket}|hyperpage}{42} +\indexentry{Ticket@{Ticket}!write@{write}|hyperpage}{43} +\indexentry{write@{write}!Ticket@{Ticket}|hyperpage}{43} +\indexentry{src/Generic/ConsoleInterface/Command.h@{src/Generic/ConsoleInterface/Command.h}|hyperpage}{45} +\indexentry{src/Generic/ConsoleInterface/Command.h@{src/Generic/ConsoleInterface/Command.h}|hyperpage}{45} +\indexentry{src/Generic/ConsoleInterface/Menu.h@{src/Generic/ConsoleInterface/Menu.h}|hyperpage}{45} +\indexentry{src/Generic/ConsoleInterface/Menu.h@{src/Generic/ConsoleInterface/Menu.h}|hyperpage}{46} +\indexentry{src/Generic/ConsoleInterface/Toolbox.hpp@{src/Generic/ConsoleInterface/Toolbox.hpp}|hyperpage}{46} +\indexentry{Toolbox.hpp@{Toolbox.hpp}!\_printInputBoxLabel@{\_printInputBoxLabel}|hyperpage}{48} +\indexentry{\_printInputBoxLabel@{\_printInputBoxLabel}!Toolbox.hpp@{Toolbox.hpp}|hyperpage}{48} +\indexentry{Toolbox.hpp@{Toolbox.hpp}!\_printOrderedListBeginning@{\_printOrderedListBeginning}|hyperpage}{48} +\indexentry{\_printOrderedListBeginning@{\_printOrderedListBeginning}!Toolbox.hpp@{Toolbox.hpp}|hyperpage}{48} +\indexentry{Toolbox.hpp@{Toolbox.hpp}!\_printSubBoxSpacing@{\_printSubBoxSpacing}|hyperpage}{49} +\indexentry{\_printSubBoxSpacing@{\_printSubBoxSpacing}!Toolbox.hpp@{Toolbox.hpp}|hyperpage}{49} +\indexentry{Toolbox.hpp@{Toolbox.hpp}!clear@{clear}|hyperpage}{49} +\indexentry{clear@{clear}!Toolbox.hpp@{Toolbox.hpp}|hyperpage}{49} +\indexentry{Toolbox.hpp@{Toolbox.hpp}!errorBox@{errorBox}|hyperpage}{49} +\indexentry{errorBox@{errorBox}!Toolbox.hpp@{Toolbox.hpp}|hyperpage}{49} +\indexentry{Toolbox.hpp@{Toolbox.hpp}!errorSubBox@{errorSubBox}|hyperpage}{50} +\indexentry{errorSubBox@{errorSubBox}!Toolbox.hpp@{Toolbox.hpp}|hyperpage}{50} +\indexentry{Toolbox.hpp@{Toolbox.hpp}!inputLineBox@{inputLineBox}|hyperpage}{50} +\indexentry{inputLineBox@{inputLineBox}!Toolbox.hpp@{Toolbox.hpp}|hyperpage}{50} +\indexentry{Toolbox.hpp@{Toolbox.hpp}!inputLineSubBox@{inputLineSubBox}|hyperpage}{51} +\indexentry{inputLineSubBox@{inputLineSubBox}!Toolbox.hpp@{Toolbox.hpp}|hyperpage}{51} +\indexentry{Toolbox.hpp@{Toolbox.hpp}!inputSubBox@{inputSubBox}|hyperpage}{51} +\indexentry{inputSubBox@{inputSubBox}!Toolbox.hpp@{Toolbox.hpp}|hyperpage}{51} +\indexentry{Toolbox.hpp@{Toolbox.hpp}!pressEnterToContinue@{pressEnterToContinue}|hyperpage}{51} +\indexentry{pressEnterToContinue@{pressEnterToContinue}!Toolbox.hpp@{Toolbox.hpp}|hyperpage}{51} +\indexentry{Toolbox.hpp@{Toolbox.hpp}!resetOrderedList@{resetOrderedList}|hyperpage}{52} +\indexentry{resetOrderedList@{resetOrderedList}!Toolbox.hpp@{Toolbox.hpp}|hyperpage}{52} +\indexentry{Toolbox.hpp@{Toolbox.hpp}!subTitleBox@{subTitleBox}|hyperpage}{52} +\indexentry{subTitleBox@{subTitleBox}!Toolbox.hpp@{Toolbox.hpp}|hyperpage}{52} +\indexentry{Toolbox.hpp@{Toolbox.hpp}!successBox@{successBox}|hyperpage}{52} +\indexentry{successBox@{successBox}!Toolbox.hpp@{Toolbox.hpp}|hyperpage}{52} +\indexentry{Toolbox.hpp@{Toolbox.hpp}!successSubBox@{successSubBox}|hyperpage}{53} +\indexentry{successSubBox@{successSubBox}!Toolbox.hpp@{Toolbox.hpp}|hyperpage}{53} +\indexentry{Toolbox.hpp@{Toolbox.hpp}!table@{table}|hyperpage}{53} +\indexentry{table@{table}!Toolbox.hpp@{Toolbox.hpp}|hyperpage}{53} +\indexentry{Toolbox.hpp@{Toolbox.hpp}!titleBox@{titleBox}|hyperpage}{54} +\indexentry{titleBox@{titleBox}!Toolbox.hpp@{Toolbox.hpp}|hyperpage}{54} +\indexentry{Toolbox.hpp@{Toolbox.hpp}!warningBox@{warningBox}|hyperpage}{54} +\indexentry{warningBox@{warningBox}!Toolbox.hpp@{Toolbox.hpp}|hyperpage}{54} +\indexentry{Toolbox.hpp@{Toolbox.hpp}!warningSubBox@{warningSubBox}|hyperpage}{54} +\indexentry{warningSubBox@{warningSubBox}!Toolbox.hpp@{Toolbox.hpp}|hyperpage}{54} +\indexentry{src/Generic/ConsoleInterface/Toolbox.hpp@{src/Generic/ConsoleInterface/Toolbox.hpp}|hyperpage}{55} +\indexentry{src/Generic/Date/Date.h@{src/Generic/Date/Date.h}|hyperpage}{56} +\indexentry{Date.h@{Date.h}!operator$<$$<$@{operator$<$$<$}|hyperpage}{56} +\indexentry{operator$<$$<$@{operator$<$$<$}!Date.h@{Date.h}|hyperpage}{56} +\indexentry{Date.h@{Date.h}!operator$>$$>$@{operator$>$$>$}|hyperpage}{56} +\indexentry{operator$>$$>$@{operator$>$$>$}!Date.h@{Date.h}|hyperpage}{56} +\indexentry{src/Generic/Date/Date.h@{src/Generic/Date/Date.h}|hyperpage}{57} +\indexentry{src/Generic/List/List.hpp@{src/Generic/List/List.hpp}|hyperpage}{57} +\indexentry{List.hpp@{List.hpp}!operator$<$$<$@{operator$<$$<$}|hyperpage}{58} +\indexentry{operator$<$$<$@{operator$<$$<$}!List.hpp@{List.hpp}|hyperpage}{58} +\indexentry{List.hpp@{List.hpp}!operator$>$$>$@{operator$>$$>$}|hyperpage}{58} +\indexentry{operator$>$$>$@{operator$>$$>$}!List.hpp@{List.hpp}|hyperpage}{58} +\indexentry{src/Generic/List/List.hpp@{src/Generic/List/List.hpp}|hyperpage}{59} +\indexentry{src/Generic/List/OrderedList.hpp@{src/Generic/List/OrderedList.hpp}|hyperpage}{62} +\indexentry{src/Generic/List/OrderedList.hpp@{src/Generic/List/OrderedList.hpp}|hyperpage}{62} +\indexentry{src/Generic/String/String.h@{src/Generic/String/String.h}|hyperpage}{63} +\indexentry{src/Generic/String/String.h@{src/Generic/String/String.h}|hyperpage}{63} +\indexentry{src/main.cpp@{src/main.cpp}|hyperpage}{64} +\indexentry{main.cpp@{main.cpp}!main@{main}|hyperpage}{64} +\indexentry{main@{main}!main.cpp@{main.cpp}|hyperpage}{64} +\indexentry{src/Models/Event.h@{src/Models/Event.h}|hyperpage}{65} +\indexentry{Event.h@{Event.h}!configureEventInsertionOp@{configureEventInsertionOp}|hyperpage}{65} +\indexentry{configureEventInsertionOp@{configureEventInsertionOp}!Event.h@{Event.h}|hyperpage}{65} +\indexentry{Event.h@{Event.h}!operator$<$$<$@{operator$<$$<$}|hyperpage}{66} +\indexentry{operator$<$$<$@{operator$<$$<$}!Event.h@{Event.h}|hyperpage}{66} +\indexentry{Event.h@{Event.h}!operator$>$$>$@{operator$>$$>$}|hyperpage}{66} +\indexentry{operator$>$$>$@{operator$>$$>$}!Event.h@{Event.h}|hyperpage}{66} +\indexentry{src/Models/Event.h@{src/Models/Event.h}|hyperpage}{67} +\indexentry{src/Models/Hall.h@{src/Models/Hall.h}|hyperpage}{67} +\indexentry{Hall.h@{Hall.h}!operator$<$$<$@{operator$<$$<$}|hyperpage}{68} +\indexentry{operator$<$$<$@{operator$<$$<$}!Hall.h@{Hall.h}|hyperpage}{68} +\indexentry{Hall.h@{Hall.h}!operator$>$$>$@{operator$>$$>$}|hyperpage}{68} +\indexentry{operator$>$$>$@{operator$>$$>$}!Hall.h@{Hall.h}|hyperpage}{68} +\indexentry{src/Models/Hall.h@{src/Models/Hall.h}|hyperpage}{69} +\indexentry{src/Models/Reservation.h@{src/Models/Reservation.h}|hyperpage}{69} +\indexentry{src/Models/Reservation.h@{src/Models/Reservation.h}|hyperpage}{70} +\indexentry{src/Models/Ticket.h@{src/Models/Ticket.h}|hyperpage}{70} +\indexentry{Ticket.h@{Ticket.h}!operator$<$$<$@{operator$<$$<$}|hyperpage}{71} +\indexentry{operator$<$$<$@{operator$<$$<$}!Ticket.h@{Ticket.h}|hyperpage}{71} +\indexentry{Ticket.h@{Ticket.h}!operator$>$$>$@{operator$>$$>$}|hyperpage}{71} +\indexentry{operator$>$$>$@{operator$>$$>$}!Ticket.h@{Ticket.h}|hyperpage}{71} +\indexentry{src/Models/Ticket.h@{src/Models/Ticket.h}|hyperpage}{71} +\indexentry{src/Services/EventService.h@{src/Services/EventService.h}|hyperpage}{72} +\indexentry{src/Services/EventService.h@{src/Services/EventService.h}|hyperpage}{72} +\indexentry{src/Services/HallService.h@{src/Services/HallService.h}|hyperpage}{73} +\indexentry{src/Services/HallService.h@{src/Services/HallService.h}|hyperpage}{73} +\indexentry{src/Services/StatusCode.h@{src/Services/StatusCode.h}|hyperpage}{73} +\indexentry{StatusCode.h@{StatusCode.h}!StatusCode@{StatusCode}|hyperpage}{74} +\indexentry{StatusCode@{StatusCode}!StatusCode.h@{StatusCode.h}|hyperpage}{74} +\indexentry{src/Services/StatusCode.h@{src/Services/StatusCode.h}|hyperpage}{74} +\indexentry{src/UserInterface/FMITicketSystemConsoleUI.h@{src/UserInterface/FMITicketSystemConsoleUI.h}|hyperpage}{74} +\indexentry{FMITicketSystemConsoleUI.h@{FMITicketSystemConsoleUI.h}!runUI@{runUI}|hyperpage}{75} +\indexentry{runUI@{runUI}!FMITicketSystemConsoleUI.h@{FMITicketSystemConsoleUI.h}|hyperpage}{75} +\indexentry{src/UserInterface/FMITicketSystemConsoleUI.h@{src/UserInterface/FMITicketSystemConsoleUI.h}|hyperpage}{75} diff --git a/docs/latex/refman.log b/docs/latex/refman.log new file mode 100644 index 0000000..0c9cb4b --- /dev/null +++ b/docs/latex/refman.log @@ -0,0 +1,2116 @@ +This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020 Funtoo Linux) (preloaded format=pdflatex 2022.4.8) 12 MAY 2022 20:14 +entering extended mode + restricted \write18 enabled. + %&-line parsing enabled. +**refman +(./refman.tex +LaTeX2e <2020-02-02> patch level 5 +L3 programming layer <2020-02-25> +(/usr/share/texmf-dist/tex/latex/base/book.cls +Document Class: book 2019/12/20 v1.4l Standard LaTeX document class +(/usr/share/texmf-dist/tex/latex/base/bk10.clo +File: bk10.clo 2019/12/20 v1.4l Standard LaTeX file (size option) +) +\c@part=\count167 +\c@chapter=\count168 +\c@section=\count169 +\c@subsection=\count170 +\c@subsubsection=\count171 +\c@paragraph=\count172 +\c@subparagraph=\count173 +\c@figure=\count174 +\c@table=\count175 +\abovecaptionskip=\skip47 +\belowcaptionskip=\skip48 +\bibindent=\dimen134 +) +(/usr/share/texmf-dist/tex/latex/base/ifthen.sty +Package: ifthen 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC) +) +(/usr/share/texmf-dist/tex/latex/tools/array.sty +Rollback for package 'array' requested -> date 2016-10-06. + Best approximation is the release introduced on 2016-10-06. + +(/usr/share/texmf-dist/tex/latex/tools/array-2016-10-06.sty +Package: array 2016/10/06 v2.4d Tabular extension package (FMi) +\col@sep=\dimen135 +\extrarowheight=\dimen136 +\NC@list=\toks15 +\extratabsurround=\skip49 +\backup@length=\skip50 +)) +(/usr/share/texmf-dist/tex/latex/base/fixltx2e.sty +Package: fixltx2e 2016/12/29 v2.1a fixes to LaTeX (obsolete) +Applying: [2015/01/01] Old fixltx2e package on input line 46. + + +Package fixltx2e Warning: fixltx2e is not required with releases after 2015 +(fixltx2e) All fixes are now in the LaTeX kernel. +(fixltx2e) See the latexrelease package for details. + +Already applied: [0000/00/00] Old fixltx2e package on input line 53. +) (./doxygen.sty +Package: doxygen + (/usr/share/texmf-dist/tex/latex/base/alltt.sty +Package: alltt 1997/06/16 v2.0g defines alltt environment +) +(/usr/share/texmf-dist/tex/latex/tools/calc.sty +Package: calc 2017/05/25 v4.3 Infix arithmetic (KKT,FJ) +\calc@Acount=\count176 +\calc@Bcount=\count177 +\calc@Adimen=\dimen137 +\calc@Bdimen=\dimen138 +\calc@Askip=\skip51 +\calc@Bskip=\skip52 +LaTeX Info: Redefining \setlength on input line 80. +LaTeX Info: Redefining \addtolength on input line 81. +\calc@Ccount=\count178 +\calc@Cskip=\skip53 +) +(/usr/share/texmf-dist/tex/latex/float/float.sty +Package: float 2001/11/08 v1.3d Float enhancements (AL) +\c@float@type=\count179 +\float@exts=\toks16 +\float@box=\box45 +\@float@everytoks=\toks17 +\@floatcapt=\box46 +) +(/usr/share/texmf-dist/tex/latex/tools/verbatim.sty +Package: verbatim 2019/11/10 v1.5r LaTeX2e package for verbatim enhancements +\every@verbatim=\toks18 +\verbatim@line=\toks19 +\verbatim@in@stream=\read2 +) +(/usr/share/texmf-site/tex/latex/xcolor/xcolor.sty +Package: xcolor 2016/05/11 v2.12 LaTeX color extensions (UK) + +(/usr/share/texmf-dist/tex/latex/graphics-cfg/color.cfg +File: color.cfg 2016/01/02 v1.6 sample color configuration +) +Package xcolor Info: Driver file: pdftex.def on input line 225. + +(/usr/share/texmf-dist/tex/latex/graphics-def/pdftex.def +File: pdftex.def 2018/01/08 v1.0l Graphics/color driver for pdftex +) +(/usr/share/texmf-dist/tex/latex/colortbl/colortbl.sty +Package: colortbl 2020/01/04 v1.0e Color table columns (DPC) +\everycr=\toks20 +\minrowclearance=\skip54 +) +\rownum=\count180 +Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1348. +Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1352. +Package xcolor Info: Model `RGB' extended on input line 1364. +Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1366. +Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1367. +Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1368. +Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1369. +Package xcolor Info: Model `Gray' substituted by `gray' on input line 1370. +Package xcolor Info: Model `wave' substituted by `hsb' on input line 1371. +) +(./longtable_doxygen.sty +Package: longtable_doxygen 2014/10/28 v4.11 Multi-page Table package (DPC) - fr +ozen version for doxygen +\LTleft=\skip55 +\LTright=\skip56 +\LTpre=\skip57 +\LTpost=\skip58 +\LTchunksize=\count181 +\LTcapwidth=\dimen139 +\LT@head=\box47 +\LT@firsthead=\box48 +\LT@foot=\box49 +\LT@lastfoot=\box50 +\LT@cols=\count182 +\LT@rows=\count183 +\c@LT@tables=\count184 +\c@LT@chunks=\count185 +\LT@p@ftn=\toks21 +) (./tabu_doxygen.sty +Package: tabu_doxygen 2011/02/26 v2.8 - flexible LaTeX tabulars (FC), frozen ve +rsion for doxygen + +(/usr/share/texmf-dist/tex/latex/varwidth/varwidth.sty +Package: varwidth 2009/03/30 ver 0.92; Variable-width minipages +\@vwid@box=\box51 +\sift@deathcycles=\count186 +\@vwid@loff=\dimen140 +\@vwid@roff=\dimen141 +) +\c@taburow=\count187 +\tabu@nbcols=\count188 +\tabu@cnt=\count189 +\tabu@Xcol=\count190 +\tabu@alloc=\count191 +\tabu@nested=\count192 +\tabu@target=\dimen142 +\tabu@spreadtarget=\dimen143 +\tabu@naturalX=\dimen144 +\tabucolX=\dimen145 +\tabu@Xsum=\dimen146 +\extrarowdepth=\dimen147 +\abovetabulinesep=\dimen148 +\belowtabulinesep=\dimen149 +\tabustrutrule=\dimen150 +\tabu@thebody=\toks22 +\tabu@footnotes=\toks23 +\tabu@box=\box52 +\tabu@arstrutbox=\box53 +\tabu@hleads=\box54 +\tabu@vleads=\box55 +\tabu@cellskip=\skip59 +) +(/usr/share/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty +Package: fancyvrb 2020/01/13 v3.5 verbatim text (tvz,hv) + +(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty +Package: keyval 2014/10/28 v1.15 key=value parser (DPC) +\KV@toks@=\toks24 +) +\FV@CodeLineNo=\count193 +\FV@InFile=\read3 +\FV@TabBox=\box56 +\c@FancyVerbLine=\count194 +\FV@StepNumber=\count195 +\FV@OutFile=\write3 +) +(/usr/share/texmf-dist/tex/latex/tools/tabularx.sty +Package: tabularx 2020/01/15 v2.11c `tabularx' package (DPC) +\TX@col@width=\dimen151 +\TX@old@table=\dimen152 +\TX@old@col=\dimen153 +\TX@target=\dimen154 +\TX@delta=\dimen155 +\TX@cols=\count196 +\TX@ftn=\toks25 +) +(/usr/share/texmf-dist/tex/latex/tools/multicol.sty +Package: multicol 2019/12/09 v1.8y multicolumn formatting (FMi) +\c@tracingmulticols=\count197 +\mult@box=\box57 +\multicol@leftmargin=\dimen156 +\c@unbalance=\count198 +\c@collectmore=\count199 +\doublecol@number=\count266 +\multicoltolerance=\count267 +\multicolpretolerance=\count268 +\full@width=\dimen157 +\page@free=\dimen158 +\premulticols=\dimen159 +\postmulticols=\dimen160 +\multicolsep=\skip60 +\multicolbaselineskip=\skip61 +\partial@page=\box58 +\last@line=\box59 +\maxbalancingoverflow=\dimen161 +\mult@rightbox=\box60 +\mult@grightbox=\box61 +\mult@gfirstbox=\box62 +\mult@firstbox=\box63 +\@tempa=\box64 +\@tempa=\box65 +\@tempa=\box66 +\@tempa=\box67 +\@tempa=\box68 +\@tempa=\box69 +\@tempa=\box70 +\@tempa=\box71 +\@tempa=\box72 +\@tempa=\box73 +\@tempa=\box74 +\@tempa=\box75 +\@tempa=\box76 +\@tempa=\box77 +\@tempa=\box78 +\@tempa=\box79 +\@tempa=\box80 +\@tempa=\box81 +\@tempa=\box82 +\@tempa=\box83 +\@tempa=\box84 +\@tempa=\box85 +\@tempa=\box86 +\@tempa=\box87 +\@tempa=\box88 +\@tempa=\box89 +\@tempa=\box90 +\@tempa=\box91 +\@tempa=\box92 +\@tempa=\box93 +\@tempa=\box94 +\@tempa=\box95 +\@tempa=\box96 +\@tempa=\box97 +\@tempa=\box98 +\@tempa=\box99 +\@tempa=\box100 +\c@minrows=\count269 +\c@columnbadness=\count270 +\c@finalcolumnbadness=\count271 +\last@try=\dimen162 +\multicolovershoot=\dimen163 +\multicolundershoot=\dimen164 +\mult@nat@firstbox=\box101 +\colbreak@box=\box102 +\mc@col@check@num=\count272 +) +(/usr/share/texmf-dist/tex/latex/multirow/multirow.sty +Package: multirow 2019/05/31 v2.5 Span multiple rows of a table +\multirow@colwidth=\skip62 +\multirow@cntb=\count273 +\multirow@dima=\skip63 +\bigstrutjot=\dimen165 +) +(/usr/share/texmf-dist/tex/latex/hanging/hanging.sty +Package: hanging 2009/09/02 v1.2b hanging paragraphs and punctuation +\h@ngcommawd=\skip64 +\h@ngfstopwd=\skip65 +\h@ngquotewd=\skip66 +\h@ngdquotewd=\skip67 +\h@ngquerywd=\skip68 +\h@ngexclwd=\skip69 +\h@ngcolonwd=\skip70 +\h@ngscolonwd=\skip71 +) +(/usr/share/texmf-dist/tex/generic/iftex/ifpdf.sty +Package: ifpdf 2019/10/25 v3.4 ifpdf legacy package. Use iftex instead. + +(/usr/share/texmf-dist/tex/generic/iftex/iftex.sty +Package: iftex 2019/11/07 v1.0c TeX engine tests +)) +(/usr/share/texmf-dist/tex/latex/adjustbox/adjustbox.sty +Package: adjustbox 2019/01/04 v1.2 Adjusting TeX boxes (trim, clip, ...) + +(/usr/share/texmf-dist/tex/latex/xkeyval/xkeyval.sty +Package: xkeyval 2014/12/03 v2.7a package option processing (HA) + +(/usr/share/texmf-dist/tex/generic/xkeyval/xkeyval.tex +(/usr/share/texmf-dist/tex/generic/xkeyval/xkvutils.tex +\XKV@toks=\toks26 +\XKV@tempa@toks=\toks27 +) +\XKV@depth=\count274 +File: xkeyval.tex 2014/12/03 v2.7a key=value parser (HA) +)) +(/usr/share/texmf-dist/tex/latex/adjustbox/adjcalc.sty +Package: adjcalc 2012/05/16 v1.1 Provides advanced setlength with multiple back +-ends (calc, etex, pgfmath) +) +(/usr/share/texmf-dist/tex/latex/adjustbox/trimclip.sty +Package: trimclip 2018/04/08 v1.1 Trim and clip general TeX material + +(/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty +Package: graphicx 2019/11/30 v1.2a Enhanced LaTeX Graphics (DPC,SPQR) + +(/usr/share/texmf-dist/tex/latex/graphics/graphics.sty +Package: graphics 2019/11/30 v1.4a Standard LaTeX Graphics (DPC,SPQR) + +(/usr/share/texmf-dist/tex/latex/graphics/trig.sty +Package: trig 2016/01/03 v1.10 sin cos tan (DPC) +) +(/usr/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg +File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration +) +Package graphics Info: Driver file: pdftex.def on input line 105. +) +\Gin@req@height=\dimen166 +\Gin@req@width=\dimen167 +) +(/usr/share/texmf-dist/tex/latex/collectbox/collectbox.sty +Package: collectbox 2012/05/17 v0.4b Collect macro arguments as boxes +\collectedbox=\box103 +) +\tc@llx=\dimen168 +\tc@lly=\dimen169 +\tc@urx=\dimen170 +\tc@ury=\dimen171 +Package trimclip Info: Using driver 'tc-pdftex.def'. + +(/usr/share/texmf-dist/tex/latex/adjustbox/tc-pdftex.def +File: tc-pdftex.def 2019/01/04 v2.2 Clipping driver for pdftex +)) +\adjbox@Width=\dimen172 +\adjbox@Height=\dimen173 +\adjbox@Depth=\dimen174 +\adjbox@Totalheight=\dimen175 +\adjbox@pwidth=\dimen176 +\adjbox@pheight=\dimen177 +\adjbox@pdepth=\dimen178 +\adjbox@ptotalheight=\dimen179 + +(/usr/share/texmf-dist/tex/latex/ifoddpage/ifoddpage.sty +Package: ifoddpage 2016/04/23 v1.1 Conditionals for odd/even page detection +\c@checkoddpage=\count275 +)) +(/usr/share/texmf-dist/tex/latex/amsfonts/amssymb.sty +Package: amssymb 2013/01/14 v3.01 AMS font symbols + +(/usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty +Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support +\@emptytoks=\toks28 +\symAMSa=\mathgroup4 +\symAMSb=\mathgroup5 +LaTeX Font Info: Redeclaring math symbol \hbar on input line 98. +LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold' +(Font) U/euf/m/n --> U/euf/b/n on input line 106. +)) +(/usr/share/texmf-dist/tex/latex/stackengine/stackengine.sty +Package: stackengine 2017/02/13 v4.01\ Stacking text and objects in convenient +ways + +(/usr/share/texmf-dist/tex/latex/etoolbox/etoolbox.sty +Package: etoolbox 2019/09/21 v2.5h e-TeX tools for LaTeX (JAW) +\etb@tempcnta=\count276 +) +(/usr/share/texmf-dist/tex/generic/listofitems/listofitems.sty +(/usr/share/texmf-dist/tex/generic/listofitems/listofitems.tex +\loi_cnt_foreach_nest=\count277 +\loi_nestcnt=\count278 +) +Package: listofitems 2019/08/21 v1.63 Grab items in lists using user-specified +sep char (CT) +) +\c@@stackindex=\count279 +\@boxshift=\skip72 +\stack@tmplength=\skip73 +\temp@stkl=\skip74 +\@stackedboxwidth=\skip75 +\@addedbox=\box104 +\@anchorbox=\box105 +\stackedbox=\box106 +\@centerbox=\box107 +\c@ROWcellindex@=\count280 +) +(/usr/share/texmf-dist/tex/latex/enumitem/enumitem.sty +Package: enumitem 2019/06/20 v3.9 Customized lists +\labelindent=\skip76 +\enit@outerparindent=\dimen180 +\enit@toks=\toks29 +\enit@inbox=\box108 +\enit@count@id=\count281 +\enitdp@description=\count282 +) +(/usr/share/texmf-dist/tex/generic/alphalph/alphalph.sty +Package: alphalph 2019/12/09 v2.6 Convert numbers to letters (HO) + +(/usr/share/texmf-dist/tex/generic/infwarerr/infwarerr.sty +Package: infwarerr 2019/12/03 v1.5 Providing info/warning/error messages (HO) +) +(/usr/share/texmf-dist/tex/generic/intcalc/intcalc.sty +Package: intcalc 2019/12/15 v1.3 Expandable calculations with integers (HO) +)) +(/usr/share/texmf-dist/tex/generic/ulem/ulem.sty +\UL@box=\box109 +\UL@hyphenbox=\box110 +\UL@skip=\skip77 +\UL@hook=\toks30 +\UL@height=\dimen181 +\UL@pe=\count283 +\UL@pixel=\dimen182 +\ULC@box=\box111 +Package: ulem 2019/11/18 +\ULdepth=\dimen183 +) +\xrefbox=\box112 +\xreflength=\skip78 +\CodeWidthChar=\skip79 +\CodeHeightChar=\skip80 +\DoxyCodeWidth=\skip81 +\c@DoxyEnumeratei=\count284 +\c@DoxyEnumerateii=\count285 +\c@DoxyEnumerateiii=\count286 +\c@DoxyEnumerateiv=\count287 +\c@DoxyEnumeratev=\count288 +\c@DoxyEnumeratevi=\count289 +\c@DoxyEnumeratevii=\count290 +\c@DoxyEnumerateviii=\count291 +\c@DoxyEnumerateix=\count292 +\c@DoxyEnumeratex=\count293 +\c@DoxyEnumeratexi=\count294 +\c@DoxyEnumeratexii=\count295 +\enitdp@DoxyEnumerate=\count296 +\enitdp@DoxyItemize=\count297 +) +(/usr/share/texmf-dist/tex/latex/base/inputenc.sty +Package: inputenc 2018/08/11 v1.3c Input encoding file +\inpenc@prehook=\toks31 +\inpenc@posthook=\toks32 +) +(/usr/share/texmf-dist/tex/latex/base/makeidx.sty +Package: makeidx 2014/09/29 v1.0m Standard LaTeX package +) +(/usr/share/texmf-dist/tex/latex/base/textcomp.sty +Package: textcomp 2020/02/02 v2.0n Standard LaTeX package +) +(/usr/share/texmf-dist/tex/latex/wasysym/wasysym.sty +Package: wasysym 2020/01/19 v2.4 Wasy-2 symbol support package +\symwasy=\mathgroup6 +LaTeX Font Info: Overwriting symbol font `wasy' in version `bold' +(Font) U/wasy/m/n --> U/wasy/b/n on input line 93. +) +(/usr/share/texmf-dist/tex/generic/iftex/ifxetex.sty +Package: ifxetex 2019/10/25 v0.7 ifxetex legacy package. Use iftex instead. +) +(/usr/share/texmf-dist/tex/latex/base/fontenc.sty +Package: fontenc 2020/02/11 v2.0o Standard LaTeX package +) +(/usr/share/texmf-dist/tex/latex/psnfss/helvet.sty +Package: helvet 2005/04/12 PSNFSS-v9.2a (WaS) +) +(/usr/share/texmf-dist/tex/latex/psnfss/courier.sty +Package: courier 2005/04/12 PSNFSS-v9.2a (WaS) +) +(/usr/share/texmf-dist/tex/latex/sectsty/sectsty.sty +Package: sectsty 2002/02/25 v2.0.2 Commands to change all sectional heading sty +les + + +LaTeX Warning: Command \underbar has changed. + Check if current package is valid. + + +LaTeX Warning: Command \underline has changed. + Check if current package is valid. + +) (/usr/share/texmf-dist/tex/latex/geometry/geometry.sty +Package: geometry 2020/01/02 v5.9 Page Geometry + +(/usr/share/texmf-dist/tex/generic/iftex/ifvtex.sty +Package: ifvtex 2019/10/25 v1.7 ifvtex legacy package. Use iftex instead. +) +\Gm@cnth=\count298 +\Gm@cntv=\count299 +\c@Gm@tempcnt=\count300 +\Gm@bindingoffset=\dimen184 +\Gm@wd@mp=\dimen185 +\Gm@odd@mp=\dimen186 +\Gm@even@mp=\dimen187 +\Gm@layoutwidth=\dimen188 +\Gm@layoutheight=\dimen189 +\Gm@layouthoffset=\dimen190 +\Gm@layoutvoffset=\dimen191 +\Gm@dimlist=\toks33 +) +(/usr/share/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty +Package: fancyhdr 2019/01/31 v3.10 Extensive control of page headers and footer +s +\f@nch@headwidth=\skip82 +\f@nch@O@elh=\skip83 +\f@nch@O@erh=\skip84 +\f@nch@O@olh=\skip85 +\f@nch@O@orh=\skip86 +\f@nch@O@elf=\skip87 +\f@nch@O@erf=\skip88 +\f@nch@O@olf=\skip89 +\f@nch@O@orf=\skip90 +) +(/usr/share/texmf-dist/tex/latex/natbib/natbib.sty +Package: natbib 2010/09/13 8.31b (PWD, AO) +\bibhang=\skip91 +\bibsep=\skip92 +LaTeX Info: Redefining \cite on input line 694. +\c@NAT@ctr=\count301 +) +(/usr/share/texmf-dist/tex/latex/tocloft/tocloft.sty +Package: tocloft 2017/08/31 v2.3i parameterised ToC, etc., typesetting +Package tocloft Info: The document has chapter divisions on input line 51. +\cftparskip=\skip93 +\cftbeforetoctitleskip=\skip94 +\cftaftertoctitleskip=\skip95 +\cftbeforepartskip=\skip96 +\cftpartnumwidth=\skip97 +\cftpartindent=\skip98 +\cftbeforechapskip=\skip99 +\cftchapindent=\skip100 +\cftchapnumwidth=\skip101 +\cftbeforesecskip=\skip102 +\cftsecindent=\skip103 +\cftsecnumwidth=\skip104 +\cftbeforesubsecskip=\skip105 +\cftsubsecindent=\skip106 +\cftsubsecnumwidth=\skip107 +\cftbeforesubsubsecskip=\skip108 +\cftsubsubsecindent=\skip109 +\cftsubsubsecnumwidth=\skip110 +\cftbeforeparaskip=\skip111 +\cftparaindent=\skip112 +\cftparanumwidth=\skip113 +\cftbeforesubparaskip=\skip114 +\cftsubparaindent=\skip115 +\cftsubparanumwidth=\skip116 +\cftbeforeloftitleskip=\skip117 +\cftafterloftitleskip=\skip118 +\cftbeforefigskip=\skip119 +\cftfigindent=\skip120 +\cftfignumwidth=\skip121 +\c@lofdepth=\count302 +\c@lotdepth=\count303 +\cftbeforelottitleskip=\skip122 +\cftafterlottitleskip=\skip123 +\cftbeforetabskip=\skip124 +\cfttabindent=\skip125 +\cfttabnumwidth=\skip126 +) +\@indexfile=\write4 +\openout4 = `refman.idx'. + + +Writing index file refman.idx +(/usr/share/texmf-dist/tex/latex/newunicodechar/newunicodechar.sty +Package: newunicodechar 2018/04/08 v1.2 Defining Unicode characters +) + +Package newunicodechar Warning: Redefining Unicode character on input line 116. + + + +Package newunicodechar Warning: Redefining Unicode character on input line 117. + + +(/usr/share/texmf-dist/tex/latex/hyperref/hyperref.sty +Package: hyperref 2020/01/14 v7.00d Hypertext links for LaTeX + +(/usr/share/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty +Package: ltxcmds 2019/12/15 v1.24 LaTeX kernel commands for general use (HO) +) +(/usr/share/texmf-dist/tex/latex/pdftexcmds/pdftexcmds.sty +Package: pdftexcmds 2019/11/24 v0.31 Utility functions of pdfTeX for LuaTeX (HO +) +Package pdftexcmds Info: \pdf@primitive is available. +Package pdftexcmds Info: \pdf@ifprimitive is available. +Package pdftexcmds Info: \pdfdraftmode found. +) +(/usr/share/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty +Package: kvsetkeys 2019/12/15 v1.18 Key value parser (HO) +) +(/usr/share/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty +Package: kvdefinekeys 2019-12-19 v1.6 Define keys (HO) +) +(/usr/share/texmf-dist/tex/generic/pdfescape/pdfescape.sty +Package: pdfescape 2019/12/09 v1.15 Implements pdfTeX's escape features (HO) +) +(/usr/share/texmf-dist/tex/latex/hycolor/hycolor.sty +Package: hycolor 2020-01-27 v1.10 Color options for hyperref/bookmark (HO) +) +(/usr/share/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty +Package: letltxmacro 2019/12/03 v1.6 Let assignment for LaTeX macros (HO) +) +(/usr/share/texmf-dist/tex/latex/auxhook/auxhook.sty +Package: auxhook 2019-12-17 v1.6 Hooks for auxiliary files (HO) +) +(/usr/share/texmf-dist/tex/latex/kvoptions/kvoptions.sty +Package: kvoptions 2019/11/29 v3.13 Key value format for package options (HO) +) +\@linkdim=\dimen192 +\Hy@linkcounter=\count304 +\Hy@pagecounter=\count305 + +(/usr/share/texmf-dist/tex/latex/hyperref/pd1enc.def +File: pd1enc.def 2020/01/14 v7.00d Hyperref: PDFDocEncoding definition (HO) +Now handling font encoding PD1 ... +... no UTF-8 mapping file for font encoding PD1 +) +(/usr/share/texmf-dist/tex/generic/etexcmds/etexcmds.sty +Package: etexcmds 2019/12/15 v1.7 Avoid name clashes with e-TeX commands (HO) +) +\Hy@SavedSpaceFactor=\count306 +Package hyperref Info: Hyper figures OFF on input line 4547. +Package hyperref Info: Link nesting OFF on input line 4552. +Package hyperref Info: Hyper index ON on input line 4555. +Package hyperref Info: Plain pages OFF on input line 4562. +Package hyperref Info: Backreferencing ON on input line 4565. +Package hyperref Info: Implicit mode ON; LaTeX internals redefined. +Package hyperref Info: Bookmarks ON on input line 4800. + +(/usr/share/texmf-dist/tex/latex/hyperref/backref.sty +Package: backref 2020/01/14 v1.40 Bibliographical back referencing + +(/usr/share/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty +Package: rerunfilecheck 2019/12/05 v1.9 Rerun checks for auxiliary files (HO) + +(/usr/share/texmf-dist/tex/latex/atveryend/atveryend.sty +Package: atveryend 2019-12-11 v1.11 Hooks at the very end of document (HO) +) +(/usr/share/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty +Package: uniquecounter 2019/12/15 v1.4 Provide unlimited unique counter (HO) + +(/usr/share/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty +Package: bigintcalc 2019/12/15 v1.5 Expandable calculations on big integers (HO +) +)) +Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 2 +86. +)) +\c@Hy@tempcnt=\count307 + +(/usr/share/texmf-dist/tex/latex/url/url.sty +\Urlmuskip=\muskip16 +Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc. +) +LaTeX Info: Redefining \url on input line 5159. +\XeTeXLinkMargin=\dimen193 + +(/usr/share/texmf-dist/tex/generic/bitset/bitset.sty +Package: bitset 2019/12/09 v1.3 Handle bit-vector datatype (HO) +) +\Fld@menulength=\count308 +\Field@Width=\dimen194 +\Fld@charsize=\dimen195 +Package hyperref Info: Hyper figures OFF on input line 6430. +Package hyperref Info: Link nesting OFF on input line 6435. +Package hyperref Info: Hyper index ON on input line 6438. +Package hyperref Info: backreferencing ON on input line 6443. +Package hyperref Info: Link coloring OFF on input line 6450. +Package hyperref Info: Link coloring with OCG OFF on input line 6455. +Package hyperref Info: PDF/A mode OFF on input line 6460. +LaTeX Info: Redefining \ref on input line 6500. +LaTeX Info: Redefining \pageref on input line 6504. + +(/usr/share/texmf-dist/tex/generic/atbegshi/atbegshi.sty +Package: atbegshi 2019/12/05 v1.19 At begin shipout hook (HO) +) +\Hy@abspage=\count309 +\c@Item=\count310 +\c@Hfootnote=\count311 +) +Package hyperref Info: Driver: hpdftex. + +(/usr/share/texmf-dist/tex/latex/hyperref/hpdftex.def +File: hpdftex.def 2020/01/14 v7.00d Hyperref driver for pdfTeX +\Fld@listcount=\count312 +\c@bookmark@seq@number=\count313 +\Hy@SectionHShift=\skip127 +) +Package hyperref Info: Option `colorlinks' set `true' on input line 136. +Package hyperref Info: Option `unicode' set `true' on input line 136. + +(/usr/share/texmf-dist/tex/latex/hyperref/puenc.def +File: puenc.def 2020/01/14 v7.00d Hyperref: PDF Unicode definition (HO) +Now handling font encoding PU ... +... no UTF-8 mapping file for font encoding PU +) + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 136. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `\vert' on input line 136. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 136. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 136. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `\vert' on input line 136. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 136. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 136. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `\vert' on input line 136. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 136. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 136. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `\vert' on input line 136. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 136. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 136. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `\vert' on input line 136. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 136. + +(/usr/share/texmf-dist/tex/latex/caption/caption.sty +Package: caption 2020/01/03 v3.4h Customizing captions (AR) + +(/usr/share/texmf-dist/tex/latex/caption/caption3.sty +Package: caption3 2020/01/03 v1.8h caption3 kernel (AR) +Package caption3 Info: TeX engine: e-TeX on input line 61. +\captionmargin=\dimen196 +\captionmargin@=\dimen197 +\captionwidth=\dimen198 +\caption@tempdima=\dimen199 +\caption@indent=\dimen256 +\caption@parindent=\dimen257 +\caption@hangindent=\dimen258 +Package caption Info: Standard document class detected. +) +\c@caption@flags=\count314 +\c@continuedfloat=\count315 +Package caption Info: float package is loaded. +Package caption Info: hyperref package is loaded. +Package caption Info: longtable package is loaded. + +(/usr/share/texmf-dist/tex/latex/caption/ltcaption.sty +Package: ltcaption 2018/08/26 v1.4a longtable captions (AR) +)) +(/usr/share/texmf-dist/tex/latex/etoc/etoc.sty +Package: etoc 2019/11/17 v1.09b Completely customisable TOCs (JFB) +\Etoc@toctoks=\toks34 +\c@etoc@tocid=\count316 +\c@etoc@tocdepth=\count317 +\etoc@framed@titlebox=\box113 +\etoc@framed@contentsbox=\box114 +) +(/usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def +File: l3backend-pdfmode.def 2020-02-23 L3 backend support: PDF mode +\l__kernel_color_stack_int=\count318 +\l__pdf_internal_box=\box115 +) +No file refman.aux. +\openout1 = `refman.aux'. + +LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 152. +LaTeX Font Info: ... okay on input line 152. +LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 152. +LaTeX Font Info: ... okay on input line 152. +LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 152. +LaTeX Font Info: ... okay on input line 152. +LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 152. +LaTeX Font Info: ... okay on input line 152. +LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 152. +LaTeX Font Info: ... okay on input line 152. +LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 152. +LaTeX Font Info: ... okay on input line 152. +LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 152. +LaTeX Font Info: ... okay on input line 152. +LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 152. +LaTeX Font Info: ... okay on input line 152. +LaTeX Font Info: Checking defaults for PU/pdf/m/n on input line 152. +LaTeX Font Info: ... okay on input line 152. +LaTeX Font Info: Trying to load font information for T1+phv on input line 15 +2. +(/usr/share/texmf-dist/tex/latex/psnfss/t1phv.fd +File: t1phv.fd 2001/06/04 scalable font definitions for T1/phv. + + +LaTeX Warning: Font shape declaration has incorrect series value `mc'. + It should not contain an `m'! Please correct it. + Found on input line 20. + + +LaTeX Warning: Font shape declaration has incorrect series value `mc'. + It should not contain an `m'! Please correct it. + Found on input line 23. + + +LaTeX Warning: Font shape declaration has incorrect series value `mc'. + It should not contain an `m'! Please correct it. + Found on input line 26. + + +LaTeX Warning: Font shape declaration has incorrect series value `mc'. + It should not contain an `m'! Please correct it. + Found on input line 46. + +) +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 8.99994pt on input line 152. + (/usr/share/texmf-dist/tex/context/base/mkii/supp-pdf.mkii +[Loading MPS to PDF converter (version 2006.09.02).] +\scratchcounter=\count319 +\scratchdimen=\dimen259 +\scratchbox=\box116 +\nofMPsegments=\count320 +\nofMParguments=\count321 +\everyMPshowfont=\toks35 +\MPscratchCnt=\count322 +\MPscratchDim=\dimen260 +\MPnumerator=\count323 +\makeMPintoPDFobject=\count324 +\everyMPtoPDFconversion=\toks36 +) (/usr/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty +Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf +Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4 +85. + +(/usr/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg +File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv +e +)) +*geometry* driver: auto-detecting +*geometry* detected driver: pdftex +*geometry* verbose mode - [ preamble ] result: +* driver: pdftex +* paper: a4paper +* layout: +* layoutoffset:(h,v)=(0.0pt,0.0pt) +* modes: twoside +* h-part:(L,W,R)=(71.13188pt, 455.24411pt, 71.13188pt) +* v-part:(T,H,B)=(71.13188pt, 702.78308pt, 71.13188pt) +* \paperwidth=597.50787pt +* \paperheight=845.04684pt +* \textwidth=455.24411pt +* \textheight=702.78308pt +* \oddsidemargin=-1.1381pt +* \evensidemargin=-1.1381pt +* \topmargin=-31.2056pt +* \headheight=12.0pt +* \headsep=18.06749pt +* \topskip=10.0pt +* \footskip=25.29494pt +* \marginparwidth=125.0pt +* \marginparsep=7.0pt +* \columnsep=10.0pt +* \skip\footins=9.0pt plus 4.0pt minus 2.0pt +* \hoffset=0.0pt +* \voffset=0.0pt +* \mag=1000 +* \@twocolumnfalse +* \@twosidetrue +* \@mparswitchtrue +* \@reversemarginfalse +* (1in=72.27pt=25.4mm, 1cm=28.453pt) + +Package backref Info: ** backref set up for natbib ** on input line 152. +\AtBeginShipoutBox=\box117 +Package hyperref Info: Link coloring ON on input line 152. +(/usr/share/texmf-dist/tex/latex/hyperref/nameref.sty +Package: nameref 2019/09/16 v2.46 Cross-referencing by name of section + +(/usr/share/texmf-dist/tex/latex/refcount/refcount.sty +Package: refcount 2019/12/15 v3.6 Data extraction from label references (HO) +) +(/usr/share/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty +Package: gettitlestring 2019/12/15 v1.6 Cleanup title references (HO) +) +\c@section@level=\count325 +) +LaTeX Info: Redefining \ref on input line 152. +LaTeX Info: Redefining \pageref on input line 152. +LaTeX Info: Redefining \nameref on input line 152. +\@outlinefile=\write5 +\openout5 = `refman.out'. + +Package caption Info: Begin \AtBeginDocument code. +Package caption Info: End \AtBeginDocument code. + +No file refman.toc. +Package hyperref Info: Option `pageanchor' set `false' on input line 160. +Package hyperref Info: Option `bookmarksnumbered' set `true' on input line 160. + +Package hyperref Info: Option `unicode' set `true' on input line 160. +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 12.9599pt on input line 165. +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 10.79993pt on input line 167. +[1 + + +{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2 + +] +\tf@toc=\write6 +\openout6 = `refman.toc'. + +Package hyperref Info: Option `pageanchor' set `true' on input line 176. + +Chapter 1. +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 18.66588pt on input line 178. +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 18.66588pt on input line 178. +LaTeX Font Info: Font shape `T1/phv/bc/n' will be +(Font) scaled to size 18.66588pt on input line 178. +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 22.39185pt on input line 178. +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 22.39185pt on input line 178. +LaTeX Font Info: Font shape `T1/phv/bc/n' will be +(Font) scaled to size 22.39185pt on input line 178. +(./index.tex +LaTeX Font Info: Font shape `T1/phv/bc/n' will be +(Font) scaled to size 8.99994pt on input line 3. + +Underfull \hbox (badness 10000) detected at line 3 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 6 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 9 +[][][] + [] + +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 6.29996pt on input line 10. +LaTeX Font Info: Trying to load font information for U+msa on input line 10. + +(/usr/share/texmf-dist/tex/latex/amsfonts/umsa.fd +File: umsa.fd 2013/01/14 v3.01 AMS symbols A +) +LaTeX Font Info: Trying to load font information for U+msb on input line 10. + + +(/usr/share/texmf-dist/tex/latex/amsfonts/umsb.fd +File: umsb.fd 2013/01/14 v3.01 AMS symbols B +) +LaTeX Font Info: Trying to load font information for U+wasy on input line 10 +. + +(/usr/share/texmf-dist/tex/latex/wasysym/uwasy.fd +File: uwasy.fd 2020/01/19 v2.4 Wasy-2 symbol font definitions +) +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 8.99994pt on input line 14. +LaTeX Font Info: Trying to load font information for T1+pcr on input line 14 +. + +(/usr/share/texmf-dist/tex/latex/psnfss/t1pcr.fd +File: t1pcr.fd 2001/06/04 font definitions for T1/pcr. +) +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 12.9599pt on input line 15. +LaTeX Font Info: Trying to load font information for TS1+phv on input line 1 +9. + +(/usr/share/texmf-dist/tex/latex/psnfss/ts1phv.fd +File: ts1phv.fd 2001/06/04 scalable font definitions for TS1/phv. + + +LaTeX Warning: Font shape declaration has incorrect series value `mc'. + It should not contain an `m'! Please correct it. + Found on input line 17. + + +LaTeX Warning: Font shape declaration has incorrect series value `mc'. + It should not contain an `m'! Please correct it. + Found on input line 20. + + +LaTeX Warning: Font shape declaration has incorrect series value `mc'. + It should not contain an `m'! Please correct it. + Found on input line 34. + +) +LaTeX Font Info: Font shape `TS1/phv/m/n' will be +(Font) scaled to size 8.99994pt on input line 19. +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 6.29996pt on input line 30. + [1 + + +] + +! LaTeX Error: Unknown graphics extension: .svg. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H for immediate help. + ... + +l.39 ...rue]{FMI-OOP-P1_TicketSystem Overview.svg} + +? +) [2] +Chapter 2. +(./hierarchy.tex + +LaTeX Warning: Reference `classCommand' on page 3 undefined on input line 3. + + +LaTeX Warning: Reference `classDate' on page 3 undefined on input line 4. + + +LaTeX Warning: Reference `classEvent' on page 3 undefined on input line 5. + + +LaTeX Warning: Reference `classEventService' on page 3 undefined on input line +6. + + +LaTeX Warning: Reference `classHall' on page 3 undefined on input line 7. + + +LaTeX Warning: Reference `classHallService' on page 3 undefined on input line 8 +. + + +LaTeX Warning: Reference `classList' on page 3 undefined on input line 9. + + +LaTeX Warning: Reference `classOrderedList' on page 3 undefined on input line 1 +1. + + +LaTeX Warning: Reference `classList' on page 3 undefined on input line 13. + + +LaTeX Warning: Reference `classList' on page 3 undefined on input line 14. + + +LaTeX Warning: Reference `classOrderedList' on page 3 undefined on input line 1 +6. + + +LaTeX Warning: Reference `classList' on page 3 undefined on input line 18. + + +LaTeX Warning: Reference `classOrderedList' on page 3 undefined on input line 2 +0. + + +LaTeX Warning: Reference `classList' on page 3 undefined on input line 22. + + +LaTeX Warning: Reference `classOrderedList' on page 3 undefined on input line 2 +4. + + +LaTeX Warning: Reference `classList' on page 3 undefined on input line 26. + + +LaTeX Warning: Reference `classOrderedList' on page 3 undefined on input line 2 +8. + + +LaTeX Warning: Reference `classMenu' on page 3 undefined on input line 30. + + +LaTeX Warning: Reference `classReservation' on page 3 undefined on input line 3 +1. + + +LaTeX Warning: Reference `classString' on page 3 undefined on input line 32. + + +LaTeX Warning: Reference `classTicket' on page 3 undefined on input line 33. + +) [3 + +] [4 + +] +Chapter 3. +(./annotated.tex + +LaTeX Warning: Reference `classCommand' on page 5 undefined on input line 3. + + +LaTeX Warning: Reference `classDate' on page 5 undefined on input line 4. + + +LaTeX Warning: Reference `classEvent' on page 5 undefined on input line 5. + + +LaTeX Warning: Reference `classEventService' on page 5 undefined on input line +6. + + +LaTeX Warning: Reference `classHall' on page 5 undefined on input line 7. + + +LaTeX Warning: Reference `classHallService' on page 5 undefined on input line 8 +. + + +LaTeX Warning: Reference `classList' on page 5 undefined on input line 9. + + +LaTeX Warning: Reference `classMenu' on page 5 undefined on input line 10. + + +LaTeX Warning: Reference `classOrderedList' on page 5 undefined on input line 1 +1. + + +LaTeX Warning: Reference `classReservation' on page 5 undefined on input line 1 +2. + + +LaTeX Warning: Reference `classString' on page 5 undefined on input line 13. + + +LaTeX Warning: Reference `classTicket' on page 5 undefined on input line 14. + +) [5] [6 + +] +Chapter 4. +(./files.tex + +LaTeX Warning: Reference `main_8cpp' on page 7 undefined on input line 3. + + +LaTeX Warning: Reference `Command_8h' on page 7 undefined on input line 4. + + +LaTeX Warning: Reference `Menu_8h' on page 7 undefined on input line 5. + + +LaTeX Warning: Reference `Toolbox_8hpp' on page 7 undefined on input line 6. + + +LaTeX Warning: Reference `Date_8h' on page 7 undefined on input line 7. + + +LaTeX Warning: Reference `List_8hpp' on page 7 undefined on input line 8. + + +LaTeX Warning: Reference `OrderedList_8hpp' on page 7 undefined on input line 9 +. + + +LaTeX Warning: Reference `String_8h' on page 7 undefined on input line 10. + + +LaTeX Warning: Reference `Event_8h' on page 7 undefined on input line 11. + + +LaTeX Warning: Reference `Hall_8h' on page 7 undefined on input line 12. + + +LaTeX Warning: Reference `Reservation_8h' on page 7 undefined on input line 13. + + + +LaTeX Warning: Reference `Ticket_8h' on page 7 undefined on input line 14. + + +LaTeX Warning: Reference `EventService_8h' on page 7 undefined on input line 15 +. + + +LaTeX Warning: Reference `HallService_8h' on page 7 undefined on input line 16. + + + +LaTeX Warning: Reference `StatusCode_8h' on page 7 undefined on input line 17. + + +LaTeX Warning: Reference `FMITicketSystemConsoleUI_8h' on page 7 undefined on i +nput line 18. + +) [7] [8 + +] +Chapter 5. +(./classCommand.tex +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 10.79993pt on input line 12. +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 8.09995pt on input line 17. +LaTeX Font Info: Font shape `T1/phv/m/it' in size <9> not available +(Font) Font shape `T1/phv/m/sl' tried instead on input line 17. +LaTeX Font Info: Font shape `T1/phv/m/sl' will be +(Font) scaled to size 8.09995pt on input line 17. +LaTeX Font Info: Font shape `T1/phv/m/it' in size <7> not available +(Font) Font shape `T1/phv/m/sl' tried instead on input line 19. +LaTeX Font Info: Font shape `T1/phv/m/sl' will be +(Font) scaled to size 6.29996pt on input line 19. +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 7.19995pt on input line 37. +LaTeX Font Info: Font shape `T1/pcr/m/it' in size <8> not available +(Font) Font shape `T1/pcr/m/sl' tried instead on input line 37. +LaTeX Font Info: Font shape `T1/pcr/m/it' in size <7> not available +(Font) Font shape `T1/pcr/m/sl' tried instead on input line 37. + [9] + +Package longtable Warning: Column widths have changed +(longtable) in table 5.1 on input line 49. + +) (./classDate.tex [10] +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 7.19995pt on input line 54. + + +Package longtable Warning: Column widths have changed +(longtable) in table 5.2 on input line 65. + + +Underfull \hbox (badness 10000) detected at line 72 +[][][] + [] + +[11] +Underfull \hbox (badness 10000) detected at line 98 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 111 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 114 +[][][] + [] + +[12] + +Package longtable Warning: Column widths have changed +(longtable) in table 5.3 on input line 131. + + +Underfull \hbox (badness 10000) detected at line 134 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 137 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 150 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 163 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 176 +[][][] + [] + +[13] + +Package longtable Warning: Column widths have changed +(longtable) in table 5.4 on input line 193. + + +Underfull \hbox (badness 10000) detected at line 196 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 199 +[][][] + [] + +) (./classEvent.tex [14] +Underfull \hbox (badness 10000) detected at line 64 +[][][] + [] + + +Package longtable Warning: Column widths have changed +(longtable) in table 5.5 on input line 81. + + +Underfull \hbox (badness 10000) detected at line 84 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 87 +[][][] + [] + +[15] + +Package longtable Warning: Column widths have changed +(longtable) in table 5.6 on input line 104. + + +Underfull \hbox (badness 10000) detected at line 107 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 110 +[][][] + [] + +) (./classEventService.tex +LaTeX Font Info: Font shape `TS1/phv/m/it' in size <9> not available +(Font) Font shape `TS1/phv/m/sl' tried instead on input line 34. +LaTeX Font Info: Font shape `TS1/phv/m/sl' will be +(Font) scaled to size 8.09995pt on input line 34. + [16] +Underfull \hbox (badness 10000) detected at line 65 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 86 +[][][] + [] + +[17] +Underfull \hbox (badness 10000) detected at line 107 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 124 +[][][] + [] + +[18] +Underfull \hbox (badness 10000) detected at line 141 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 160 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 177 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 188 +[][][] + [] + +[19] +Underfull \hbox (badness 10000) detected at line 197 +[][][] + [] + + +Package longtable Warning: Column widths have changed +(longtable) in table 5.7 on input line 220. + + +Underfull \hbox (badness 10000) detected at line 225 +[][][] + [] + +[20] + +Package longtable Warning: Column widths have changed +(longtable) in table 5.8 on input line 246. + + +Underfull \hbox (badness 10000) detected at line 251 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 266 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 287 +[][][] + [] + +[21] +Underfull \hbox (badness 10000) detected at line 302 +[][][] + [] + +) (./classHall.tex [22] +Underfull \hbox (badness 10000) detected at line 55 +[][][] + [] + +[23] + +Package longtable Warning: Column widths have changed +(longtable) in table 5.9 on input line 72. + + +Underfull \hbox (badness 10000) detected at line 75 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 78 +[][][] + [] + + +Package longtable Warning: Column widths have changed +(longtable) in table 5.10 on input line 95. + + +Underfull \hbox (badness 10000) detected at line 98 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 101 +[][][] + [] + +) (./classHallService.tex [24] +Underfull \hbox (badness 10000) detected at line 43 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 60 +[][][] + [] + +) (./classList.tex <./classList.pdf> + +File: classList.pdf Graphic file (type pdf) + +Package pdftex.def Info: classList.pdf used on input line 15. +(pdftex.def) Requested size: 83.93152pt x 56.9055pt. + [25] [26] +Underfull \hbox (badness 10000) detected at line 94 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 97 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 131 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 134 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 137 +[][][] + [] + +[27] +Underfull \hbox (badness 10000) detected at line 151 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 154 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 157 +[][][] + [] + +[28] + +Package longtable Warning: Column widths have changed +(longtable) in table 5.11 on input line 210. + + +Underfull \hbox (badness 10000) detected at line 213 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 216 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 219 +[][][] + [] + +[29] +Underfull \hbox (badness 10000) detected at line 233 +[][][] + [] + + +Package longtable Warning: Column widths have changed +(longtable) in table 5.12 on input line 251. + + +Underfull \hbox (badness 10000) detected at line 254 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 257 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 260 +[][][] + [] + +) (./classMenu.tex [30] + +Package longtable Warning: Column widths have changed +(longtable) in table 5.13 on input line 59. + +[31] + +Package longtable Warning: Column widths have changed +(longtable) in table 5.14 on input line 82. + + +Package longtable Warning: Column widths have changed +(longtable) in table 5.15 on input line 114. + +[32] + +Package longtable Warning: Column widths have changed +(longtable) in table 5.16 on input line 131. + + +Package longtable Warning: Column widths have changed +(longtable) in table 5.17 on input line 148. + +) (./classOrderedList.tex <./classOrderedList.pdf> + +File: classOrderedList.pdf Graphic file (type pdf) + +Package pdftex.def Info: classOrderedList.pdf used on input line 15. +(pdftex.def) Requested size: 83.93152pt x 56.9055pt. + [33] +LaTeX Font Info: Font shape `T1/phv/bc/n' will be +(Font) scaled to size 6.29996pt on input line 35. + +Underfull \hbox (badness 10000) detected at line 38 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 41 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 54 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 57 +[][][] + [] + +[34] +Underfull \hbox (badness 10000) detected at line 71 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 74 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 84 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 87 +[][][] + [] + +) (./classReservation.tex [35] +Underfull \hbox (badness 10000) detected at line 62 +[][][] + [] + +[36] + +Package longtable Warning: Column widths have changed +(longtable) in table 5.18 on input line 79. + + +Underfull \hbox (badness 10000) detected at line 82 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 85 +[][][] + [] + + +Package longtable Warning: Column widths have changed +(longtable) in table 5.19 on input line 102. + + +Underfull \hbox (badness 10000) detected at line 105 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 108 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 126 +[][][] + [] + +[37] +Underfull \hbox (badness 10000) detected at line 141 +[][][] + [] + +) (./classString.tex [38] +Underfull \hbox (badness 10000) detected at line 84 +[][][] + [] + +[39] + +Package longtable Warning: Column widths have changed +(longtable) in table 5.20 on input line 121. + + +Underfull \hbox (badness 10000) detected at line 124 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 127 +[][][] + [] + +[40] + +Package longtable Warning: Column widths have changed +(longtable) in table 5.21 on input line 144. + + +Underfull \hbox (badness 10000) detected at line 147 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 150 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 168 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 183 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 186 +[][][] + [] + +) (./classTicket.tex [41] +Underfull \hbox (badness 10000) detected at line 49 +[][][] + [] + +[42] + +Package longtable Warning: Column widths have changed +(longtable) in table 5.22 on input line 66. + + +Underfull \hbox (badness 10000) detected at line 69 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 72 +[][][] + [] + + +Package longtable Warning: Column widths have changed +(longtable) in table 5.23 on input line 89. + + +Underfull \hbox (badness 10000) detected at line 92 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 95 +[][][] + [] + +) [43] [44 + +] +Chapter 6. +(./Command_8h.tex) (./Command_8h_source.tex) (./Menu_8h.tex +Underfull \hbox (badness 10000) in paragraph at lines 8--10 + + [] + +[45]) (./Menu_8h_source.tex) (./Toolbox_8hpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 8--9 + + [] + +[46] [47] +Underfull \hbox (badness 10000) detected at line 85 +[][][] + [] + + +Package longtable Warning: Column widths have changed +(longtable) in table 6.1 on input line 105. + + +Underfull \hbox (badness 10000) detected at line 108 +[][][] + [] + +[48] +Underfull \hbox (badness 10000) detected at line 123 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 150 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 153 +[][][] + [] + +[49] + +Package longtable Warning: Column widths have changed +(longtable) in table 6.2 on input line 170. + + +Underfull \hbox (badness 10000) detected at line 173 +[][][] + [] + + +Package longtable Warning: Column widths have changed +(longtable) in table 6.3 on input line 190. + + +Underfull \hbox (badness 10000) detected at line 193 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 196 +[][][] + [] + + +Package longtable Warning: Column widths have changed +(longtable) in table 6.4 on input line 219. + + +Overfull \vbox (68.502pt too high) has occurred while \output is active [] + + +[50] + +Package longtable Warning: Column widths have changed +(longtable) in table 6.5 on input line 240. + + +Underfull \hbox (badness 10000) detected at line 241 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 251 +[][][] + [] + +[51] + +Package longtable Warning: Column widths have changed +(longtable) in table 6.6 on input line 268. + + +Package longtable Warning: Column widths have changed +(longtable) in table 6.7 on input line 283. + + +Underfull \hbox (badness 10000) detected at line 284 +[][][] + [] + + +Package longtable Warning: Column widths have changed +(longtable) in table 6.8 on input line 301. + + +Package longtable Warning: Column widths have changed +(longtable) in table 6.9 on input line 316. + +[52] +Underfull \hbox (badness 10000) detected at line 319 +[][][] + [] + + +Package longtable Warning: Column widths have changed +(longtable) in table 6.10 on input line 336. + + +Underfull \hbox (badness 10000) detected at line 339 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 342 +[][][] + [] + + +Package longtable Warning: Column widths have changed +(longtable) in table 6.11 on input line 363. + +[53] + +Package longtable Warning: Column widths have changed +(longtable) in table 6.12 on input line 380. + + +Package longtable Warning: Column widths have changed +(longtable) in table 6.13 on input line 395. + + +Underfull \hbox (badness 10000) detected at line 398 +[][][] + [] + + +Package longtable Warning: Column widths have changed +(longtable) in table 6.14 on input line 415. + +[54] +Underfull \hbox (badness 10000) detected at line 418 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 421 +[][][] + [] + +) (./Toolbox_8hpp_source.tex [55]) (./Date_8h.tex +Underfull \hbox (badness 10000) in paragraph at lines 8--11 + + [] + + +Underfull \hbox (badness 10000) detected at line 43 +[][][] + [] + +[56] +Underfull \hbox (badness 10000) detected at line 58 +[][][] + [] + +) (./Date_8h_source.tex) (./List_8hpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 8--10 + + [] + +[57] +Underfull \hbox (badness 10000) detected at line 43 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 46 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 62 +[][][] + [] + +[58] +Underfull \hbox (badness 10000) detected at line 65 +[][][] + [] + +) (./List_8hpp_source.tex [59] [60] [61]) (./OrderedList_8hpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 8--9 + + [] + +) (./OrderedList_8hpp_source.tex [62]) (./String_8h.tex +Underfull \hbox (badness 10000) in paragraph at lines 8--10 + + [] + +) (./String_8h_source.tex [63]) (./main_8cpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 8--12 + + [] + +) (./Event_8h.tex +Underfull \hbox (badness 10000) in paragraph at lines 8--16 + + [] + +[64] + +Package longtable Warning: Column widths have changed +(longtable) in table 6.15 on input line 52. + +[65] +Underfull \hbox (badness 10000) detected at line 64 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 84 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 99 +[][][] + [] + +) (./Event_8h_source.tex [66]) (./Hall_8h.tex +Underfull \hbox (badness 10000) in paragraph at lines 8--10 + + [] + +[67] +Underfull \hbox (badness 10000) detected at line 42 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 57 +[][][] + [] + +) (./Hall_8h_source.tex) (./Reservation_8h.tex [68] +Underfull \hbox (badness 10000) in paragraph at lines 8--11 + + [] + +) (./Reservation_8h_source.tex [69]) (./Ticket_8h.tex +Underfull \hbox (badness 10000) in paragraph at lines 8--10 + + [] + +[70] +Underfull \hbox (badness 10000) detected at line 42 +[][][] + [] + + +Underfull \hbox (badness 10000) detected at line 57 +[][][] + [] + +) (./Ticket_8h_source.tex) (./EventService_8h.tex +Underfull \hbox (badness 10000) in paragraph at lines 8--13 + + [] + +[71]) (./EventService_8h_source.tex) (./HallService_8h.tex [72] +Underfull \hbox (badness 10000) in paragraph at lines 8--11 + + [] + +) (./HallService_8h_source.tex) (./StatusCode_8h.tex [73]) +(./StatusCode_8h_source.tex) (./FMITicketSystemConsoleUI_8h.tex +Underfull \hbox (badness 10000) in paragraph at lines 8--10 + + [] + +[74]) (./FMITicketSystemConsoleUI_8h_source.tex) [75] [76 + +] +No file refman.ind. + +Package longtable Warning: Table widths have changed. Rerun LaTeX. + +Package atveryend Info: Empty hook `BeforeClearDocument' on input line 240. +Package atveryend Info: Empty hook `AfterLastShipout' on input line 240. +(./refman.aux) +Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 240. +Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 240. + + +Package rerunfilecheck Warning: File `refman.out' has changed. +(rerunfilecheck) Rerun to get outlines right +(rerunfilecheck) or use package `bookmark'. + +Package rerunfilecheck Info: Checksums for `refman.out': +(rerunfilecheck) Before: +(rerunfilecheck) After: 3440AC0C41982DE2B7FFE393A388B650;41850. + +LaTeX Warning: There were undefined references. + + +LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. + + ) +Here is how much of TeX's memory you used: + 17924 strings out of 482368 + 269195 string characters out of 5952188 + 530503 words of memory out of 5000000 + 32188 multiletter control sequences out of 15000+600000 + 598871 words of font info for 113 fonts, out of 8000000 for 9000 + 452 hyphenation exceptions out of 8191 + 55i,16n,96p,891b,634s stack positions out of 5000i,500n,10000p,200000b,80000s +{/usr/share/texmf-dist/fonts/enc/dvips/base/8r.enc} +Output written on refman.pdf (78 pages, 287272 bytes). +PDF statistics: + 2004 PDF objects out of 2073 (max. 8388607) + 1876 compressed objects within 19 object streams + 596 named destinations out of 1000 (max. 500000) + 11 words of extra memory for PDF output out of 10000 (max. 10000000) + diff --git a/docs/latex/refman.pdf b/docs/latex/refman.pdf new file mode 100644 index 0000000..6a4170b Binary files /dev/null and b/docs/latex/refman.pdf differ diff --git a/docs/latex/refman.tex b/docs/latex/refman.tex new file mode 100644 index 0000000..4d8b16b --- /dev/null +++ b/docs/latex/refman.tex @@ -0,0 +1,240 @@ + % Handle batch mode + % to overcome problems with too many open files + \let\mypdfximage\pdfximage\def\pdfximage{\immediate\mypdfximage} + % Set document class depending on configuration + \documentclass[twoside]{book} + %% moved from doxygen.sty due to workaround for LaTex 2019 version and unmaintained tabu package + \usepackage{ifthen} + \ifx\requestedLaTeXdate\undefined + \usepackage{array} + \else + \usepackage{array}[=2016-10-06] + \fi + %% + % Packages required by doxygen + \usepackage{fixltx2e} % for \textsubscript + \usepackage{doxygen} + \usepackage{graphicx} + \usepackage[utf8]{inputenc} + \usepackage{makeidx} + \PassOptionsToPackage{warn}{textcomp} + \usepackage{textcomp} + \usepackage[nointegrals]{wasysym} + \usepackage{ifxetex} + % NLS support packages + % Define default fonts + % Font selection + \usepackage[T1]{fontenc} + % set main and monospaced font + \usepackage[scaled=.90]{helvet} +\usepackage{courier} +\renewcommand{\familydefault}{\sfdefault} + \usepackage{sectsty} + \allsectionsfont{% + \fontseries{bc}\selectfont% + \color{darkgray}% + } + \renewcommand{\DoxyLabelFont}{% + \fontseries{bc}\selectfont% + \color{darkgray}% + } + \newcommand{\+}{\discretionary{\mbox{\scriptsize$\hookleftarrow$}}{}{}} + % Arguments of doxygenemoji: + % 1) '::' form of the emoji, already LaTeX-escaped + % 2) file with the name of the emoji without the .png extension + % in case image exist use this otherwise use the '::' form + \newcommand{\doxygenemoji}[2]{% + \IfFileExists{./#2.png}{\raisebox{-0.1em}{\includegraphics[height=0.9em]{./#2.png}}}{#1}% + } + % Page & text layout + \usepackage{geometry} + \geometry{% + a4paper,% + top=2.5cm,% + bottom=2.5cm,% + left=2.5cm,% + right=2.5cm% + } + % Allow a bit of overflow to go unnoticed by other means + \tolerance=750 + \hfuzz=15pt + \hbadness=750 + \setlength{\emergencystretch}{15pt} + \setlength{\parindent}{0cm} + \newcommand{\doxynormalparskip}{\setlength{\parskip}{3ex plus 2ex minus 2ex}} + \newcommand{\doxytocparskip}{\setlength{\parskip}{1ex plus 0ex minus 0ex}} + \doxynormalparskip + % Redefine paragraph/subparagraph environments, using sectsty fonts + \makeatletter + \renewcommand{\paragraph}{% + \@startsection{paragraph}{4}{0ex}{-1.0ex}{1.0ex}{% + \normalfont\normalsize\bfseries\SS@parafont% + }% + } + \renewcommand{\subparagraph}{% + \@startsection{subparagraph}{5}{0ex}{-1.0ex}{1.0ex}{% + \normalfont\normalsize\bfseries\SS@subparafont% + }% + } + \makeatother + \makeatletter + \newcommand\hrulefilll{\leavevmode\leaders\hrule\hskip 0pt plus 1filll\kern\z@} + \makeatother + % Headers & footers + \usepackage{fancyhdr} + \pagestyle{fancyplain} + \renewcommand{\footrulewidth}{0.4pt} + \fancypagestyle{fancyplain}{ + \fancyhf{} + \fancyhead[LE, RO]{\bfseries\thepage} + \fancyhead[LO]{\bfseries\rightmark} + \fancyhead[RE]{\bfseries\leftmark} + \fancyfoot[LO, RE]{\bfseries\scriptsize Generated by Doxygen } + } + \fancypagestyle{plain}{ + \fancyhf{} + \fancyfoot[LO, RE]{\bfseries\scriptsize Generated by Doxygen } + \renewcommand{\headrulewidth}{0pt} + } + \pagestyle{fancyplain} + \renewcommand{\chaptermark}[1]{% + \markboth{#1}{}% + } + \renewcommand{\sectionmark}[1]{% + \markright{\thesection\ #1}% + } + % ToC, LoF, LoT, bibliography, and index + % Indices & bibliography + \usepackage{natbib} + \usepackage[titles]{tocloft} + \setcounter{tocdepth}{3} + \setcounter{secnumdepth}{5} + % creating indexes + \makeindex + \usepackage{newunicodechar} + \newunicodechar{�}{${}^{-}$}% Superscript minus + \newunicodechar{²}{${}^{2}$}% Superscript two + \newunicodechar{³}{${}^{3}$}% Superscript three + % Hyperlinks + % Hyperlinks (required, but should be loaded last) + \ifpdf + \usepackage[pdftex,pagebackref=true]{hyperref} + \else + \ifxetex + \usepackage[pagebackref=true]{hyperref} + \else + \usepackage[ps2pdf,pagebackref=true]{hyperref} + \fi + \fi + \hypersetup{% + colorlinks=true,% + linkcolor=blue,% + citecolor=blue,% + unicode,% + pdftitle=FMI Ticket System,% + pdfsubject=$\vert$ Kamen Mladenov $\vert$ FMI Computer Science Year 1 Group 6 $\vert$ Project 1 $\vert$ Project Topic 4 $\vert$% + } + % Custom commands used by the header + % Custom commands + \newcommand{\clearemptydoublepage}{% + \newpage{\pagestyle{empty}\cleardoublepage}% + } + % caption style definition + \usepackage{caption} + \captionsetup{labelsep=space,justification=centering,font={bf},singlelinecheck=off,skip=4pt,position=top} + % in page table of contents + \usepackage{etoc} + \etocsettocstyle{\doxytocparskip}{\doxynormalparskip} + % prevent numbers overlap the titles in toc + \renewcommand{\numberline}[1]{#1~} +% End of preamble, now comes the document contents +%===== C O N T E N T S ===== +\begin{document} + \raggedbottom + % Titlepage & ToC + % To avoid duplicate page anchors due to reuse of same numbers for + % the index (be it as roman numbers) + \hypersetup{pageanchor=false, + bookmarksnumbered=true, + pdfencoding=unicode + } + \pagenumbering{alph} + \begin{titlepage} + \vspace*{7cm} + \begin{center}% + {\Large FMI Ticket System}\\ + \vspace*{1cm} + {\large Generated by Doxygen 1.9.3}\\ + \end{center} + \end{titlepage} + \clearemptydoublepage + \pagenumbering{roman} + \tableofcontents + \clearemptydoublepage + \pagenumbering{arabic} + % re-enable anchors again + \hypersetup{pageanchor=true} +%--- Begin generated contents --- +\chapter{FMI Tickets System} +\label{index}\hypertarget{index}{}\input{index} +\chapter{Hierarchical Index} +\input{hierarchy} +\chapter{Class Index} +\input{annotated} +\chapter{File Index} +\input{files} +\chapter{Class Documentation} +\input{classCommand} +\input{classDate} +\input{classEvent} +\input{classEventService} +\input{classHall} +\input{classHallService} +\input{classList} +\input{classMenu} +\input{classOrderedList} +\input{classReservation} +\input{classString} +\input{classTicket} +\chapter{File Documentation} +\input{Command_8h} +\input{Command_8h_source} +\input{Menu_8h} +\input{Menu_8h_source} +\input{Toolbox_8hpp} +\input{Toolbox_8hpp_source} +\input{Date_8h} +\input{Date_8h_source} +\input{List_8hpp} +\input{List_8hpp_source} +\input{OrderedList_8hpp} +\input{OrderedList_8hpp_source} +\input{String_8h} +\input{String_8h_source} +\input{main_8cpp} +\input{Event_8h} +\input{Event_8h_source} +\input{Hall_8h} +\input{Hall_8h_source} +\input{Reservation_8h} +\input{Reservation_8h_source} +\input{Ticket_8h} +\input{Ticket_8h_source} +\input{EventService_8h} +\input{EventService_8h_source} +\input{HallService_8h} +\input{HallService_8h_source} +\input{StatusCode_8h} +\input{StatusCode_8h_source} +\input{FMITicketSystemConsoleUI_8h} +\input{FMITicketSystemConsoleUI_8h_source} +%--- End generated contents --- +% Index + \backmatter + \newpage + \phantomsection + \clearemptydoublepage + \addcontentsline{toc}{chapter}{\indexname} + \printindex +% Required for some languages (in combination with latexdocumentpre from the header) +\end{document} diff --git a/docs/latex/refman.toc b/docs/latex/refman.toc new file mode 100644 index 0000000..48ee10f --- /dev/null +++ b/docs/latex/refman.toc @@ -0,0 +1,211 @@ +\@ifundefined {etoctocstyle}{\let \etoc@startlocaltoc \@gobble \let \etoc@settocdepth \@gobble \let \etoc@depthtag \@gobble \let \etoc@setlocaltop \@gobble }{} +\contentsline {chapter}{\numberline {1}FMI Tickets System}{1}{chapter.1}% +\contentsline {section}{\numberline {1.1}About}{1}{section.1.1}% +\contentsline {section}{\numberline {1.2}Structure overview}{1}{section.1.2}% +\contentsline {section}{\numberline {1.3}Acknowledgements}{2}{section.1.3}% +\contentsline {section}{\numberline {1.4}Figures}{2}{section.1.4}% +\contentsline {chapter}{\numberline {2}Hierarchical Index}{3}{chapter.2}% +\contentsline {section}{\numberline {2.1}Class Hierarchy}{3}{section.2.1}% +\contentsline {chapter}{\numberline {3}Class Index}{5}{chapter.3}% +\contentsline {section}{\numberline {3.1}Class List}{5}{section.3.1}% +\contentsline {chapter}{\numberline {4}File Index}{7}{chapter.4}% +\contentsline {section}{\numberline {4.1}File List}{7}{section.4.1}% +\contentsline {chapter}{\numberline {5}Class Documentation}{9}{chapter.5}% +\contentsline {section}{\numberline {5.1}Command Class Reference}{9}{section.5.1}% +\contentsline {subsection}{\numberline {5.1.1}Detailed Description}{9}{subsection.5.1.1}% +\contentsline {subsection}{\numberline {5.1.2}Constructor \& Destructor Documentation}{9}{subsection.5.1.2}% +\contentsline {subsubsection}{\numberline {5.1.2.1}Command()}{9}{subsubsection.5.1.2.1}% +\contentsline {subsection}{\numberline {5.1.3}Member Function Documentation}{10}{subsection.5.1.3}% +\contentsline {subsubsection}{\numberline {5.1.3.1}run()}{10}{subsubsection.5.1.3.1}% +\contentsline {section}{\numberline {5.2}Date Class Reference}{10}{section.5.2}% +\contentsline {subsection}{\numberline {5.2.1}Detailed Description}{11}{subsection.5.2.1}% +\contentsline {subsection}{\numberline {5.2.2}Constructor \& Destructor Documentation}{11}{subsection.5.2.2}% +\contentsline {subsubsection}{\numberline {5.2.2.1}Date()\hspace {0.1cm}{\footnotesize \ttfamily [1/2]}}{11}{subsubsection.5.2.2.1}% +\contentsline {subsubsection}{\numberline {5.2.2.2}Date()\hspace {0.1cm}{\footnotesize \ttfamily [2/2]}}{12}{subsubsection.5.2.2.2}% +\contentsline {subsection}{\numberline {5.2.3}Member Function Documentation}{12}{subsection.5.2.3}% +\contentsline {subsubsection}{\numberline {5.2.3.1}compare()}{12}{subsubsection.5.2.3.1}% +\contentsline {subsubsection}{\numberline {5.2.3.2}createString()}{12}{subsubsection.5.2.3.2}% +\contentsline {subsubsection}{\numberline {5.2.3.3}read()}{12}{subsubsection.5.2.3.3}% +\contentsline {subsubsection}{\numberline {5.2.3.4}set\_day()}{13}{subsubsection.5.2.3.4}% +\contentsline {subsubsection}{\numberline {5.2.3.5}set\_month()}{13}{subsubsection.5.2.3.5}% +\contentsline {subsubsection}{\numberline {5.2.3.6}set\_year()}{13}{subsubsection.5.2.3.6}% +\contentsline {subsubsection}{\numberline {5.2.3.7}write()}{13}{subsubsection.5.2.3.7}% +\contentsline {section}{\numberline {5.3}Event Class Reference}{14}{section.5.3}% +\contentsline {subsection}{\numberline {5.3.1}Detailed Description}{15}{subsection.5.3.1}% +\contentsline {subsection}{\numberline {5.3.2}Member Function Documentation}{15}{subsection.5.3.2}% +\contentsline {subsubsection}{\numberline {5.3.2.1}compare()}{15}{subsubsection.5.3.2.1}% +\contentsline {subsubsection}{\numberline {5.3.2.2}read()}{15}{subsubsection.5.3.2.2}% +\contentsline {subsubsection}{\numberline {5.3.2.3}write()}{15}{subsubsection.5.3.2.3}% +\contentsline {section}{\numberline {5.4}Event\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Service Class Reference}{16}{section.5.4}% +\contentsline {subsection}{\numberline {5.4.1}Detailed Description}{17}{subsection.5.4.1}% +\contentsline {subsection}{\numberline {5.4.2}Member Function Documentation}{17}{subsection.5.4.2}% +\contentsline {subsubsection}{\numberline {5.4.2.1}buyTicket()\hspace {0.1cm}{\footnotesize \ttfamily [1/2]}}{17}{subsubsection.5.4.2.1}% +\contentsline {subsubsection}{\numberline {5.4.2.2}buyTicket()\hspace {0.1cm}{\footnotesize \ttfamily [2/2]}}{18}{subsubsection.5.4.2.2}% +\contentsline {subsubsection}{\numberline {5.4.2.3}cancelEvent()}{18}{subsubsection.5.4.2.3}% +\contentsline {subsubsection}{\numberline {5.4.2.4}cancelTicketReservation()}{18}{subsubsection.5.4.2.4}% +\contentsline {subsubsection}{\numberline {5.4.2.5}createEvent()}{19}{subsubsection.5.4.2.5}% +\contentsline {subsubsection}{\numberline {5.4.2.6}createSeatingString()}{19}{subsubsection.5.4.2.6}% +\contentsline {subsubsection}{\numberline {5.4.2.7}load()}{19}{subsubsection.5.4.2.7}% +\contentsline {subsubsection}{\numberline {5.4.2.8}queryInsufficientlyVisited()}{20}{subsubsection.5.4.2.8}% +\contentsline {subsubsection}{\numberline {5.4.2.9}queryMostWatched()}{20}{subsubsection.5.4.2.9}% +\contentsline {subsubsection}{\numberline {5.4.2.10}reportBoughtTickets()}{20}{subsubsection.5.4.2.10}% +\contentsline {subsubsection}{\numberline {5.4.2.11}reportReservations()}{21}{subsubsection.5.4.2.11}% +\contentsline {subsubsection}{\numberline {5.4.2.12}reserveTicket()}{21}{subsubsection.5.4.2.12}% +\contentsline {subsubsection}{\numberline {5.4.2.13}save()}{22}{subsubsection.5.4.2.13}% +\contentsline {subsubsection}{\numberline {5.4.2.14}ticketIsReserved()}{22}{subsubsection.5.4.2.14}% +\contentsline {section}{\numberline {5.5}Hall Class Reference}{22}{section.5.5}% +\contentsline {subsection}{\numberline {5.5.1}Detailed Description}{23}{subsection.5.5.1}% +\contentsline {subsection}{\numberline {5.5.2}Member Function Documentation}{23}{subsection.5.5.2}% +\contentsline {subsubsection}{\numberline {5.5.2.1}compare()}{23}{subsubsection.5.5.2.1}% +\contentsline {subsubsection}{\numberline {5.5.2.2}read()}{23}{subsubsection.5.5.2.2}% +\contentsline {subsubsection}{\numberline {5.5.2.3}write()}{24}{subsubsection.5.5.2.3}% +\contentsline {section}{\numberline {5.6}Hall\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Service Class Reference}{24}{section.5.6}% +\contentsline {subsection}{\numberline {5.6.1}Detailed Description}{25}{subsection.5.6.1}% +\contentsline {subsection}{\numberline {5.6.2}Member Function Documentation}{25}{subsection.5.6.2}% +\contentsline {subsubsection}{\numberline {5.6.2.1}load()}{25}{subsubsection.5.6.2.1}% +\contentsline {subsubsection}{\numberline {5.6.2.2}save()}{25}{subsubsection.5.6.2.2}% +\contentsline {section}{\numberline {5.7}List$<$ T $>$ Class Template Reference}{26}{section.5.7}% +\contentsline {subsection}{\numberline {5.7.1}Detailed Description}{27}{subsection.5.7.1}% +\contentsline {subsection}{\numberline {5.7.2}Member Function Documentation}{27}{subsection.5.7.2}% +\contentsline {subsubsection}{\numberline {5.7.2.1}add()}{27}{subsubsection.5.7.2.1}% +\contentsline {subsubsection}{\numberline {5.7.2.2}contain()}{28}{subsubsection.5.7.2.2}% +\contentsline {subsubsection}{\numberline {5.7.2.3}findIndex()}{28}{subsubsection.5.7.2.3}% +\contentsline {subsubsection}{\numberline {5.7.2.4}get\_count()}{28}{subsubsection.5.7.2.4}% +\contentsline {subsubsection}{\numberline {5.7.2.5}get\_length()}{29}{subsubsection.5.7.2.5}% +\contentsline {subsubsection}{\numberline {5.7.2.6}insertAt()}{29}{subsubsection.5.7.2.6}% +\contentsline {subsubsection}{\numberline {5.7.2.7}read()}{29}{subsubsection.5.7.2.7}% +\contentsline {subsubsection}{\numberline {5.7.2.8}removeAt()}{30}{subsubsection.5.7.2.8}% +\contentsline {subsubsection}{\numberline {5.7.2.9}write()}{30}{subsubsection.5.7.2.9}% +\contentsline {section}{\numberline {5.8}Menu Class Reference}{30}{section.5.8}% +\contentsline {subsection}{\numberline {5.8.1}Detailed Description}{31}{subsection.5.8.1}% +\contentsline {subsection}{\numberline {5.8.2}Constructor \& Destructor Documentation}{31}{subsection.5.8.2}% +\contentsline {subsubsection}{\numberline {5.8.2.1}Menu()\hspace {0.1cm}{\footnotesize \ttfamily [1/2]}}{31}{subsubsection.5.8.2.1}% +\contentsline {subsubsection}{\numberline {5.8.2.2}Menu()\hspace {0.1cm}{\footnotesize \ttfamily [2/2]}}{32}{subsubsection.5.8.2.2}% +\contentsline {subsection}{\numberline {5.8.3}Member Function Documentation}{32}{subsection.5.8.3}% +\contentsline {subsubsection}{\numberline {5.8.3.1}navigate()}{32}{subsubsection.5.8.3.1}% +\contentsline {subsubsection}{\numberline {5.8.3.2}registerError()}{32}{subsubsection.5.8.3.2}% +\contentsline {subsubsection}{\numberline {5.8.3.3}registerSuccess()}{33}{subsubsection.5.8.3.3}% +\contentsline {subsubsection}{\numberline {5.8.3.4}registerWarning()}{33}{subsubsection.5.8.3.4}% +\contentsline {section}{\numberline {5.9}Ordered\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}List$<$ T $>$ Class Template Reference}{33}{section.5.9}% +\contentsline {subsection}{\numberline {5.9.1}Detailed Description}{34}{subsection.5.9.1}% +\contentsline {subsection}{\numberline {5.9.2}Member Function Documentation}{34}{subsection.5.9.2}% +\contentsline {subsubsection}{\numberline {5.9.2.1}add()}{34}{subsubsection.5.9.2.1}% +\contentsline {subsubsection}{\numberline {5.9.2.2}insert()}{35}{subsubsection.5.9.2.2}% +\contentsline {subsubsection}{\numberline {5.9.2.3}insertAt()}{35}{subsubsection.5.9.2.3}% +\contentsline {section}{\numberline {5.10}Reservation Class Reference}{35}{section.5.10}% +\contentsline {subsection}{\numberline {5.10.1}Detailed Description}{36}{subsection.5.10.1}% +\contentsline {subsection}{\numberline {5.10.2}Member Function Documentation}{36}{subsection.5.10.2}% +\contentsline {subsubsection}{\numberline {5.10.2.1}compare()}{36}{subsubsection.5.10.2.1}% +\contentsline {subsubsection}{\numberline {5.10.2.2}read()}{36}{subsubsection.5.10.2.2}% +\contentsline {subsubsection}{\numberline {5.10.2.3}write()}{37}{subsubsection.5.10.2.3}% +\contentsline {subsection}{\numberline {5.10.3}Friends And Related Function Documentation}{37}{subsection.5.10.3}% +\contentsline {subsubsection}{\numberline {5.10.3.1}operator$<$$<$}{37}{subsubsection.5.10.3.1}% +\contentsline {subsubsection}{\numberline {5.10.3.2}operator$>$$>$}{38}{subsubsection.5.10.3.2}% +\contentsline {section}{\numberline {5.11}String Class Reference}{38}{section.5.11}% +\contentsline {subsection}{\numberline {5.11.1}Constructor \& Destructor Documentation}{39}{subsection.5.11.1}% +\contentsline {subsubsection}{\numberline {5.11.1.1}String()\hspace {0.1cm}{\footnotesize \ttfamily [1/2]}}{39}{subsubsection.5.11.1.1}% +\contentsline {subsubsection}{\numberline {5.11.1.2}String()\hspace {0.1cm}{\footnotesize \ttfamily [2/2]}}{39}{subsubsection.5.11.1.2}% +\contentsline {subsection}{\numberline {5.11.2}Member Function Documentation}{39}{subsection.5.11.2}% +\contentsline {subsubsection}{\numberline {5.11.2.1}compare()}{39}{subsubsection.5.11.2.1}% +\contentsline {subsubsection}{\numberline {5.11.2.2}operator+=()\hspace {0.1cm}{\footnotesize \ttfamily [1/2]}}{40}{subsubsection.5.11.2.2}% +\contentsline {subsubsection}{\numberline {5.11.2.3}operator+=()\hspace {0.1cm}{\footnotesize \ttfamily [2/2]}}{40}{subsubsection.5.11.2.3}% +\contentsline {subsubsection}{\numberline {5.11.2.4}read()}{40}{subsubsection.5.11.2.4}% +\contentsline {subsubsection}{\numberline {5.11.2.5}write()}{40}{subsubsection.5.11.2.5}% +\contentsline {subsection}{\numberline {5.11.3}Friends And Related Function Documentation}{41}{subsection.5.11.3}% +\contentsline {subsubsection}{\numberline {5.11.3.1}operator$<$$<$}{41}{subsubsection.5.11.3.1}% +\contentsline {subsubsection}{\numberline {5.11.3.2}operator$>$$>$}{41}{subsubsection.5.11.3.2}% +\contentsline {section}{\numberline {5.12}Ticket Class Reference}{42}{section.5.12}% +\contentsline {subsection}{\numberline {5.12.1}Detailed Description}{42}{subsection.5.12.1}% +\contentsline {subsection}{\numberline {5.12.2}Member Function Documentation}{42}{subsection.5.12.2}% +\contentsline {subsubsection}{\numberline {5.12.2.1}compare()}{42}{subsubsection.5.12.2.1}% +\contentsline {subsubsection}{\numberline {5.12.2.2}read()}{42}{subsubsection.5.12.2.2}% +\contentsline {subsubsection}{\numberline {5.12.2.3}write()}{43}{subsubsection.5.12.2.3}% +\contentsline {chapter}{\numberline {6}File Documentation}{45}{chapter.6}% +\contentsline {section}{\numberline {6.1}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Generic/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Console\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Interface/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Command.h File Reference}{45}{section.6.1}% +\contentsline {subsection}{\numberline {6.1.1}Detailed Description}{45}{subsection.6.1.1}% +\contentsline {section}{\numberline {6.2}Command.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{45}{section.6.2}% +\contentsline {section}{\numberline {6.3}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Generic/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Console\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Interface/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Menu.h File Reference}{45}{section.6.3}% +\contentsline {subsection}{\numberline {6.3.1}Detailed Description}{46}{subsection.6.3.1}% +\contentsline {section}{\numberline {6.4}Menu.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{46}{section.6.4}% +\contentsline {section}{\numberline {6.5}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Generic/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Console\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Interface/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Toolbox.hpp File Reference}{46}{section.6.5}% +\contentsline {subsection}{\numberline {6.5.1}Detailed Description}{48}{subsection.6.5.1}% +\contentsline {subsection}{\numberline {6.5.2}Function Documentation}{48}{subsection.6.5.2}% +\contentsline {subsubsection}{\numberline {6.5.2.1}\_printInputBoxLabel()}{48}{subsubsection.6.5.2.1}% +\contentsline {subsubsection}{\numberline {6.5.2.2}\_printOrderedListBeginning()}{49}{subsubsection.6.5.2.2}% +\contentsline {subsubsection}{\numberline {6.5.2.3}\_printSubBoxSpacing()}{49}{subsubsection.6.5.2.3}% +\contentsline {subsubsection}{\numberline {6.5.2.4}clear()}{49}{subsubsection.6.5.2.4}% +\contentsline {subsubsection}{\numberline {6.5.2.5}errorBox()}{49}{subsubsection.6.5.2.5}% +\contentsline {subsubsection}{\numberline {6.5.2.6}errorSubBox()}{50}{subsubsection.6.5.2.6}% +\contentsline {subsubsection}{\numberline {6.5.2.7}inputLineBox()}{50}{subsubsection.6.5.2.7}% +\contentsline {subsubsection}{\numberline {6.5.2.8}inputLineSubBox()}{51}{subsubsection.6.5.2.8}% +\contentsline {subsubsection}{\numberline {6.5.2.9}inputSubBox()}{51}{subsubsection.6.5.2.9}% +\contentsline {subsubsection}{\numberline {6.5.2.10}pressEnterToContinue()}{51}{subsubsection.6.5.2.10}% +\contentsline {subsubsection}{\numberline {6.5.2.11}resetOrderedList()}{52}{subsubsection.6.5.2.11}% +\contentsline {subsubsection}{\numberline {6.5.2.12}subTitleBox()}{52}{subsubsection.6.5.2.12}% +\contentsline {subsubsection}{\numberline {6.5.2.13}successBox()}{52}{subsubsection.6.5.2.13}% +\contentsline {subsubsection}{\numberline {6.5.2.14}successSubBox()}{53}{subsubsection.6.5.2.14}% +\contentsline {subsubsection}{\numberline {6.5.2.15}table()}{53}{subsubsection.6.5.2.15}% +\contentsline {subsubsection}{\numberline {6.5.2.16}titleBox()}{54}{subsubsection.6.5.2.16}% +\contentsline {subsubsection}{\numberline {6.5.2.17}warningBox()}{54}{subsubsection.6.5.2.17}% +\contentsline {subsubsection}{\numberline {6.5.2.18}warningSubBox()}{54}{subsubsection.6.5.2.18}% +\contentsline {section}{\numberline {6.6}Toolbox.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}hpp}{55}{section.6.6}% +\contentsline {section}{\numberline {6.7}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Generic/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Date/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Date.h File Reference}{56}{section.6.7}% +\contentsline {subsection}{\numberline {6.7.1}Detailed Description}{56}{subsection.6.7.1}% +\contentsline {subsection}{\numberline {6.7.2}Function Documentation}{56}{subsection.6.7.2}% +\contentsline {subsubsection}{\numberline {6.7.2.1}operator$<$$<$()}{56}{subsubsection.6.7.2.1}% +\contentsline {subsubsection}{\numberline {6.7.2.2}operator$>$$>$()}{57}{subsubsection.6.7.2.2}% +\contentsline {section}{\numberline {6.8}Date.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{57}{section.6.8}% +\contentsline {section}{\numberline {6.9}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Generic/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}List/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}List.hpp File Reference}{57}{section.6.9}% +\contentsline {subsection}{\numberline {6.9.1}Detailed Description}{58}{subsection.6.9.1}% +\contentsline {subsection}{\numberline {6.9.2}Function Documentation}{58}{subsection.6.9.2}% +\contentsline {subsubsection}{\numberline {6.9.2.1}operator$<$$<$()}{58}{subsubsection.6.9.2.1}% +\contentsline {subsubsection}{\numberline {6.9.2.2}operator$>$$>$()}{59}{subsubsection.6.9.2.2}% +\contentsline {section}{\numberline {6.10}List.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}hpp}{59}{section.6.10}% +\contentsline {section}{\numberline {6.11}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Generic/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}List/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Ordered\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}List.hpp File Reference}{62}{section.6.11}% +\contentsline {subsection}{\numberline {6.11.1}Detailed Description}{62}{subsection.6.11.1}% +\contentsline {section}{\numberline {6.12}Ordered\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}List.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}hpp}{62}{section.6.12}% +\contentsline {section}{\numberline {6.13}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Generic/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}String/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}String.h File Reference}{63}{section.6.13}% +\contentsline {subsection}{\numberline {6.13.1}Detailed Description}{63}{subsection.6.13.1}% +\contentsline {section}{\numberline {6.14}String.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{63}{section.6.14}% +\contentsline {section}{\numberline {6.15}src/main.cpp File Reference}{64}{section.6.15}% +\contentsline {subsection}{\numberline {6.15.1}Detailed Description}{64}{subsection.6.15.1}% +\contentsline {subsection}{\numberline {6.15.2}Function Documentation}{64}{subsection.6.15.2}% +\contentsline {subsubsection}{\numberline {6.15.2.1}main()}{64}{subsubsection.6.15.2.1}% +\contentsline {section}{\numberline {6.16}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Models/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Event.h File Reference}{65}{section.6.16}% +\contentsline {subsection}{\numberline {6.16.1}Detailed Description}{65}{subsection.6.16.1}% +\contentsline {subsection}{\numberline {6.16.2}Function Documentation}{65}{subsection.6.16.2}% +\contentsline {subsubsection}{\numberline {6.16.2.1}configureEventInsertionOp()}{65}{subsubsection.6.16.2.1}% +\contentsline {subsubsection}{\numberline {6.16.2.2}operator$<$$<$()}{66}{subsubsection.6.16.2.2}% +\contentsline {subsubsection}{\numberline {6.16.2.3}operator$>$$>$()}{66}{subsubsection.6.16.2.3}% +\contentsline {section}{\numberline {6.17}Event.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{67}{section.6.17}% +\contentsline {section}{\numberline {6.18}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Models/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Hall.h File Reference}{67}{section.6.18}% +\contentsline {subsection}{\numberline {6.18.1}Detailed Description}{68}{subsection.6.18.1}% +\contentsline {subsection}{\numberline {6.18.2}Function Documentation}{68}{subsection.6.18.2}% +\contentsline {subsubsection}{\numberline {6.18.2.1}operator$<$$<$()}{68}{subsubsection.6.18.2.1}% +\contentsline {subsubsection}{\numberline {6.18.2.2}operator$>$$>$()}{68}{subsubsection.6.18.2.2}% +\contentsline {section}{\numberline {6.19}Hall.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{69}{section.6.19}% +\contentsline {section}{\numberline {6.20}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Models/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Reservation.h File Reference}{69}{section.6.20}% +\contentsline {subsection}{\numberline {6.20.1}Detailed Description}{69}{subsection.6.20.1}% +\contentsline {section}{\numberline {6.21}Reservation.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{70}{section.6.21}% +\contentsline {section}{\numberline {6.22}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Models/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Ticket.h File Reference}{70}{section.6.22}% +\contentsline {subsection}{\numberline {6.22.1}Detailed Description}{70}{subsection.6.22.1}% +\contentsline {subsection}{\numberline {6.22.2}Function Documentation}{71}{subsection.6.22.2}% +\contentsline {subsubsection}{\numberline {6.22.2.1}operator$<$$<$()}{71}{subsubsection.6.22.2.1}% +\contentsline {subsubsection}{\numberline {6.22.2.2}operator$>$$>$()}{71}{subsubsection.6.22.2.2}% +\contentsline {section}{\numberline {6.23}Ticket.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{71}{section.6.23}% +\contentsline {section}{\numberline {6.24}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Services/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Event\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Service.h File Reference}{72}{section.6.24}% +\contentsline {subsection}{\numberline {6.24.1}Detailed Description}{72}{subsection.6.24.1}% +\contentsline {section}{\numberline {6.25}Event\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Service.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{72}{section.6.25}% +\contentsline {section}{\numberline {6.26}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Services/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Hall\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Service.h File Reference}{73}{section.6.26}% +\contentsline {subsection}{\numberline {6.26.1}Detailed Description}{73}{subsection.6.26.1}% +\contentsline {section}{\numberline {6.27}Hall\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Service.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{73}{section.6.27}% +\contentsline {section}{\numberline {6.28}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Services/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Status\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Code.h File Reference}{73}{section.6.28}% +\contentsline {subsection}{\numberline {6.28.1}Detailed Description}{74}{subsection.6.28.1}% +\contentsline {subsection}{\numberline {6.28.2}Enumeration Type Documentation}{74}{subsection.6.28.2}% +\contentsline {subsubsection}{\numberline {6.28.2.1}StatusCode}{74}{subsubsection.6.28.2.1}% +\contentsline {section}{\numberline {6.29}Status\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Code.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{74}{section.6.29}% +\contentsline {section}{\numberline {6.30}src/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}User\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Interface/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}FMITicket\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}System\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Console\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}UI.h File Reference}{74}{section.6.30}% +\contentsline {subsection}{\numberline {6.30.1}Detailed Description}{75}{subsection.6.30.1}% +\contentsline {subsection}{\numberline {6.30.2}Function Documentation}{75}{subsection.6.30.2}% +\contentsline {subsubsection}{\numberline {6.30.2.1}runUI()}{75}{subsubsection.6.30.2.1}% +\contentsline {section}{\numberline {6.31}FMITicket\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}System\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Console\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}UI.\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}h}{75}{section.6.31}% diff --git a/docs/latex/tabu_doxygen.sty b/docs/latex/tabu_doxygen.sty new file mode 100644 index 0000000..3f17d1d --- /dev/null +++ b/docs/latex/tabu_doxygen.sty @@ -0,0 +1,2557 @@ +%% +%% This is file `tabu.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% tabu.dtx (with options: `package') +%% +%% This is a generated file. +%% Copyright (FC) 2010-2011 - lppl +%% +%% tabu : 2011/02/26 v2.8 - tabu : Flexible LaTeX tabulars +%% +%% ********************************************************************************************** +%% \begin{tabu} { preamble } => default target: \linewidth or \linegoal +%% \begin{tabu} to { preamble } => target specified +%% \begin{tabu} spread { preamble } => target relative to the ``natural width'' +%% +%% tabu works in text and in math modes. +%% +%% X columns: automatic width adjustment + horizontal and vertical alignment +%% \begin{tabu} { X[4c] X[1c] X[-2ml] } +%% +%% Horizontal lines and / or leaders: +%% \hline\hline => double horizontal line +%% \firsthline\hline => for nested tabulars +%% \lasthline\hline => for nested tabulars +%% \tabucline[line spec]{column-column} => ``funny'' lines (dash/leader) +%% Automatic lines / leaders : +%% \everyrow{\hline\hline} +%% +%% Vertical lines and / or leaders: +%% \begin{tabu} { |[3pt red] X[4c] X[1c] X[-2ml] |[3pt blue] } +%% \begin{tabu} { |[3pt red] X[4c] X[1c] X[-2ml] |[3pt on 2pt off 4pt blue] } +%% +%% Fixed vertical spacing adjustment: +%% \extrarowheight= \extrarowdepth= +%% or: \extrarowsep= => may be prefixed by \global +%% +%% Dynamic vertical spacing adjustment: +%% \abovetabulinesep= \belowtabulinesep= +%% or: \tabulinesep= => may be prefixed by \global +%% +%% delarray.sty shortcuts: in math and text modes +%% \begin{tabu} .... \({ preamble }\) +%% +%% Algorithms reports: +%% \tracingtabu=1 \tracingtabu=2 +%% +%% ********************************************************************************************** +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% +%% This work consists of the main source file tabu.dtx +%% and the derived files +%% tabu.sty, tabu.pdf, tabu.ins +%% +%% tabu : Flexible LaTeX tabulars +%% lppl copyright 2010-2011 by FC +%% + +\NeedsTeXFormat{LaTeX2e}[2005/12/01] +\ProvidesPackage{tabu_doxygen}[2011/02/26 v2.8 - flexible LaTeX tabulars (FC), frozen version for doxygen] +\RequirePackage{array}[2008/09/09] +\RequirePackage{varwidth}[2009/03/30] +\AtEndOfPackage{\tabu@AtEnd \let\tabu@AtEnd \@undefined} +\let\tabu@AtEnd\@empty +\def\TMP@EnsureCode#1={% + \edef\tabu@AtEnd{\tabu@AtEnd + \catcode#1 \the\catcode#1}% + \catcode#1=% +}% \TMP@EnsureCode +\TMP@EnsureCode 33 = 12 % ! +\TMP@EnsureCode 58 = 12 % : (for siunitx) +\TMP@EnsureCode124 = 12 % | +\TMP@EnsureCode 36 = 3 % $ = math shift +\TMP@EnsureCode 38 = 4 % & = tab alignment character +\TMP@EnsureCode 32 = 10 % space +\TMP@EnsureCode 94 = 7 % ^ +\TMP@EnsureCode 95 = 8 % _ +%% Constants -------------------------------------------------------- +\newcount \c@taburow \def\thetaburow {\number\c@taburow} +\newcount \tabu@nbcols +\newcount \tabu@cnt +\newcount \tabu@Xcol +\let\tabu@start \@tempcnta +\let\tabu@stop \@tempcntb +\newcount \tabu@alloc \tabu@alloc=\m@ne +\newcount \tabu@nested +\def\tabu@alloc@{\global\advance\tabu@alloc \@ne \tabu@nested\tabu@alloc} +\newdimen \tabu@target +\newdimen \tabu@spreadtarget +\newdimen \tabu@naturalX +\newdimen \tabucolX +\let\tabu@DELTA \@tempdimc +\let\tabu@thick \@tempdima +\let\tabu@on \@tempdimb +\let\tabu@off \@tempdimc +\newdimen \tabu@Xsum +\newdimen \extrarowdepth +\newdimen \abovetabulinesep +\newdimen \belowtabulinesep +\newdimen \tabustrutrule \tabustrutrule \z@ +\newtoks \tabu@thebody +\newtoks \tabu@footnotes +\newsavebox \tabu@box +\newsavebox \tabu@arstrutbox +\newsavebox \tabu@hleads +\newsavebox \tabu@vleads +\newif \iftabu@colortbl +\newif \iftabu@siunitx +\newif \iftabu@measuring +\newif \iftabu@spread +\newif \iftabu@negcoef +\newif \iftabu@everyrow +\def\tabu@everyrowtrue {\global\let\iftabu@everyrow \iftrue} +\def\tabu@everyrowfalse{\global\let\iftabu@everyrow \iffalse} +\newif \iftabu@long +\newif \iftabuscantokens +\def\tabu@rescan {\tabu@verbatim \scantokens } +%% Utilities (for internal usage) ----------------------------------- +\def\tabu@gobblespace #1 {#1} +\def\tabu@gobbletoken #1#2{#1} +\def\tabu@gobbleX{\futurelet\@let@token \tabu@gobblex} +\def\tabu@gobblex{\if ^^J\noexpand\@let@token \expandafter\@gobble + \else\ifx \@sptoken\@let@token + \expandafter\tabu@gobblespace\expandafter\tabu@gobbleX + \fi\fi +}% \tabu@gobblex +\def\tabu@X{^^J} +{\obeyspaces +\global\let\tabu@spxiii= % saves an active space (for \ifx) +\gdef\tabu@@spxiii{ }} +\def\tabu@ifenvir {% only for \multicolumn + \expandafter\tabu@if@nvir\csname\@currenvir\endcsname +}% \tabu@ifenvir +\def\tabu@if@nvir #1{\csname @\ifx\tabu#1first\else + \ifx\longtabu#1first\else + second\fi\fi oftwo\endcsname +}% \tabu@ifenvir +\def\tabu@modulo #1#2{\numexpr\ifnum\numexpr#1=\z@ 0\else #1-(#1-(#2-1)/2)/(#2)*(#2)\fi} +{\catcode`\&=3 +\gdef\tabu@strtrim #1{% #1 = control sequence to trim + \ifodd 1\ifx #1\@empty \else \ifx #1\space \else 0\fi \fi + \let\tabu@c@l@r \@empty \let#1\@empty + \else \expandafter \tabu@trimspaces #1\@nnil + \fi +}% \tabu@strtrim +\gdef\tabu@trimspaces #1\@nnil{\let\tabu@c@l@r=#2\tabu@firstspace .#1& }% +\gdef\tabu@firstspace #1#2#3 &{\tabu@lastspace #2#3&} +\gdef\tabu@lastspace #1{\def #3{#1}% + \ifx #3\tabu@c@l@r \def\tabu@c@l@r{\protect\color{#1}}\expandafter\remove@to@nnil \fi + \tabu@trimspaces #1\@nnil} +}% \catcode +\def\tabu@sanitizearg #1#2{{% + \csname \ifcsname if@safe@actives\endcsname % + @safe@activestrue\else + relax\fi \endcsname + \edef#2{#1}\tabu@strtrim#2\@onelevel@sanitize#2% + \expandafter}\expandafter\def\expandafter#2\expandafter{#2}% +}% \tabu@sanitizearg +\def\tabu@textbar #1{\begingroup \endlinechar\m@ne \scantokens{\def\:{|}}% + \expandafter\endgroup \expandafter#1\:% !!! semi simple group !!! +}% \tabu@textbar +\def\tabu@everyrow@bgroup{\iftabu@everyrow \begingroup \else \noalign{\ifnum0=`}\fi \fi} +\def\tabu@everyrow@egroup{% + \iftabu@everyrow \expandafter \endgroup \the\toks@ + \else \ifnum0=`{\fi}% + \fi +}% \tabu@everyrow@egroup +\def\tabu@arstrut {\global\setbox\@arstrutbox \hbox{\vrule + height \arraystretch \dimexpr\ht\strutbox+\extrarowheight + depth \arraystretch \dimexpr\dp\strutbox+\extrarowdepth + width \z@}% +}% \tabu@arstrut +\def\tabu@rearstrut {% + \@tempdima \arraystretch\dimexpr\ht\strutbox+\extrarowheight \relax + \@tempdimb \arraystretch\dimexpr\dp\strutbox+\extrarowdepth \relax + \ifodd 1\ifdim \ht\@arstrutbox=\@tempdima + \ifdim \dp\@arstrutbox=\@tempdimb 0 \fi\fi + \tabu@mkarstrut + \fi +}% \tabu@rearstrut +\def\tabu@@DBG #1{\ifdim\tabustrutrule>\z@ \color{#1}\fi} +\def\tabu@DBG@arstrut {\global\setbox\@arstrutbox + \hbox to\z@{\hbox to\z@{\hss + {\tabu@DBG{cyan}\vrule + height \arraystretch \dimexpr\ht\strutbox+\extrarowheight + depth \z@ + width \tabustrutrule}\kern-\tabustrutrule + {\tabu@DBG{pink}\vrule + height \z@ + depth \arraystretch \dimexpr\dp\strutbox+\extrarowdepth + width \tabustrutrule}}}% +}% \tabu@DBG@arstrut +\def\tabu@save@decl{\toks\count@ \expandafter{\the\toks\expandafter\count@ + \@nextchar}}% +\def\tabu@savedecl{\ifcat$\d@llarend\else + \let\save@decl \tabu@save@decl \fi % no inversion of tokens in text mode +}% \tabu@savedecl +\def\tabu@finalstrut #1{\unskip\ifhmode\nobreak\fi\vrule height\z@ depth\z@ width\z@} +\newcommand*\tabuDisableCommands {\g@addto@macro\tabu@trialh@@k } +\let\tabu@trialh@@k \@empty +\def\tabu@nowrite #1#{{\afterassignment}\toks@} +\let\tabu@write\write +\let\tabu@immediate\immediate +\def\tabu@WRITE{\begingroup + \def\immediate\write{\aftergroup\endgroup + \tabu@immediate\tabu@write}% +}% \tabu@WRITE +\expandafter\def\expandafter\tabu@GenericError\expandafter{% + \expandafter\tabu@WRITE\GenericError} +\def\tabu@warn{\tabu@WRITE\PackageWarning{tabu}} +\def\tabu@noxfootnote [#1]{\@gobble} +\def\tabu@nocolor #1#{\@gobble} +\newcommand*\tabu@norowcolor[2][]{} +\def\tabu@maybesiunitx #1{\def\tabu@temp{#1}% + \futurelet\@let@token \tabu@m@ybesiunitx} +\def\tabu@m@ybesiunitx #1{\def\tabu@m@ybesiunitx {% + \ifx #1\@let@token \let\tabu@cellleft \@empty \let\tabu@cellright \@empty \fi + \tabu@temp}% \tabu@m@ybesiunitx +}\expandafter\tabu@m@ybesiunitx \csname siunitx_table_collect_begin:Nn\endcsname +\def\tabu@celllalign@def #1{\def\tabu@celllalign{\tabu@maybesiunitx{#1}}}% +%% Fixed vertical spacing adjustment: \extrarowsep ------------------ +\newcommand*\extrarowsep{\edef\tabu@C@extra{\the\numexpr\tabu@C@extra+1}% + \iftabu@everyrow \aftergroup\tabu@Gextra + \else \aftergroup\tabu@n@Gextra + \fi + \@ifnextchar={\tabu@gobbletoken\tabu@extra} \tabu@extra +}% \extrarowsep +\def\tabu@extra {\@ifnextchar_% + {\tabu@gobbletoken{\tabu@setextra\extrarowheight \extrarowdepth}} + {\ifx ^\@let@token \def\tabu@temp{% + \tabu@gobbletoken{\tabu@setextra\extrarowdepth \extrarowheight}}% + \else \let\tabu@temp \@empty + \afterassignment \tabu@setextrasep \extrarowdepth + \fi \tabu@temp}% +}% \tabu@extra +\def\tabu@setextra #1#2{\def\tabu@temp{\tabu@extr@#1#2}\afterassignment\tabu@temp#2} +\def\tabu@extr@ #1#2{\@ifnextchar^% + {\tabu@gobbletoken{\tabu@setextra\extrarowdepth \extrarowheight}} + {\ifx _\@let@token \def\tabu@temp{% + \tabu@gobbletoken{\tabu@setextra\extrarowheight \extrarowdepth}}% + \else \let\tabu@temp \@empty + \tabu@Gsave \tabu@G@extra \tabu@C@extra \extrarowheight \extrarowdepth + \fi \tabu@temp}% +}% \tabu@extr@ +\def\tabu@setextrasep {\extrarowheight=\extrarowdepth + \tabu@Gsave \tabu@G@extra \tabu@C@extra \extrarowheight \extrarowdepth +}% \tabu@setextrasep +\def\tabu@Gextra{\ifx \tabu@G@extra\@empty \else {\tabu@Rextra}\fi} +\def\tabu@n@Gextra{\ifx \tabu@G@extra\@empty \else \noalign{\tabu@Rextra}\fi} +\def\tabu@Rextra{\tabu@Grestore \tabu@G@extra \tabu@C@extra} +\let\tabu@C@extra \z@ +\let\tabu@G@extra \@empty +%% Dynamic vertical spacing adjustment: \tabulinesep ---------------- +\newcommand*\tabulinesep{\edef\tabu@C@linesep{\the\numexpr\tabu@C@linesep+1}% + \iftabu@everyrow \aftergroup\tabu@Glinesep + \else \aftergroup\tabu@n@Glinesep + \fi + \@ifnextchar={\tabu@gobbletoken\tabu@linesep} \tabu@linesep +}% \tabulinesep +\def\tabu@linesep {\@ifnextchar_% + {\tabu@gobbletoken{\tabu@setsep\abovetabulinesep \belowtabulinesep}} + {\ifx ^\@let@token \def\tabu@temp{% + \tabu@gobbletoken{\tabu@setsep\belowtabulinesep \abovetabulinesep}}% + \else \let\tabu@temp \@empty + \afterassignment \tabu@setlinesep \abovetabulinesep + \fi \tabu@temp}% +}% \tabu@linesep +\def\tabu@setsep #1#2{\def\tabu@temp{\tabu@sets@p#1#2}\afterassignment\tabu@temp#2} +\def\tabu@sets@p #1#2{\@ifnextchar^% + {\tabu@gobbletoken{\tabu@setsep\belowtabulinesep \abovetabulinesep}} + {\ifx _\@let@token \def\tabu@temp{% + \tabu@gobbletoken{\tabu@setsep\abovetabulinesep \belowtabulinesep}}% + \else \let\tabu@temp \@empty + \tabu@Gsave \tabu@G@linesep \tabu@C@linesep \abovetabulinesep \belowtabulinesep + \fi \tabu@temp}% +}% \tabu@sets@p +\def\tabu@setlinesep {\belowtabulinesep=\abovetabulinesep + \tabu@Gsave \tabu@G@linesep \tabu@C@linesep \abovetabulinesep \belowtabulinesep +}% \tabu@setlinesep +\def\tabu@Glinesep{\ifx \tabu@G@linesep\@empty \else {\tabu@Rlinesep}\fi} +\def\tabu@n@Glinesep{\ifx \tabu@G@linesep\@empty \else \noalign{\tabu@Rlinesep}\fi} +\def\tabu@Rlinesep{\tabu@Grestore \tabu@G@linesep \tabu@C@linesep} +\let\tabu@C@linesep \z@ +\let\tabu@G@linesep \@empty +%% \global\extrarowsep and \global\tabulinesep ------------------- +\def\tabu@Gsave #1#2#3#4{\xdef#1{#1% + \toks#2{\toks\the\currentgrouplevel{\global#3\the#3\global#4\the#4}}}% +}% \tabu@Gsave +\def\tabu@Grestore#1#2{% + \toks#2{}#1\toks\currentgrouplevel\expandafter{\expandafter}\the\toks#2\relax + \ifcat$\the\toks\currentgrouplevel$\else + \global\let#1\@empty \global\let#2\z@ + \the\toks\currentgrouplevel + \fi +}% \tabu@Grestore +%% Setting code for every row --------------------------------------- +\newcommand*\everyrow{\tabu@everyrow@bgroup + \tabu@start \z@ \tabu@stop \z@ \tabu@evrstartstop +}% \everyrow +\def\tabu@evrstartstop {\@ifnextchar^% + {\afterassignment \tabu@evrstartstop \tabu@stop=}% + {\ifx ^\@let@token + \afterassignment\tabu@evrstartstop \tabu@start=% + \else \afterassignment\tabu@everyr@w \toks@ + \fi}% +}% \tabu@evrstartstop +\def\tabu@everyr@w {% + \xdef\tabu@everyrow{% + \noexpand\tabu@everyrowfalse + \let\noalign \relax + \noexpand\tabu@rowfontreset + \iftabu@colortbl \noexpand\tabu@rc@ \fi % \taburowcolors + \let\noexpand\tabu@docline \noexpand\tabu@docline@evr + \the\toks@ + \noexpand\tabu@evrh@@k + \noexpand\tabu@rearstrut + \global\advance\c@taburow \@ne}% + \iftabu@everyrow \toks@\expandafter + {\expandafter\def\expandafter\tabu@evr@L\expandafter{\the\toks@}\ignorespaces}% + \else \xdef\tabu@evr@G{\the\toks@}% + \fi + \tabu@everyrow@egroup +}% \tabu@everyr@w +\def\tabu@evr {\def\tabu@evrh@@k} % for internal use only +\tabu@evr{} +%% line style and leaders ------------------------------------------- +\newcommand*\newtabulinestyle [1]{% + {\@for \@tempa :=#1\do{\expandafter\tabu@newlinestyle \@tempa==\@nil}}% +}% \newtabulinestyle +\def\tabu@newlinestyle #1=#2=#3\@nil{\tabu@getline {#2}% + \tabu@sanitizearg {#1}\@tempa + \ifodd 1\ifx \@tempa\@empty \ifdefined\tabu@linestyle@ 0 \fi\fi + \global\expandafter\let + \csname tabu@linestyle@\@tempa \endcsname =\tabu@thestyle \fi +}% \tabu@newlinestyle +\newcommand*\tabulinestyle [1]{\tabu@everyrow@bgroup \tabu@getline{#1}% + \iftabu@everyrow + \toks@\expandafter{\expandafter \def \expandafter + \tabu@ls@L\expandafter{\tabu@thestyle}\ignorespaces}% + \gdef\tabu@ls@{\tabu@ls@L}% + \else + \global\let\tabu@ls@G \tabu@thestyle + \gdef\tabu@ls@{\tabu@ls@G}% + \fi + \tabu@everyrow@egroup +}% \tabulinestyle +\newcommand*\taburulecolor{\tabu@everyrow@bgroup \tabu@textbar \tabu@rulecolor} +\def\tabu@rulecolor #1{\toks@{}% + \def\tabu@temp #1##1#1{\tabu@ruledrsc{##1}}\@ifnextchar #1% + \tabu@temp + \tabu@rulearc +}% \tabu@rulecolor +\def\tabu@ruledrsc #1{\edef\tabu@temp{#1}\tabu@strtrim\tabu@temp + \ifx \tabu@temp\@empty \def\tabu@temp{\tabu@rule@drsc@ {}{}}% + \else \edef\tabu@temp{\noexpand\tabu@rule@drsc@ {}{\tabu@temp}}% + \fi + \tabu@temp +}% \tabu@ruledrsc@ +\def\tabu@ruledrsc@ #1#{\tabu@rule@drsc@ {#1}} +\def\tabu@rule@drsc@ #1#2{% + \iftabu@everyrow + \ifx \\#1#2\\\toks@{\let\CT@drsc@ \relax}% + \else \toks@{\def\CT@drsc@{\color #1{#2}}}% + \fi + \else + \ifx \\#1#2\\\global\let\CT@drsc@ \relax + \else \gdef\CT@drsc@{\color #1{#2}}% + \fi + \fi + \tabu@rulearc +}% \tabu@rule@drsc@ +\def\tabu@rulearc #1#{\tabu@rule@arc@ {#1}} +\def\tabu@rule@arc@ #1#2{% + \iftabu@everyrow + \ifx \\#1#2\\\toks@\expandafter{\the\toks@ \def\CT@arc@{}}% + \else \toks@\expandafter{\the\toks@ \def\CT@arc@{\color #1{#2}}}% + \fi + \toks@\expandafter{\the\toks@ + \let\tabu@arc@L \CT@arc@ + \let\tabu@drsc@L \CT@drsc@ + \ignorespaces}% + \else + \ifx \\#1#2\\\gdef\CT@arc@{}% + \else \gdef\CT@arc@{\color #1{#2}}% + \fi + \global\let\tabu@arc@G \CT@arc@ + \global\let\tabu@drsc@G \CT@drsc@ + \fi + \tabu@everyrow@egroup +}% \tabu@rule@arc@ +\def\taburowcolors {\tabu@everyrow@bgroup \@testopt \tabu@rowcolors 1} +\def\tabu@rowcolors [#1]#2#{\tabu@rowc@lors{#1}{#2}} +\def\tabu@rowc@lors #1#2#3{% + \toks@{}\@defaultunits \count@ =\number0#2\relax \@nnil + \@defaultunits \tabu@start =\number0#1\relax \@nnil + \ifnum \count@<\tw@ \count@=\tw@ \fi + \advance\tabu@start \m@ne + \ifnum \tabu@start<\z@ \tabu@start \z@ \fi + \tabu@rowcolorseries #3\in@..\in@ \@nnil +}% \tabu@rowcolors +\def\tabu@rowcolorseries #1..#2\in@ #3\@nnil {% + \ifx \in@#1\relax + \iftabu@everyrow \toks@{\def\tabu@rc@{}\let\tabu@rc@L \tabu@rc@}% + \else \gdef\tabu@rc@{}\global\let\tabu@rc@G \tabu@rc@ + \fi + \else + \ifx \\#2\\\tabu@rowcolorserieserror \fi + \tabu@sanitizearg{#1}\tabu@temp + \tabu@sanitizearg{#2}\@tempa + \advance\count@ \m@ne + \iftabu@everyrow + \def\tabu@rc@ ##1##2##3##4{\def\tabu@rc@{% + \ifnum ##2=\c@taburow + \definecolorseries{tabu@rcseries@\the\tabu@nested}{rgb}{last}{##3}{##4}\fi + \ifnum \c@taburow<##2 \else + \ifnum \tabu@modulo {\c@taburow-##2}{##1+1}=\z@ + \resetcolorseries[{##1}]{tabu@rcseries@\the\tabu@nested}\fi + \xglobal\colorlet{tabu@rc@\the\tabu@nested}{tabu@rcseries@\the\tabu@nested!!+}% + \rowcolor{tabu@rc@\the\tabu@nested}\fi}% + }\edef\x{\noexpand\tabu@rc@ {\the\count@} + {\the\tabu@start} + {\tabu@temp} + {\@tempa}% + }\x + \toks@\expandafter{\expandafter\def\expandafter\tabu@rc@\expandafter{\tabu@rc@}}% + \toks@\expandafter{\the\toks@ \let\tabu@rc@L \tabu@rc@ \ignorespaces}% + \else % inside \noalign + \definecolorseries{tabu@rcseries@\the\tabu@nested}{rgb}{last}{\tabu@temp}{\@tempa}% + \expandafter\resetcolorseries\expandafter[\the\count@]{tabu@rcseries@\the\tabu@nested}% + \xglobal\colorlet{tabu@rc@\the\tabu@nested}{tabu@rcseries@\the\tabu@nested!!+}% + \let\noalign \relax \rowcolor{tabu@rc@\the\tabu@nested}% + \def\tabu@rc@ ##1##2{\gdef\tabu@rc@{% + \ifnum \tabu@modulo {\c@taburow-##2}{##1+1}=\@ne + \resetcolorseries[{##1}]{tabu@rcseries@\the\tabu@nested}\fi + \xglobal\colorlet{tabu@rc@\the\tabu@nested}{tabu@rcseries@\the\tabu@nested!!+}% + \rowcolor{tabu@rc@\the\tabu@nested}}% + }\edef\x{\noexpand\tabu@rc@{\the\count@}{\the\c@taburow}}\x + \global\let\tabu@rc@G \tabu@rc@ + \fi + \fi + \tabu@everyrow@egroup +}% \tabu@rowcolorseries +\tabuDisableCommands {\let\tabu@rc@ \@empty } +\def\tabu@rowcolorserieserror {\PackageError{tabu} + {Invalid syntax for \string\taburowcolors + \MessageBreak Please look at the documentation!}\@ehd +}% \tabu@rowcolorserieserror +\newcommand*\tabureset {% + \tabulinesep=\z@ \extrarowsep=\z@ \extratabsurround=\z@ + \tabulinestyle{}\everyrow{}\taburulecolor||{}\taburowcolors{}% +}% \tabureset +%% Parsing the line styles ------------------------------------------ +\def\tabu@getline #1{\begingroup + \csname \ifcsname if@safe@actives\endcsname % + @safe@activestrue\else + relax\fi \endcsname + \edef\tabu@temp{#1}\tabu@sanitizearg{#1}\@tempa + \let\tabu@thestyle \relax + \ifcsname tabu@linestyle@\@tempa \endcsname + \edef\tabu@thestyle{\endgroup + \def\tabu@thestyle{\expandafter\noexpand + \csname tabu@linestyle@\@tempa\endcsname}% + }\tabu@thestyle + \else \expandafter\tabu@definestyle \tabu@temp \@nil + \fi +}% \tabu@getline +\def\tabu@definestyle #1#2\@nil {\endlinechar \m@ne \makeatletter + \tabu@thick \maxdimen \tabu@on \maxdimen \tabu@off \maxdimen + \let\tabu@c@lon \@undefined \let\tabu@c@loff \@undefined + \ifodd 1\ifcat .#1\else\ifcat\relax #1\else 0\fi\fi % catcode 12 or non expandable cs + \def\tabu@temp{\tabu@getparam{thick}}% + \else \def\tabu@temp{\tabu@getparam{thick}\maxdimen}% + \fi + {% + \let\tabu@ \relax + \def\:{\obeyspaces \tabu@oXIII \tabu@commaXIII \edef\:}% (space active \: happy ;-)) + \scantokens{\:{\tabu@temp #1#2 \tabu@\tabu@}}% + \expandafter}\expandafter + \def\expandafter\:\expandafter{\:}% line spec rewritten now ;-) + \def\;{\def\:}% + \scantokens\expandafter{\expandafter\;\expandafter{\:}}% space is now inactive (catcode 10) + \let\tabu@ \tabu@getcolor \:% all arguments are ready now ;-) + \ifdefined\tabu@c@lon \else \let\tabu@c@lon\@empty \fi + \ifx \tabu@c@lon\@empty \def\tabu@c@lon{\CT@arc@}\fi + \ifdefined\tabu@c@loff \else \let\tabu@c@loff \@empty \fi + \ifdim \tabu@on=\maxdimen \ifdim \tabu@off<\maxdimen + \tabu@on \tabulineon \fi\fi + \ifdim \tabu@off=\maxdimen \ifdim \tabu@on<\maxdimen + \tabu@off \tabulineoff \fi\fi + \ifodd 1\ifdim \tabu@off=\maxdimen \ifdim \tabu@on=\maxdimen 0 \fi\fi + \in@true % + \else \in@false % + \fi + \ifdim\tabu@thick=\maxdimen \def\tabu@thick{\arrayrulewidth}% + \else \edef\tabu@thick{\the\tabu@thick}% + \fi + \edef \tabu@thestyle ##1##2{\endgroup + \def\tabu@thestyle{% + \ifin@ \noexpand\tabu@leadersstyle {\tabu@thick} + {\the\tabu@on}{##1} + {\the\tabu@off}{##2}% + \else \noexpand\tabu@rulesstyle + {##1\vrule width \tabu@thick}% + {##1\leaders \hrule height \tabu@thick \hfil}% + \fi}% + }\expandafter \expandafter + \expandafter \tabu@thestyle \expandafter + \expandafter \expandafter + {\expandafter\tabu@c@lon\expandafter}\expandafter{\tabu@c@loff}% +}% \tabu@definestyle +{\catcode`\O=\active \lccode`\O=`\o \catcode`\,=\active + \lowercase{\gdef\tabu@oXIII {\catcode`\o=\active \let O=\tabu@oxiii}} + \gdef\tabu@commaXIII {\catcode`\,=\active \let ,=\space} +}% \catcode +\def\tabu@oxiii #1{% + \ifcase \ifx n#1\z@ \else + \ifx f#1\@ne\else + \tw@ \fi\fi + \expandafter\tabu@onxiii + \or \expandafter\tabu@ofxiii + \else o% + \fi#1}% +\def\tabu@onxiii #1#2{% + \ifcase \ifx !#2\tw@ \else + \ifcat.\noexpand#2\z@ \else + \ifx \tabu@spxiii#2\@ne\else + \tw@ \fi\fi\fi + \tabu@getparam{on}#2\expandafter\@gobble + \or \expandafter\tabu@onxiii % (space is active) + \else o\expandafter\@firstofone + \fi{#1#2}}% +\def\tabu@ofxiii #1#2{% + \ifx #2f\expandafter\tabu@offxiii + \else o\expandafter\@firstofone + \fi{#1#2}} +\def\tabu@offxiii #1#2{% + \ifcase \ifx !#2\tw@ \else + \ifcat.\noexpand#2\z@ \else + \ifx\tabu@spxiii#2\@ne \else + \tw@ \fi\fi\fi + \tabu@getparam{off}#2\expandafter\@gobble + \or \expandafter\tabu@offxiii % (space is active) + \else o\expandafter\@firstofone + \fi{#1#2}} +\def\tabu@getparam #1{\tabu@ \csname tabu@#1\endcsname=} +\def\tabu@getcolor #1{% \tabu@ <- \tabu@getcolor after \edef + \ifx \tabu@#1\else % no more spec + \let\tabu@theparam=#1\afterassignment \tabu@getc@l@r #1\fi +}% \tabu@getcolor +\def\tabu@getc@l@r #1\tabu@ {% + \def\tabu@temp{#1}\tabu@strtrim \tabu@temp + \ifx \tabu@temp\@empty + \else%\ifcsname \string\color@\tabu@temp \endcsname % if the color exists + \ifx \tabu@theparam \tabu@off \let\tabu@c@loff \tabu@c@l@r + \else \let\tabu@c@lon \tabu@c@l@r + \fi + %\else \tabu@warncolour{\tabu@temp}% + \fi%\fi + \tabu@ % next spec +}% \tabu@getc@l@r +\def\tabu@warncolour #1{\PackageWarning{tabu} + {Color #1 is not defined. Default color used}% +}% \tabu@warncolour +\def\tabu@leadersstyle #1#2#3#4#5{\def\tabu@leaders{{#1}{#2}{#3}{#4}{#5}}% + \ifx \tabu@leaders\tabu@leaders@G \else + \tabu@LEADERS{#1}{#2}{#3}{#4}{#5}\fi +}% \tabu@leadersstyle +\def\tabu@rulesstyle #1#2{\let\tabu@leaders \@undefined + \gdef\tabu@thevrule{#1}\gdef\tabu@thehrule{#2}% +}% \tabu@rulesstyle +%% The leaders boxes ------------------------------------------------ +\def\tabu@LEADERS #1#2#3#4#5{%% width, dash, dash color, gap, gap color + {\let\color \tabu@color % => during trials -> \color = \tabu@nocolor + {% % but the leaders boxes should have colors ! + \def\@therule{\vrule}\def\@thick{height}\def\@length{width}% + \def\@box{\hbox}\def\@unbox{\unhbox}\def\@elt{\wd}% + \def\@skip{\hskip}\def\@ss{\hss}\def\tabu@leads{\tabu@hleads}% + \tabu@l@@d@rs {#1}{#2}{#3}{#4}{#5}% + \global\let\tabu@thehleaders \tabu@theleaders + }% + {% + \def\@therule{\hrule}\def\@thick{width}\def\@length{height}% + \def\@box{\vbox}\def\@unbox{\unvbox}\def\@elt{\ht}% + \def\@skip{\vskip}\def\@ss{\vss}\def\tabu@leads{\tabu@vleads}% + \tabu@l@@d@rs {#1}{#2}{#3}{#4}{#5}% + \global\let\tabu@thevleaders \tabu@theleaders + }% + \gdef\tabu@leaders@G{{#1}{#2}{#3}{#4}{#5}}% + }% +}% \tabu@LEADERS +\def\tabu@therule #1#2{\@therule \@thick#1\@length\dimexpr#2/2 \@depth\z@} +\def\tabu@l@@d@rs #1#2#3#4#5{%% width, dash, dash color, gap, gap color + \global\setbox \tabu@leads=\@box{% + {#3\tabu@therule{#1}{#2}}% + \ifx\\#5\\\@skip#4\else{#5\tabu@therule{#1}{#4*2}}\fi + {#3\tabu@therule{#1}{#2}}}% + \global\setbox\tabu@leads=\@box to\@elt\tabu@leads{\@ss + {#3\tabu@therule{#1}{#2}}\@unbox\tabu@leads}% + \edef\tabu@theleaders ##1{\def\noexpand\tabu@theleaders {% + {##1\tabu@therule{#1}{#2}}% + \xleaders \copy\tabu@leads \@ss + \tabu@therule{0pt}{-#2}{##1\tabu@therule{#1}{#2}}}% + }\tabu@theleaders{#3}% +}% \tabu@l@@d@rs +%% \tabu \endtabu \tabu* \longtabu \endlongtabu \longtabu* ---------- +\newcommand*\tabu {\tabu@longfalse + \ifmmode \def\tabu@ {\array}\def\endtabu {\endarray}% + \else \def\tabu@ {\tabu@tabular}\def\endtabu {\endtabular}\fi + \expandafter\let\csname tabu*\endcsname \tabu + \expandafter\def\csname endtabu*\endcsname{\endtabu}% + \tabu@spreadfalse \tabu@negcoeffalse \tabu@settarget +}% {tabu} +\let\tabu@tabular \tabular % +\expandafter\def\csname tabu*\endcsname{\tabuscantokenstrue \tabu} +\newcommand*\longtabu {\tabu@longtrue + \ifmmode\PackageError{tabu}{longtabu not allowed in math mode}\fi + \def\tabu@{\longtable}\def\endlongtabu{\endlongtable}% + \LTchunksize=\@M + \expandafter\let\csname tabu*\endcsname \tabu + \expandafter\def\csname endlongtabu*\endcsname{\endlongtabu}% + \let\LT@startpbox \tabu@LT@startpbox % \everypar{ array struts } + \tabu@spreadfalse \tabu@negcoeffalse \tabu@settarget +}% {longtabu} +\expandafter\def\csname longtabu*\endcsname{\tabuscantokenstrue \longtabu} +\def\tabu@nolongtabu{\PackageError{tabu} + {longtabu requires the longtable package}\@ehd} +%% Read the target and then : \tabular or \@array ------------------ +\def\tabu@settarget {\futurelet\@let@token \tabu@sett@rget } +\def\tabu@sett@rget {\tabu@target \z@ + \ifcase \ifx \bgroup\@let@token \z@ \else + \ifx \@sptoken\@let@token \@ne \else + \if t\@let@token \tw@ \else + \if s\@let@token \thr@@\else + \z@\fi\fi\fi\fi + \expandafter\tabu@begin + \or \expandafter\tabu@gobblespace\expandafter\tabu@settarget + \or \expandafter\tabu@to + \or \expandafter\tabu@spread + \fi +}% \tabu@sett@rget +\def\tabu@to to{\def\tabu@halignto{to}\tabu@gettarget} +\def\tabu@spread spread{\tabu@spreadtrue\def\tabu@halignto{spread}\tabu@gettarget} +\def\tabu@gettarget {\afterassignment\tabu@linegoaltarget \tabu@target } +\def\tabu@linegoaltarget {\futurelet\tabu@temp \tabu@linegoalt@rget } +\def\tabu@linegoalt@rget {% + \ifx \tabu@temp\LNGL@setlinegoal + \LNGL@setlinegoal \expandafter \@firstoftwo \fi % @gobbles \LNGL@setlinegoal + \tabu@begin +}% \tabu@linegoalt@rget +\def\tabu@begin #1#{% + \iftabu@measuring \expandafter\tabu@nestedmeasure \fi + \ifdim \tabu@target=\z@ \let\tabu@halignto \@empty + \else \edef\tabu@halignto{\tabu@halignto\the\tabu@target}% + \fi + \@testopt \tabu@tabu@ \tabu@aligndefault #1\@nil +}% \tabu@begin +\long\def\tabu@tabu@ [#1]#2\@nil #3{\tabu@setup + \def\tabu@align {#1}\def\tabu@savedpream{\NC@find #3}% + \tabu@ [\tabu@align ]#2{#3\tabu@rewritefirst }% +}% \tabu@tabu@ +\def\tabu@nestedmeasure {% + \ifodd 1\iftabu@spread \else \ifdim\tabu@target=\z@ \else 0 \fi\fi\relax + \tabu@spreadtrue + \else \begingroup \iffalse{\fi \ifnum0=`}\fi + \toks@{}\def\tabu@stack{b}% + \expandafter\tabu@collectbody\expandafter\tabu@quickrule + \expandafter\endgroup + \fi +}% \tabu@nestedmeasure +\def\tabu@quickrule {\indent\vrule height\z@ depth\z@ width\tabu@target} +%% \tabu@setup \tabu@init \tabu@indent +\def\tabu@setup{\tabu@alloc@ + \ifcase \tabu@nested + \ifmmode \else \iftabu@spread\else \ifdim\tabu@target=\z@ + \let\tabu@afterendpar \par + \fi\fi\fi + \def\tabu@aligndefault{c}\tabu@init \tabu@indent + \else % + \def\tabu@aligndefault{t}\let\tabudefaulttarget \linewidth + \fi + \let\tabu@thetarget \tabudefaulttarget \let\tabu@restored \@undefined + \edef\tabu@NC@list{\the\NC@list}\NC@list{\NC@do \tabu@rewritefirst}% + \everycr{}\let\@startpbox \tabu@startpbox % for nested tabu inside longtabu... + \let\@endpbox \tabu@endpbox % idem " " " " " " + \let\@tabarray \tabu@tabarray % idem " " " " " " + \tabu@setcleanup \tabu@setreset +}% \tabu@setup +\def\tabu@init{\tabu@starttimer \tabu@measuringfalse + \edef\tabu@hfuzz {\the\dimexpr\hfuzz+1sp}\global\tabu@footnotes{}% + \let\firsthline \tabu@firsthline \let\lasthline \tabu@lasthline + \let\firstline \tabu@firstline \let\lastline \tabu@lastline + \let\hline \tabu@hline \let\@xhline \tabu@xhline + \let\color \tabu@color \let\@arstrutbox \tabu@arstrutbox + \iftabu@colortbl\else\let\LT@@hline \tabu@LT@@hline \fi + \tabu@trivlist % + \let\@footnotetext \tabu@footnotetext \let\@xfootnotetext \tabu@xfootnotetext + \let\@xfootnote \tabu@xfootnote \let\centering \tabu@centering + \let\raggedright \tabu@raggedright \let\raggedleft \tabu@raggedleft + \let\tabudecimal \tabu@tabudecimal \let\Centering \tabu@Centering + \let\RaggedRight \tabu@RaggedRight \let\RaggedLeft \tabu@RaggedLeft + \let\justifying \tabu@justifying \let\rowfont \tabu@rowfont + \let\fbox \tabu@fbox \let\color@b@x \tabu@color@b@x + \let\tabu@@everycr \everycr \let\tabu@@everypar \everypar + \let\tabu@prepnext@tokORI \prepnext@tok\let\prepnext@tok \tabu@prepnext@tok + \let\tabu@multicolumnORI\multicolumn \let\multicolumn \tabu@multicolumn + \let\tabu@startpbox \@startpbox % for nested tabu inside longtabu pfff !!! + \let\tabu@endpbox \@endpbox % idem " " " " " " " + \let\tabu@tabarray \@tabarray % idem " " " " " " " + \tabu@adl@fix \let\endarray \tabu@endarray % colortbl & arydshln (delarray) + \iftabu@colortbl\CT@everycr\expandafter{\expandafter\iftabu@everyrow \the\CT@everycr \fi}\fi +}% \tabu@init +\def\tabu@indent{% correction for indentation + \ifdim \parindent>\z@\ifx \linewidth\tabudefaulttarget + \everypar\expandafter{% + \the\everypar\everypar\expandafter{\the\everypar}% + \setbox\z@=\lastbox + \ifdim\wd\z@>\z@ \edef\tabu@thetarget + {\the\dimexpr -\wd\z@+\tabudefaulttarget}\fi + \box\z@}% + \fi\fi +}% \tabu@indent +\def\tabu@setcleanup {% saves last global assignments + \ifodd 1\ifmmode \else \iftabu@long \else 0\fi\fi\relax + \def\tabu@aftergroupcleanup{% + \def\tabu@aftergroupcleanup{\aftergroup\tabu@cleanup}}% + \else + \def\tabu@aftergroupcleanup{% + \aftergroup\aftergroup\aftergroup\tabu@cleanup + \let\tabu@aftergroupcleanup \relax}% + \fi + \let\tabu@arc@Gsave \tabu@arc@G + \let\tabu@arc@G \tabu@arc@L % + \let\tabu@drsc@Gsave \tabu@drsc@G + \let\tabu@drsc@G \tabu@drsc@L % + \let\tabu@ls@Gsave \tabu@ls@G + \let\tabu@ls@G \tabu@ls@L % + \let\tabu@rc@Gsave \tabu@rc@G + \let\tabu@rc@G \tabu@rc@L % + \let\tabu@evr@Gsave \tabu@evr@G + \let\tabu@evr@G \tabu@evr@L % + \let\tabu@celllalign@save \tabu@celllalign + \let\tabu@cellralign@save \tabu@cellralign + \let\tabu@cellleft@save \tabu@cellleft + \let\tabu@cellright@save \tabu@cellright + \let\tabu@@celllalign@save \tabu@@celllalign + \let\tabu@@cellralign@save \tabu@@cellralign + \let\tabu@@cellleft@save \tabu@@cellleft + \let\tabu@@cellright@save \tabu@@cellright + \let\tabu@rowfontreset@save \tabu@rowfontreset + \let\tabu@@rowfontreset@save\tabu@@rowfontreset + \let\tabu@rowfontreset \@empty + \edef\tabu@alloc@save {\the\tabu@alloc}% restore at \tabu@reset + \edef\c@taburow@save {\the\c@taburow}% + \edef\tabu@naturalX@save {\the\tabu@naturalX}% + \let\tabu@naturalXmin@save \tabu@naturalXmin + \let\tabu@naturalXmax@save \tabu@naturalXmax + \let\tabu@mkarstrut@save \tabu@mkarstrut + \edef\tabu@clarstrut{% + \extrarowheight \the\dimexpr \ht\@arstrutbox-\ht\strutbox \relax + \extrarowdepth \the\dimexpr \dp\@arstrutbox-\dp\strutbox \relax + \let\noexpand\@arraystretch \@ne \noexpand\tabu@rearstrut}% +}% \tabu@setcleanup +\def\tabu@cleanup {\begingroup + \globaldefs\@ne \tabu@everyrowtrue + \let\tabu@arc@G \tabu@arc@Gsave + \let\CT@arc@ \tabu@arc@G + \let\tabu@drsc@G \tabu@drsc@Gsave + \let\CT@drsc@ \tabu@drsc@G + \let\tabu@ls@G \tabu@ls@Gsave + \let\tabu@ls@ \tabu@ls@G + \let\tabu@rc@G \tabu@rc@Gsave + \let\tabu@rc@ \tabu@rc@G + \let\CT@do@color \relax + \let\tabu@evr@G \tabu@evr@Gsave + \let\tabu@celllalign \tabu@celllalign@save + \let\tabu@cellralign \tabu@cellralign@save + \let\tabu@cellleft \tabu@cellleft@save + \let\tabu@cellright \tabu@cellright@save + \let\tabu@@celllalign \tabu@@celllalign@save + \let\tabu@@cellralign \tabu@@cellralign@save + \let\tabu@@cellleft \tabu@@cellleft@save + \let\tabu@@cellright \tabu@@cellright@save + \let\tabu@rowfontreset \tabu@rowfontreset@save + \let\tabu@@rowfontreset \tabu@@rowfontreset@save + \tabu@naturalX =\tabu@naturalX@save + \let\tabu@naturalXmax \tabu@naturalXmax@save + \let\tabu@naturalXmin \tabu@naturalXmin@save + \let\tabu@mkarstrut \tabu@mkarstrut@save + \c@taburow =\c@taburow@save + \ifcase \tabu@nested \tabu@alloc \m@ne\fi + \endgroup % + \ifcase \tabu@nested + \the\tabu@footnotes \global\tabu@footnotes{}% + \tabu@afterendpar \tabu@elapsedtime + \fi + \tabu@clarstrut + \everyrow\expandafter {\tabu@evr@G}% +}% \tabu@cleanup +\let\tabu@afterendpar \relax +\def\tabu@setreset {% + \edef\tabu@savedparams {% \relax for \tabu@message@save + \ifmmode \col@sep \the\arraycolsep + \else \col@sep \the\tabcolsep \fi \relax + \arrayrulewidth \the\arrayrulewidth \relax + \doublerulesep \the\doublerulesep \relax + \extratabsurround \the\extratabsurround \relax + \extrarowheight \the\extrarowheight \relax + \extrarowdepth \the\extrarowdepth \relax + \abovetabulinesep \the\abovetabulinesep \relax + \belowtabulinesep \the\belowtabulinesep \relax + \def\noexpand\arraystretch{\arraystretch}% + \ifdefined\minrowclearance \minrowclearance\the\minrowclearance\relax\fi}% + \begingroup + \@temptokena\expandafter{\tabu@savedparams}% => only for \savetabu / \usetabu + \ifx \tabu@arc@L\relax \else \tabu@setsave \tabu@arc@L \fi + \ifx \tabu@drsc@L\relax \else \tabu@setsave \tabu@drsc@L \fi + \tabu@setsave \tabu@ls@L \tabu@setsave \tabu@evr@L + \expandafter \endgroup \expandafter + \def\expandafter\tabu@saved@ \expandafter{\the\@temptokena + \let\tabu@arc@G \tabu@arc@L + \let\tabu@drsc@G \tabu@drsc@L + \let\tabu@ls@G \tabu@ls@L + \let\tabu@rc@G \tabu@rc@L + \let\tabu@evr@G \tabu@evr@L}% + \def\tabu@reset{\tabu@savedparams + \tabu@everyrowtrue \c@taburow \z@ + \let\CT@arc@ \tabu@arc@L + \let\CT@drsc@ \tabu@drsc@L + \let\tabu@ls@ \tabu@ls@L + \let\tabu@rc@ \tabu@rc@L + \global\tabu@alloc \tabu@alloc@save + \everyrow\expandafter{\tabu@evr@L}}% +}% \tabu@reset +\def\tabu@setsave #1{\expandafter\tabu@sets@ve #1\@nil{#1}} +\long\def\tabu@sets@ve #1\@nil #2{\@temptokena\expandafter{\the\@temptokena \def#2{#1}}} +%% The Rewriting Process ------------------------------------------- +\def\tabu@newcolumntype #1{% + \expandafter\tabu@new@columntype + \csname NC@find@\string#1\expandafter\endcsname + \csname NC@rewrite@\string#1\endcsname + {#1}% +}% \tabu@newcolumntype +\def\tabu@new@columntype #1#2#3{% + \def#1##1#3{\NC@{##1}}% + \let#2\relax \newcommand*#2% +}% \tabu@new@columntype +\def\tabu@privatecolumntype #1{% + \expandafter\tabu@private@columntype + \csname NC@find@\string#1\expandafter\endcsname + \csname NC@rewrite@\string#1\expandafter\endcsname + \csname tabu@NC@find@\string#1\expandafter\endcsname + \csname tabu@NC@rewrite@\string#1\endcsname + {#1}% +}% \tabu@privatecolumntype +\def\tabu@private@columntype#1#2#3#4{% + \g@addto@macro\tabu@privatecolumns{\let#1#3\let#2#4}% + \tabu@new@columntype#3#4% +}% \tabu@private@columntype +\let\tabu@privatecolumns \@empty +\newcommand*\tabucolumn [1]{\expandafter \def \expandafter + \tabu@highprioritycolumns\expandafter{\tabu@highprioritycolumns + \NC@do #1}}% +\let\tabu@highprioritycolumns \@empty +%% The | ``column'' : rewriting process -------------------------- +\tabu@privatecolumntype |{\tabu@rewritevline} +\newcommand*\tabu@rewritevline[1][]{\tabu@vlinearg{#1}% + \expandafter \NC@find \tabu@rewritten} +\def\tabu@lines #1{% + \ifx|#1\else \tabu@privatecolumntype #1{\tabu@rewritevline}\fi + \NC@list\expandafter{\the\NC@list \NC@do #1}% +}% \tabu@lines@ +\def\tabu@vlinearg #1{% + \ifx\\#1\\\def\tabu@thestyle {\tabu@ls@}% + \else\tabu@getline {#1}% + \fi + \def\tabu@rewritten ##1{\def\tabu@rewritten{!{##1\tabu@thevline}}% + }\expandafter\tabu@rewritten\expandafter{\tabu@thestyle}% + \expandafter \tabu@keepls \tabu@thestyle \@nil +}% \tabu@vlinearg +\def\tabu@keepls #1\@nil{% + \ifcat $\@cdr #1\@nil $% + \ifx \relax#1\else + \ifx \tabu@ls@#1\else + \let#1\relax + \xdef\tabu@mkpreambuffer{\tabu@mkpreambuffer + \tabu@savels\noexpand#1}\fi\fi\fi +}% \tabu@keepls +\def\tabu@thevline {\begingroup + \ifdefined\tabu@leaders + \setbox\@tempboxa=\vtop to\dimexpr + \ht\@arstrutbox+\dp\@arstrutbox{{\tabu@thevleaders}}% + \ht\@tempboxa=\ht\@arstrutbox \dp\@tempboxa=\dp\@arstrutbox + \box\@tempboxa + \else + \tabu@thevrule + \fi \endgroup +}% \tabu@thevline +\def\tabu@savels #1{% + \expandafter\let\csname\string#1\endcsname #1% + \expandafter\def\expandafter\tabu@reset\expandafter{\tabu@reset + \tabu@resetls#1}}% +\def\tabu@resetls #1{\expandafter\let\expandafter#1\csname\string#1\endcsname}% +%% \multicolumn inside tabu environment ----------------------------- +\tabu@newcolumntype \tabu@rewritemulticolumn{% + \aftergroup \tabu@endrewritemulticolumn % after \@mkpream group + \NC@list{\NC@do *}\tabu@textbar \tabu@lines + \tabu@savedecl + \tabu@privatecolumns + \NC@list\expandafter{\the\expandafter\NC@list \tabu@NC@list}% + \let\tabu@savels \relax + \NC@find +}% \tabu@rewritemulticolumn +\def\tabu@endrewritemulticolumn{\gdef\tabu@mkpreambuffer{}\endgroup} +\def\tabu@multicolumn{\tabu@ifenvir \tabu@multic@lumn \tabu@multicolumnORI} +\long\def\tabu@multic@lumn #1#2#3{\multispan{#1}\begingroup + \tabu@everyrowtrue + \NC@list{\NC@do \tabu@rewritemulticolumn}% + \expandafter\@gobbletwo % gobbles \multispan{#1} + \tabu@multicolumnORI{#1}{\tabu@rewritemulticolumn #2}% + {\iftabuscantokens \tabu@rescan \else \expandafter\@firstofone \fi + {#3}}% +}% \tabu@multic@lumn +%% The X column(s): rewriting process ----------------------------- +\tabu@privatecolumntype X[1][]{\begingroup \tabu@siunitx{\endgroup \tabu@rewriteX {#1}}} +\def\tabu@nosiunitx #1{#1{}{}\expandafter \NC@find \tabu@rewritten } +\def\tabu@siunitx #1{\@ifnextchar \bgroup + {\tabu@rewriteX@Ss{#1}} + {\tabu@nosiunitx{#1}}} +\def\tabu@rewriteX@Ss #1#2{\@temptokena{}% + \@defaultunits \let\tabu@temp =#2\relax\@nnil + \ifodd 1\ifx S\tabu@temp \else \ifx s\tabu@temp \else 0 \fi\fi + \def\NC@find{\def\NC@find >####1####2<####3\relax{#1 {####1}{####3}% + }\expandafter\NC@find \the\@temptokena \relax + }\expandafter\NC@rewrite@S \@gobble #2\relax + \else \tabu@siunitxerror + \fi + \expandafter \NC@find \tabu@rewritten +}% \tabu@rewriteX@Ss +\def\tabu@siunitxerror {\PackageError{tabu}{Not a S nor s column ! + \MessageBreak X column can only embed siunitx S or s columns}\@ehd +}% \tabu@siunitxerror +\def\tabu@rewriteX #1#2#3{\tabu@Xarg {#1}{#2}{#3}% + \iftabu@measuring + \else \tabu@measuringtrue % first X column found in the preamble + \let\@halignto \relax \let\tabu@halignto \relax + \iftabu@spread \tabu@spreadtarget \tabu@target \tabu@target \z@ + \else \tabu@spreadtarget \z@ \fi + \ifdim \tabu@target=\z@ + \setlength\tabu@target \tabu@thetarget + \tabu@message{\tabu@message@defaulttarget}% + \else \tabu@message{\tabu@message@target}\fi + \fi +}% \tabu@rewriteX +\def\tabu@rewriteXrestore #1#2#3{\let\@halignto \relax + \def\tabu@rewritten{l}} +\def\tabu@Xarg #1#2#3{% + \advance\tabu@Xcol \@ne \let\tabu@Xlcr \@empty + \let\tabu@Xdisp \@empty \let\tabu@Xmath \@empty + \ifx\\#1\\% + \def\tabu@rewritten{p}\tabucolX \p@ % + \else + \let\tabu@rewritten \@empty \let\tabu@temp \@empty \tabucolX \z@ + \tabu@Xparse {}#1\relax + \fi + \tabu@Xrewritten{#2}{#3}% +}% \tabu@Xarg +\def\tabu@Xparse #1{\futurelet\@let@token \tabu@Xtest} +\expandafter\def\expandafter\tabu@Xparsespace\space{\tabu@Xparse{}} +\def\tabu@Xtest{% + \ifcase \ifx \relax\@let@token \z@ \else + \if ,\@let@token \m@ne\else + \if p\@let@token 1\else + \if m\@let@token 2\else + \if b\@let@token 3\else + \if l\@let@token 4\else + \if c\@let@token 5\else + \if r\@let@token 6\else + \if j\@let@token 7\else + \if L\@let@token 8\else + \if C\@let@token 9\else + \if R\@let@token 10\else + \if J\@let@token 11\else + \ifx \@sptoken\@let@token 12\else + \if .\@let@token 13\else + \if -\@let@token 13\else + \ifcat $\@let@token 14\else + 15\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\relax + \or \tabu@Xtype {p}% + \or \tabu@Xtype {m}% + \or \tabu@Xtype {b}% + \or \tabu@Xalign \raggedright\relax + \or \tabu@Xalign \centering\relax + \or \tabu@Xalign \raggedleft\relax + \or \tabu@Xalign \tabu@justify\relax + \or \tabu@Xalign \RaggedRight\raggedright + \or \tabu@Xalign \Centering\centering + \or \tabu@Xalign \RaggedLeft\raggedleft + \or \tabu@Xalign \justifying\tabu@justify + \or \expandafter \tabu@Xparsespace + \or \expandafter \tabu@Xcoef + \or \expandafter \tabu@Xm@th + \or \tabu@Xcoef{}% + \else\expandafter \tabu@Xparse + \fi +}% \tabu@Xtest +\def\tabu@Xalign #1#2{% + \ifx \tabu@Xlcr\@empty \else \PackageWarning{tabu} + {Duplicate horizontal alignment specification}\fi + \ifdefined#1\def\tabu@Xlcr{#1}\let#1\relax + \else \def\tabu@Xlcr{#2}\let#2\relax\fi + \expandafter\tabu@Xparse +}% \tabu@Xalign +\def\tabu@Xtype #1{% + \ifx \tabu@rewritten\@empty \else \PackageWarning{tabu} + {Duplicate vertical alignment specification}\fi + \def\tabu@rewritten{#1}\expandafter\tabu@Xparse +}% \tabu@Xtype +\def\tabu@Xcoef#1{\edef\tabu@temp{\tabu@temp#1}% + \afterassignment\tabu@Xc@ef \tabu@cnt\number\if-#10\fi +}% \tabu@Xcoef +\def\tabu@Xc@ef{\advance\tabucolX \tabu@temp\the\tabu@cnt\p@ + \tabu@Xparse{}% +}% \tabu@Xc@ef +\def\tabu@Xm@th #1{\futurelet \@let@token \tabu@Xd@sp} +\def\tabu@Xd@sp{\let\tabu@Xmath=$% + \ifx $\@let@token \def\tabu@Xdisp{\displaystyle}% + \expandafter\tabu@Xparse + \else \expandafter\tabu@Xparse\expandafter{\expandafter}% + \fi +}% \tabu@Xd@sp +\def\tabu@Xrewritten {% + \ifx \tabu@rewritten\@empty \def\tabu@rewritten{p}\fi + \ifdim \tabucolX<\z@ \tabu@negcoeftrue + \else\ifdim \tabucolX=\z@ \tabucolX \p@ + \fi\fi + \edef\tabu@temp{{\the\tabu@Xcol}{\tabu@strippt\tabucolX}}% + \edef\tabu@Xcoefs{\tabu@Xcoefs \tabu@ \tabu@temp}% + \edef\tabu@rewritten ##1##2{\def\noexpand\tabu@rewritten{% + >{\tabu@Xlcr \ifx$\tabu@Xmath$\tabu@Xdisp\fi ##1}% + \tabu@rewritten {\tabu@hsize \tabu@temp}% + <{##2\ifx$\tabu@Xmath$\fi}}% + }\tabu@rewritten +}% \tabu@Xrewritten +\def\tabu@hsize #1#2{% + \ifdim #2\p@<\z@ + \ifdim \tabucolX=\maxdimen \tabu@wd{#1}\else + \ifdim \tabu@wd{#1}<-#2\tabucolX \tabu@wd{#1}\else -#2\tabucolX\fi + \fi + \else #2\tabucolX + \fi +}% \tabu@hsize +%% \usetabu and \preamble: rewriting process --------------------- +\tabu@privatecolumntype \usetabu [1]{% + \ifx\\#1\\\tabu@saveerr{}\else + \@ifundefined{tabu@saved@\string#1} + {\tabu@saveerr{#1}} + {\let\tabu@rewriteX \tabu@rewriteXrestore + \csname tabu@saved@\string#1\expandafter\endcsname\expandafter\@ne}% + \fi +}% \NC@rewrite@\usetabu +\tabu@privatecolumntype \preamble [1]{% + \ifx\\#1\\\tabu@saveerr{}\else + \@ifundefined{tabu@saved@\string#1} + {\tabu@saveerr{#1}} + {\csname tabu@saved@\string#1\expandafter\endcsname\expandafter\z@}% + \fi +}% \NC@rewrite@\preamble +%% Controlling the rewriting process ------------------------------- +\tabu@newcolumntype \tabu@rewritefirst{% + \iftabu@long \aftergroup \tabu@longpream % + \else \aftergroup \tabu@pream + \fi + \let\tabu@ \relax \let\tabu@hsize \relax + \let\tabu@Xcoefs \@empty \let\tabu@savels \relax + \tabu@Xcol \z@ \tabu@cnt \tw@ + \gdef\tabu@mkpreambuffer{\tabu@{}}\tabu@measuringfalse + \global\setbox\@arstrutbox \box\@arstrutbox + \NC@list{\NC@do *}\tabu@textbar \tabu@lines + \NC@list\expandafter{\the\NC@list \NC@do X}% + \iftabu@siunitx % + \NC@list\expandafter{\the\NC@list \NC@do S\NC@do s}\fi + \NC@list\expandafter{\the\expandafter\NC@list \tabu@highprioritycolumns}% + \expandafter\def\expandafter\tabu@NC@list\expandafter{% + \the\expandafter\NC@list \tabu@NC@list}% % * | X S + \NC@list\expandafter{\expandafter \NC@do \expandafter\usetabu + \expandafter \NC@do \expandafter\preamble + \the\NC@list \NC@do \tabu@rewritemiddle + \NC@do \tabu@rewritelast}% + \tabu@savedecl + \tabu@privatecolumns + \edef\tabu@prev{\the\@temptokena}\NC@find \tabu@rewritemiddle +}% NC@rewrite@\tabu@rewritefirst +\tabu@newcolumntype \tabu@rewritemiddle{% + \edef\tabu@temp{\the\@temptokena}\NC@find \tabu@rewritelast +}% \NC@rewrite@\tabu@rewritemiddle +\tabu@newcolumntype \tabu@rewritelast{% + \ifx \tabu@temp\tabu@prev \advance\tabu@cnt \m@ne + \NC@list\expandafter{\tabu@NC@list \NC@do \tabu@rewritemiddle + \NC@do \tabu@rewritelast}% + \else \let\tabu@prev\tabu@temp + \fi + \ifcase \tabu@cnt \expandafter\tabu@endrewrite + \else \expandafter\NC@find \expandafter\tabu@rewritemiddle + \fi +}% \NC@rewrite@\tabu@rewritelast +%% Choosing the strategy -------------------------------------------- +\def\tabu@endrewrite {% + \let\tabu@temp \NC@find + \ifx \@arrayright\relax \let\@arrayright \@empty \fi + \count@=% + \ifx \@finalstrut\tabu@finalstrut \z@ % outer in mode 0 print + \iftabu@measuring + \xdef\tabu@mkpreambuffer{\tabu@mkpreambuffer + \tabu@target \csname tabu@\the\tabu@nested.T\endcsname + \tabucolX \csname tabu@\the\tabu@nested.X\endcsname + \edef\@halignto {\ifx\@arrayright\@empty to\tabu@target\fi}}% + \fi + \else\iftabu@measuring 4 % X columns + \xdef\tabu@mkpreambuffer{\tabu@{\tabu@mkpreambuffer + \tabu@target \the\tabu@target + \tabu@spreadtarget \the\tabu@spreadtarget}% + \def\noexpand\tabu@Xcoefs{\tabu@Xcoefs}% + \edef\tabu@halignto{\ifx \@arrayright\@empty to\tabu@target\fi}}% + \let\tabu@Xcoefs \relax + \else\ifcase\tabu@nested \thr@@ % outer, no X + \global\let\tabu@afterendpar \relax + \else \@ne % inner, no X, outer in mode 1 or 2 + \fi + \ifdefined\tabu@usetabu + \else \ifdim\tabu@target=\z@ + \else \let\tabu@temp \tabu@extracolsep + \fi\fi + \fi + \fi + \xdef\tabu@mkpreambuffer{\count@ \the\count@ \tabu@mkpreambuffer}% + \tabu@temp +}% \tabu@endrewrite +\def\tabu@extracolsep{\@defaultunits \expandafter\let + \expandafter\tabu@temp \expandafter=\the\@temptokena \relax\@nnil + \ifx \tabu@temp\@sptoken + \expandafter\tabu@gobblespace \expandafter\tabu@extracolsep + \else + \edef\tabu@temp{\noexpand\NC@find + \if |\noexpand\tabu@temp @% + \else\if !\noexpand\tabu@temp @% + \else !% + \fi\fi + {\noexpand\extracolsep\noexpand\@flushglue}}% + \fi + \tabu@temp +}% \tabu@extrac@lsep +%% Implementing the strategy ---------------------------------------- +\long\def\tabu@pream #1\@preamble {% + \let\tabu@ \tabu@@ \tabu@mkpreambuffer \tabu@aftergroupcleanup + \NC@list\expandafter {\tabu@NC@list}% in case of nesting... + \ifdefined\tabu@usetabu \tabu@usetabu \tabu@target \z@ \fi + \let\tabu@savedpreamble \@preamble + \global\let\tabu@elapsedtime \relax + \tabu@thebody ={#1\tabu@aftergroupcleanup}% + \tabu@thebody =\expandafter{\the\expandafter\tabu@thebody + \@preamble}% + \edef\tabuthepreamble {\the\tabu@thebody}% ( no @ allowed for \scantokens ) + \tabu@select +}% \tabu@pream +\long\def\tabu@longpream #1\LT@bchunk #2\LT@bchunk{% + \let\tabu@ \tabu@@ \tabu@mkpreambuffer \tabu@aftergroupcleanup + \NC@list\expandafter {\tabu@NC@list}% in case of nesting... + \let\tabu@savedpreamble \@preamble + \global\let\tabu@elapsedtime \relax + \tabu@thebody ={#1\LT@bchunk #2\tabu@aftergroupcleanup \LT@bchunk}% + \edef\tabuthepreamble {\the\tabu@thebody}% ( no @ allowed for \scantokens ) + \tabu@select +}% \tabu@longpream +\def\tabu@select {% + \ifnum\tabu@nested>\z@ \tabuscantokensfalse \fi + \ifnum \count@=\@ne \iftabu@measuring \count@=\tw@ \fi\fi + \ifcase \count@ + \global\let\tabu@elapsedtime \relax + \tabu@seteverycr + \expandafter \tabuthepreamble % vertical adjustment (inherited from outer) + \or % exit in vertical measure + struts per cell because no X and outer in mode 3 + \tabu@evr{\tabu@verticalinit}\tabu@celllalign@def{\tabu@verticalmeasure}% + \def\tabu@cellralign{\tabu@verticalspacing}% + \tabu@seteverycr + \expandafter \tabuthepreamble + \or % exit without measure because no X and outer in mode 4 + \tabu@evr{}\tabu@celllalign@def{}\let\tabu@cellralign \@empty + \tabu@seteverycr + \expandafter \tabuthepreamble + \else % needs trials + \tabu@evr{}\tabu@celllalign@def{}\let\tabu@cellralign \@empty + \tabu@savecounters + \expandafter \tabu@setstrategy + \fi +}% \tabu@select +\def\tabu@@ {\gdef\tabu@mkpreambuffer} +%% Protections to set up before trials ------------------------------ +\def\tabu@setstrategy {\begingroup % + \tabu@trialh@@k \tabu@cnt \z@ % number of trials + \hbadness \@M \let\hbadness \@tempcnta + \hfuzz \maxdimen \let\hfuzz \@tempdima + \let\write \tabu@nowrite\let\GenericError \tabu@GenericError + \let\savetabu \@gobble \let\tabudefaulttarget \linewidth + \let\@footnotetext \@gobble \let\@xfootnote \tabu@xfootnote + \let\color \tabu@nocolor\let\rowcolor \tabu@norowcolor + \let\tabu@aftergroupcleanup \relax % only after the last trial + \tabu@mkpreambuffer + \ifnum \count@>\thr@@ \let\@halignto \@empty \tabucolX@init + \def\tabu@lasttry{\m@ne\p@}\fi + \begingroup \iffalse{\fi \ifnum0=`}\fi + \toks@{}\def\tabu@stack{b}\iftabuscantokens \endlinechar=10 \obeyspaces \fi % + \tabu@collectbody \tabu@strategy % +}% \tabu@setstrategy +\def\tabu@savecounters{% + \def\@elt ##1{\csname c@##1\endcsname\the\csname c@##1\endcsname}% + \edef\tabu@clckpt {\begingroup \globaldefs=\@ne \cl@@ckpt \endgroup}\let\@elt \relax +}% \tabu@savecounters +\def\tabucolX@init {% \tabucolX <= \tabu@target / (sum coefs > 0) + \dimen@ \z@ \tabu@Xsum \z@ \tabucolX \z@ \let\tabu@ \tabu@Xinit \tabu@Xcoefs + \ifdim \dimen@>\z@ + \@tempdima \dimexpr \tabu@target *\p@/\dimen@ + \tabu@hfuzz\relax + \ifdim \tabucolX<\@tempdima \tabucolX \@tempdima \fi + \fi +}% \tabucolX@init +\def\tabu@Xinit #1#2{\tabu@Xcol #1 \advance \tabu@Xsum + \ifdim #2\p@>\z@ #2\p@ \advance\dimen@ #2\p@ + \else -#2\p@ \tabu@negcoeftrue + \@tempdima \dimexpr \tabu@target*\p@/\dimexpr-#2\p@\relax \relax + \ifdim \tabucolX<\@tempdima \tabucolX \@tempdima \fi + \tabu@wddef{#1}{0pt}% + \fi +}% \tabu@Xinit +%% Collecting the environment body ---------------------------------- +\long\def\tabu@collectbody #1#2\end #3{% + \edef\tabu@stack{\tabu@pushbegins #2\begin\end\expandafter\@gobble\tabu@stack}% + \ifx \tabu@stack\@empty + \toks@\expandafter{\expandafter\tabu@thebody\expandafter{\the\toks@ #2}% + \def\tabu@end@envir{\end{#3}}% + \iftabuscantokens + \iftabu@long \def\tabu@endenvir {\end{#3}\tabu@gobbleX}% + \else \def\tabu@endenvir {\let\endarray \@empty + \end{#3}\tabu@gobbleX}% + \fi + \else \def\tabu@endenvir {\end{#3}}\fi}% + \let\tabu@collectbody \tabu@endofcollect + \else\def\tabu@temp{#3}% + \ifx \tabu@temp\@empty \toks@\expandafter{\the\toks@ #2\end }% + \else \ifx\tabu@temp\tabu@@spxiii \toks@\expandafter{\the\toks@ #2\end #3}% + \else \ifx\tabu@temp\tabu@X \toks@\expandafter{\the\toks@ #2\end #3}% + \else \toks@\expandafter{\the\toks@ #2\end{#3}}% + \fi\fi\fi + \fi + \tabu@collectbody{#1}% +}% \tabu@collectbody +\long\def\tabu@pushbegins#1\begin#2{\ifx\end#2\else b\expandafter\tabu@pushbegins\fi}% +\def\tabu@endofcollect #1{\ifnum0=`{}\fi + \expandafter\endgroup \the\toks@ #1% +}% \tabu@endofcollect +%% The trials: switching between strategies ------------------------- +\def\tabu@strategy {\relax % stops \count@ assignment ! + \ifcase\count@ % case 0 = print with vertical adjustment (outer is finished) + \expandafter \tabu@endoftrials + \or % case 1 = exit in vertical measure (outer in mode 3) + \expandafter\xdef\csname tabu@\the\tabu@nested.T\endcsname{\the\tabu@target}% + \expandafter\xdef\csname tabu@\the\tabu@nested.X\endcsname{\the\tabucolX}% + \expandafter \tabu@endoftrials + \or % case 2 = exit with a rule replacing the table (outer in mode 4) + \expandafter \tabu@quickend + \or % case 3 = outer is in mode 3 because of no X + \begingroup + \tabu@evr{\tabu@verticalinit}\tabu@celllalign@def{\tabu@verticalmeasure}% + \def\tabu@cellralign{\tabu@verticalspacing}% + \expandafter \tabu@measuring + \else % case 4 = horizontal measure + \begingroup + \global\let\tabu@elapsedtime \tabu@message@etime + \long\def\multicolumn##1##2##3{\multispan{##1}}% + \let\tabu@startpboxORI \@startpbox + \iftabu@spread + \def\tabu@naturalXmax {\z@}% + \let\tabu@naturalXmin \tabu@naturalXmax + \tabu@evr{\global\tabu@naturalX \z@}% + \let\@startpbox \tabu@startpboxmeasure + \else\iftabu@negcoef + \let\@startpbox \tabu@startpboxmeasure + \else \let\@startpbox \tabu@startpboxquick + \fi\fi + \expandafter \tabu@measuring + \fi +}% \tabu@strategy +\def\tabu@measuring{\expandafter \tabu@trial \expandafter + \count@ \the\count@ \tabu@endtrial +}% \tabu@measuring +\def\tabu@trial{\iftabu@long \tabu@longtrial \else \tabu@shorttrial \fi} +\def\tabu@shorttrial {\setbox\tabu@box \hbox\bgroup \tabu@seteverycr + \ifx \tabu@savecounters\relax \else + \let\tabu@savecounters \relax \tabu@clckpt \fi + $\iftabuscantokens \tabu@rescan \else \expandafter\@secondoftwo \fi + \expandafter{\expandafter \tabuthepreamble + \the\tabu@thebody + \csname tabu@adl@endtrial\endcsname + \endarray}$\egroup % got \tabu@box +}% \tabu@shorttrial +\def\tabu@longtrial {\setbox\tabu@box \hbox\bgroup \tabu@seteverycr + \ifx \tabu@savecounters\relax \else + \let\tabu@savecounters \relax \tabu@clckpt \fi + \iftabuscantokens \tabu@rescan \else \expandafter\@secondoftwo \fi + \expandafter{\expandafter \tabuthepreamble + \the\tabu@thebody + \tabuendlongtrial}\egroup % got \tabu@box +}% \tabu@longtrial +\def\tabuendlongtrial{% no @ allowed for \scantokens + \LT@echunk \global\setbox\@ne \hbox{\unhbox\@ne}\kern\wd\@ne + \LT@get@widths +}% \tabuendlongtrial +\def\tabu@adl@endtrial{% + \crcr \noalign{\global\adl@ncol \tabu@nbcols}}% anything global is crap, junky and fails ! +\def\tabu@seteverycr {\tabu@reset + \everycr \expandafter{\the\everycr \tabu@everycr}% + \let\everycr \tabu@noeverycr % +}% \tabu@seteverycr +\def\tabu@noeverycr{{\aftergroup\tabu@restoreeverycr \afterassignment}\toks@} +\def\tabu@restoreeverycr {\let\everycr \tabu@@everycr} +\def\tabu@everycr {\iftabu@everyrow \noalign{\tabu@everyrow}\fi} +\def\tabu@endoftrials {% + \iftabuscantokens \expandafter\@firstoftwo + \else \expandafter\@secondoftwo + \fi + {\expandafter \tabu@closetrialsgroup \expandafter + \tabu@rescan \expandafter{% + \expandafter\tabuthepreamble + \the\expandafter\tabu@thebody + \iftabu@long \else \endarray \fi}} + {\expandafter\tabu@closetrialsgroup \expandafter + \tabuthepreamble + \the\tabu@thebody}% + \tabu@endenvir % Finish ! +}% \tabu@endoftrials +\def\tabu@closetrialsgroup {% + \toks@\expandafter{\tabu@endenvir}% + \edef\tabu@bufferX{\endgroup + \tabucolX \the\tabucolX + \tabu@target \the\tabu@target + \tabu@cnt \the\tabu@cnt + \def\noexpand\tabu@endenvir{\the\toks@}% + %Quid de \@halignto = \tabu@halignto ?? + }% \tabu@bufferX + \tabu@bufferX + \ifcase\tabu@nested % print out (outer in mode 0) + \global\tabu@cnt \tabu@cnt + \tabu@evr{\tabu@verticaldynamicadjustment}% + \tabu@celllalign@def{\everypar{}}\let\tabu@cellralign \@empty + \let\@finalstrut \tabu@finalstrut + \else % vertical measure of nested tabu + \tabu@evr{\tabu@verticalinit}% + \tabu@celllalign@def{\tabu@verticalmeasure}% + \def\tabu@cellralign{\tabu@verticalspacing}% + \fi + \tabu@clckpt \let\@halignto \tabu@halignto + \let\@halignto \@empty + \tabu@seteverycr + \ifdim \tabustrutrule>\z@ \ifnum\tabu@nested=\z@ + \setbox\@arstrutbox \box\voidb@x % force \@arstrutbox to be rebuilt (visible struts) + \fi\fi +}% \tabu@closetrialsgroup +\def\tabu@quickend {\expandafter \endgroup \expandafter + \tabu@target \the\tabu@target \tabu@quickrule + \let\endarray \relax \tabu@endenvir +}% \tabu@quickend +\def\tabu@endtrial {\relax % stops \count@ assignment ! + \ifcase \count@ \tabu@err % case 0 = impossible here + \or \tabu@err % case 1 = impossible here + \or \tabu@err % case 2 = impossible here + \or % case 3 = outer goes into mode 0 + \def\tabu@bufferX{\endgroup}\count@ \z@ + \else % case 4 = outer goes into mode 3 + \iftabu@spread \tabu@spreadarith % inner into mode 1 (outer in mode 3) + \else \tabu@arith % or 2 (outer in mode 4) + \fi + \count@=% + \ifcase\tabu@nested \thr@@ % outer goes into mode 3 + \else\iftabu@measuring \tw@ % outer is in mode 4 + \else \@ne % outer is in mode 3 + \fi\fi + \edef\tabu@bufferX{\endgroup + \tabucolX \the\tabucolX + \tabu@target \the\tabu@target}% + \fi + \expandafter \tabu@bufferX \expandafter + \count@ \the\count@ \tabu@strategy +}% \tabu@endtrial +\def\tabu@err{\errmessage{(tabu) Internal impossible error! (\count@=\the\count@)}} +%% The algorithms: compute the widths / stop or go on --------------- +\def\tabu@arithnegcoef {% + \@tempdima \z@ \dimen@ \z@ \let\tabu@ \tabu@arith@negcoef \tabu@Xcoefs +}% \tabu@arithnegcoef +\def\tabu@arith@negcoef #1#2{% + \ifdim #2\p@>\z@ \advance\dimen@ #2\p@ % saturated by definition + \advance\@tempdima #2\tabucolX + \else + \ifdim -#2\tabucolX <\tabu@wd{#1}% c_i X < natural width <= \tabu@target-> saturated + \advance\dimen@ -#2\p@ + \advance\@tempdima -#2\tabucolX + \else + \advance\@tempdima \tabu@wd{#1}% natural width <= c_i X => neutralised + \ifdim \tabu@wd{#1}<\tabu@target \else % neutralised + \advance\dimen@ -#2\p@ % saturated (natural width = tabu@target) + \fi + \fi + \fi +}% \tabu@arith@negcoef +\def\tabu@givespace #1#2{% here \tabu@DELTA < \z@ + \ifdim \@tempdima=\z@ + \tabu@wddef{#1}{\the\dimexpr -\tabu@DELTA*\p@/\tabu@Xsum}% + \else + \tabu@wddef{#1}{\the\dimexpr \tabu@hsize{#1}{#2} + *(\p@ -\tabu@DELTA*\p@/\@tempdima)/\p@\relax}% + \fi +}% \tabu@givespace +\def\tabu@arith {\advance\tabu@cnt \@ne + \ifnum \tabu@cnt=\@ne \tabu@message{\tabu@titles}\fi + \tabu@arithnegcoef + \@tempdimb \dimexpr \wd\tabu@box -\@tempdima \relax % + \tabu@DELTA = \dimexpr \wd\tabu@box - \tabu@target \relax + \tabu@message{\tabu@message@arith}% + \ifdim \tabu@DELTA <\tabu@hfuzz + \ifdim \tabu@DELTA<\z@ % wd (tabu)<\tabu@target ? + \let\tabu@ \tabu@givespace \tabu@Xcoefs + \advance\@tempdima \@tempdimb \advance\@tempdima -\tabu@DELTA % for message + \else % already converged: nothing to do but nearly impossible... + \fi + \tabucolX \maxdimen + \tabu@measuringfalse + \else % need for narrower X columns + \tabucolX =\dimexpr (\@tempdima -\tabu@DELTA) *\p@/\tabu@Xsum \relax + \tabu@measuringtrue + \@whilesw \iftabu@measuring\fi {% + \advance\tabu@cnt \@ne + \tabu@arithnegcoef + \tabu@DELTA =\dimexpr \@tempdima+\@tempdimb -\tabu@target \relax % always < 0 here + \tabu@message{\tabu@header + \tabu@msgalign \tabucolX { }{ }{ }{ }{ }\@@ + \tabu@msgalign \@tempdima+\@tempdimb { }{ }{ }{ }{ }\@@ + \tabu@msgalign \tabu@target { }{ }{ }{ }{ }\@@ + \tabu@msgalign@PT \dimen@ { }{}{}{}{}{}{}\@@ + \ifdim -\tabu@DELTA<\tabu@hfuzz \tabu@spaces target ok\else + \tabu@msgalign \dimexpr -\tabu@DELTA *\p@/\dimen@ {}{}{}{}{}\@@ + \fi}% + \ifdim -\tabu@DELTA<\tabu@hfuzz + \advance\@tempdima \@tempdimb % for message + \tabu@measuringfalse + \else + \advance\tabucolX \dimexpr -\tabu@DELTA *\p@/\dimen@ \relax + \fi + }% + \fi + \tabu@message{\tabu@message@reached}% + \edef\tabu@bufferX{\endgroup \tabu@cnt \the\tabu@cnt + \tabucolX \the\tabucolX + \tabu@target \the\tabu@target}% +}% \tabu@arith +\def\tabu@spreadarith {% + \dimen@ \z@ \@tempdima \tabu@naturalXmax \let\tabu@ \tabu@spread@arith \tabu@Xcoefs + \edef\tabu@naturalXmin {\the\dimexpr\tabu@naturalXmin*\dimen@/\p@}% + \@tempdimc =\dimexpr \wd\tabu@box -\tabu@naturalXmax+\tabu@naturalXmin \relax + \iftabu@measuring + \tabu@target =\dimexpr \@tempdimc+\tabu@spreadtarget \relax + \edef\tabu@bufferX{\endgroup \tabucolX \the\tabucolX \tabu@target\the\tabu@target}% + \else + \tabu@message{\tabu@message@spreadarith}% + \ifdim \dimexpr \@tempdimc+\tabu@spreadtarget >\tabu@target + \tabu@message{(tabu) spread + \ifdim \@tempdimc>\tabu@target useless here: default target used% + \else too large: reduced to fit default target\fi.}% + \else + \tabu@target =\dimexpr \@tempdimc+\tabu@spreadtarget \relax + \tabu@message{(tabu) spread: New target set to \the\tabu@target^^J}% + \fi + \begingroup \let\tabu@wddef \@gobbletwo + \@tempdimb \@tempdima + \tabucolX@init + \tabu@arithnegcoef + \wd\tabu@box =\dimexpr \wd\tabu@box +\@tempdima-\@tempdimb \relax + \expandafter\endgroup \expandafter\tabucolX \the\tabucolX + \tabu@arith + \fi +}% \tabu@spreadarith +\def\tabu@spread@arith #1#2{% + \ifdim #2\p@>\z@ \advance\dimen@ #2\p@ + \else \advance\@tempdima \tabu@wd{#1}\relax + \fi +}% \tabu@spread@arith +%% Reporting in the .log file --------------------------------------- +\def\tabu@message@defaulttarget{% + \ifnum\tabu@nested=\z@^^J(tabu) Default target: + \ifx\tabudefaulttarget\linewidth \string\linewidth + \ifdim \tabu@thetarget=\linewidth \else + -\the\dimexpr\linewidth-\tabu@thetarget\fi = + \else\ifx\tabudefaulttarget\linegoal\string\linegoal= + \fi\fi + \else (tabu) Default target (nested): \fi + \the\tabu@target \on@line + \ifnum\tabu@nested=\z@ , page \the\c@page\fi} +\def\tabu@message@target {^^J(tabu) Target specified: + \the\tabu@target \on@line, page \the\c@page} +\def\tabu@message@arith {\tabu@header + \tabu@msgalign \tabucolX { }{ }{ }{ }{ }\@@ + \tabu@msgalign \wd\tabu@box { }{ }{ }{ }{ }\@@ + \tabu@msgalign \tabu@target { }{ }{ }{ }{ }\@@ + \tabu@msgalign@PT \dimen@ { }{}{}{}{}{}{}\@@ + \ifdim \tabu@DELTA<\tabu@hfuzz giving space\else + \tabu@msgalign \dimexpr (\@tempdima-\tabu@DELTA) *\p@/\tabu@Xsum -\tabucolX {}{}{}{}{}\@@ + \fi +}% \tabu@message@arith +\def\tabu@message@spreadarith {\tabu@spreadheader + \tabu@msgalign \tabu@spreadtarget { }{ }{ }{ }{}\@@ + \tabu@msgalign \wd\tabu@box { }{ }{ }{ }{}\@@ + \tabu@msgalign -\tabu@naturalXmax { }{}{}{}{}\@@ + \tabu@msgalign \tabu@naturalXmin { }{ }{ }{ }{}\@@ + \tabu@msgalign \ifdim \dimexpr\@tempdimc>\tabu@target \tabu@target + \else \@tempdimc+\tabu@spreadtarget \fi + {}{}{}{}{}\@@} +\def\tabu@message@negcoef #1#2{ + \tabu@spaces\tabu@spaces\space * #1. X[\rem@pt#2]: + \space width = \tabu@wd {#1} + \expandafter\string\csname tabu@\the\tabu@nested.W\number#1\endcsname + \ifdim -\tabu@pt#2\tabucolX<\tabu@target + < \number-\rem@pt#2 X + = \the\dimexpr -\tabu@pt#2\tabucolX \relax + \else + <= \the\tabu@target\space < \number-\rem@pt#2 X\fi} +\def\tabu@message@reached{\tabu@header + ******* Reached Target: + hfuzz = \tabu@hfuzz\on@line\space *******} +\def\tabu@message@etime{\edef\tabu@stoptime{\the\pdfelapsedtime}% + \tabu@message{(tabu)\tabu@spaces Time elapsed during measure: + \the\numexpr(\tabu@stoptime-\tabu@starttime-32767)/65536\relax sec + \the\numexpr\numexpr(\tabu@stoptime-\tabu@starttime) + -\numexpr(\tabu@stoptime-\tabu@starttime-32767)/65536\relax*65536\relax + *1000/65536\relax ms \tabu@spaces(\the\tabu@cnt\space + cycle\ifnum\tabu@cnt>\@ne s\fi)^^J^^J}} +\def\tabu@message@verticalsp {% + \ifdim \@tempdima>\tabu@ht + \ifdim \@tempdimb>\tabu@dp + \expandafter\expandafter\expandafter\string\tabu@ht = + \tabu@msgalign \@tempdima { }{ }{ }{ }{ }\@@ + \expandafter\expandafter\expandafter\string\tabu@dp = + \tabu@msgalign \@tempdimb { }{ }{ }{ }{ }\@@^^J% + \else + \expandafter\expandafter\expandafter\string\tabu@ht = + \tabu@msgalign \@tempdima { }{ }{ }{ }{ }\@@^^J% + \fi + \else\ifdim \@tempdimb>\tabu@dp + \tabu@spaces\tabu@spaces\tabu@spaces + \expandafter\expandafter\expandafter\string\tabu@dp = + \tabu@msgalign \@tempdimb { }{ }{ }{ }{ }\@@^^J\fi + \fi +}% \tabu@message@verticalsp +\edef\tabu@spaces{\@spaces} +\def\tabu@strippt{\expandafter\tabu@pt\the} +{\@makeother\P \@makeother\T\lowercase{\gdef\tabu@pt #1PT{#1}}} +\def\tabu@msgalign{\expandafter\tabu@msg@align\the\dimexpr} +\def\tabu@msgalign@PT{\expandafter\tabu@msg@align\romannumeral-`\0\tabu@strippt} +\def\do #1{% + \def\tabu@msg@align##1.##2##3##4##5##6##7##8##9\@@{% + \ifnum##1<10 #1 #1\else + \ifnum##1<100 #1 \else + \ifnum##1<\@m #1\fi\fi\fi + ##1.##2##3##4##5##6##7##8#1}% + \def\tabu@header{(tabu) \ifnum\tabu@cnt<10 #1\fi\the\tabu@cnt) }% + \def\tabu@titles{\ifnum \tabu@nested=\z@ + (tabu) Try#1 #1 tabu X #1 #1 #1tabu Width #1 #1 Target + #1 #1 #1 Coefs #1 #1 #1 Update^^J\fi}% + \def\tabu@spreadheader{% + (tabu) Try#1 #1 Spread #1 #1 tabu Width #1 #1 #1 Nat. X #1 #1 #1 #1Nat. Min. + #1 New Target^^J% + (tabu) sprd} + \def\tabu@message@save {\begingroup + \def\x ####1{\tabu@msg@align ####1{ }{ }{ }{ }{}\@@} + \def\z ####1{\expandafter\x\expandafter{\romannumeral-`\0\tabu@strippt + \dimexpr####1\p@{ }{ }}}% + \let\color \relax \def\tabu@rulesstyle ####1####2{\detokenize{####1}}% + \let\CT@arc@ \relax \let\@preamble \@gobble + \let\tabu@savedpream \@firstofone + \let\tabu@savedparams \@firstofone + \def\tabu@target ####1\relax {(tabu) target #1 #1 #1 #1 #1 = \x{####1}^^J}% + \def\tabucolX ####1\relax {(tabu) X columns width#1 = \x{####1}^^J}% + \def\tabu@nbcols ####1\relax {(tabu) Number of columns: \z{####1}^^J}% + \def\tabu@aligndefault ####1{(tabu) Default alignment: #1 #1 ####1^^J}% + \def\col@sep ####1\relax {(tabu) column sep #1 #1 #1 = \x{####1}^^J}% + \def\arrayrulewidth ####1\relax{(tabu) arrayrulewidth #1 = \x{####1}}% + \def\doublerulesep ####1\relax { doublerulesep = \x{####1}^^J}% + \def\extratabsurround####1\relax{(tabu) extratabsurround = \x{####1}^^J}% + \def\extrarowheight ####1\relax{(tabu) extrarowheight #1 = \x{####1}}% + \def\extrarowdepth ####1\relax {extrarowdepth = \x{####1}^^J}% + \def\abovetabulinesep####1\relax{(tabu) abovetabulinesep=\x{####1} }% + \def\belowtabulinesep####1\relax{ belowtabulinesep=\x{####1}^^J}% + \def\arraystretch ####1{(tabu) arraystretch #1 #1 = \z{####1}^^J}% + \def\minrowclearance####1\relax{(tabu) minrowclearance #1 = \x{####1}^^J}% + \def\tabu@arc@L ####1{(tabu) taburulecolor #1 #1 = ####1^^J}% + \def\tabu@drsc@L ####1{(tabu) tabudoublerulecolor= ####1^^J}% + \def\tabu@evr@L ####1{(tabu) everyrow #1 #1 #1 #1 = \detokenize{####1}^^J}% + \def\tabu@ls@L ####1{(tabu) line style = \detokenize{####1}^^J}% + \def\NC@find ####1\@nil{(tabu) tabu preamble#1 #1 = \detokenize{####1}^^J}% + \def\tabu@wddef####1####2{(tabu) Natural width ####1 = \x{####2}^^J}% + \let\edef \@gobbletwo \let\def \@empty \let\let \@gobbletwo + \tabu@message{% + (tabu) \string\savetabu{\tabu@temp}: \on@line^^J% + \tabu@usetabu \@nil^^J}% + \endgroup} +}\do{ } +%% Measuring the natural width (varwidth) - store the results ------- +\def\tabu@startpboxmeasure #1{\bgroup % entering \vtop + \edef\tabu@temp{\expandafter\@secondoftwo \ifx\tabu@hsize #1\else\relax\fi}% + \ifodd 1\ifx \tabu@temp\@empty 0 \else % starts with \tabu@hsize ? + \iftabu@spread \else % if spread -> measure + \ifdim \tabu@temp\p@>\z@ 0 \fi\fi\fi% if coef>0 -> do not measure + \let\@startpbox \tabu@startpboxORI % restore immediately (nesting) + \tabu@measuringtrue % for the quick option... + \tabu@Xcol =\expandafter\@firstoftwo\ifx\tabu@hsize #1\fi + \ifdim \tabu@temp\p@>\z@ \ifdim \tabu@temp\tabucolX<\tabu@target + \tabu@target=\tabu@temp\tabucolX \fi\fi + \setbox\tabu@box \hbox \bgroup + \begin{varwidth}\tabu@target + \let\FV@ListProcessLine \tabu@FV@ListProcessLine % \hbox to natural width... + \narrowragged \arraybackslash \parfillskip \@flushglue + \ifdefined\pdfadjustspacing \pdfadjustspacing\z@ \fi + \bgroup \aftergroup\tabu@endpboxmeasure + \ifdefined \cellspacetoplimit \tabu@cellspacepatch \fi + \else \expandafter\@gobble + \tabu@startpboxquick{#1}% \@gobble \bgroup + \fi +}% \tabu@startpboxmeasure +\def\tabu@cellspacepatch{\def\bcolumn##1\@nil{}\let\ecolumn\@empty + \bgroup\color@begingroup} +\def\tabu@endpboxmeasure {% + \@finalstrut \@arstrutbox + \end{varwidth}\egroup % + \ifdim \tabu@temp\p@ <\z@ % neg coef + \ifdim \tabu@wd\tabu@Xcol <\wd\tabu@box + \tabu@wddef\tabu@Xcol {\the\wd\tabu@box}% + \tabu@debug{\tabu@message@endpboxmeasure}% + \fi + \else % spread coef>0 + \global\advance \tabu@naturalX \wd\tabu@box + \@tempdima =\dimexpr \wd\tabu@box *\p@/\dimexpr \tabu@temp\p@\relax \relax + \ifdim \tabu@naturalXmax <\tabu@naturalX + \xdef\tabu@naturalXmax {\the\tabu@naturalX}\fi + \ifdim \tabu@naturalXmin <\@tempdima + \xdef\tabu@naturalXmin {\the\@tempdima}\fi + \fi + \box\tabu@box \egroup % end of \vtop (measure) restore \tabu@target +}% \tabu@endpboxmeasure +\def\tabu@wddef #1{\expandafter\xdef + \csname tabu@\the\tabu@nested.W\number#1\endcsname} +\def\tabu@wd #1{\csname tabu@\the\tabu@nested.W\number#1\endcsname} +\def\tabu@message@endpboxmeasure{\tabu@spaces\tabu@spaces<-> % <-> save natural wd + \the\tabu@Xcol. X[\tabu@temp]: + target = \the\tabucolX \space + \expandafter\expandafter\expandafter\string\tabu@wd\tabu@Xcol + =\tabu@wd\tabu@Xcol +}% \tabu@message@endpboxmeasure +\def\tabu@startpboxquick {\bgroup + \let\@startpbox \tabu@startpboxORI % restore immediately + \let\tabu \tabu@quick % \begin is expanded before... + \expandafter\@gobble \@startpbox % gobbles \bgroup +}% \tabu@startpboxquick +\def\tabu@quick {\begingroup \iffalse{\fi \ifnum0=`}\fi + \toks@{}\def\tabu@stack{b}\tabu@collectbody \tabu@endquick +}% \tabu@quick +\def\tabu@endquick {% + \ifodd 1\ifx\tabu@end@envir\tabu@endtabu \else + \ifx\tabu@end@envir\tabu@endtabus \else 0\fi\fi\relax + \endgroup + \else \let\endtabu \relax + \tabu@end@envir + \fi +}% \tabu@quick +\def\tabu@endtabu {\end{tabu}} +\def\tabu@endtabus {\end{tabu*}} +%% Measuring the heights and depths - store the results ------------- +\def\tabu@verticalmeasure{\everypar{}% + \ifnum \currentgrouptype>12 % 14=semi-simple, 15=math shift group + \setbox\tabu@box =\hbox\bgroup + \let\tabu@verticalspacing \tabu@verticalsp@lcr + \d@llarbegin % after \hbox ... + \else + \edef\tabu@temp{\ifnum\currentgrouptype=5\vtop + \else\ifnum\currentgrouptype=12\vcenter + \else\vbox\fi\fi}% + \setbox\tabu@box \hbox\bgroup$\tabu@temp \bgroup + \let\tabu@verticalspacing \tabu@verticalsp@pmb + \fi +}% \tabu@verticalmeasure +\def\tabu@verticalsp@lcr{% + \d@llarend \egroup % + \@tempdima \dimexpr \ht\tabu@box+\abovetabulinesep + \@tempdimb \dimexpr \dp\tabu@box+\belowtabulinesep \relax + \ifdim\tabustrutrule>\z@ \tabu@debug{\tabu@message@verticalsp}\fi + \ifdim \tabu@ht<\@tempdima \tabu@htdef{\the\@tempdima}\fi + \ifdim \tabu@dp<\@tempdimb \tabu@dpdef{\the\@tempdimb}\fi + \noindent\vrule height\@tempdima depth\@tempdimb +}% \tabu@verticalsp@lcr +\def\tabu@verticalsp@pmb{% inserts struts as needed + \par \expandafter\egroup + \expandafter$\expandafter + \egroup \expandafter + \@tempdimc \the\prevdepth + \@tempdima \dimexpr \ht\tabu@box+\abovetabulinesep + \@tempdimb \dimexpr \dp\tabu@box+\belowtabulinesep \relax + \ifdim\tabustrutrule>\z@ \tabu@debug{\tabu@message@verticalsp}\fi + \ifdim \tabu@ht<\@tempdima \tabu@htdef{\the\@tempdima}\fi + \ifdim \tabu@dp<\@tempdimb \tabu@dpdef{\the\@tempdimb}\fi + \let\@finalstrut \@gobble + \hrule height\@tempdima depth\@tempdimb width\hsize +%% \box\tabu@box +}% \tabu@verticalsp@pmb + +\def\tabu@verticalinit{% + \ifnum \c@taburow=\z@ \tabu@rearstrut \fi % after \tabu@reset ! + \advance\c@taburow \@ne + \tabu@htdef{\the\ht\@arstrutbox}\tabu@dpdef{\the\dp\@arstrutbox}% + \advance\c@taburow \m@ne +}% \tabu@verticalinit +\def\tabu@htdef {\expandafter\xdef \csname tabu@\the\tabu@nested.H\the\c@taburow\endcsname} +\def\tabu@ht {\csname tabu@\the\tabu@nested.H\the\c@taburow\endcsname} +\def\tabu@dpdef {\expandafter\xdef \csname tabu@\the\tabu@nested.D\the\c@taburow\endcsname} +\def\tabu@dp {\csname tabu@\the\tabu@nested.D\the\c@taburow\endcsname} +\def\tabu@verticaldynamicadjustment {% + \advance\c@taburow \@ne + \extrarowheight \dimexpr\tabu@ht - \ht\strutbox + \extrarowdepth \dimexpr\tabu@dp - \dp\strutbox + \let\arraystretch \@empty + \advance\c@taburow \m@ne +}% \tabu@verticaldynamicadjustment +\def\tabuphantomline{\crcr \noalign{% + {\globaldefs \@ne + \setbox\@arstrutbox \box\voidb@x + \let\tabu@@celllalign \tabu@celllalign + \let\tabu@@cellralign \tabu@cellralign + \let\tabu@@cellleft \tabu@cellleft + \let\tabu@@cellright \tabu@cellright + \let\tabu@@thevline \tabu@thevline + \let\tabu@celllalign \@empty + \let\tabu@cellralign \@empty + \let\tabu@cellright \@empty + \let\tabu@cellleft \@empty + \let\tabu@thevline \relax}% + \edef\tabu@temp{\tabu@multispan \tabu@nbcols{\noindent &}}% + \toks@\expandafter{\tabu@temp \noindent\tabu@everyrowfalse \cr + \noalign{\tabu@rearstrut + {\globaldefs\@ne + \let\tabu@celllalign \tabu@@celllalign + \let\tabu@cellralign \tabu@@cellralign + \let\tabu@cellleft \tabu@@cellleft + \let\tabu@cellright \tabu@@cellright + \let\tabu@thevline \tabu@@thevline}}}% + \expandafter}\the\toks@ +}% \tabuphantomline +%% \firsthline and \lasthline corrections --------------------------- +\def\tabu@firstline {\tabu@hlineAZ \tabu@firsthlinecorrection {}} +\def\tabu@firsthline{\tabu@hlineAZ \tabu@firsthlinecorrection \hline} +\def\tabu@lastline {\tabu@hlineAZ \tabu@lasthlinecorrection {}} +\def\tabu@lasthline {\tabu@hlineAZ \tabu@lasthlinecorrection \hline} +\def\tabu@hline {% replaces \hline if no colortbl (see \AtBeginDocument) + \noalign{\ifnum0=`}\fi + {\CT@arc@\hrule height\arrayrulewidth}% + \futurelet \tabu@temp \tabu@xhline +}% \tabu@hline +\def\tabu@xhline{% + \ifx \tabu@temp \hline + {\ifx \CT@drsc@\relax \vskip + \else\ifx \CT@drsc@\@empty \vskip + \else \CT@drsc@\hrule height + \fi\fi + \doublerulesep}% + \fi + \ifnum0=`{\fi}% +}% \tabu@xhline +\def\tabu@hlineAZ #1#2{\noalign{\ifnum0=`}\fi \dimen@ \z@ \count@ \z@ + \toks@{}\def\tabu@hlinecorrection{#1}\def\tabu@temp{#2}% + \tabu@hlineAZsurround +}% \tabu@hlineAZ +\newcommand*\tabu@hlineAZsurround[1][\extratabsurround]{% + \extratabsurround #1\let\tabucline \tabucline@scan + \let\hline \tabu@hlinescan \let\firsthline \hline + \let\cline \tabu@clinescan \let\lasthline \hline + \expandafter \futurelet \expandafter \tabu@temp + \expandafter \tabu@nexthlineAZ \tabu@temp +}% \tabu@hlineAZsurround +\def\tabu@hlinescan {\tabu@thick \arrayrulewidth \tabu@xhlineAZ \hline} +\def\tabu@clinescan #1{\tabu@thick \arrayrulewidth \tabu@xhlineAZ {\cline{#1}}} +\def\tabucline@scan{\@testopt \tabucline@sc@n {}} +\def\tabucline@sc@n #1[#2]{\tabu@xhlineAZ {\tabucline[{#1}]{#2}}} +\def\tabu@nexthlineAZ{% + \ifx \tabu@temp\hline \else + \ifx \tabu@temp\cline \else + \ifx \tabu@temp\tabucline \else + \tabu@hlinecorrection + \fi\fi\fi +}% \tabu@nexthlineAZ +\def\tabu@xhlineAZ #1{% + \toks@\expandafter{\the\toks@ #1}% + \@tempdimc \tabu@thick % The last line width + \ifcase\count@ \@tempdimb \tabu@thick % The first line width + \else \advance\dimen@ \dimexpr \tabu@thick+\doublerulesep \relax + \fi + \advance\count@ \@ne \futurelet \tabu@temp \tabu@nexthlineAZ +}% \tabu@xhlineAZ +\def\tabu@firsthlinecorrection{% \count@ = number of \hline -1 + \@tempdima \dimexpr \ht\@arstrutbox+\dimen@ + \edef\firsthline{% + \omit \hbox to\z@{\hss{\noexpand\tabu@DBG{yellow}\vrule + height \the\dimexpr\@tempdima+\extratabsurround + depth \dp\@arstrutbox + width \tabustrutrule}\hss}\cr + \noalign{\vskip -\the\dimexpr \@tempdima+\@tempdimb + +\dp\@arstrutbox \relax}% + \the\toks@ + }\ifnum0=`{\fi + \expandafter}\firsthline % we are then ! +}% \tabu@firsthlinecorrection +\def\tabu@lasthlinecorrection{% + \@tempdima \dimexpr \dp\@arstrutbox+\dimen@+\@tempdimb+\@tempdimc + \edef\lasthline{% + \the\toks@ + \noalign{\vskip -\the\dimexpr\dimen@+\@tempdimb+\dp\@arstrutbox}% + \omit \hbox to\z@{\hss{\noexpand\tabu@DBG{yellow}\vrule + depth \the\dimexpr \dp\@arstrutbox+\@tempdimb+\dimen@ + +\extratabsurround-\@tempdimc + height \z@ + width \tabustrutrule}\hss}\cr + }\ifnum0=`{\fi + \expandafter}\lasthline % we are then ! +}% \tabu@lasthlinecorrection +\def\tabu@LT@@hline{% + \ifx\LT@next\hline + \global\let\LT@next \@gobble + \ifx \CT@drsc@\relax + \gdef\CT@LT@sep{% + \noalign{\penalty-\@medpenalty\vskip\doublerulesep}}% + \else + \gdef\CT@LT@sep{% + \multispan\LT@cols{% + \CT@drsc@\leaders\hrule\@height\doublerulesep\hfill}\cr}% + \fi + \else + \global\let\LT@next\empty + \gdef\CT@LT@sep{% + \noalign{\penalty-\@lowpenalty\vskip-\arrayrulewidth}}% + \fi + \ifnum0=`{\fi}% + \multispan\LT@cols + {\CT@arc@\leaders\hrule\@height\arrayrulewidth\hfill}\cr + \CT@LT@sep + \multispan\LT@cols + {\CT@arc@\leaders\hrule\@height\arrayrulewidth\hfill}\cr + \noalign{\penalty\@M}% + \LT@next +}% \tabu@LT@@hline +%% Horizontal lines : \tabucline ------------------------------------ +\let\tabu@start \@tempcnta +\let\tabu@stop \@tempcntb +\newcommand*\tabucline{\noalign{\ifnum0=`}\fi \tabu@cline} +\newcommand*\tabu@cline[2][]{\tabu@startstop{#2}% + \ifnum \tabu@stop<\z@ \toks@{}% + \else \tabu@clinearg{#1}\tabu@thestyle + \edef\tabucline{\toks@{% + \ifnum \tabu@start>\z@ \omit + \tabu@multispan\tabu@start {\span\omit}&\fi + \omit \tabu@multispan\tabu@stop {\span\omit}% + \tabu@thehline\cr + }}\tabucline + \tabu@tracinglines{(tabu:tabucline) Style: #1^^J\the\toks@^^J^^J}% + \fi + \futurelet \tabu@temp \tabu@xcline +}% \tabu@cline +\def\tabu@clinearg #1{% + \ifx\\#1\\\let\tabu@thestyle \tabu@ls@ + \else \@defaultunits \expandafter\let\expandafter\@tempa + \romannumeral-`\0#1\relax \@nnil + \ifx \hbox\@tempa \tabu@clinebox{#1}% + \else\ifx \box\@tempa \tabu@clinebox{#1}% + \else\ifx \vbox\@tempa \tabu@clinebox{#1}% + \else\ifx \vtop\@tempa \tabu@clinebox{#1}% + \else\ifx \copy\@tempa \tabu@clinebox{#1}% + \else\ifx \leaders\@tempa \tabu@clineleads{#1}% + \else\ifx \cleaders\@tempa \tabu@clineleads{#1}% + \else\ifx \xleaders\@tempa \tabu@clineleads{#1}% + \else\tabu@getline {#1}% + \fi\fi\fi\fi\fi\fi\fi\fi + \fi +}% \tabu@clinearg +\def\tabu@clinebox #1{\tabu@clineleads{\xleaders#1\hss}} +\def\tabu@clineleads #1{% + \let\tabu@thestyle \relax \let\tabu@leaders \@undefined + \gdef\tabu@thehrule{#1}} +\def\tabu@thehline{\begingroup + \ifdefined\tabu@leaders + \noexpand\tabu@thehleaders + \else \noexpand\tabu@thehrule + \fi \endgroup +}% \tabu@thehline +\def\tabu@xcline{% + \ifx \tabu@temp\tabucline + \toks@\expandafter{\the\toks@ \noalign + {\ifx\CT@drsc@\relax \vskip + \else \CT@drsc@\hrule height + \fi + \doublerulesep}}% + \fi + \tabu@docline +}% \tabu@xcline +\def\tabu@docline {\ifnum0=`{\fi \expandafter}\the\toks@} +\def\tabu@docline@evr {\xdef\tabu@doclineafter{\the\toks@}% + \ifnum0=`{\fi}\aftergroup\tabu@doclineafter} +\def\tabu@multispan #1#2{% + \ifnum\numexpr#1>\@ne #2\expandafter\tabu@multispan + \else \expandafter\@gobbletwo + \fi {#1-1}{#2}% +}% \tabu@multispan +\def\tabu@startstop #1{\tabu@start@stop #1\relax 1-\tabu@nbcols \@nnil} +\def\tabu@start@stop #1-#2\@nnil{% + \@defaultunits \tabu@start\number 0#1\relax \@nnil + \@defaultunits \tabu@stop \number 0#2\relax \@nnil + \tabu@stop \ifnum \tabu@start>\tabu@nbcols \m@ne + \else\ifnum \tabu@stop=\z@ \tabu@nbcols + \else\ifnum \tabu@stop>\tabu@nbcols \tabu@nbcols + \else \tabu@stop + \fi\fi\fi + \advance\tabu@start \m@ne + \ifnum \tabu@start>\z@ \advance\tabu@stop -\tabu@start \fi +}% \tabu@start@stop +%% Numbers: siunitx S columns (and \tabudecimal) ------------------- +\def\tabu@tabudecimal #1{% + \def\tabu@decimal{#1}\@temptokena{}% + \let\tabu@getdecimal@ \tabu@getdecimal@ignorespaces + \tabu@scandecimal +}% \tabu@tabudecimal +\def\tabu@scandecimal{\futurelet \tabu@temp \tabu@getdecimal@} +\def\tabu@skipdecimal#1{#1\tabu@scandecimal} +\def\tabu@getdecimal@ignorespaces{% + \ifcase 0\ifx\tabu@temp\ignorespaces\else + \ifx\tabu@temp\@sptoken1\else + 2\fi\fi\relax + \let\tabu@getdecimal@ \tabu@getdecimal + \expandafter\tabu@skipdecimal + \or \expandafter\tabu@gobblespace\expandafter\tabu@scandecimal + \else \expandafter\tabu@skipdecimal + \fi +}% \tabu@getdecimal@ignorespaces +\def\tabu@get@decimal#1{\@temptokena\expandafter{\the\@temptokena #1}% + \tabu@scandecimal} +\def\do#1{% + \def\tabu@get@decimalspace#1{% + \@temptokena\expandafter{\the\@temptokena #1}\tabu@scandecimal}% +}\do{ } +\let\tabu@@tabudecimal \tabu@tabudecimal +\def\tabu@getdecimal{% + \ifcase 0\ifx 0\tabu@temp\else + \ifx 1\tabu@temp\else + \ifx 2\tabu@temp\else + \ifx 3\tabu@temp\else + \ifx 4\tabu@temp\else + \ifx 5\tabu@temp\else + \ifx 6\tabu@temp\else + \ifx 7\tabu@temp\else + \ifx 8\tabu@temp\else + \ifx 9\tabu@temp\else + \ifx .\tabu@temp\else + \ifx ,\tabu@temp\else + \ifx -\tabu@temp\else + \ifx +\tabu@temp\else + \ifx e\tabu@temp\else + \ifx E\tabu@temp\else + \ifx\tabu@cellleft\tabu@temp1\else + \ifx\ignorespaces\tabu@temp1\else + \ifx\@sptoken\tabu@temp2\else + 3\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\relax + \expandafter\tabu@get@decimal + \or \expandafter\tabu@skipdecimal + \or \expandafter\tabu@get@decimalspace + \else\expandafter\tabu@printdecimal + \fi +}% \tabu@getdecimal +\def\tabu@printdecimal{% + \edef\tabu@temp{\the\@temptokena}% + \ifx\tabu@temp\@empty\else + \ifx\tabu@temp\space\else + \expandafter\tabu@decimal\expandafter{\the\@temptokena}% + \fi\fi +}% \tabu@printdecimal +%% Verbatim inside X columns ---------------------------------------- +\def\tabu@verbatim{% + \let\verb \tabu@verb + \let\FV@DefineCheckEnd \tabu@FV@DefineCheckEnd +}% \tabu@verbatim +\let\tabu@ltx@verb \verb +\def\tabu@verb{\@ifstar {\tabu@ltx@verb*} \tabu@ltx@verb} +\def\tabu@fancyvrb {% + \def\tabu@FV@DefineCheckEnd ##1{% + \def\tabu@FV@DefineCheckEnd{% + ##1% + \let\FV@CheckEnd \tabu@FV@CheckEnd + \let\FV@@CheckEnd \tabu@FV@@CheckEnd + \let\FV@@@CheckEnd \tabu@FV@@@CheckEnd + \edef\FV@EndScanning{% + \def\noexpand\next{\noexpand\end{\FV@EnvironName}}% + \global\let\noexpand\FV@EnvironName\relax + \noexpand\next}% + \xdef\FV@EnvironName{\detokenize\expandafter{\FV@EnvironName}}}% + }\expandafter\tabu@FV@DefineCheckEnd\expandafter{\FV@DefineCheckEnd} +}% \tabu@fancyvrb +\def\tabu@FV@CheckEnd #1{\expandafter\FV@@CheckEnd \detokenize{#1\end{}}\@nil} +\edef\tabu@FV@@@CheckEnd {\detokenize{\end{}}} +\begingroup +\catcode`\[1 \catcode`\]2 +\@makeother\{ \@makeother\} + \edef\x[\endgroup + \def\noexpand\tabu@FV@@CheckEnd ##1\detokenize[\end{]##2\detokenize[}]##3% + ]\x \@nil{\def\@tempa{#2}\def\@tempb{#3}} +\def\tabu@FV@ListProcessLine #1{% + \hbox {%to \hsize{% + \kern\leftmargin + \hbox {%to \linewidth{% + \FV@LeftListNumber + \FV@LeftListFrame + \FancyVerbFormatLine{#1}\hss +%% DG/SR modification begin - Jan. 28, 1998 (for numbers=right add-on) +%% \FV@RightListFrame}% + \FV@RightListFrame + \FV@RightListNumber}% +%% DG/SR modification end + \hss}} +%% \savetabu -------------------------------------------------------- +\newcommand*\savetabu[1]{\noalign{% + \tabu@sanitizearg{#1}\tabu@temp + \ifx \tabu@temp\@empty \tabu@savewarn{}{The tabu will not be saved}\else + \@ifundefined{tabu@saved@\tabu@temp}{}{\tabu@savewarn{#1}{Overwriting}}% + \ifdefined\tabu@restored \expandafter\let + \csname tabu@saved@\tabu@temp \endcsname \tabu@restored + \else {\tabu@save}% + \fi + \fi}% +}% \savetabu +\def\tabu@save {% + \toks0\expandafter{\tabu@saved@}% + \iftabu@negcoef + \let\tabu@wddef \relax \let\tabu@ \tabu@savewd \edef\tabu@savewd{\tabu@Xcoefs}% + \toks0\expandafter{\the\toks\expandafter0\tabu@savewd}\fi + \toks1\expandafter{\tabu@savedpream}% + \toks2\expandafter{\tabu@savedpreamble}% + \let\@preamble \relax + \let\tabu@savedpream \relax \let\tabu@savedparams \relax + \edef\tabu@preamble{% + \def\noexpand\tabu@aligndefault{\tabu@align}% + \def\tabu@savedparams {\noexpand\the\toks0}% + \def\tabu@savedpream {\noexpand\the\toks1}}% + \edef\tabu@usetabu{% + \def\@preamble {\noexpand\the\toks2}% + \tabu@target \the\tabu@target \relax + \tabucolX \the\tabucolX \relax + \tabu@nbcols \the\tabu@nbcols \relax + \def\noexpand\tabu@aligndefault{\tabu@align}% + \def\tabu@savedparams {\noexpand\the\toks0}% + \def\tabu@savedpream {\noexpand\the\toks1}}% + \let\tabu@aligndefault \relax \let\@sharp \relax + \edef\@tempa{\noexpand\tabu@s@ved + {\tabu@usetabu} + {\tabu@preamble} + {\the\toks1}}\@tempa + \tabu@message@save +}% \tabu@save +\long\def\tabu@s@ved #1#2#3{% + \def\tabu@usetabu{#1}% + \expandafter\gdef\csname tabu@saved@\tabu@temp\endcsname ##1{% + \ifodd ##1% \usetabu + \tabu@measuringfalse \tabu@spreadfalse % Just in case... + \gdef\tabu@usetabu {% + \ifdim \tabu@target>\z@ \tabu@warn@usetabu \fi + \global\let\tabu@usetabu \@undefined + \def\@halignto {to\tabu@target}% + #1% + \ifx \tabu@align\tabu@aligndefault@text + \ifnum \tabu@nested=\z@ + \let\tabu@align \tabu@aligndefault \fi\fi}% + \else % \preamble + \gdef\tabu@preamble {% + \global\let\tabu@preamble \@undefined + #2% + \ifx \tabu@align\tabu@aligndefault@text + \ifnum \tabu@nested=\z@ + \let\tabu@align \tabu@aligndefault \fi\fi}% + \fi + #3}% +}% \tabu@s@ved +\def\tabu@aligndefault@text {\tabu@aligndefault}% +\def\tabu@warn@usetabu {\PackageWarning{tabu} + {Specifying a target with \string\usetabu\space is useless + \MessageBreak The target cannot be changed!}} +\def\tabu@savewd #1#2{\ifdim #2\p@<\z@ \tabu@wddef{#1}{\tabu@wd{#1}}\fi} +\def\tabu@savewarn#1#2{\PackageInfo{tabu} + {User-name `#1' already used for \string\savetabu + \MessageBreak #2}}% +\def\tabu@saveerr#1{\PackageError{tabu} + {User-name `#1' is unknown for \string\usetabu + \MessageBreak I cannot restore an unknown preamble!}\@ehd} +%% \rowfont --------------------------------------------------------- +\newskip \tabu@cellskip +\def\tabu@rowfont{\ifdim \baselineskip=\z@\noalign\fi + {\ifnum0=`}\fi \tabu@row@font} +\newcommand*\tabu@row@font[2][]{% + \ifnum7=\currentgrouptype + \global\let\tabu@@cellleft \tabu@cellleft + \global\let\tabu@@cellright \tabu@cellright + \global\let\tabu@@celllalign \tabu@celllalign + \global\let\tabu@@cellralign \tabu@cellralign + \global\let\tabu@@rowfontreset\tabu@rowfontreset + \fi + \global\let\tabu@rowfontreset \tabu@rowfont@reset + \expandafter\gdef\expandafter\tabu@cellleft\expandafter{\tabu@cellleft #2}% + \ifcsname tabu@cell@#1\endcsname % row alignment + \csname tabu@cell@#1\endcsname \fi + \ifnum0=`{\fi}% end of group / noalign group +}% \rowfont +\def\tabu@ifcolorleavevmode #1{\let\color \tabu@leavevmodecolor #1\let\color\tabu@color}% +\def\tabu@rowfont@reset{% + \global\let\tabu@rowfontreset \tabu@@rowfontreset + \global\let\tabu@cellleft \tabu@@cellleft + \global\let\tabu@cellright \tabu@@cellright + \global\let\tabu@cellfont \@empty + \global\let\tabu@celllalign \tabu@@celllalign + \global\let\tabu@cellralign \tabu@@cellralign +}% \tabu@@rowfontreset +\let\tabu@rowfontreset \@empty % overwritten \AtBeginDocument if colortbl +%% \tabu@prepnext@tok ----------------------------------------------- +\newif \iftabu@cellright +\def\tabu@prepnext@tok{% + \ifnum \count@<\z@ % + \@tempcnta \@M % + \tabu@nbcols\z@ + \let\tabu@fornoopORI \@fornoop + \tabu@cellrightfalse + \else + \ifcase \numexpr \count@-\@tempcnta \relax % (case 0): prev. token is left + \advance \tabu@nbcols \@ne + \iftabu@cellright % before-previous token is right and is finished + \tabu@cellrightfalse % + \tabu@righttok + \fi + \tabu@lefttok + \or % (case 1) previous token is right + \tabu@cellrighttrue \let\@fornoop \tabu@lastnoop + \else % special column: do not change the token + \iftabu@cellright % before-previous token is right + \tabu@cellrightfalse + \tabu@righttok + \fi + \fi % \ifcase + \fi + \tabu@prepnext@tokORI +}% \tabu@prepnext@tok +\long\def\tabu@lastnoop#1\@@#2#3{\tabu@lastn@@p #2\@nextchar \in@\in@@} +\def\tabu@lastn@@p #1\@nextchar #2#3\in@@{% + \ifx \in@#2\else + \let\@fornoop \tabu@fornoopORI + \xdef\tabu@mkpreambuffer{\tabu@nbcols\the\tabu@nbcols \tabu@mkpreambuffer}% + \toks0\expandafter{\expandafter\tabu@everyrowtrue \the\toks0}% + \expandafter\prepnext@tok + \fi +}% \tabu@lastnoop +\def\tabu@righttok{% + \advance \count@ \m@ne + \toks\count@\expandafter {\the\toks\count@ \tabu@cellright \tabu@cellralign}% + \advance \count@ \@ne +}% \tabu@righttok +\def\tabu@lefttok{\toks\count@\expandafter{\expandafter\tabu@celllalign + \the\toks\count@ \tabu@cellleft}% after because of $ +}% \tabu@lefttok +%% Neutralisation of glues ------------------------------------------ +\let\tabu@cellleft \@empty +\let\tabu@cellright \@empty +\tabu@celllalign@def{\tabu@cellleft}% +\let\tabu@cellralign \@empty +\def\tabu@cell@align #1#2#3{% + \let\tabu@maybesiunitx \toks@ \tabu@celllalign + \global \expandafter \tabu@celllalign@def \expandafter {\the\toks@ #1}% + \toks@\expandafter{\tabu@cellralign #2}% + \xdef\tabu@cellralign{\the\toks@}% + \toks@\expandafter{\tabu@cellleft #3}% + \xdef\tabu@cellleft{\the\toks@}% +}% \tabu@cell@align +\def\tabu@cell@l{% force alignment to left + \tabu@cell@align + {\tabu@removehfil \raggedright \tabu@cellleft}% left + {\tabu@flush1\tabu@ignorehfil}% right + \raggedright +}% \tabu@cell@l +\def\tabu@cell@c{% force alignment to center + \tabu@cell@align + {\tabu@removehfil \centering \tabu@flush{.5}\tabu@cellleft} + {\tabu@flush{.5}\tabu@ignorehfil} + \centering +}% \tabu@cell@c +\def\tabu@cell@r{% force alignment to right + \tabu@cell@align + {\tabu@removehfil \raggedleft \tabu@flush1\tabu@cellleft} + \tabu@ignorehfil + \raggedleft +}% \tabu@cell@r +\def\tabu@cell@j{% force justification (for p, m, b columns) + \tabu@cell@align + {\tabu@justify\tabu@cellleft} + {} + \tabu@justify +}% \tabu@cell@j +\def\tabu@justify{% + \leftskip\z@skip \@rightskip\leftskip \rightskip\@rightskip + \parfillskip\@flushglue +}% \tabu@justify +%% ragged2e settings +\def\tabu@cell@L{% force alignment to left (ragged2e) + \tabu@cell@align + {\tabu@removehfil \RaggedRight \tabu@cellleft} + {\tabu@flush 1\tabu@ignorehfil} + \RaggedRight +}% \tabu@cell@L +\def\tabu@cell@C{% force alignment to center (ragged2e) + \tabu@cell@align + {\tabu@removehfil \Centering \tabu@flush{.5}\tabu@cellleft} + {\tabu@flush{.5}\tabu@ignorehfil} + \Centering +}% \tabu@cell@C +\def\tabu@cell@R{% force alignment to right (ragged2e) + \tabu@cell@align + {\tabu@removehfil \RaggedLeft \tabu@flush 1\tabu@cellleft} + \tabu@ignorehfil + \RaggedLeft +}% \tabu@cell@R +\def\tabu@cell@J{% force justification (ragged2e) + \tabu@cell@align + {\justifying \tabu@cellleft} + {} + \justifying +}% \tabu@cell@J +\def\tabu@flush#1{% + \iftabu@colortbl % colortbl uses \hfill rather than \hfil + \hskip \ifnum13<\currentgrouptype \stretch{#1}% + \else \ifdim#1pt<\p@ \tabu@cellskip + \else \stretch{#1} + \fi\fi \relax + \else % array.sty + \ifnum 13<\currentgrouptype + \hfil \hskip1sp \relax \fi + \fi +}% \tabu@flush +\let\tabu@hfil \hfil +\let\tabu@hfill \hfill +\let\tabu@hskip \hskip +\def\tabu@removehfil{% + \iftabu@colortbl + \unkern \tabu@cellskip =\lastskip + \ifnum\gluestretchorder\tabu@cellskip =\tw@ \hskip-\tabu@cellskip + \else \tabu@cellskip \z@skip + \fi + \else + \ifdim\lastskip=1sp\unskip\fi + \ifnum\gluestretchorder\lastskip =\@ne + \hfilneg % \hfilneg for array.sty but not for colortbl... + \fi + \fi +}% \tabu@removehfil +\def\tabu@ignorehfil{\aftergroup \tabu@nohfil} +\def\tabu@nohfil{% \hfil -> do nothing + restore original \hfil + \def\hfil{\let\hfil \tabu@hfil}% local to (alignment template) group +}% \tabu@nohfil +\def\tabu@colortblalignments {% if colortbl + \def\tabu@nohfil{% + \def\hfil {\let\hfil \tabu@hfil}% local to (alignment template) group + \def\hfill {\let\hfill \tabu@hfill}% (colortbl uses \hfill) pfff... + \def\hskip ####1\relax{\let\hskip \tabu@hskip}}% local +}% \tabu@colortblalignments +%% Taking care of footnotes and hyperfootnotes ---------------------- +\long\def\tabu@footnotetext #1{% + \edef\@tempa{\the\tabu@footnotes + \noexpand\footnotetext [\the\csname c@\@mpfn\endcsname]}% + \global\tabu@footnotes\expandafter{\@tempa {#1}}}% +\long\def\tabu@xfootnotetext [#1]#2{% + \global\tabu@footnotes\expandafter{\the\tabu@footnotes + \footnotetext [{#1}]{#2}}} +\let\tabu@xfootnote \@xfootnote +\long\def\tabu@Hy@ftntext{\tabu@Hy@ftntxt {\the \c@footnote }} +\long\def\tabu@Hy@xfootnote [#1]{% + \begingroup + \value\@mpfn #1\relax + \protected@xdef \@thefnmark {\thempfn}% + \endgroup + \@footnotemark \tabu@Hy@ftntxt {#1}% +}% \tabu@Hy@xfootnote +\long\def\tabu@Hy@ftntxt #1#2{% + \edef\@tempa{% + \the\tabu@footnotes + \begingroup + \value\@mpfn #1\relax + \noexpand\protected@xdef\noexpand\@thefnmark {\noexpand\thempfn}% + \expandafter \noexpand \expandafter + \tabu@Hy@footnotetext \expandafter{\Hy@footnote@currentHref}% + }% + \global\tabu@footnotes\expandafter{\@tempa {#2}% + \endgroup}% +}% \tabu@Hy@ftntxt +\long\def\tabu@Hy@footnotetext #1#2{% + \H@@footnotetext{% + \ifHy@nesting + \hyper@@anchor {#1}{#2}% + \else + \Hy@raisedlink{% + \hyper@@anchor {#1}{\relax}% + }% + \def\@currentHref {#1}% + \let\@currentlabelname \@empty + #2% + \fi + }% +}% \tabu@Hy@footnotetext +%% No need for \arraybackslash ! ------------------------------------ +\def\tabu@latextwoe {% +\def\tabu@temp##1##2##3{{\toks@\expandafter{##2##3}\xdef##1{\the\toks@}}} +\tabu@temp \tabu@centering \centering \arraybackslash +\tabu@temp \tabu@raggedleft \raggedleft \arraybackslash +\tabu@temp \tabu@raggedright \raggedright \arraybackslash +}% \tabu@latextwoe +\def\tabu@raggedtwoe {% +\def\tabu@temp ##1##2##3{{\toks@\expandafter{##2##3}\xdef##1{\the\toks@}}} +\tabu@temp \tabu@Centering \Centering \arraybackslash +\tabu@temp \tabu@RaggedLeft \RaggedLeft \arraybackslash +\tabu@temp \tabu@RaggedRight \RaggedRight \arraybackslash +\tabu@temp \tabu@justifying \justifying \arraybackslash +}% \tabu@raggedtwoe +\def\tabu@normalcrbackslash{\let\\\@normalcr} +\def\tabu@trivlist{\expandafter\def\expandafter\@trivlist\expandafter{% + \expandafter\tabu@normalcrbackslash \@trivlist}} +%% Utilities: \fbox \fcolorbox and \tabudecimal ------------------- +\def\tabu@fbox {\leavevmode\afterassignment\tabu@beginfbox \setbox\@tempboxa\hbox} +\def\tabu@beginfbox {\bgroup \kern\fboxsep + \bgroup\aftergroup\tabu@endfbox} +\def\tabu@endfbox {\kern\fboxsep\egroup\egroup + \@frameb@x\relax} +\def\tabu@color@b@x #1#2{\leavevmode \bgroup + \def\tabu@docolor@b@x{#1{#2\color@block{\wd\z@}{\ht\z@}{\dp\z@}\box\z@}}% + \afterassignment\tabu@begincolor@b@x \setbox\z@ \hbox +}% \tabu@color@b@x +\def\tabu@begincolor@b@x {\kern\fboxsep \bgroup + \aftergroup\tabu@endcolor@b@x \set@color} +\def\tabu@endcolor@b@x {\kern\fboxsep \egroup + \dimen@\ht\z@ \advance\dimen@ \fboxsep \ht\z@ \dimen@ + \dimen@\dp\z@ \advance\dimen@ \fboxsep \dp\z@ \dimen@ + \tabu@docolor@b@x \egroup +}% \tabu@endcolor@b@x +%% Corrections (arydshln, delarray, colortbl) ----------------------- +\def\tabu@fix@arrayright {%% \@arrayright is missing from \endarray + \iftabu@colortbl + \ifdefined\adl@array % + \def\tabu@endarray{% + \adl@endarray \egroup \adl@arrayrestore \CT@end \egroup % + \@arrayright % + \gdef\@preamble{}}% + \else % + \def\tabu@endarray{% + \crcr \egroup \egroup % + \@arrayright % + \gdef\@preamble{}\CT@end}% + \fi + \else + \ifdefined\adl@array % + \def\tabu@endarray{% + \adl@endarray \egroup \adl@arrayrestore \egroup % + \@arrayright % + \gdef\@preamble{}}% + \else % + \PackageWarning{tabu} + {\string\@arrayright\space is missing from the + \MessageBreak definition of \string\endarray. + \MessageBreak Compatibility with delarray.sty is broken.}% + \fi\fi +}% \tabu@fix@arrayright +\def\tabu@adl@xarraydashrule #1#2#3{% + \ifnum\@lastchclass=\adl@class@start\else + \ifnum\@lastchclass=\@ne\else + \ifnum\@lastchclass=5 \else % @-arg (class 5) and !-arg (class 1) + \adl@leftrulefalse \fi\fi % must be treated the same + \fi + \ifadl@zwvrule\else \ifadl@inactive\else + \@addtopreamble{\vrule\@width\arrayrulewidth + \@height\z@ \@depth\z@}\fi \fi + \ifadl@leftrule + \@addtopreamble{\adl@vlineL{\CT@arc@}{\adl@dashgapcolor}% + {\number#1}#3}% + \else \@addtopreamble{\adl@vlineR{\CT@arc@}{\adl@dashgapcolor}% + {\number#2}#3} + \fi +}% \tabu@adl@xarraydashrule +\def\tabu@adl@act@endpbox {% + \unskip \ifhmode \nobreak \fi \@finalstrut \@arstrutbox + \egroup \egroup + \adl@colhtdp \box\adl@box \hfil +}% \tabu@adl@act@endpbox +\def\tabu@adl@fix {% + \let\adl@xarraydashrule \tabu@adl@xarraydashrule % arydshln + \let\adl@act@endpbox \tabu@adl@act@endpbox % arydshln + \let\adl@act@@endpbox \tabu@adl@act@endpbox % arydshln + \let\@preamerror \@preamerr % arydshln +}% \tabu@adl@fix +%% Correction for longtable' \@startbox definition ------------------ +%% => \everypar is ``missing'' : TeX should be in vertical mode +\def\tabu@LT@startpbox #1{% + \bgroup + \let\@footnotetext\LT@p@ftntext + \setlength\hsize{#1}% + \@arrayparboxrestore + \everypar{% + \vrule \@height \ht\@arstrutbox \@width \z@ + \everypar{}}% +}% \tabu@LT@startpbox +%% \tracingtabu and the package options ------------------ +\DeclareOption{delarray}{\AtEndOfPackage{\RequirePackage{delarray}}} +\DeclareOption{linegoal}{% + \AtEndOfPackage{% + \RequirePackage{linegoal}[2010/12/07]% + \let\tabudefaulttarget \linegoal% \linegoal is \linewidth if not pdfTeX +}} +\DeclareOption{scantokens}{\tabuscantokenstrue} +\DeclareOption{debugshow}{\AtEndOfPackage{\tracingtabu=\tw@}} +\def\tracingtabu {\begingroup\@ifnextchar=% + {\afterassignment\tabu@tracing\count@} + {\afterassignment\tabu@tracing\count@1\relax}} +\def\tabu@tracing{\expandafter\endgroup + \expandafter\tabu@tr@cing \the\count@ \relax +}% \tabu@tracing +\def\tabu@tr@cing #1\relax {% + \ifnum#1>\thr@@ \let\tabu@tracinglines\message + \else \let\tabu@tracinglines\@gobble + \fi + \ifnum#1>\tw@ \let\tabu@DBG \tabu@@DBG + \def\tabu@mkarstrut {\tabu@DBG@arstrut}% + \tabustrutrule 1.5\p@ + \else \let\tabu@DBG \@gobble + \def\tabu@mkarstrut {\tabu@arstrut}% + \tabustrutrule \z@ + \fi + \ifnum#1>\@ne \let\tabu@debug \message + \else \let\tabu@debug \@gobble + \fi + \ifnum#1>\z@ + \let\tabu@message \message + \let\tabu@tracing@save \tabu@message@save + \let\tabu@starttimer \tabu@pdftimer + \else + \let\tabu@message \@gobble + \let\tabu@tracing@save \@gobble + \let\tabu@starttimer \relax + \fi +}% \tabu@tr@cing +%% Setup \AtBeginDocument +\AtBeginDocument{\tabu@AtBeginDocument} +\def\tabu@AtBeginDocument{\let\tabu@AtBeginDocument \@undefined + \ifdefined\arrayrulecolor \tabu@colortbltrue % + \tabu@colortblalignments % different glues are used + \else \tabu@colortblfalse \fi + \ifdefined\CT@arc@ \else \let\CT@arc@ \relax \fi + \ifdefined\CT@drsc@\else \let\CT@drsc@ \relax \fi + \let\tabu@arc@L \CT@arc@ \let\tabu@drsc@L \CT@drsc@ + \ifodd 1\ifcsname siunitx_table_collect_begin:Nn\endcsname % + \expandafter\ifx + \csname siunitx_table_collect_begin:Nn\endcsname\relax 0\fi\fi\relax + \tabu@siunitxtrue + \else \let\tabu@maybesiunitx \@firstofone % + \let\tabu@siunitx \tabu@nosiunitx + \tabu@siunitxfalse + \fi + \ifdefined\adl@array % + \else \let\tabu@adl@fix \relax + \let\tabu@adl@endtrial \@empty \fi + \ifdefined\longtable % + \else \let\longtabu \tabu@nolongtabu \fi + \ifdefined\cellspacetoplimit \tabu@warn@cellspace\fi + \csname\ifcsname ifHy@hyperfootnotes\endcsname % + ifHy@hyperfootnotes\else iffalse\fi\endcsname + \let\tabu@footnotetext \tabu@Hy@ftntext + \let\tabu@xfootnote \tabu@Hy@xfootnote \fi + \ifdefined\FV@DefineCheckEnd% + \tabu@fancyvrb \fi + \ifdefined\color % + \let\tabu@color \color + \def\tabu@leavevmodecolor ##1{% + \def\tabu@leavevmodecolor {\leavevmode ##1}% + }\expandafter\tabu@leavevmodecolor\expandafter{\color}% + \else + \let\tabu@color \tabu@nocolor + \let\tabu@leavevmodecolor \@firstofone \fi + \tabu@latextwoe + \ifdefined\@raggedtwoe@everyselectfont % + \tabu@raggedtwoe + \else + \let\tabu@cell@L \tabu@cell@l + \let\tabu@cell@R \tabu@cell@r + \let\tabu@cell@C \tabu@cell@c + \let\tabu@cell@J \tabu@cell@j \fi + \expandafter\in@ \expandafter\@arrayright \expandafter{\endarray}% + \ifin@ \let\tabu@endarray \endarray + \else \tabu@fix@arrayright \fi% + \everyrow{}% +}% \tabu@AtBeginDocument +\def\tabu@warn@cellspace{% + \PackageWarning{tabu}{% + Package cellspace has some limitations + \MessageBreak And redefines some macros of array.sty. + \MessageBreak Please use \string\tabulinesep\space to control + \MessageBreak vertical spacing of lines inside tabu environment}% +}% \tabu@warn@cellspace +%% tabu Package initialisation +\tabuscantokensfalse +\let\tabu@arc@G \relax +\let\tabu@drsc@G \relax +\let\tabu@evr@G \@empty +\let\tabu@rc@G \@empty +\def\tabu@ls@G {\tabu@linestyle@}% +\let\tabu@@rowfontreset \@empty % +\let\tabu@@celllalign \@empty +\let\tabu@@cellralign \@empty +\let\tabu@@cellleft \@empty +\let\tabu@@cellright \@empty +\def\tabu@naturalXmin {\z@} +\def\tabu@naturalXmax {\z@} +\let\tabu@rowfontreset \@empty +\def\tabulineon {4pt}\let\tabulineoff \tabulineon +\tabu@everyrowtrue +\ifdefined\pdfelapsedtime % + \def\tabu@pdftimer {\xdef\tabu@starttime{\the\pdfelapsedtime}}% +\else \let\tabu@pdftimer \relax \let\tabu@message@etime \relax +\fi +\tracingtabu=\z@ +\newtabulinestyle {=\maxdimen}% creates the 'factory' settings \tabu@linestyle@ +\tabulinestyle{} +\taburowcolors{} +\let\tabudefaulttarget \linewidth +\ProcessOptions* % \ProcessOptions* is quicker ! +\endinput +%% +%% End of file `tabu.sty'. -- cgit v1.3.1-26-gb76a