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/FMI-OOP-P1_TicketSystem Overview.svg | 571 ------------------------------ 1 file changed, 571 deletions(-) delete mode 100644 docs/FMI-OOP-P1_TicketSystem Overview.svg (limited to 'docs/FMI-OOP-P1_TicketSystem Overview.svg') 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 -- cgit v1.3.1-26-gb76a