Website Summary Files Commits Branches @commit @diff @stats
path: root / docs / latex / String_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/String_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, 50 insertions, 0 deletions
-rw-r--r--docs/latex/String_8h_source.tex50
diff --git a/docs/latex/String_8h_source.tex b/docs/latex/String_8h_source.tex
new file mode 100644
index 0000000..29f932c
--- /dev/null
+++ b/docs/latex/String_8h_source.tex
@@ -0,0 +1,50 @@
+\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 <istream>}}
+\DoxyCodeLine{9 \textcolor{preprocessor}{\#include <ostream>}}
+\DoxyCodeLine{10 }
+\DoxyCodeLine{11 \textcolor{preprocessor}{\#define DOUBLE\_PRECISION 100}}
+\DoxyCodeLine{12 }
+\DoxyCodeLine{17 \textcolor{keyword}{class }\mbox{\hyperlink{classString}{String}} \{}
+\DoxyCodeLine{18 \textcolor{keywordtype}{char}* str;}
+\DoxyCodeLine{19 \textcolor{keywordtype}{unsigned} length;}
+\DoxyCodeLine{20 }
+\DoxyCodeLine{21 \textcolor{keywordtype}{void} free();}
+\DoxyCodeLine{22 \textcolor{keywordtype}{void} copyFrom(\textcolor{keyword}{const} \mbox{\hyperlink{classString}{String}}\& other);}
+\DoxyCodeLine{23 }
+\DoxyCodeLine{24 \textcolor{keyword}{public}:}
+\DoxyCodeLine{26 \mbox{\hyperlink{classString}{String}}(\textcolor{keywordtype}{unsigned} length);}
+\DoxyCodeLine{28 \mbox{\hyperlink{classString}{String}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* str);}
+\DoxyCodeLine{30 \textcolor{keyword}{const} \textcolor{keywordtype}{char}* \mbox{\hyperlink{classString_a3d7f953737f3d4dca72d1cc4836f7dcc}{get\_cstr}}() \textcolor{keyword}{const};}
+\DoxyCodeLine{32 \textcolor{keywordtype}{unsigned} \mbox{\hyperlink{classString_a7793a7e9a7601d4c724dcc85566259bf}{get\_length}}() \textcolor{keyword}{const};}
+\DoxyCodeLine{34 \textcolor{keywordtype}{char}\& \mbox{\hyperlink{classString_a5d3b77a51619a8580a373d2cd1092a54}{operator[]}}(\textcolor{keywordtype}{unsigned} index);}
+\DoxyCodeLine{35 }
+\DoxyCodeLine{37 \mbox{\hyperlink{classString}{String}}\& \mbox{\hyperlink{classString_a64de9ab1af5df9397f8fbd8c79d5f4b6}{operator+=}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char}* str);}
+\DoxyCodeLine{39 \mbox{\hyperlink{classString}{String}}\& \mbox{\hyperlink{classString_a64de9ab1af5df9397f8fbd8c79d5f4b6}{operator+=}}(\textcolor{keywordtype}{int} number);}
+\DoxyCodeLine{41 \mbox{\hyperlink{classString}{String}}\& \mbox{\hyperlink{classString_a64de9ab1af5df9397f8fbd8c79d5f4b6}{operator+=}}(\textcolor{keywordtype}{unsigned} number);}
+\DoxyCodeLine{43 \mbox{\hyperlink{classString}{String}}\& \mbox{\hyperlink{classString_a64de9ab1af5df9397f8fbd8c79d5f4b6}{operator+=}}(\textcolor{keywordtype}{double} number);}
+\DoxyCodeLine{44 }
+\DoxyCodeLine{45 \mbox{\hyperlink{classString}{String}}();}
+\DoxyCodeLine{46 \mbox{\hyperlink{classString}{String}}(\textcolor{keyword}{const} \mbox{\hyperlink{classString}{String}}\& other);}
+\DoxyCodeLine{47 \mbox{\hyperlink{classString}{String}}\& operator=(\textcolor{keyword}{const} \mbox{\hyperlink{classString}{String}}\& other);}
+\DoxyCodeLine{48 \mbox{\hyperlink{classString}{\string~String}}();}
+\DoxyCodeLine{49 }
+\DoxyCodeLine{50 \mbox{\hyperlink{classString}{String}}(\mbox{\hyperlink{classString}{String}}\&\& other);}
+\DoxyCodeLine{51 \mbox{\hyperlink{classString}{String}}\& operator=(\mbox{\hyperlink{classString}{String}}\&\& other);}
+\DoxyCodeLine{52 }
+\DoxyCodeLine{54 \textcolor{keywordtype}{void} \mbox{\hyperlink{classString_ad76bb9eca15651c67332808cdaad6344}{read}}(std::istream\& istr);}
+\DoxyCodeLine{56 \textcolor{keywordtype}{void} \mbox{\hyperlink{classString_a7b0ea809587c21bc1d2b87bfee53e628}{write}}(std::ostream\& ostr) \textcolor{keyword}{const};}
+\DoxyCodeLine{58 \textcolor{keywordtype}{int} \mbox{\hyperlink{classString_a3f420d69fbe3de91711dc69148d23cc7}{compare}}(\textcolor{keyword}{const} \mbox{\hyperlink{classString}{String}}\& other) \textcolor{keyword}{const};}
+\DoxyCodeLine{59 }
+\DoxyCodeLine{61 \textcolor{keyword}{friend} std::istream\& \mbox{\hyperlink{classString_a145347940875a9da605f74c2138be157}{operator>>}}(std::istream\& istr, \mbox{\hyperlink{classString}{String}}\& str);}
+\DoxyCodeLine{63 \textcolor{keyword}{friend} std::ostream\& \mbox{\hyperlink{classString_aaf68eeb5ffc0983ecc68d49085e33102}{operator<<}}(std::ostream\& ostr, \textcolor{keyword}{const} \mbox{\hyperlink{classString}{String}}\& str);}
+\DoxyCodeLine{64 \};}
+\DoxyCodeLine{65 }
+\DoxyCodeLine{66 \textcolor{preprocessor}{\#endif}}
+
+\end{DoxyCode}