aboutsummaryrefslogtreecommitdiffstats
path: root/doc/latex/classmeow_1_1HashTableList.tex
blob: 7ba3ad0d0b8895216cbc33b0491d00327d500216 (plain) (blame)
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
\hypertarget{classmeow_1_1HashTableList}{\section{meow\-:\-:Hash\-Table\-List$<$ Data, Hash\-Func $>$ Class Template Reference}
\label{classmeow_1_1HashTableList}\index{meow\-::\-Hash\-Table\-List$<$ Data, Hash\-Func $>$@{meow\-::\-Hash\-Table\-List$<$ Data, Hash\-Func $>$}}
}


一個當key相撞時會用list解決的hash\-\_\-table  




{\ttfamily \#include \char`\"{}Hash\-Table.\-h\char`\"{}}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classmeow_1_1HashTableList_a327ccf67321d9b5061dbe01c287bd7e3}{Hash\-Table\-List} ()
\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1HashTableList_a0ac878f202fd1aba101df32a481e177c}{Hash\-Table\-List} (size\-\_\-t \hyperlink{classmeow_1_1HashTableList_af8d49492c5f35bb18706e9fb72d18157}{size}, Hash\-Func const \&\hyperlink{classmeow_1_1HashTableList_aaf4154c2534c861455149261c0194f00}{func})
\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1HashTableList_ad460ece4097203d379e95c835a10d79d}{$\sim$\-Hash\-Table\-List} ()
\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1HashTableList}{Hash\-Table\-List} \& \hyperlink{classmeow_1_1HashTableList_a3d769d64e448f0bdbe52514e06b73f54}{copy\-From} (\hyperlink{classmeow_1_1HashTableList}{Hash\-Table\-List} const \&b)
\begin{DoxyCompactList}\small\item\em copy \end{DoxyCompactList}\item 
void \hyperlink{classmeow_1_1HashTableList_a79da4ec6056713e2993e367aac2e6220}{clear} ()
\begin{DoxyCompactList}\small\item\em 清除資料 \end{DoxyCompactList}\item 
void \hyperlink{classmeow_1_1HashTableList_ac7417270658997ef1cb33221fba8d6e8}{reset} (size\-\_\-t \hyperlink{classmeow_1_1HashTableList_af8d49492c5f35bb18706e9fb72d18157}{size}, Hash\-Func const \&\hyperlink{classmeow_1_1HashTableList_aaf4154c2534c861455149261c0194f00}{func})
\begin{DoxyCompactList}\small\item\em 清除資料, 指定新的size與hash function \end{DoxyCompactList}\item 
size\-\_\-t \hyperlink{classmeow_1_1HashTableList_a2f72023134f79ce5c7e889779a20762e}{table\-Size} () const 
\begin{DoxyCompactList}\small\item\em 回傳table size \end{DoxyCompactList}\item 
size\-\_\-t \hyperlink{classmeow_1_1HashTableList_af8d49492c5f35bb18706e9fb72d18157}{size} () const 
\begin{DoxyCompactList}\small\item\em 回傳目前有多少element在其中 \end{DoxyCompactList}\item 
Hash\-Func const \& \hyperlink{classmeow_1_1HashTableList_aaf4154c2534c861455149261c0194f00}{func} () const 
\begin{DoxyCompactList}\small\item\em 回傳hash function \end{DoxyCompactList}\item 
bool \hyperlink{classmeow_1_1HashTableList_a6d7a0c3ac05a355cc9e1c60856ebd781}{add} (Data const \&e)
\begin{DoxyCompactList}\small\item\em 加入新的element \end{DoxyCompactList}\item 
bool \hyperlink{classmeow_1_1HashTableList_a490a3325017696441fdc4ab8db517871}{add} (\hyperlink{classmeow_1_1HashTableList}{Hash\-Table\-List} const \&h)
\begin{DoxyCompactList}\small\item\em 把給定的\-Hash\-Table\-List中所有的element全加進來 \end{DoxyCompactList}\item 
bool \hyperlink{classmeow_1_1HashTableList_a63cc363a99ee99024a32133cf0331325}{del} (Data const \&e)
\begin{DoxyCompactList}\small\item\em 刪除element \end{DoxyCompactList}\item 
bool \hyperlink{classmeow_1_1HashTableList_a25fa6ad234486128f2b0357bfabf5206}{del} (\hyperlink{classmeow_1_1HashTableList}{Hash\-Table\-List} const \&h)
\begin{DoxyCompactList}\small\item\em 刪除有出現在給定的的\-Hash\-Table\-List中的element \end{DoxyCompactList}\item 
bool \hyperlink{classmeow_1_1HashTableList_a65227191dccd021a0802810ffe007040}{exist} (Data const \&e) const 
\begin{DoxyCompactList}\small\item\em 查看某element是否已經擁有 \end{DoxyCompactList}\item 
std\-::vector$<$ Data $>$ \hyperlink{classmeow_1_1HashTableList_a2cdacf0bac46df21b852c3cb91cd44c3}{all} () const 
\begin{DoxyCompactList}\small\item\em 回傳所有存下來的資料 \end{DoxyCompactList}\item 
std\-::vector$<$ Data $>$ \hyperlink{classmeow_1_1HashTableList_af3ac22fd18ce14878e881331883397b8}{all} (size\-\_\-t index) const 
\begin{DoxyCompactList}\small\item\em 回傳所有存下來且key為index的資料 \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1HashTableList}{Hash\-Table\-List} \& \hyperlink{classmeow_1_1HashTableList_a9f9493e2044df374ac9e650303fdf212}{operator=} (\hyperlink{classmeow_1_1HashTableList}{Hash\-Table\-List} const \&h)
\begin{DoxyCompactList}\small\item\em same as {\ttfamily copy\-From(h)} \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1HashTableList}{Hash\-Table\-List} \& \hyperlink{classmeow_1_1HashTableList_a7bef8d0510d33a06507881a872c62156}{operator+=} (\hyperlink{classmeow_1_1HashTableList}{Hash\-Table\-List} const \&h)
\begin{DoxyCompactList}\small\item\em same as {\ttfamily add(h)} \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1HashTableList}{Hash\-Table\-List} \& \hyperlink{classmeow_1_1HashTableList_a3c3e1ad9bf9993ded4a6904f07abb920}{operator-\/=} (\hyperlink{classmeow_1_1HashTableList}{Hash\-Table\-List} const \&h)
\begin{DoxyCompactList}\small\item\em same as {\ttfamily del(h)} \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class Data, class Hash\-Func$>$class meow\-::\-Hash\-Table\-List$<$ Data, Hash\-Func $>$}

