Website Summary Files Commits Branches @commit @diff @stats
path: root / docs / latex / Table_8h_source.tex
diff options
context:
space:
mode:
Commitfb004677196801b89ac13eb5537847a85dc8bb14 (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-06-14 15:21:30 +0300
Committer
 Syndamia <kamen@syndamia.com>
2022-06-14 15:21:30 +0300
Files8fca5e9f908b4841a6af09a5a45b8b4147d6e491 /docs/latex/Table_8h_source.tex
FMI-OOP-P2_Tables-fb004677196801b89ac13eb5537847a85dc8bb14.tar
FMI-OOP-P2_Tables-fb004677196801b89ac13eb5537847a85dc8bb14.tar.gz
FMI-OOP-P2_Tables-fb004677196801b89ac13eb5537847a85dc8bb14.zip
Parent69e02405f9afea835e2d39d761ea04cb6f830d9f (diff)
Added documentation
1 files changed, 32 insertions, 0 deletions
-rw-r--r--docs/latex/Table_8h_source.tex32
diff --git a/docs/latex/Table_8h_source.tex b/docs/latex/Table_8h_source.tex
new file mode 100644
index 0000000..80dc50d
--- /dev/null
+++ b/docs/latex/Table_8h_source.tex
@@ -0,0 +1,32 @@
+\hypertarget{Table_8h_source}{}\doxysection{Table.\+h}
+\label{Table_8h_source}\index{src/Models/Table.h@{src/Models/Table.h}}
+\mbox{\hyperlink{Table_8h}{Go to the documentation of this file.}}
+\begin{DoxyCode}{0}
+\DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef MODELS\_TABLE}}
+\DoxyCodeLine{2 \textcolor{preprocessor}{\#define MODELS\_TABLE}}
+\DoxyCodeLine{3 }
+\DoxyCodeLine{8 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{Cell_8h}{Cell.h}}"{}}}
+\DoxyCodeLine{9 \textcolor{preprocessor}{\#include "{}../Generic/List/List.hpp"{}}}
+\DoxyCodeLine{10 \textcolor{preprocessor}{\#include <fstream>}}
+\DoxyCodeLine{11 }
+\DoxyCodeLine{14 \textcolor{keyword}{class }\mbox{\hyperlink{classTable}{Table}} \{}
+\DoxyCodeLine{15 \mbox{\hyperlink{classList}{List<List<Cell*>}}> cells;}
+\DoxyCodeLine{16 \textcolor{keywordtype}{unsigned} longestRow;}
+\DoxyCodeLine{17 \textcolor{keywordtype}{void} readFromFile(std::ifstream\& inFile);}
+\DoxyCodeLine{18 }
+\DoxyCodeLine{19 \textcolor{keyword}{public}:}
+\DoxyCodeLine{20 \mbox{\hyperlink{classTable}{Table}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* filePath);}
+\DoxyCodeLine{21 \mbox{\hyperlink{classTable}{\string~Table}}();}
+\DoxyCodeLine{22 }
+\DoxyCodeLine{24 \textcolor{keywordtype}{unsigned} \mbox{\hyperlink{classTable_a8d2cec43247d091c9b2eb82fadc1a40b}{get\_rows}}() \textcolor{keyword}{const};}
+\DoxyCodeLine{26 \textcolor{keywordtype}{unsigned} \mbox{\hyperlink{classTable_af6dce3e4e7be8c073cef6b1a6876d41d}{get\_cols}}() \textcolor{keyword}{const};}
+\DoxyCodeLine{27 }
+\DoxyCodeLine{29 \textcolor{keywordtype}{void} \mbox{\hyperlink{classTable_a83388586d16c5b42029298b72ed698a5}{putCell}}(\textcolor{keywordtype}{unsigned} row, \textcolor{keywordtype}{unsigned} col, \textcolor{keyword}{const} \textcolor{keywordtype}{char}* rawValue);}
+\DoxyCodeLine{30 }
+\DoxyCodeLine{32 \mbox{\hyperlink{classList}{List<String>}} \mbox{\hyperlink{classTable_a654a6b6617a91dc96dde9038220967d8}{getAllCells}}() \textcolor{keyword}{const};}
+\DoxyCodeLine{34 \textcolor{keywordtype}{void} \mbox{\hyperlink{classTable_a8a29a5f941369c8b61c56b4d6507a9fa}{saveToFile}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* filePath) \textcolor{keyword}{const};}
+\DoxyCodeLine{35 \};}
+\DoxyCodeLine{36 }
+\DoxyCodeLine{37 \textcolor{preprocessor}{\#endif}}
+
+\end{DoxyCode}