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
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
|
\hypertarget{classmeow_1_1Usage}{\section{meow\-:\-:Usage Class Reference}
\label{classmeow_1_1Usage}\index{meow\-::\-Usage@{meow\-::\-Usage}}
}
管理參數設置, 自訂usage document, 分析argc, argv
{\ttfamily \#include \char`\"{}Usage.\-h\char`\"{}}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\hyperlink{classmeow_1_1Usage_a5bcc22c9e69258c22462c1cb4e5b5400}{Usage} ()
\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item
\hyperlink{classmeow_1_1Usage_a93bca4e2025f46bac3fbfdc36d8ab649}{Usage} (String const \&name)
\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item
\hyperlink{classmeow_1_1Usage_a20c74babb6cc473dd3abe2a31bbe32db}{Usage} (\hyperlink{classmeow_1_1Usage}{Usage} const \&\hyperlink{classmeow_1_1Usage_a974e116cde6295ed08d836b08e0c1e99}{usage})
\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item
bool \hyperlink{classmeow_1_1Usage_ad7db9a4197d9b281c47df0800ed63df0}{import} (\hyperlink{classmeow_1_1Usage}{Usage} const \&\hyperlink{classmeow_1_1Usage_a974e116cde6295ed08d836b08e0c1e99}{usage})
\begin{DoxyCompactList}\small\item\em 將另一個usage的設置匯入 \end{DoxyCompactList}\item
bool \hyperlink{classmeow_1_1Usage_ac09c339c31d602eca40df02c582d5241}{update} (\hyperlink{classmeow_1_1Usage}{Usage} const \&\hyperlink{classmeow_1_1Usage_a974e116cde6295ed08d836b08e0c1e99}{usage})
\begin{DoxyCompactList}\small\item\em 將另一個usage的選項設置加進來 \end{DoxyCompactList}\item
bool \hyperlink{classmeow_1_1Usage_a1fbd15f59f3fdbe5e817d540505d6d6c}{option\-Add} (unsigned char opt, String const \&des)
\begin{DoxyCompactList}\small\item\em 新增一個沒有額外選項的選項 \end{DoxyCompactList}\item
bool \hyperlink{classmeow_1_1Usage_af5a6f3dc4d2250dce3bd74d3de48714d}{option\-Add} (unsigned char opt, String const \&des, String const \&val\-\_\-type, String const \&val\-\_\-default, bool must)
\begin{DoxyCompactList}\small\item\em 新增一個有額外選項的選項 \end{DoxyCompactList}\item
bool \hyperlink{classmeow_1_1Usage_a71ba10481062ed7088187cf27d7e0399}{option\-Value\-Accept\-Add} (unsigned char opt, String const \&val, String const \&des)
\begin{DoxyCompactList}\small\item\em 針對-\/(opt)新增一個可接受的額外選項 \end{DoxyCompactList}\item
bool \hyperlink{classmeow_1_1Usage_a095271836eecf23940608c0eafcff841}{has\-Option\-Setup} (unsigned char opt) const
\begin{DoxyCompactList}\small\item\em 回傳是否有設定此選項 \end{DoxyCompactList}\item
size\-\_\-t \hyperlink{classmeow_1_1Usage_acf478b89a1208024f9f37f1fe04add0d}{option\-Values\-Size} (unsigned char opt) const
\begin{DoxyCompactList}\small\item\em 回傳參數 {\bfseries -\/}(opt) 被設置幾次 \end{DoxyCompactList}\item
String \hyperlink{classmeow_1_1Usage_a79dc9b39f0fa7c810e1c8cee29e2adac}{option\-Value} (unsigned char opt, size\-\_\-t index) const
\begin{DoxyCompactList}\small\item\em 回傳參數 {\bfseries -\/}(opt) 的第 {\bfseries index} 個額外選項 \end{DoxyCompactList}\item
size\-\_\-t \hyperlink{classmeow_1_1Usage_aef05aaef7ba6433b2f4c5f313f9c0752}{proc\-Args\-Size} () const
\begin{DoxyCompactList}\small\item\em 取得有幾個process arguments \end{DoxyCompactList}\item
String \hyperlink{classmeow_1_1Usage_a503b7e13dd79597020805b58d3d81d9d}{proc\-Arg} (size\-\_\-t index) const
\begin{DoxyCompactList}\small\item\em 取得第i個process argument \end{DoxyCompactList}\item
Strings const \& \hyperlink{classmeow_1_1Usage_aa6a254158f9681e984424c2852fb20ee}{proc\-Args} () const
\begin{DoxyCompactList}\small\item\em 取得process arguments array \end{DoxyCompactList}\item
void \hyperlink{classmeow_1_1Usage_a05f4b23ce224661dbc7f308da4cb2709}{usage\-Begin\-Add} (String const \&des)
\begin{DoxyCompactList}\small\item\em 新增一段usage document於每個選項逐條說明之前 \end{DoxyCompactList}\item
void \hyperlink{classmeow_1_1Usage_a4ee38098e5abdb6932a32c13a30f584d}{usage\-End\-Add} (String const \&des)
\begin{DoxyCompactList}\small\item\em 新增一段usage document於每個選項逐條說明之後 \end{DoxyCompactList}\item
String \hyperlink{classmeow_1_1Usage_a974e116cde6295ed08d836b08e0c1e99}{usage} () const
\begin{DoxyCompactList}\small\item\em 回傳usage string \end{DoxyCompactList}\item
bool \hyperlink{classmeow_1_1Usage_a9c22701e09fec8e206118a95d7a082d1}{arguments} (\hyperlink{classint}{int} argc, char $\ast$$\ast$argv, String $\ast$errmsg)
\begin{DoxyCompactList}\small\item\em 給定argc, argv, 將各參數設置 \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection{Detailed Description}
管理參數設置, 自訂usage document, 分析argc, argv
{\bfseries \hyperlink{classmeow_1_1Usage}{Usage}} 是用來分析argc, argv和輸出usage document的class. \par
argc, argv的部份, 有以下規則
\begin{DoxyItemize}
\item {\bfseries -\/c} 其中 {\itshape c} 可以代換成一個字符, 這種選像可能是 {\bfseries 有設置} 或 {\bfseries 沒設置}
\item {\bfseries -\/c} {\itshape value} 附加一個 {\itshape value} , 這種選項可以是 {\bfseries 選擇性} 或 {\bfseries 必要的} , 另外可以給定value的預設值以及哪些value是可接受
\item {\itshape value} 其他, 一律視為 {\bfseries process} {\bfseries arguments}
\end{DoxyItemize}
\begin{DoxyAuthor}{Author}
cathook
\end{DoxyAuthor}
\subsection{Constructor \& Destructor Documentation}
\hypertarget{classmeow_1_1Usage_a5bcc22c9e69258c22462c1cb4e5b5400}{\index{meow\-::\-Usage@{meow\-::\-Usage}!Usage@{Usage}}
\index{Usage@{Usage}!meow::Usage@{meow\-::\-Usage}}
\subsubsection[{Usage}]{\setlength{\rightskip}{0pt plus 5cm}meow\-::\-Usage\-::\-Usage (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Usage_a5bcc22c9e69258c22462c1cb4e5b5400}
constructor
所有說明文字中 {\itshape $<$name$>$} 都會被代換成空字串 \hypertarget{classmeow_1_1Usage_a93bca4e2025f46bac3fbfdc36d8ab649}{\index{meow\-::\-Usage@{meow\-::\-Usage}!Usage@{Usage}}
\index{Usage@{Usage}!meow::Usage@{meow\-::\-Usage}}
\subsubsection[{Usage}]{\setlength{\rightskip}{0pt plus 5cm}meow\-::\-Usage\-::\-Usage (
\begin{DoxyParamCaption}
\item[{String const \&}]{name}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Usage_a93bca4e2025f46bac3fbfdc36d8ab649}
constructor
所有說明文字中 {\itshape \char`\"{}$<$name$>$\char`\"{}} 都會被代換成空字串 {\bfseries name} \hypertarget{classmeow_1_1Usage_a20c74babb6cc473dd3abe2a31bbe32db}{\index{meow\-::\-Usage@{meow\-::\-Usage}!Usage@{Usage}}
\index{Usage@{Usage}!meow::Usage@{meow\-::\-Usage}}
\subsubsection[{Usage}]{\setlength{\rightskip}{0pt plus 5cm}meow\-::\-Usage\-::\-Usage (
\begin{DoxyParamCaption}
\item[{{\bf Usage} const \&}]{usage}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Usage_a20c74babb6cc473dd3abe2a31bbe32db}
constructor
將另一個usage原封不動的複製過來
\subsection{Member Function Documentation}
\hypertarget{classmeow_1_1Usage_a9c22701e09fec8e206118a95d7a082d1}{\index{meow\-::\-Usage@{meow\-::\-Usage}!arguments@{arguments}}
\index{arguments@{arguments}!meow::Usage@{meow\-::\-Usage}}
\subsubsection[{arguments}]{\setlength{\rightskip}{0pt plus 5cm}bool meow\-::\-Usage\-::arguments (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{argc, }
\item[{char $\ast$$\ast$}]{argv, }
\item[{String $\ast$}]{errmsg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Usage_a9c22701e09fec8e206118a95d7a082d1}
給定argc, argv, 將各參數設置
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in} & {\em argc,argv} & \\
\hline
\mbox{\tt out} & {\em errmsg} & 將錯誤訊息寫到這裡 (若給定\-N\-U\-L\-L pointer, 則會把錯誤訊息忽略) \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true/false} {\bfseries 成功與否} (否的話代表有錯誤的設定值在其中)
\end{DoxyReturn}
\hypertarget{classmeow_1_1Usage_a095271836eecf23940608c0eafcff841}{\index{meow\-::\-Usage@{meow\-::\-Usage}!has\-Option\-Setup@{has\-Option\-Setup}}
\index{has\-Option\-Setup@{has\-Option\-Setup}!meow::Usage@{meow\-::\-Usage}}
\subsubsection[{has\-Option\-Setup}]{\setlength{\rightskip}{0pt plus 5cm}bool meow\-::\-Usage\-::has\-Option\-Setup (
\begin{DoxyParamCaption}
\item[{unsigned char}]{opt}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Usage_a095271836eecf23940608c0eafcff841}
回傳是否有設定此選項
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in} & {\em opt} & 指定字符 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true/false} 表 {\bfseries 是否有設定此選項}
\end{DoxyReturn}
\hypertarget{classmeow_1_1Usage_ad7db9a4197d9b281c47df0800ed63df0}{\index{meow\-::\-Usage@{meow\-::\-Usage}!import@{import}}
\index{import@{import}!meow::Usage@{meow\-::\-Usage}}
\subsubsection[{import}]{\setlength{\rightskip}{0pt plus 5cm}bool meow\-::\-Usage\-::import (
\begin{DoxyParamCaption}
\item[{{\bf Usage} const \&}]{usage}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Usage_ad7db9a4197d9b281c47df0800ed63df0}
將另一個usage的設置匯入
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in} & {\em usage} & 另一個usage \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true/false} 表示 {\bfseries 是否成功}
\end{DoxyReturn}
\hypertarget{classmeow_1_1Usage_a1fbd15f59f3fdbe5e817d540505d6d6c}{\index{meow\-::\-Usage@{meow\-::\-Usage}!option\-Add@{option\-Add}}
\index{option\-Add@{option\-Add}!meow::Usage@{meow\-::\-Usage}}
\subsubsection[{option\-Add}]{\setlength{\rightskip}{0pt plus 5cm}bool meow\-::\-Usage\-::option\-Add (
\begin{DoxyParamCaption}
\item[{unsigned char}]{opt, }
\item[{String const \&}]{des}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Usage_a1fbd15f59f3fdbe5e817d540505d6d6c}
新增一個沒有額外選項的選項
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in} & {\em opt} & 指定字符 \\
\hline
\mbox{\tt in} & {\em des} & 即description, 用來解釋這個選項的意義用的 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true/false} 表 {\bfseries 是否成功}
\end{DoxyReturn}
\hypertarget{classmeow_1_1Usage_af5a6f3dc4d2250dce3bd74d3de48714d}{\index{meow\-::\-Usage@{meow\-::\-Usage}!option\-Add@{option\-Add}}
\index{option\-Add@{option\-Add}!meow::Usage@{meow\-::\-Usage}}
\subsubsection[{option\-Add}]{\setlength{\rightskip}{0pt plus 5cm}bool meow\-::\-Usage\-::option\-Add (
\begin{DoxyParamCaption}
\item[{unsigned char}]{opt, }
\item[{String const \&}]{des, }
\item[{String const \&}]{val\-\_\-type, }
\item[{String const \&}]{val\-\_\-default, }
\item[{bool}]{must}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Usage_af5a6f3dc4d2250dce3bd74d3de48714d}
新增一個有額外選項的選項
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in} & {\em opt} & 指定字符 \\
\hline
\mbox{\tt in} & {\em des} & 即description, 用來解釋這個選項的意義用的 \\
\hline
\mbox{\tt in} & {\em val\-\_\-type} & 表示額外選項的型態, 寫在\-U\-S\-A\-G\-E裡面給人看用的 \\
\hline
\mbox{\tt in} & {\em val\-\_\-default} & 預設值, 若為空字串則當作沒有預設值 \\
\hline
\mbox{\tt in} & {\em must} & 表示是否一定要設定 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true/false} 表 {\bfseries 是否成功}
\end{DoxyReturn}
\hypertarget{classmeow_1_1Usage_a79dc9b39f0fa7c810e1c8cee29e2adac}{\index{meow\-::\-Usage@{meow\-::\-Usage}!option\-Value@{option\-Value}}
\index{option\-Value@{option\-Value}!meow::Usage@{meow\-::\-Usage}}
\subsubsection[{option\-Value}]{\setlength{\rightskip}{0pt plus 5cm}String meow\-::\-Usage\-::option\-Value (
\begin{DoxyParamCaption}
\item[{unsigned char}]{opt, }
\item[{size\-\_\-t}]{index}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Usage_a79dc9b39f0fa7c810e1c8cee29e2adac}
回傳參數 {\bfseries -\/}(opt) 的第 {\bfseries index} 個額外選項
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in} & {\em opt} & 指定字符 \\
\hline
\mbox{\tt in} & {\em index} & 第幾個 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
回傳參數 {\bfseries -\/}(opt) 的第 {\bfseries index} 個額外選項
\end{DoxyReturn}
\hypertarget{classmeow_1_1Usage_a71ba10481062ed7088187cf27d7e0399}{\index{meow\-::\-Usage@{meow\-::\-Usage}!option\-Value\-Accept\-Add@{option\-Value\-Accept\-Add}}
\index{option\-Value\-Accept\-Add@{option\-Value\-Accept\-Add}!meow::Usage@{meow\-::\-Usage}}
\subsubsection[{option\-Value\-Accept\-Add}]{\setlength{\rightskip}{0pt plus 5cm}bool meow\-::\-Usage\-::option\-Value\-Accept\-Add (
\begin{DoxyParamCaption}
\item[{unsigned char}]{opt, }
\item[{String const \&}]{val, }
\item[{String const \&}]{des}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Usage_a71ba10481062ed7088187cf27d7e0399}
針對-\/(opt)新增一個可接受的額外選項
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in} & {\em opt} & 指定字符 \\
\hline
\mbox{\tt in} & {\em val} & 額外選項 \\
\hline
\mbox{\tt in} & {\em des} & 關於此額外選項的說明 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true/false} 表 {\bfseries 是否成功}
\end{DoxyReturn}
\hypertarget{classmeow_1_1Usage_acf478b89a1208024f9f37f1fe04add0d}{\index{meow\-::\-Usage@{meow\-::\-Usage}!option\-Values\-Size@{option\-Values\-Size}}
\index{option\-Values\-Size@{option\-Values\-Size}!meow::Usage@{meow\-::\-Usage}}
\subsubsection[{option\-Values\-Size}]{\setlength{\rightskip}{0pt plus 5cm}size\-\_\-t meow\-::\-Usage\-::option\-Values\-Size (
\begin{DoxyParamCaption}
\item[{unsigned char}]{opt}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Usage_acf478b89a1208024f9f37f1fe04add0d}
回傳參數 {\bfseries -\/}(opt) 被設置幾次
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in} & {\em opt} & 指定字符 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
回傳次數
\end{DoxyReturn}
\hypertarget{classmeow_1_1Usage_a503b7e13dd79597020805b58d3d81d9d}{\index{meow\-::\-Usage@{meow\-::\-Usage}!proc\-Arg@{proc\-Arg}}
\index{proc\-Arg@{proc\-Arg}!meow::Usage@{meow\-::\-Usage}}
\subsubsection[{proc\-Arg}]{\setlength{\rightskip}{0pt plus 5cm}String meow\-::\-Usage\-::proc\-Arg (
\begin{DoxyParamCaption}
\item[{size\-\_\-t}]{index}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Usage_a503b7e13dd79597020805b58d3d81d9d}
取得第i個process argument
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in} & {\em index} & 第幾個 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
回傳第 {\itshape index} 個 {\bfseries process} {\bfseries argument}
\end{DoxyReturn}
\hypertarget{classmeow_1_1Usage_aa6a254158f9681e984424c2852fb20ee}{\index{meow\-::\-Usage@{meow\-::\-Usage}!proc\-Args@{proc\-Args}}
\index{proc\-Args@{proc\-Args}!meow::Usage@{meow\-::\-Usage}}
\subsubsection[{proc\-Args}]{\setlength{\rightskip}{0pt plus 5cm}Strings const\& meow\-::\-Usage\-::proc\-Args (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Usage_aa6a254158f9681e984424c2852fb20ee}
取得process arguments array
\begin{DoxyReturn}{Returns}
一個 {\ttfamily std\-::vector} , 包含所有 {\bfseries Process} {\bfseries arguments}
\end{DoxyReturn}
\hypertarget{classmeow_1_1Usage_aef05aaef7ba6433b2f4c5f313f9c0752}{\index{meow\-::\-Usage@{meow\-::\-Usage}!proc\-Args\-Size@{proc\-Args\-Size}}
\index{proc\-Args\-Size@{proc\-Args\-Size}!meow::Usage@{meow\-::\-Usage}}
\subsubsection[{proc\-Args\-Size}]{\setlength{\rightskip}{0pt plus 5cm}size\-\_\-t meow\-::\-Usage\-::proc\-Args\-Size (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Usage_aef05aaef7ba6433b2f4c5f313f9c0752}
取得有幾個process arguments
\begin{DoxyReturn}{Returns}
有幾個process arguments
\end{DoxyReturn}
\hypertarget{classmeow_1_1Usage_ac09c339c31d602eca40df02c582d5241}{\index{meow\-::\-Usage@{meow\-::\-Usage}!update@{update}}
\index{update@{update}!meow::Usage@{meow\-::\-Usage}}
\subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}bool meow\-::\-Usage\-::update (
\begin{DoxyParamCaption}
\item[{{\bf Usage} const \&}]{usage}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Usage_ac09c339c31d602eca40df02c582d5241}
將另一個usage的選項設置加進來
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in} & {\em usage} & 另一個usage \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true/false} 表 {\bfseries 是否成功}
\end{DoxyReturn}
\hypertarget{classmeow_1_1Usage_a974e116cde6295ed08d836b08e0c1e99}{\index{meow\-::\-Usage@{meow\-::\-Usage}!usage@{usage}}
\index{usage@{usage}!meow::Usage@{meow\-::\-Usage}}
\subsubsection[{usage}]{\setlength{\rightskip}{0pt plus 5cm}String meow\-::\-Usage\-::usage (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Usage_a974e116cde6295ed08d836b08e0c1e99}
回傳usage string
\begin{DoxyReturn}{Returns}
{\bfseries usage} {\bfseries string}
\end{DoxyReturn}
\hypertarget{classmeow_1_1Usage_a05f4b23ce224661dbc7f308da4cb2709}{\index{meow\-::\-Usage@{meow\-::\-Usage}!usage\-Begin\-Add@{usage\-Begin\-Add}}
\index{usage\-Begin\-Add@{usage\-Begin\-Add}!meow::Usage@{meow\-::\-Usage}}
\subsubsection[{usage\-Begin\-Add}]{\setlength{\rightskip}{0pt plus 5cm}void meow\-::\-Usage\-::usage\-Begin\-Add (
\begin{DoxyParamCaption}
\item[{String const \&}]{des}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Usage_a05f4b23ce224661dbc7f308da4cb2709}
新增一段usage document於每個選項逐條說明之前
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in} & {\em des} & 要新增的usage document \\
\hline
\end{DoxyParams}
\hypertarget{classmeow_1_1Usage_a4ee38098e5abdb6932a32c13a30f584d}{\index{meow\-::\-Usage@{meow\-::\-Usage}!usage\-End\-Add@{usage\-End\-Add}}
\index{usage\-End\-Add@{usage\-End\-Add}!meow::Usage@{meow\-::\-Usage}}
\subsubsection[{usage\-End\-Add}]{\setlength{\rightskip}{0pt plus 5cm}void meow\-::\-Usage\-::usage\-End\-Add (
\begin{DoxyParamCaption}
\item[{String const \&}]{des}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Usage_a4ee38098e5abdb6932a32c13a30f584d}
新增一段usage document於每個選項逐條說明之後
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in} & {\em des} & 要新增的usage document \\
\hline
\end{DoxyParams}
The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item
meowpp/\hyperlink{Usage_8h}{Usage.\-h}\end{DoxyCompactItemize}
|