aboutsummaryrefslogtreecommitdiffstats
path: root/doc/latex/classmeow_1_1ObjDictionary.tex
blob: 77a372c498587adf0796a59afaf97022a7048736 (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
\hypertarget{classmeow_1_1ObjDictionary}{\section{meow\-:\-:Obj\-Dictionary$<$ Key, Value $>$ Class Template Reference}
\label{classmeow_1_1ObjDictionary}\index{meow\-::\-Obj\-Dictionary$<$ Key, Value $>$@{meow\-::\-Obj\-Dictionary$<$ Key, Value $>$}}
}


純粹把 {\ttfamily std\-::map} 包起來, 變成繼承自 \hyperlink{classmeow_1_1ObjBase}{Obj\-Base}  




{\ttfamily \#include \char`\"{}Obj\-Dictionary.\-h\char`\"{}}

Inheritance diagram for meow\-:\-:Obj\-Dictionary$<$ Key, Value $>$\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classmeow_1_1ObjDictionary}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classmeow_1_1ObjDictionary_a1055d36aa3d4551def2abd9aa86b7662}{Obj\-Dictionary} ()
\item 
\hyperlink{classmeow_1_1ObjDictionary_ab29251c7ae6e13058912106075ebe161}{Obj\-Dictionary} (\hyperlink{classmeow_1_1ObjDictionary}{Obj\-Dictionary} const \&d)
\item 
\hyperlink{classmeow_1_1ObjDictionary_a59cf39f8704134a64090ecb59fff01aa}{Obj\-Dictionary} (std\-::map$<$ Key, Value $>$ const \&d)
\item 
\hyperlink{classmeow_1_1ObjDictionary_ab8eb8496153b57598e81e089eef89e08}{$\sim$\-Obj\-Dictionary} ()
\item 
\hyperlink{classmeow_1_1ObjDictionary}{Obj\-Dictionary} \& \hyperlink{classmeow_1_1ObjDictionary_a7e50cbeeead963d95d661783ee2a9285}{copy\-From} (\hyperlink{classmeow_1_1ObjDictionary}{Obj\-Dictionary} const \&d)
\item 
\hyperlink{classmeow_1_1ObjDictionary}{Obj\-Dictionary} \& \hyperlink{classmeow_1_1ObjDictionary_ab0a4c64950a5a89012a913202fac027b}{reference\-From} (\hyperlink{classmeow_1_1ObjDictionary}{Obj\-Dictionary} const \&d)
\item 
size\-\_\-t \hyperlink{classmeow_1_1ObjDictionary_a0e265133214bd6b9f0dce6ce6dc6ca23}{size} () const 
\item 
bool \hyperlink{classmeow_1_1ObjDictionary_afedaaaf1ed8b066a43d8e12081f6c878}{empty} () const 
\item 
void \hyperlink{classmeow_1_1ObjDictionary_a081d3cf0d190e6dd02208c1c49653ed7}{clear} ()
\item 
std\-::map$<$ Key, Value $>$\\*
\-::const\-\_\-iterator \hyperlink{classmeow_1_1ObjDictionary_ae5f44ae004be8f10a1c9f5e65eeebc75}{end} () const 
\item 
std\-::map$<$ Key, Value $>$\-::iterator \hyperlink{classmeow_1_1ObjDictionary_aeb8765e90349daee27bcf9e6c2672676}{end} ()
\item 
std\-::map$<$ Key, Value $>$\\*
\-::const\-\_\-iterator \hyperlink{classmeow_1_1ObjDictionary_a1979f646a23bffdd01a9fe52e5a8aca1}{find} (Key const \&k) const 
\item 
std\-::map$<$ Key, Value $>$\-::iterator \hyperlink{classmeow_1_1ObjDictionary_a8f73bbc1d934566dd8a2087b145e3f48}{find} (Key const \&k)
\item 
bool \hyperlink{classmeow_1_1ObjDictionary_ae60f2a947516d6d6f037cc106c00d3be}{exist} (Key const \&k) const 
\item 
void \hyperlink{classmeow_1_1ObjDictionary_a9784fbd0eaab219216abdcba4f326ead}{insert} (Key const \&k, Value const \&v)
\item 
\hyperlink{classmeow_1_1ObjDictionary}{Obj\-Dictionary} \& \hyperlink{classmeow_1_1ObjDictionary_a87b0f4542b07951f207a1c9d3e327c81}{operator=} (\hyperlink{classmeow_1_1ObjDictionary}{Obj\-Dictionary} const \&a)
\item 
Value \& \hyperlink{classmeow_1_1ObjDictionary_ad22d7c7dc4d35417e9657eb88ca0dfbb}{operator\mbox{[}$\,$\mbox{]}} (Key const \&k)
\item 
bool \hyperlink{classmeow_1_1ObjDictionary_a2393452e9533fab679565068545f109c}{write} (F\-I\-L\-E $\ast$f, bool bin, unsigned \hyperlink{classint}{int} fg) const 
\begin{DoxyCompactList}\small\item\em 將物件寫入檔案, 預設implement為直接回傳 {\ttfamily false} \end{DoxyCompactList}\item 
bool \hyperlink{classmeow_1_1ObjDictionary_a0b1bd9fe09676aca74aec34bf5ea7137}{read} (F\-I\-L\-E $\ast$f, bool bin, unsigned \hyperlink{classint}{int} fg)
\begin{DoxyCompactList}\small\item\em 將物件從檔案讀出, 預設implement為直接回傳 {\ttfamily false} \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1ObjBase}{Obj\-Base} $\ast$ \hyperlink{classmeow_1_1ObjDictionary_a14ce0fcedf7619c0b442588e185a7eeb}{create} () const 
\begin{DoxyCompactList}\small\item\em 回傳一個new出來的物件, 預設implement為直接回傳 {\ttfamily N\-U\-L\-L} \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1ObjBase}{Obj\-Base} $\ast$ \hyperlink{classmeow_1_1ObjDictionary_a8f2e32f6eb11904c2547fae0ff9ab3d6}{copy\-From} (\hyperlink{classmeow_1_1ObjBase}{Obj\-Base} const $\ast$b)
\begin{DoxyCompactList}\small\item\em 複製, 預設使用operator= \end{DoxyCompactList}\item 
char const $\ast$ \hyperlink{classmeow_1_1ObjDictionary_aee3a1722f6061987a242b9b33e5fcc64}{ctype} () const 
\begin{DoxyCompactList}\small\item\em 用\-C-\/style string回傳這個class的type name \end{DoxyCompactList}\item 
std\-::string \hyperlink{classmeow_1_1ObjDictionary_af5114823fcc2476aa45a965e4af66d6c}{type} () const 
\begin{DoxyCompactList}\small\item\em 用std\-::string回傳這個class的type name \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
\subsubsection*{template$<$class Key, class Value$>$class meow\-::\-Obj\-Dictionary$<$ Key, Value $>$}

