JetCore/latex/____mysql_8h_source.tex
2025-11-07 10:22:40 -08:00

44 lines
2.7 KiB
TeX

\doxysection{\+\_\+\+\_\+mysql.\+h}
\hypertarget{____mysql_8h_source}{}\label{____mysql_8h_source}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#ifndef\ \_\_\_\_mysql\_h\_\_}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#define\ \_\_\_\_mysql\_h\_\_}}
\DoxyCodeLine{00003\ }
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#include\ "{}Tag.h"{}}}
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ "{}ZString.h"{}}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#include\ "{}MString.h"{}}}
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#include\ <sstream>}}
\DoxyCodeLine{00008\ \textcolor{preprocessor}{\#include\ <mysql/mysql.h>}}
\DoxyCodeLine{00009\ }
\DoxyCodeLine{00010\ \textcolor{keyword}{namespace\ }jet\ \{}
\DoxyCodeLine{00011\ }
\DoxyCodeLine{00012\ \ \ \ \textcolor{keyword}{class\ }\mbox{\hyperlink{classjet_1_1____mysql}{\_\_mysql}}\ :\ \textcolor{keyword}{public}\ \mbox{\hyperlink{classjet_1_1Tag}{Tag}}\ \{}
\DoxyCodeLine{00013\ }
\DoxyCodeLine{00014\ \ \ \ \ \textcolor{keyword}{public}:}
\DoxyCodeLine{00015\ \ \ \ \ \ \ \mbox{\hyperlink{classjet_1_1____mysql}{\_\_mysql}}(coreutils::ZString\ \&in,\ coreutils::MString\ \&parentOut,\ \mbox{\hyperlink{classjet_1_1Global}{Global}}\ \&global,\ \mbox{\hyperlink{classjet_1_1Tag}{Tag}}\ *parent,\ \mbox{\hyperlink{classjet_1_1Tag}{Tag}}\ *local);}
\DoxyCodeLine{00016\ \ \ \ \ \ \ \mbox{\hyperlink{classjet_1_1____mysql}{\string~\_\_mysql}}();}
\DoxyCodeLine{00017\ }
\DoxyCodeLine{00018\ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ query(coreutils::MString\ query);}
\DoxyCodeLine{00019\ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ nextRow();}
\DoxyCodeLine{00020\ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ hasRow();}
\DoxyCodeLine{00021\ \ \ \ \ \ \ coreutils::ZString\ getColumnValue(coreutils::ZString\ column);}
\DoxyCodeLine{00022\ \ \ \ \ \ \ }
\DoxyCodeLine{00023\ \ \ \ \ \textcolor{keyword}{private}:}
\DoxyCodeLine{00024\ \ \ \ \ \ \ MYSQL\ *mysql;}
\DoxyCodeLine{00025\ \ \ \ \ \ \ MYSQL\_RES\ *result;}
\DoxyCodeLine{00026\ \ \ \ \ \ \ MYSQL\_ROW\ row;}
\DoxyCodeLine{00027\ \ \ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{long}\ *fieldLength;}
\DoxyCodeLine{00028\ \ \ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ qFields;}
\DoxyCodeLine{00029\ \ \ \ \ \ \ coreutils::MString\ sessionId;}
\DoxyCodeLine{00030\ }
\DoxyCodeLine{00031\ \ \ \ \ \ \ coreutils::MString\ nbrOfRows\ =\ \textcolor{stringliteral}{"{}0"{}};}
\DoxyCodeLine{00032\ \ \ \ \ \ \ coreutils::MString\ nbrOfColumns\ =\ \textcolor{stringliteral}{"{}0"{}};}
\DoxyCodeLine{00033\ \ \ \ \ \ \ }
\DoxyCodeLine{00034\ \ \ \ \};}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00036\ \}}
\DoxyCodeLine{00037\ }
\DoxyCodeLine{00038\ \textcolor{preprocessor}{\#endif}}
\end{DoxyCode}