-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclass_t_c_o_d_parser.html
321 lines (308 loc) · 21 KB
/
class_t_c_o_d_parser.html
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
<!-- HTML header for doxygen 1.9.5-->
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-772NXFFJ4E"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-772NXFFJ4E');
</script>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=11" />
<meta name="generator" content="Doxygen 1.9.5" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>libtcod: TCODParser Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="doxygen-awesome-darkmode-toggle.js"></script>
<script type="text/javascript" src="doxygen-awesome-fragment-copy-button.js"></script>
<script type="text/javascript" src="doxygen-awesome-paragraph-link.js"></script>
<script type="text/javascript" src="doxygen-awesome-interactive-toc.js"></script>
<script type="text/javascript">
DoxygenAwesomeDarkModeToggle.init()
DoxygenAwesomeFragmentCopyButton.init()
DoxygenAwesomeParagraphLink.init()
DoxygenAwesomeInteractiveToc.init()
</script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
<link href="doxygen-awesome-sidebar-only.css" rel="stylesheet" type="text/css"/>
<link href="doxygen-awesome-sidebar-only-darkmode-toggle.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top">
<!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">libtcod
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(document).ready(function(){initNavTree('class_t_c_o_d_parser.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#friends">Friends</a> |
<a href="class_t_c_o_d_parser-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">TCODParser Class Reference</div></div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a628bcb62bce1b25d30e7ff89ad5106aa"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_o_d_parser.html#a628bcb62bce1b25d30e7ff89ad5106aa">TCODParser</a> ()</td></tr>
<tr class="memdesc:a628bcb62bce1b25d30e7ff89ad5106aa"><td class="mdescLeft"> </td><td class="mdescRight">Use this function to create a generic parser. <a href="class_t_c_o_d_parser.html#a628bcb62bce1b25d30e7ff89ad5106aa">More...</a><br /></td></tr>
<tr class="separator:a628bcb62bce1b25d30e7ff89ad5106aa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a46a3d431ff91a188a9286639160a654b"><td class="memItemLeft" align="right" valign="top"><a id="a46a3d431ff91a188a9286639160a654b" name="a46a3d431ff91a188a9286639160a654b"></a>
 </td><td class="memItemRight" valign="bottom"><b>TCODParser</b> (const <a class="el" href="class_t_c_o_d_parser.html">TCODParser</a> &)=delete</td></tr>
<tr class="separator:a46a3d431ff91a188a9286639160a654b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a956b1881e9900038d9d2ebc9a727ed8a"><td class="memItemLeft" align="right" valign="top"><a id="a956b1881e9900038d9d2ebc9a727ed8a" name="a956b1881e9900038d9d2ebc9a727ed8a"></a>
<a class="el" href="class_t_c_o_d_parser.html">TCODParser</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="class_t_c_o_d_parser.html">TCODParser</a> &)=delete</td></tr>
<tr class="separator:a956b1881e9900038d9d2ebc9a727ed8a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4d2b1b18a008c4f5d69679f254ab026a"><td class="memItemLeft" align="right" valign="top"><a id="a4d2b1b18a008c4f5d69679f254ab026a" name="a4d2b1b18a008c4f5d69679f254ab026a"></a>
 </td><td class="memItemRight" valign="bottom"><b>TCODParser</b> (<a class="el" href="class_t_c_o_d_parser.html">TCODParser</a> &&)=default</td></tr>
<tr class="separator:a4d2b1b18a008c4f5d69679f254ab026a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3380cb0d625b6459a4e2f1be185f7c6f"><td class="memItemLeft" align="right" valign="top"><a id="a3380cb0d625b6459a4e2f1be185f7c6f" name="a3380cb0d625b6459a4e2f1be185f7c6f"></a>
<a class="el" href="class_t_c_o_d_parser.html">TCODParser</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="class_t_c_o_d_parser.html">TCODParser</a> &&)=default</td></tr>
<tr class="separator:a3380cb0d625b6459a4e2f1be185f7c6f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a52696b2ef5f882ca87da5d2317781ee7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_c_o_d_parser_struct.html">TCODParserStruct</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_o_d_parser.html#a52696b2ef5f882ca87da5d2317781ee7">newStructure</a> (const char *name)</td></tr>
<tr class="separator:a52696b2ef5f882ca87da5d2317781ee7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9985106f87ec3a8119dbf922da010d2a"><td class="memItemLeft" align="right" valign="top"><a id="a9985106f87ec3a8119dbf922da010d2a" name="a9985106f87ec3a8119dbf922da010d2a"></a>
TCOD_value_type_t </td><td class="memItemRight" valign="bottom"><b>newCustomType</b> (TCOD_parser_custom_t custom_type_parser)</td></tr>
<tr class="separator:a9985106f87ec3a8119dbf922da010d2a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aef24eddfe86bfe477ee3b3e5781e195e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_o_d_parser.html#aef24eddfe86bfe477ee3b3e5781e195e">run</a> (const char *filename, <a class="el" href="class_i_t_c_o_d_parser_listener.html">ITCODParserListener</a> *listener=NULL)</td></tr>
<tr class="memdesc:aef24eddfe86bfe477ee3b3e5781e195e"><td class="mdescLeft"> </td><td class="mdescRight">Once you defined all the structure types and created your listener, you can start the actual parsing of the file : <a href="class_t_c_o_d_parser.html#aef24eddfe86bfe477ee3b3e5781e195e">More...</a><br /></td></tr>
<tr class="separator:aef24eddfe86bfe477ee3b3e5781e195e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8253746279cb9347a410c703c7bad981"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_o_d_parser.html#a8253746279cb9347a410c703c7bad981">~TCODParser</a> ()</td></tr>
<tr class="memdesc:a8253746279cb9347a410c703c7bad981"><td class="mdescLeft"> </td><td class="mdescRight">Once you've done with the file parsing, you can release the resources used by the parser : <a href="class_t_c_o_d_parser.html#a8253746279cb9347a410c703c7bad981">More...</a><br /></td></tr>
<tr class="separator:a8253746279cb9347a410c703c7bad981"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abab3467962cdb26014d539c230fd2775"><td class="memItemLeft" align="right" valign="top"><a id="abab3467962cdb26014d539c230fd2775" name="abab3467962cdb26014d539c230fd2775"></a>
void </td><td class="memItemRight" valign="bottom"><b>error</b> (const char *msg,...)</td></tr>
<tr class="separator:abab3467962cdb26014d539c230fd2775"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a87c0dfe8d03fb4f87cf9fd899a3578ec"><td class="memItemLeft" align="right" valign="top"><a id="a87c0dfe8d03fb4f87cf9fd899a3578ec" name="a87c0dfe8d03fb4f87cf9fd899a3578ec"></a>
bool </td><td class="memItemRight" valign="bottom"><b>hasProperty</b> (const char *name) const</td></tr>
<tr class="separator:a87c0dfe8d03fb4f87cf9fd899a3578ec"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab5d9e8ff42f547a457e95e885260cfef"><td class="memItemLeft" align="right" valign="top"><a id="ab5d9e8ff42f547a457e95e885260cfef" name="ab5d9e8ff42f547a457e95e885260cfef"></a>
bool </td><td class="memItemRight" valign="bottom"><b>getBoolProperty</b> (const char *name) const</td></tr>
<tr class="separator:ab5d9e8ff42f547a457e95e885260cfef"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0cb8148746e8e52347126dea116df482"><td class="memItemLeft" align="right" valign="top"><a id="a0cb8148746e8e52347126dea116df482" name="a0cb8148746e8e52347126dea116df482"></a>
int </td><td class="memItemRight" valign="bottom"><b>getIntProperty</b> (const char *name) const</td></tr>
<tr class="separator:a0cb8148746e8e52347126dea116df482"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0b44b2d11b9bc49749fbf50ba63121d1"><td class="memItemLeft" align="right" valign="top"><a id="a0b44b2d11b9bc49749fbf50ba63121d1" name="a0b44b2d11b9bc49749fbf50ba63121d1"></a>
int </td><td class="memItemRight" valign="bottom"><b>getCharProperty</b> (const char *name) const</td></tr>
<tr class="separator:a0b44b2d11b9bc49749fbf50ba63121d1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab8ed51ac1acdf9c051d87d7265fbe1e7"><td class="memItemLeft" align="right" valign="top"><a id="ab8ed51ac1acdf9c051d87d7265fbe1e7" name="ab8ed51ac1acdf9c051d87d7265fbe1e7"></a>
float </td><td class="memItemRight" valign="bottom"><b>getFloatProperty</b> (const char *name) const</td></tr>
<tr class="separator:ab8ed51ac1acdf9c051d87d7265fbe1e7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a46436cd25f1609418b8fba057773fe41"><td class="memItemLeft" align="right" valign="top"><a id="a46436cd25f1609418b8fba057773fe41" name="a46436cd25f1609418b8fba057773fe41"></a>
<a class="el" href="class_t_c_o_d_color.html">TCODColor</a> </td><td class="memItemRight" valign="bottom"><b>getColorProperty</b> (const char *name) const</td></tr>
<tr class="separator:a46436cd25f1609418b8fba057773fe41"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a88057ebfad8dd5848e0989efc2b5615d"><td class="memItemLeft" align="right" valign="top"><a id="a88057ebfad8dd5848e0989efc2b5615d" name="a88057ebfad8dd5848e0989efc2b5615d"></a>
<a class="el" href="struct_t_c_o_d__dice__t.html">TCOD_dice_t</a> </td><td class="memItemRight" valign="bottom"><b>getDiceProperty</b> (const char *name) const</td></tr>
<tr class="separator:a88057ebfad8dd5848e0989efc2b5615d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a22ab7adba4d52dc728e0f02c68df853e"><td class="memItemLeft" align="right" valign="top"><a id="a22ab7adba4d52dc728e0f02c68df853e" name="a22ab7adba4d52dc728e0f02c68df853e"></a>
const char * </td><td class="memItemRight" valign="bottom"><b>getStringProperty</b> (const char *name) const</td></tr>
<tr class="separator:a22ab7adba4d52dc728e0f02c68df853e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a99c57cb1195ae4c2f4c8c80d373db793"><td class="memItemLeft" align="right" valign="top"><a id="a99c57cb1195ae4c2f4c8c80d373db793" name="a99c57cb1195ae4c2f4c8c80d373db793"></a>
void * </td><td class="memItemRight" valign="bottom"><b>getCustomProperty</b> (const char *name) const</td></tr>
<tr class="separator:a99c57cb1195ae4c2f4c8c80d373db793"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7e89c491b765e9c529b5bac7dd353201"><td class="memItemLeft" align="right" valign="top"><a id="a7e89c491b765e9c529b5bac7dd353201" name="a7e89c491b765e9c529b5bac7dd353201"></a>
<a class="el" href="struct_t_c_o_d___list.html">TCOD_list_t</a> </td><td class="memItemRight" valign="bottom"><b>getListProperty</b> (const char *name, TCOD_value_type_t type) const</td></tr>
<tr class="separator:a7e89c491b765e9c529b5bac7dd353201"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="friends" name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a4675d94bd9527f3071a95730c4dcc0ab"><td class="memItemLeft" align="right" valign="top"><a id="a4675d94bd9527f3071a95730c4dcc0ab" name="a4675d94bd9527f3071a95730c4dcc0ab"></a>
bool </td><td class="memItemRight" valign="bottom"><b>new_struct</b> (<a class="el" href="struct_t_c_o_d___parser_struct.html">TCOD_parser_struct_t</a> def, const char *name) noexcept</td></tr>
<tr class="separator:a4675d94bd9527f3071a95730c4dcc0ab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7dfde1f8c46879cbecc09aaa7edd4415"><td class="memItemLeft" align="right" valign="top"><a id="a7dfde1f8c46879cbecc09aaa7edd4415" name="a7dfde1f8c46879cbecc09aaa7edd4415"></a>
bool </td><td class="memItemRight" valign="bottom"><b>end_struct</b> (<a class="el" href="struct_t_c_o_d___parser_struct.html">TCOD_parser_struct_t</a> def, const char *name) noexcept</td></tr>
<tr class="separator:a7dfde1f8c46879cbecc09aaa7edd4415"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a628bcb62bce1b25d30e7ff89ad5106aa" name="a628bcb62bce1b25d30e7ff89ad5106aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a628bcb62bce1b25d30e7ff89ad5106aa">◆ </a></span>TCODParser()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TCODParser::TCODParser </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Use this function to create a generic parser. </p>
<p >Then you'll specialize this parser by defining the structures it can read. </p>
</div>
</div>
<a id="a8253746279cb9347a410c703c7bad981" name="a8253746279cb9347a410c703c7bad981"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8253746279cb9347a410c703c7bad981">◆ </a></span>~TCODParser()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TCODParser::~TCODParser </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Once you've done with the file parsing, you can release the resources used by the parser : </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">parser</td><td>In the C version, the parser handler, returned by TCOD_parser_new. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a52696b2ef5f882ca87da5d2317781ee7" name="a52696b2ef5f882ca87da5d2317781ee7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52696b2ef5f882ca87da5d2317781ee7">◆ </a></span>newStructure()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_t_c_o_d_parser_struct.html">TCODParserStruct</a> * TCODParser::newStructure </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">parser</td><td>In the C version, the parser handler, returned by TCOD_parser_new. </td></tr>
<tr><td class="paramname">name</td><td>The name of the structure type (in the example, this would be "item_type").</td></tr>
</table>
</dd>
</dl>
<p><a class="el" href="class_t_c_o_d_parser.html">TCODParser</a> parser(); <a class="el" href="class_t_c_o_d_parser_struct.html">TCODParserStruct</a> *itemTypeStruct = parser.newStructure("item_type");</p>
<p >TCOD_parser_t parser = TCOD_parser_new(); TCOD_parser_struct_t item_type_struct = TCOD_parser_new_struct(parser, "item_type");</p>
<p >parser=libtcod.parser_new() item_type_struct = libtcod.parser_new_struct(parser, "item_type") </p>
</div>
</div>
<a id="aef24eddfe86bfe477ee3b3e5781e195e" name="aef24eddfe86bfe477ee3b3e5781e195e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef24eddfe86bfe477ee3b3e5781e195e">◆ </a></span>run()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void TCODParser::run </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>filename</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_i_t_c_o_d_parser_listener.html">ITCODParserListener</a> * </td>
<td class="paramname"><em>listener</em> = <code>NULL</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Once you defined all the structure types and created your listener, you can start the actual parsing of the file : </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">parser</td><td>In the C version, the parser handler, returned by TCOD_parser_new. </td></tr>
<tr><td class="paramname">filename</td><td>The name of the text file to parse, absolute or relative to current directory. </td></tr>
<tr><td class="paramname">listener</td><td>The listener containing the callbacks. Use NULL for the default listener </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Users/4b796/Projects/libtcod/src/libtcod/<a class="el" href="parser_8hpp_source.html">parser.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="class_t_c_o_d_parser.html">TCODParser</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
</ul>
</div>
</body>
</html>