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) --- .../Project 2/docs/html/classCell.html | 235 +++++++++++++++++++++ 1 file changed, 235 insertions(+) create mode 100644 Year 1/Object-oriented Programming/Project 2/docs/html/classCell.html (limited to 'Year 1/Object-oriented Programming/Project 2/docs/html/classCell.html') diff --git a/Year 1/Object-oriented Programming/Project 2/docs/html/classCell.html b/Year 1/Object-oriented Programming/Project 2/docs/html/classCell.html new file mode 100644 index 0000000..ec1af0b --- /dev/null +++ b/Year 1/Object-oriented Programming/Project 2/docs/html/classCell.html @@ -0,0 +1,235 @@ + + + + + + + +FMI Table: Cell Class Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Table +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 2 | Project Topic 7 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
Cell Class Referenceabstract
+
+
+ +

Fully abstract class that represents a cell in the table. + More...

+ +

#include <Cell.h>

+
+Inheritance diagram for Cell:
+
+
+ + +CellDouble +CellFormula +CellInt +CellString + +
+ + + + + + + + + + + + + + +

+Public Member Functions

virtual double getNumeralValue () const =0
 Returns the value of the cell as a double-precision floating point number. More...
 
virtual String getValueForPrint () const =0
 Returns the value of the cell as a String. More...
 
virtual void parseAndSetValue (const char *str)=0
 Parses given C-style string and stores value. More...
 
virtual void writeToFile (std::ofstream &file)=0
 Writes value to a text file. More...
 
+

Detailed Description

+

Fully abstract class that represents a cell in the table.

+

Member Function Documentation

+ +

◆ getNumeralValue()

+ +
+
+ + + + + +
+ + + + + + + +
virtual double Cell::getNumeralValue () const
+
+pure virtual
+
+ +

Returns the value of the cell as a double-precision floating point number.

+ +

Implemented in CellDouble, CellFormula, CellInt, and CellString.

+ +
+
+ +

◆ getValueForPrint()

+ +
+
+ + + + + +
+ + + + + + + +
virtual String Cell::getValueForPrint () const
+
+pure virtual
+
+ +

Returns the value of the cell as a String.

+ +

Implemented in CellDouble, CellFormula, CellInt, and CellString.

+ +
+
+ +

◆ parseAndSetValue()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void Cell::parseAndSetValue (const char * str)
+
+pure virtual
+
+ +

Parses given C-style string and stores value.

+ +

Implemented in CellDouble, CellFormula, CellInt, and CellString.

+ +
+
+ +

◆ writeToFile()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void Cell::writeToFile (std::ofstream & file)
+
+pure virtual
+
+ +

Writes value to a text file.

+ +

Implemented in CellDouble, CellFormula, CellInt, and CellString.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + -- cgit v1.3.1-23-gd82d