純粹把 {\ttfamily std\-::map} 包起來, 變成繼承自 \hyperlink{classmeow_1_1ObjBase}{Obj\-Base} 

\begin{DoxyAuthor}{Author}
cathook 
\end{DoxyAuthor}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{classmeow_1_1ObjDictionary_a1055d36aa3d4551def2abd9aa86b7662}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!Obj\-Dictionary@{Obj\-Dictionary}}
\index{Obj\-Dictionary@{Obj\-Dictionary}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{Obj\-Dictionary}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::{\bf Obj\-Dictionary} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjDictionary_a1055d36aa3d4551def2abd9aa86b7662}
\hypertarget{classmeow_1_1ObjDictionary_ab29251c7ae6e13058912106075ebe161}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!Obj\-Dictionary@{Obj\-Dictionary}}
\index{Obj\-Dictionary@{Obj\-Dictionary}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{Obj\-Dictionary}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::{\bf Obj\-Dictionary} (
\begin{DoxyParamCaption}
\item[{{\bf Obj\-Dictionary}$<$ Key, Value $>$ const \&}]{d}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjDictionary_ab29251c7ae6e13058912106075ebe161}
\hypertarget{classmeow_1_1ObjDictionary_a59cf39f8704134a64090ecb59fff01aa}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!Obj\-Dictionary@{Obj\-Dictionary}}
\index{Obj\-Dictionary@{Obj\-Dictionary}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{Obj\-Dictionary}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::{\bf Obj\-Dictionary} (
\begin{DoxyParamCaption}
\item[{std\-::map$<$ Key, Value $>$ const \&}]{d}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjDictionary_a59cf39f8704134a64090ecb59fff01aa}
\hypertarget{classmeow_1_1ObjDictionary_ab8eb8496153b57598e81e089eef89e08}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!$\sim$\-Obj\-Dictionary@{$\sim$\-Obj\-Dictionary}}
\index{$\sim$\-Obj\-Dictionary@{$\sim$\-Obj\-Dictionary}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{$\sim$\-Obj\-Dictionary}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::$\sim${\bf Obj\-Dictionary} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjDictionary_ab8eb8496153b57598e81e089eef89e08}