一個當key相撞時會用list解決的hash\-\_\-table 

\begin{DoxyAuthor}{Author}
cat\-\_\-leopard 
\end{DoxyAuthor}


Definition at line 15 of file Hash\-Table.\-h.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{classmeow_1_1HashTableList_a327ccf67321d9b5061dbe01c287bd7e3}{\index{meow\-::\-Hash\-Table\-List@{meow\-::\-Hash\-Table\-List}!Hash\-Table\-List@{Hash\-Table\-List}}
\index{Hash\-Table\-List@{Hash\-Table\-List}!meow::HashTableList@{meow\-::\-Hash\-Table\-List}}
\subsubsection[{Hash\-Table\-List}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Data , class Hash\-Func $>$ {\bf meow\-::\-Hash\-Table\-List}$<$ Data, Hash\-Func $>$\-::{\bf Hash\-Table\-List} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1HashTableList_a327ccf67321d9b5061dbe01c287bd7e3}


constructor 



Definition at line 23 of file Hash\-Table.\-h.

\hypertarget{classmeow_1_1HashTableList_a0ac878f202fd1aba101df32a481e177c}{\index{meow\-::\-Hash\-Table\-List@{meow\-::\-Hash\-Table\-List}!Hash\-Table\-List@{Hash\-Table\-List}}
\index{Hash\-Table\-List@{Hash\-Table\-List}!meow::HashTableList@{meow\-::\-Hash\-Table\-List}}
\subsubsection[{Hash\-Table\-List}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Data , class Hash\-Func $>$ {\bf meow\-::\-Hash\-Table\-List}$<$ Data, Hash\-Func $>$\-::{\bf Hash\-Table\-List} (
\begin{DoxyParamCaption}
\item[{size\-\_\-t}]{size, }
\item[{Hash\-Func const \&}]{func}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1HashTableList_a0ac878f202fd1aba101df32a481e177c}


constructor 

設定table size, hash function 

Definition at line 31 of file Hash\-Table.\-h.

\hypertarget{classmeow_1_1HashTableList_ad460ece4097203d379e95c835a10d79d}{\index{meow\-::\-Hash\-Table\-List@{meow\-::\-Hash\-Table\-List}!$\sim$\-Hash\-Table\-List@{$\sim$\-Hash\-Table\-List}}
\index{$\sim$\-Hash\-Table\-List@{$\sim$\-Hash\-Table\-List}!meow::HashTableList@{meow\-::\-Hash\-Table\-List}}
\subsubsection[{$\sim$\-Hash\-Table\-List}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Data , class Hash\-Func $>$ {\bf meow\-::\-Hash\-Table\-List}$<$ Data, Hash\-Func $>$\-::$\sim${\bf Hash\-Table\-List} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1HashTableList_ad460ece4097203d379e95c835a10d79d}


destructor 



Definition at line 37 of file Hash\-Table.\-h.



\subsection{Member Function Documentation}
\hypertarget{classmeow_1_1HashTableList_a6d7a0c3ac05a355cc9e1c60856ebd781}{\index{meow\-::\-Hash\-Table\-List@{meow\-::\-Hash\-Table\-List}!add@{add}}
\index{add@{add}!meow::HashTableList@{meow\-::\-Hash\-Table\-List}}
\subsubsection[{add}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Data , class Hash\-Func $>$ bool {\bf meow\-::\-Hash\-Table\-List}$<$ Data, Hash\-Func $>$\-::add (
\begin{DoxyParamCaption}
\item[{Data const \&}]{e}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1HashTableList_a6d7a0c3ac05a355cc9e1c60856ebd781}


加入新的element 



Definition at line 95 of file Hash\-Table.\-h.

\hypertarget{classmeow_1_1HashTableList_a490a3325017696441fdc4ab8db517871}{\index{meow\-::\-Hash\-Table\-List@{meow\-::\-Hash\-Table\-List}!add@{add}}
\index{add@{add}!meow::HashTableList@{meow\-::\-Hash\-Table\-List}}
\subsubsection[{add}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Data , class Hash\-Func $>$ bool {\bf meow\-::\-Hash\-Table\-List}$<$ Data, Hash\-Func $>$\-::add (
\begin{DoxyParamCaption}
\item[{{\bf Hash\-Table\-List}$<$ Data, Hash\-Func $>$ const \&}]{h}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1HashTableList_a490a3325017696441fdc4ab8db517871}


把給定的\-Hash\-Table\-List中所有的element全加進來 



Definition at line 104 of file Hash\-Table.\-h.

\hypertarget{classmeow_1_1HashTableList_a2cdacf0bac46df21b852c3cb91cd44c3}{\index{meow\-::\-Hash\-Table\-List@{meow\-::\-Hash\-Table\-List}!all@{all}}
\index{all@{all}!meow::HashTableList@{meow\-::\-Hash\-Table\-List}}
\subsubsection[{all}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Data , class Hash\-Func $>$ std\-::vector$<$Data$>$ {\bf meow\-::\-Hash\-Table\-List}$<$ Data, Hash\-Func $>$\-::all (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1HashTableList_a2cdacf0bac46df21b852c3cb91cd44c3}


回傳所有存下來的資料 



Definition at line 173 of file Hash\-Table.\-h.

\hypertarget{classmeow_1_1HashTableList_af3ac22fd18ce14878e881331883397b8}{\index{meow\-::\-Hash\-Table\-List@{meow\-::\-Hash\-Table\-List}!all@{all}}
\index{all@{all}!meow::HashTableList@{meow\-::\-Hash\-Table\-List}}
\subsubsection[{all}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Data , class Hash\-Func $>$ std\-::vector$<$Data$>$ {\bf meow\-::\-Hash\-Table\-List}$<$ Data, Hash\-Func $>$\-::all (
\begin{DoxyParamCaption}
\item[{size\-\_\-t}]{index}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1HashTableList_af3ac22fd18ce14878e881331883397b8}


回傳所有存下來且key為index的資料 



Definition at line 187 of file Hash\-Table.\-h.

\hypertarget{classmeow_1_1HashTableList_a79da4ec6056713e2993e367aac2e6220}{\index{meow\-::\-Hash\-Table\-List@{meow\-::\-Hash\-Table\-List}!clear@{clear}}
\index{clear@{clear}!meow::HashTableList@{meow\-::\-Hash\-Table\-List}}
\subsubsection[{clear}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Data , class Hash\-Func $>$ void {\bf meow\-::\-Hash\-Table\-List}$<$ Data, Hash\-Func $>$\-::clear (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1HashTableList_a79da4ec6056713e2993e367aac2e6220}


清除資料 



Definition at line 52 of file Hash\-Table.\-h.

\hypertarget{classmeow_1_1HashTableList_a3d769d64e448f0bdbe52514e06b73f54}{\index{meow\-::\-Hash\-Table\-List@{meow\-::\-Hash\-Table\-List}!copy\-From@{copy\-From}}
\index{copy\-From@{copy\-From}!meow::HashTableList@{meow\-::\-Hash\-Table\-List}}
\subsubsection[{copy\-From}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Data , class Hash\-Func $>$ {\bf Hash\-Table\-List}\& {\bf meow\-::\-Hash\-Table\-List}$<$ Data, Hash\-Func $>$\-::copy\-From (
\begin{DoxyParamCaption}
\item[{{\bf Hash\-Table\-List}$<$ Data, Hash\-Func $>$ const \&}]{b}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1HashTableList_a3d769d64e448f0bdbe52514e06b73f54}


copy 



Definition at line 43 of file Hash\-Table.\-h.

\hypertarget{classmeow_1_1HashTableList_a63cc363a99ee99024a32133cf0331325}{\index{meow\-::\-Hash\-Table\-List@{meow\-::\-Hash\-Table\-List}!del@{del}}
\index{del@{del}!meow::HashTableList@{meow\-::\-Hash\-Table\-List}}
\subsubsection[{del}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Data , class Hash\-Func $>$ bool {\bf meow\-::\-Hash\-Table\-List}$<$ Data, Hash\-Func $>$\-::del (
\begin{DoxyParamCaption}
\item[{Data const \&}]{e}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1HashTableList_a63cc363a99ee99024a32133cf0331325}


刪除element 



Definition at line 117 of file Hash\-Table.\-h.

\hypertarget{classmeow_1_1HashTableList_a25fa6ad234486128f2b0357bfabf5206}{\index{meow\-::\-Hash\-Table\-List@{meow\-::\-Hash\-Table\-List}!del@{del}}
\index{del@{del}!meow::HashTableList@{meow\-::\-Hash\-Table\-List}}
\subsubsection[{del}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Data , class Hash\-Func $>$ bool {\bf meow\-::\-Hash\-Table\-List}$<$ Data, Hash\-Func $>$\-::del (
\begin{DoxyParamCaption}
\item[{{\bf Hash\-Table\-List}$<$ Data, Hash\-Func $>$ const \&}]{h}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1HashTableList_a25fa6ad234486128f2b0357bfabf5206}


刪除有出現在給定的的\-Hash\-Table\-List中的element 



Definition at line 132 of file Hash\-Table.\-h.

\hypertarget{classmeow_1_1HashTableList_a65227191dccd021a0802810ffe007040}{\index{meow\-::\-Hash\-Table\-List@{meow\-::\-Hash\-Table\-List}!exist@{exist}}
\index{exist@{exist}!meow::HashTableList@{meow\-::\-Hash\-Table\-List}}
\subsubsection[{exist}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Data , class Hash\-Func $>$ bool {\bf meow\-::\-Hash\-Table\-List}$<$ Data, Hash\-Func $>$\-::exist (
\begin{DoxyParamCaption}
\item[{Data const \&}]{e}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1HashTableList_a65227191dccd021a0802810ffe007040}


查看某element是否已經擁有 



Definition at line 160 of file Hash\-Table.\-h.

\hypertarget{classmeow_1_1HashTableList_aaf4154c2534c861455149261c0194f00}{\index{meow\-::\-Hash\-Table\-List@{meow\-::\-Hash\-Table\-List}!func@{func}}
\index{func@{func}!meow::HashTableList@{meow\-::\-Hash\-Table\-List}}
\subsubsection[{func}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Data , class Hash\-Func $>$ Hash\-Func const\& {\bf meow\-::\-Hash\-Table\-List}$<$ Data, Hash\-Func $>$\-::func (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1HashTableList_aaf4154c2534c861455149261c0194f00}


回傳hash function 



Definition at line 88 of file Hash\-Table.\-h.

\hypertarget{classmeow_1_1HashTableList_a7bef8d0510d33a06507881a872c62156}{\index{meow\-::\-Hash\-Table\-List@{meow\-::\-Hash\-Table\-List}!operator+=@{operator+=}}
\index{operator+=@{operator+=}!meow::HashTableList@{meow\-::\-Hash\-Table\-List}}
\subsubsection[{operator+=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Data , class Hash\-Func $>$ {\bf Hash\-Table\-List}\& {\bf meow\-::\-Hash\-Table\-List}$<$ Data, Hash\-Func $>$\-::operator+= (
\begin{DoxyParamCaption}
\item[{{\bf Hash\-Table\-List}$<$ Data, Hash\-Func $>$ const \&}]{h}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1HashTableList_a7bef8d0510d33a06507881a872c62156}


same as {\ttfamily add(h)} 



Definition at line 203 of file Hash\-Table.\-h.

\hypertarget{classmeow_1_1HashTableList_a3c3e1ad9bf9993ded4a6904f07abb920}{\index{meow\-::\-Hash\-Table\-List@{meow\-::\-Hash\-Table\-List}!operator-\/=@{operator-\/=}}
\index{operator-\/=@{operator-\/=}!meow::HashTableList@{meow\-::\-Hash\-Table\-List}}
\subsubsection[{operator-\/=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Data , class Hash\-Func $>$ {\bf Hash\-Table\-List}\& {\bf meow\-::\-Hash\-Table\-List}$<$ Data, Hash\-Func $>$\-::operator-\/= (
\begin{DoxyParamCaption}
\item[{{\bf Hash\-Table\-List}$<$ Data, Hash\-Func $>$ const \&}]{h}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1HashTableList_a3c3e1ad9bf9993ded4a6904f07abb920}


same as {\ttfamily del(h)} 



Definition at line 209 of file Hash\-Table.\-h.

\hypertarget{classmeow_1_1HashTableList_a9f9493e2044df374ac9e650303fdf212}{\index{meow\-::\-Hash\-Table\-List@{meow\-::\-Hash\-Table\-List}!operator=@{operator=}}
\index{operator=@{operator=}!meow::HashTableList@{meow\-::\-Hash\-Table\-List}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Data , class Hash\-Func $>$ {\bf Hash\-Table\-List}\& {\bf meow\-::\-Hash\-Table\-List}$<$ Data, Hash\-Func $>$\-::operator= (
\begin{DoxyParamCaption}
\item[{{\bf Hash\-Table\-List}$<$ Data, Hash\-Func $>$ const \&}]{h}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1HashTableList_a9f9493e2044df374ac9e650303fdf212}


same as {\ttfamily copy\-From(h)} 



Definition at line 198 of file Hash\-Table.\-h.

\hypertarget{classmeow_1_1HashTableList_ac7417270658997ef1cb33221fba8d6e8}{\index{meow\-::\-Hash\-Table\-List@{meow\-::\-Hash\-Table\-List}!reset@{reset}}
\index{reset@{reset}!meow::HashTableList@{meow\-::\-Hash\-Table\-List}}
\subsubsection[{reset}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Data , class Hash\-Func $>$ void {\bf meow\-::\-Hash\-Table\-List}$<$ Data, Hash\-Func $>$\-::reset (
\begin{DoxyParamCaption}
\item[{size\-\_\-t}]{size, }
\item[{Hash\-Func const \&}]{func}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1HashTableList_ac7417270658997ef1cb33221fba8d6e8}


清除資料, 指定新的size與hash function 



Definition at line 61 of file Hash\-Table.\-h.

\hypertarget{classmeow_1_1HashTableList_af8d49492c5f35bb18706e9fb72d18157}{\index{meow\-::\-Hash\-Table\-List@{meow\-::\-Hash\-Table\-List}!size@{size}}
\index{size@{size}!meow::HashTableList@{meow\-::\-Hash\-Table\-List}}
\subsubsection[{size}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Data , class Hash\-Func $>$ size\-\_\-t {\bf meow\-::\-Hash\-Table\-List}$<$ Data, Hash\-Func $>$\-::size (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1HashTableList_af8d49492c5f35bb18706e9fb72d18157}


回傳目前有多少element在其中 



Definition at line 77 of file Hash\-Table.\-h.

\hypertarget{classmeow_1_1HashTableList_a2f72023134f79ce5c7e889779a20762e}{\index{meow\-::\-Hash\-Table\-List@{meow\-::\-Hash\-Table\-List}!table\-Size@{table\-Size}}
\index{table\-Size@{table\-Size}!meow::HashTableList@{meow\-::\-Hash\-Table\-List}}
\subsubsection[{table\-Size}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Data , class Hash\-Func $>$ size\-\_\-t {\bf meow\-::\-Hash\-Table\-List}$<$ Data, Hash\-Func $>$\-::table\-Size (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1HashTableList_a2f72023134f79ce5c7e889779a20762e}


回傳table size 



Definition at line 70 of file Hash\-Table.\-h.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
meowpp/dsa/\hyperlink{HashTable_8h}{Hash\-Table.\-h}\end{DoxyCompactItemize}