summaryrefslogtreecommitdiff
path: root/docs/doxygen/latex/xbtblmgr_8h_source.tex
blob: 4e43990a0de9de7cbd07dfdedc2b450ac4f0f361 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
\hypertarget{xbtblmgr_8h_source}{}\doxysection{xbtblmgr.\+h}
\label{xbtblmgr_8h_source}\index{/mnt/1Tdata/xbase/xbase64-\/4.0.2/src/include/xbtblmgr.h@{/mnt/1Tdata/xbase/xbase64-\/4.0.2/src/include/xbtblmgr.h}}
\mbox{\hyperlink{xbtblmgr_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{comment}{/*  xbtblmgr.h}}
\DoxyCodeLine{2 \textcolor{comment}{}}
\DoxyCodeLine{3 \textcolor{comment}{XBase64 Software Library}}
\DoxyCodeLine{4 \textcolor{comment}{}}
\DoxyCodeLine{5 \textcolor{comment}{Copyright (c) 1997,2003,2014,2022 Gary A Kunkel}}
\DoxyCodeLine{6 \textcolor{comment}{}}
\DoxyCodeLine{7 \textcolor{comment}{The xb64 software library is covered under the terms of the GPL Version 3, 2007 license.}}
\DoxyCodeLine{8 \textcolor{comment}{}}
\DoxyCodeLine{9 \textcolor{comment}{Email Contact:}}
\DoxyCodeLine{10 \textcolor{comment}{}}
\DoxyCodeLine{11 \textcolor{comment}{    XDB-\/devel@lists.sourceforge.net}}
\DoxyCodeLine{12 \textcolor{comment}{    XDB-\/users@lists.sourceforge.net}}
\DoxyCodeLine{13 \textcolor{comment}{}}
\DoxyCodeLine{14 \textcolor{comment}{This class manages a list of open tables, open indices are connected to the open tables}}
\DoxyCodeLine{15 \textcolor{comment}{}}
\DoxyCodeLine{16 \textcolor{comment}{*/}}
\DoxyCodeLine{17 }
\DoxyCodeLine{18 }
\DoxyCodeLine{19 \textcolor{preprocessor}{\#ifndef \_\_XB\_XBMGR\_H\_\_}}
\DoxyCodeLine{20 \textcolor{preprocessor}{\#define \_\_XB\_XBMGR\_H\_\_}}
\DoxyCodeLine{21 }
\DoxyCodeLine{22 \textcolor{preprocessor}{\#ifdef  CMAKE\_COMPILER\_IS\_GNUCC}}
\DoxyCodeLine{23 \textcolor{preprocessor}{\#pragma interface}}
\DoxyCodeLine{24 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{25 }
\DoxyCodeLine{26 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespacexb}{xb}}\{}
\DoxyCodeLine{27 }
\DoxyCodeLine{28 \textcolor{keyword}{class }XBDLLEXPORT \mbox{\hyperlink{classxb_1_1xbDbf}{xbDbf}};}
\DoxyCodeLine{29 }
\DoxyCodeLine{30 \textcolor{comment}{/* this structure is a linked list of open tables */}}
\DoxyCodeLine{31 \textcolor{keyword}{struct }XBDLLEXPORT \mbox{\hyperlink{structxb_1_1xbTblList}{xbTblList}}\{}
\DoxyCodeLine{32   \mbox{\hyperlink{structxb_1_1xbTblList}{xbTblList}} *\mbox{\hyperlink{structxb_1_1xbTblList_a3fd169fcf0fd4df927544e5342db583c}{pNext}};}
\DoxyCodeLine{33   \mbox{\hyperlink{classxb_1_1xbString}{xbString}}  *\mbox{\hyperlink{structxb_1_1xbTblList_a02c3b0c47fd104ef9758b375ecdcfd0f}{psTblName}};            \textcolor{comment}{/* Name of table -\/ same table can be opened multiple times, but must have unique alias */}}
\DoxyCodeLine{34   \mbox{\hyperlink{classxb_1_1xbString}{xbString}}  *\mbox{\hyperlink{structxb_1_1xbTblList_ac87742c8a6b1cf2e7e35218e96966a05}{psTblAlias}};           \textcolor{comment}{/* TblAliasName must be unique */}}
\DoxyCodeLine{35   \mbox{\hyperlink{classxb_1_1xbDbf}{xbDbf}}     *\mbox{\hyperlink{structxb_1_1xbTblList_a387d3f6bbf291a1fb96d276ed9bb96b6}{pDbf}};}
\DoxyCodeLine{36 \};}
\DoxyCodeLine{37 }
\DoxyCodeLine{38 \textcolor{keyword}{class }XBDLLEXPORT \mbox{\hyperlink{classxb_1_1xbTblMgr}{xbTblMgr}} : \textcolor{keyword}{public} \mbox{\hyperlink{classxb_1_1xbSsv}{xbSsv}} \{}
\DoxyCodeLine{39  \textcolor{keyword}{public}:}
\DoxyCodeLine{40   \mbox{\hyperlink{classxb_1_1xbTblMgr}{xbTblMgr}}();}
\DoxyCodeLine{41   \mbox{\hyperlink{classxb_1_1xbTblMgr}{\string~xbTblMgr}}();}
\DoxyCodeLine{42   xbInt16    AddTblToTblList        ( \mbox{\hyperlink{classxb_1_1xbDbf}{xbDbf}} *d, \textcolor{keyword}{const} \mbox{\hyperlink{classxb_1_1xbString}{xbString}} \&sTblName );}
\DoxyCodeLine{43   xbInt16    AddTblToTblList        ( \mbox{\hyperlink{classxb_1_1xbDbf}{xbDbf}} *d, \textcolor{keyword}{const} \mbox{\hyperlink{classxb_1_1xbString}{xbString}} \&sTblName, \textcolor{keyword}{const} \mbox{\hyperlink{classxb_1_1xbString}{xbString}} \&sTblAlias );}
\DoxyCodeLine{44   xbInt16    DisplayTableList       () \textcolor{keyword}{const};}
\DoxyCodeLine{45   \mbox{\hyperlink{classxb_1_1xbDbf}{xbDbf}} *    GetDbfPtr              ( \textcolor{keyword}{const} \mbox{\hyperlink{classxb_1_1xbString}{xbString}} \&sTblAlias ) \textcolor{keyword}{const};}
\DoxyCodeLine{46   \mbox{\hyperlink{classxb_1_1xbDbf}{xbDbf}} *    GetDbfPtr              ( xbInt16 sItemNo ) \textcolor{keyword}{const};}
\DoxyCodeLine{47   xbInt16    GetOpenTableCount      () \textcolor{keyword}{const};}
\DoxyCodeLine{48   xbInt16    RemoveTblFromTblList   ( \textcolor{keyword}{const} \mbox{\hyperlink{classxb_1_1xbString}{xbString}} \&sTblAlias );}
\DoxyCodeLine{49   xbInt16    RemoveTblFromTblList   ( \mbox{\hyperlink{classxb_1_1xbDbf}{xbDbf}} *d );}
\DoxyCodeLine{50 }
\DoxyCodeLine{51  \textcolor{keyword}{protected}:}
\DoxyCodeLine{52 }
\DoxyCodeLine{53  \textcolor{keyword}{private}:}
\DoxyCodeLine{54   \mbox{\hyperlink{structxb_1_1xbTblList}{xbTblList}}  * TblList;          \textcolor{comment}{// List of open database tables}}
\DoxyCodeLine{55   xbInt16    iOpenTableCount;    \textcolor{comment}{// Number of open tables}}
\DoxyCodeLine{56 }
\DoxyCodeLine{57 \};}
\DoxyCodeLine{58 }
\DoxyCodeLine{59 \}        \textcolor{comment}{/* namespace xb   */}}
\DoxyCodeLine{60 }
\DoxyCodeLine{61 \textcolor{preprocessor}{\#endif   }\textcolor{comment}{/* \_\_XB\_XBMGR\_H\_\_ */}\textcolor{preprocessor}{}}

\end{DoxyCode}