\subsection{Member Function Documentation}
\hypertarget{classmeow_1_1ObjDictionary_a081d3cf0d190e6dd02208c1c49653ed7}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!clear@{clear}}
\index{clear@{clear}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{clear}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ void {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::clear (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjDictionary_a081d3cf0d190e6dd02208c1c49653ed7}
\hypertarget{classmeow_1_1ObjDictionary_a7e50cbeeead963d95d661783ee2a9285}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!copy\-From@{copy\-From}}
\index{copy\-From@{copy\-From}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{copy\-From}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf Obj\-Dictionary}\& {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::copy\-From (
\begin{DoxyParamCaption}
\item[{{\bf Obj\-Dictionary}$<$ Key, Value $>$ const \&}]{d}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjDictionary_a7e50cbeeead963d95d661783ee2a9285}
\hypertarget{classmeow_1_1ObjDictionary_a8f2e32f6eb11904c2547fae0ff9ab3d6}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!copy\-From@{copy\-From}}
\index{copy\-From@{copy\-From}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{copy\-From}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf Obj\-Base}$\ast$ {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::copy\-From (
\begin{DoxyParamCaption}
\item[{{\bf Obj\-Base} const $\ast$}]{b}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classmeow_1_1ObjDictionary_a8f2e32f6eb11904c2547fae0ff9ab3d6}


複製, 預設使用operator= 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em b} & 資料來源 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily this} 
\end{DoxyReturn}


Reimplemented from \hyperlink{classmeow_1_1ObjBase_a79725f50866832762db87184eb528619}{meow\-::\-Obj\-Base}.

