From c5431e4d321dbf0152e6826841c1ef5c1291ba5b Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 14 Jun 2022 15:38:50 +0300 Subject: Added files from project 2 (mirror) --- .../docs/images/FMI-OOP-P2_Table Overview.svg | 403 +++++++++++++++++++++ 1 file changed, 403 insertions(+) create mode 100644 Year 1/Object-oriented Programming/Project 2/docs/images/FMI-OOP-P2_Table Overview.svg (limited to 'Year 1/Object-oriented Programming/Project 2/docs/images') diff --git a/Year 1/Object-oriented Programming/Project 2/docs/images/FMI-OOP-P2_Table Overview.svg b/Year 1/Object-oriented Programming/Project 2/docs/images/FMI-OOP-P2_Table Overview.svg new file mode 100644 index 0000000..89459ee --- /dev/null +++ b/Year 1/Object-oriented Programming/Project 2/docs/images/FMI-OOP-P2_Table Overview.svg @@ -0,0 +1,403 @@ + + FMI-OOP-P2_Table Overview + #title: FMI-OOP-P2_Table 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 + + [<groupui> User Interface| + [ConsoleUI.cpp| + run() + > open + > close + > save + > saveas + > help + > exit + -- + > print + > edit + ] + ] + + [<groupm> Models| + [Table| + List<List<Cell>> cells + ] + [Table]--[Cell] + + [<abstract>Cell| + String getValueForPrint() = 0 + setValue(char*) = 0 + openFromFile(char*) = 0 + saveToFile(char*) = 0 + ] + + [CellString| + ] + [Cell]<:--[CellString] + + [CellInt| + ] + [Cell]<:--[CellInt] + + [CellDouble| + ] + [Cell]<:--[CellDouble] + + [CellFormula| + List<Cell*> referencedCells + ] + [Cell]<:--[CellFormula] + ] + [User Interface]<--[Models] + + [<groupgc> Generic Classes| + [List<T>| + add(elem) + insertAt(elem, index) + removeAt(index) + findIndex(elem); + contain(elem); + operator\[\](index) + ] + + [String| + char* str + unsigned length + unsigned count + ] + [List<T>]-/-[String] + + [Command| + String name + void (*exec)() + ] + + [Menu| + List<Command> commands + navigate() + ] + [Menu]-->[Command] + ] + [<hidden>H1]-/-[Generic Classes] + + + + + + + + + + + + + + + + + + + User Interface + + + + + + + + + + + + + + ConsoleUI.cpp + + + + + + run() + > open + > close + > save + > saveas + > help + > exit + -- + > print + > edit + + + + + + + + + + + + + + + + Models + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Table + + + + + + List<List<Cell>> cells + + + + + + + + + + + + Cell + + + + + + String getValueForPrint() = 0 + setValue(char*) = 0 + openFromFile(char*) = 0 + saveToFile(char*) = 0 + + + + + + + + + + + + CellString + + + + + + + + + + + + + + + + + CellInt + + + + + + + + + + + + + + + + + CellDouble + + + + + + + + + + + + + + + + + CellFormula + + + + + + List<Cell*> referencedCells + + + + + + + + + + + + + + + + Generic Classes + + + + + + + + + + + + + + + + + + List<T> + + + + + + add(elem) + insertAt(elem, index) + removeAt(index) + findIndex(elem) + contain(elem) + operator[](index) + + + + + + + + + + + + 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-23-gd82d