\hypertarget{classmeow_1_1ObjDictionary_a14ce0fcedf7619c0b442588e185a7eeb}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!create@{create}}
\index{create@{create}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{create}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf Obj\-Base}$\ast$ {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::create (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classmeow_1_1ObjDictionary_a14ce0fcedf7619c0b442588e185a7eeb}


回傳一個new出來的物件, 預設implement為直接回傳 {\ttfamily N\-U\-L\-L} 



Reimplemented from \hyperlink{classmeow_1_1ObjBase_ac9114e6917bca03b8f3c89694214b57c}{meow\-::\-Obj\-Base}.

\hypertarget{classmeow_1_1ObjDictionary_aee3a1722f6061987a242b9b33e5fcc64}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!ctype@{ctype}}
\index{ctype@{ctype}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{ctype}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ char const$\ast$ {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::ctype (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classmeow_1_1ObjDictionary_aee3a1722f6061987a242b9b33e5fcc64}


用\-C-\/style string回傳這個class的type name 



Reimplemented from \hyperlink{classmeow_1_1ObjBase_a4aae58e8005739abe6d091d8b55a21e8}{meow\-::\-Obj\-Base}.

\hypertarget{classmeow_1_1ObjDictionary_afedaaaf1ed8b066a43d8e12081f6c878}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!empty@{empty}}
\index{empty@{empty}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{empty}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ bool {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::empty (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjDictionary_afedaaaf1ed8b066a43d8e12081f6c878}
\hypertarget{classmeow_1_1ObjDictionary_ae5f44ae004be8f10a1c9f5e65eeebc75}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!end@{end}}
\index{end@{end}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{end}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ std\-::map$<$Key, Value$>$\-::const\-\_\-iterator {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::end (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjDictionary_ae5f44ae004be8f10a1c9f5e65eeebc75}
\hypertarget{classmeow_1_1ObjDictionary_aeb8765e90349daee27bcf9e6c2672676}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!end@{end}}
\index{end@{end}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{end}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ std\-::map$<$Key, Value$>$\-::iterator {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::end (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjDictionary_aeb8765e90349daee27bcf9e6c2672676}
\hypertarget{classmeow_1_1ObjDictionary_ae60f2a947516d6d6f037cc106c00d3be}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!exist@{exist}}
\index{exist@{exist}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{exist}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ bool {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::exist (
\begin{DoxyParamCaption}
\item[{Key const \&}]{k}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjDictionary_ae60f2a947516d6d6f037cc106c00d3be}
\hypertarget{classmeow_1_1ObjDictionary_a1979f646a23bffdd01a9fe52e5a8aca1}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!find@{find}}
\index{find@{find}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{find}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ std\-::map$<$Key, Value$>$\-::const\-\_\-iterator {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::find (
\begin{DoxyParamCaption}
\item[{Key const \&}]{k}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjDictionary_a1979f646a23bffdd01a9fe52e5a8aca1}
\hypertarget{classmeow_1_1ObjDictionary_a8f73bbc1d934566dd8a2087b145e3f48}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!find@{find}}
\index{find@{find}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{find}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ std\-::map$<$Key, Value$>$\-::iterator {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::find (
\begin{DoxyParamCaption}
\item[{Key const \&}]{k}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjDictionary_a8f73bbc1d934566dd8a2087b145e3f48}
\hypertarget{classmeow_1_1ObjDictionary_a9784fbd0eaab219216abdcba4f326ead}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!insert@{insert}}
\index{insert@{insert}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{insert}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ void {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::insert (
\begin{DoxyParamCaption}
\item[{Key const \&}]{k, }
\item[{Value const \&}]{v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjDictionary_a9784fbd0eaab219216abdcba4f326ead}
\hypertarget{classmeow_1_1ObjDictionary_a87b0f4542b07951f207a1c9d3e327c81}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!operator=@{operator=}}
\index{operator=@{operator=}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf Obj\-Dictionary}\& {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::operator= (
\begin{DoxyParamCaption}
\item[{{\bf Obj\-Dictionary}$<$ Key, Value $>$ const \&}]{a}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjDictionary_a87b0f4542b07951f207a1c9d3e327c81}
\hypertarget{classmeow_1_1ObjDictionary_ad22d7c7dc4d35417e9657eb88ca0dfbb}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!operator\mbox{[}$\,$\mbox{]}@{operator[]}}
\index{operator\mbox{[}$\,$\mbox{]}@{operator[]}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{operator[]}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ Value\& {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::operator\mbox{[}$\,$\mbox{]} (
\begin{DoxyParamCaption}
\item[{Key const \&}]{k}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjDictionary_ad22d7c7dc4d35417e9657eb88ca0dfbb}
\hypertarget{classmeow_1_1ObjDictionary_a0b1bd9fe09676aca74aec34bf5ea7137}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!read@{read}}
\index{read@{read}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{read}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ bool {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::read (
\begin{DoxyParamCaption}
\item[{F\-I\-L\-E $\ast$}]{f, }
\item[{bool}]{bin, }
\item[{unsigned {\bf int}}]{fg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classmeow_1_1ObjDictionary_a0b1bd9fe09676aca74aec34bf5ea7137}


將物件從檔案讀出, 預設implement為直接回傳 {\ttfamily false} 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em f} & 檔案 \\
\hline
\mbox{\tt in}  & {\em bin} & 是否為binary模式 \\
\hline
\mbox{\tt in}  & {\em fg} & 使用者自訂的argument \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
成功或失敗 
\end{DoxyReturn}


Reimplemented from \hyperlink{classmeow_1_1ObjBase_a4c1f5cb4b05559197148a8f6524bfc34}{meow\-::\-Obj\-Base}.

\hypertarget{classmeow_1_1ObjDictionary_ab0a4c64950a5a89012a913202fac027b}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!reference\-From@{reference\-From}}
\index{reference\-From@{reference\-From}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{reference\-From}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf Obj\-Dictionary}\& {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::reference\-From (
\begin{DoxyParamCaption}
\item[{{\bf Obj\-Dictionary}$<$ Key, Value $>$ const \&}]{d}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjDictionary_ab0a4c64950a5a89012a913202fac027b}
\hypertarget{classmeow_1_1ObjDictionary_a0e265133214bd6b9f0dce6ce6dc6ca23}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!size@{size}}
\index{size@{size}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{size}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ size\-\_\-t {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::size (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjDictionary_a0e265133214bd6b9f0dce6ce6dc6ca23}
\hypertarget{classmeow_1_1ObjDictionary_af5114823fcc2476aa45a965e4af66d6c}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!type@{type}}
\index{type@{type}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{type}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ std\-::string {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classmeow_1_1ObjDictionary_af5114823fcc2476aa45a965e4af66d6c}


用std\-::string回傳這個class的type name 



Reimplemented from \hyperlink{classmeow_1_1ObjBase_a63a4911bb073281820fe9b7a9908ba72}{meow\-::\-Obj\-Base}.

\hypertarget{classmeow_1_1ObjDictionary_a2393452e9533fab679565068545f109c}{\index{meow\-::\-Obj\-Dictionary@{meow\-::\-Obj\-Dictionary}!write@{write}}
\index{write@{write}!meow::ObjDictionary@{meow\-::\-Obj\-Dictionary}}
\subsubsection[{write}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ bool {\bf meow\-::\-Obj\-Dictionary}$<$ Key, Value $>$\-::write (
\begin{DoxyParamCaption}
\item[{F\-I\-L\-E $\ast$}]{f, }
\item[{bool}]{bin, }
\item[{unsigned {\bf int}}]{fg}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classmeow_1_1ObjDictionary_a2393452e9533fab679565068545f109c}


將物件寫入檔案, 預設implement為直接回傳 {\ttfamily false} 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em f} & 檔案 \\
\hline
\mbox{\tt in}  & {\em bin} & 是否為binary模式 \\
\hline
\mbox{\tt in}  & {\em fg} & 使用者自訂的argument \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
成功或失敗 
\end{DoxyReturn}


Reimplemented from \hyperlink{classmeow_1_1ObjBase_ae9e9e5c664b7a92e54a3616983f39ba8}{meow\-::\-Obj\-Base}.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
meowpp/oo/\hyperlink{ObjDictionary_8h}{Obj\-Dictionary.\-h}\end{DoxyCompactItemize}