File: classxmlpp_1_1DomParser.html

package info (click to toggle)
libxml%2B%2B2.6 2.40.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 8,056 kB
  • sloc: sh: 11,363; cpp: 7,695; xml: 996; perl: 289; makefile: 221
file content (609 lines) | stat: -rw-r--r-- 50,047 bytes parent folder | download | duplicates (2)
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
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>libxml++: xmlpp::DomParser 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>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-extra.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 style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">libxml++
   &#160;<span id="projectnumber">2.40.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacexmlpp.html">xmlpp</a></li><li class="navelem"><a class="el" href="classxmlpp_1_1DomParser.html">DomParser</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classxmlpp_1_1DomParser-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">xmlpp::DomParser Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>DOM XML parser.  
 <a href="classxmlpp_1_1DomParser.html#details">More...</a></p>

<p><code>#include &lt;libxml++/parsers/domparser.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for xmlpp::DomParser:</div>
<div class="dyncontent">
<div class="center"><img src="classxmlpp_1_1DomParser__inherit__graph.png" border="0" usemap="#xmlpp_1_1DomParser_inherit__map" alt="Inheritance graph"/></div>
<map name="xmlpp_1_1DomParser_inherit__map" id="xmlpp_1_1DomParser_inherit__map">
<area shape="rect" id="node2" href="classxmlpp_1_1Parser.html" title="XML parser. " alt="" coords="28,80,137,107"/><area shape="rect" id="node3" href="classxmlpp_1_1NonCopyable.html" title="A base for classes which cannot be copied. " alt="" coords="5,5,160,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:abeab430d4863459b6d03fc7e97363df5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1DomParser.html#abeab430d4863459b6d03fc7e97363df5">DomParser</a> ()</td></tr>
<tr class="memdesc:abeab430d4863459b6d03fc7e97363df5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a parser with an empty document.  <a href="#abeab430d4863459b6d03fc7e97363df5">More...</a><br /></td></tr>
<tr class="separator:abeab430d4863459b6d03fc7e97363df5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9538baed354098e8ac73f69e1d4f55e5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1DomParser.html#a9538baed354098e8ac73f69e1d4f55e5">DomParser</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; filename, bool <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib_1_1Unicode.html#ab64054c4576955fd0285dae603fad4bc">validate</a>=false)</td></tr>
<tr class="memdesc:a9538baed354098e8ac73f69e1d4f55e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Instantiate the parser and parse a document immediately.  <a href="#a9538baed354098e8ac73f69e1d4f55e5">More...</a><br /></td></tr>
<tr class="separator:a9538baed354098e8ac73f69e1d4f55e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08d60f330f888eb3e7ad88c8103bf6c5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1DomParser.html#a08d60f330f888eb3e7ad88c8103bf6c5">~DomParser</a> () override</td></tr>
<tr class="separator:a08d60f330f888eb3e7ad88c8103bf6c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad10907d495f9e1e2b63638a9c69f78a8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Document.html">Document</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1DomParser.html#ad10907d495f9e1e2b63638a9c69f78a8">get_document</a> ()</td></tr>
<tr class="memdesc:ad10907d495f9e1e2b63638a9c69f78a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the parsed document.  <a href="#ad10907d495f9e1e2b63638a9c69f78a8">More...</a><br /></td></tr>
<tr class="separator:ad10907d495f9e1e2b63638a9c69f78a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a3452e46cf656998d8752ed949239de"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classxmlpp_1_1Document.html">Document</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1DomParser.html#a4a3452e46cf656998d8752ed949239de">get_document</a> () const </td></tr>
<tr class="memdesc:a4a3452e46cf656998d8752ed949239de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the parsed document.  <a href="#a4a3452e46cf656998d8752ed949239de">More...</a><br /></td></tr>
<tr class="separator:a4a3452e46cf656998d8752ed949239de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6455076d91fc65e39f82e9a6c7ad764"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1DomParser.html#af6455076d91fc65e39f82e9a6c7ad764">operator bool</a> () const </td></tr>
<tr class="memdesc:af6455076d91fc65e39f82e9a6c7ad764"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test whether a document has been parsed.  <a href="#af6455076d91fc65e39f82e9a6c7ad764">More...</a><br /></td></tr>
<tr class="separator:af6455076d91fc65e39f82e9a6c7ad764"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9736bf4eedb39d0e588151f1c99b79d0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1DomParser.html#a9736bf4eedb39d0e588151f1c99b79d0">parse_file</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; filename) override</td></tr>
<tr class="memdesc:a9736bf4eedb39d0e588151f1c99b79d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse an XML document from a file.  <a href="#a9736bf4eedb39d0e588151f1c99b79d0">More...</a><br /></td></tr>
<tr class="separator:a9736bf4eedb39d0e588151f1c99b79d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe6b1966f057085047b7bc64ca3f064a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1DomParser.html#abe6b1966f057085047b7bc64ca3f064a">parse_memory</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; contents) override</td></tr>
<tr class="memdesc:abe6b1966f057085047b7bc64ca3f064a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse an XML document from a string.  <a href="#abe6b1966f057085047b7bc64ca3f064a">More...</a><br /></td></tr>
<tr class="separator:abe6b1966f057085047b7bc64ca3f064a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae7bd491f8aae685900bec03ec43d855"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1DomParser.html#aae7bd491f8aae685900bec03ec43d855">parse_memory_raw</a> (const unsigned char* contents, <a class="el" href="classxmlpp_1_1Parser.html#a8e7c797006bb5398629cf98f4141e3e6">size_type</a> bytes_count)</td></tr>
<tr class="memdesc:aae7bd491f8aae685900bec03ec43d855"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse an XML document from raw memory.  <a href="#aae7bd491f8aae685900bec03ec43d855">More...</a><br /></td></tr>
<tr class="separator:aae7bd491f8aae685900bec03ec43d855"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad998ea40ff591e2ed357f2d5f12af75e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1DomParser.html#ad998ea40ff591e2ed357f2d5f12af75e">parse_stream</a> (<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01647.html#ga9a51d9b711a836df9c086f3a5e30b8b2">std::istream</a>&amp; in) override</td></tr>
<tr class="memdesc:ad998ea40ff591e2ed357f2d5f12af75e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse an XML document from a stream.  <a href="#ad998ea40ff591e2ed357f2d5f12af75e">More...</a><br /></td></tr>
<tr class="separator:ad998ea40ff591e2ed357f2d5f12af75e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classxmlpp_1_1Parser"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classxmlpp_1_1Parser')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classxmlpp_1_1Parser.html">xmlpp::Parser</a></td></tr>
<tr class="memitem:ab2990f22147cb2163eda6e773fb2eb68 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#ab2990f22147cb2163eda6e773fb2eb68">Parser</a> ()</td></tr>
<tr class="separator:ab2990f22147cb2163eda6e773fb2eb68 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ac083cc800cc7699e7b5ad0be160218 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a7ac083cc800cc7699e7b5ad0be160218">~Parser</a> () override</td></tr>
<tr class="separator:a7ac083cc800cc7699e7b5ad0be160218 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a150d49ac4336d910b757ae6fb2cc4b5c inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a150d49ac4336d910b757ae6fb2cc4b5c">get_include_default_attributes</a> ()</td></tr>
<tr class="memdesc:a150d49ac4336d910b757ae6fb2cc4b5c inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft">&#160;</td><td class="mdescRight">See <a class="el" href="classxmlpp_1_1Parser.html#a0ae64d2d6f28728786040ba8c8b694a4" title="Set whether default attribute values from the DTD shall be included in the node tree. ">set_include_default_attributes()</a>.  <a href="#a150d49ac4336d910b757ae6fb2cc4b5c">More...</a><br /></td></tr>
<tr class="separator:a150d49ac4336d910b757ae6fb2cc4b5c inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4340563d4dc26a4cfe79f9854a5e91a7 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a4340563d4dc26a4cfe79f9854a5e91a7">get_parser_options</a> (int&amp; set_options, int&amp; clear_options)</td></tr>
<tr class="memdesc:a4340563d4dc26a4cfe79f9854a5e91a7 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft">&#160;</td><td class="mdescRight">See <a class="el" href="classxmlpp_1_1Parser.html#aeab62a7446a6bb460cec3ea3951d12d6" title="Set and/or clear parser option flags. ">set_parser_options()</a>.  <a href="#a4340563d4dc26a4cfe79f9854a5e91a7">More...</a><br /></td></tr>
<tr class="separator:a4340563d4dc26a4cfe79f9854a5e91a7 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae71762868b009ccae8f00c1d34df00e7 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#ae71762868b009ccae8f00c1d34df00e7">get_substitute_entities</a> () const </td></tr>
<tr class="memdesc:ae71762868b009ccae8f00c1d34df00e7 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft">&#160;</td><td class="mdescRight">See <a class="el" href="classxmlpp_1_1Parser.html#a960e9ee12df9b631c694ca002932cf7f" title="Set whether the parser will automatically substitute entity references with the text of the entities&#39;...">set_substitute_entities()</a>.  <a href="#ae71762868b009ccae8f00c1d34df00e7">More...</a><br /></td></tr>
<tr class="separator:ae71762868b009ccae8f00c1d34df00e7 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9e5523ffa19aa3e76761a0d46040efb inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#ad9e5523ffa19aa3e76761a0d46040efb">get_throw_messages</a> () const </td></tr>
<tr class="memdesc:ad9e5523ffa19aa3e76761a0d46040efb inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft">&#160;</td><td class="mdescRight">See <a class="el" href="classxmlpp_1_1Parser.html#a3d491c0479b11e5766849956cd4b4538" title="Set whether the parser will collect and throw error and warning messages. ">set_throw_messages()</a>.  <a href="#ad9e5523ffa19aa3e76761a0d46040efb">More...</a><br /></td></tr>
<tr class="separator:ad9e5523ffa19aa3e76761a0d46040efb inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7329d0daf70030bef41b92e6ed22bd63 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a7329d0daf70030bef41b92e6ed22bd63">get_validate</a> () const </td></tr>
<tr class="memdesc:a7329d0daf70030bef41b92e6ed22bd63 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft">&#160;</td><td class="mdescRight">See <a class="el" href="classxmlpp_1_1Parser.html#a39332721610231ca8c5114e245121cc1" title="By default, the parser will not validate the XML file. ">set_validate()</a>.  <a href="#a7329d0daf70030bef41b92e6ed22bd63">More...</a><br /></td></tr>
<tr class="separator:a7329d0daf70030bef41b92e6ed22bd63 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ae64d2d6f28728786040ba8c8b694a4 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a0ae64d2d6f28728786040ba8c8b694a4">set_include_default_attributes</a> (bool val=true)</td></tr>
<tr class="memdesc:a0ae64d2d6f28728786040ba8c8b694a4 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set whether default attribute values from the DTD shall be included in the node tree.  <a href="#a0ae64d2d6f28728786040ba8c8b694a4">More...</a><br /></td></tr>
<tr class="separator:a0ae64d2d6f28728786040ba8c8b694a4 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeab62a7446a6bb460cec3ea3951d12d6 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#aeab62a7446a6bb460cec3ea3951d12d6">set_parser_options</a> (int set_options=0, int clear_options=0)</td></tr>
<tr class="memdesc:aeab62a7446a6bb460cec3ea3951d12d6 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set and/or clear parser option flags.  <a href="#aeab62a7446a6bb460cec3ea3951d12d6">More...</a><br /></td></tr>
<tr class="separator:aeab62a7446a6bb460cec3ea3951d12d6 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a960e9ee12df9b631c694ca002932cf7f inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a960e9ee12df9b631c694ca002932cf7f">set_substitute_entities</a> (bool val=true)</td></tr>
<tr class="memdesc:a960e9ee12df9b631c694ca002932cf7f inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set whether the parser will automatically substitute entity references with the text of the entities' definitions.  <a href="#a960e9ee12df9b631c694ca002932cf7f">More...</a><br /></td></tr>
<tr class="separator:a960e9ee12df9b631c694ca002932cf7f inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d491c0479b11e5766849956cd4b4538 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a3d491c0479b11e5766849956cd4b4538">set_throw_messages</a> (bool val=true)</td></tr>
<tr class="memdesc:a3d491c0479b11e5766849956cd4b4538 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set whether the parser will collect and throw error and warning messages.  <a href="#a3d491c0479b11e5766849956cd4b4538">More...</a><br /></td></tr>
<tr class="separator:a3d491c0479b11e5766849956cd4b4538 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39332721610231ca8c5114e245121cc1 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a39332721610231ca8c5114e245121cc1">set_validate</a> (bool val=true)</td></tr>
<tr class="memdesc:a39332721610231ca8c5114e245121cc1 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft">&#160;</td><td class="mdescRight">By default, the parser will not validate the XML file.  <a href="#a39332721610231ca8c5114e245121cc1">More...</a><br /></td></tr>
<tr class="separator:a39332721610231ca8c5114e245121cc1 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a0f77c8ab0a9ab2d7abd809846ae75d6f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1DomParser.html#a0f77c8ab0a9ab2d7abd809846ae75d6f">parse_context</a> ()</td></tr>
<tr class="separator:a0f77c8ab0a9ab2d7abd809846ae75d6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf97f584898f6c0e34af9e0dc8e1d45e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1DomParser.html#aaf97f584898f6c0e34af9e0dc8e1d45e">release_underlying</a> () override</td></tr>
<tr class="separator:aaf97f584898f6c0e34af9e0dc8e1d45e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classxmlpp_1_1Parser"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classxmlpp_1_1Parser')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classxmlpp_1_1Parser.html">xmlpp::Parser</a></td></tr>
<tr class="memitem:a9daba11c6746d91153329a9dbd8decc5 inherit pro_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a9daba11c6746d91153329a9dbd8decc5">check_for_exception</a> ()</td></tr>
<tr class="separator:a9daba11c6746d91153329a9dbd8decc5 inherit pro_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad45390ab3d30d1dea26001f2d6a9a2f inherit pro_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#aad45390ab3d30d1dea26001f2d6a9a2f">check_for_validity_messages</a> ()</td></tr>
<tr class="separator:aad45390ab3d30d1dea26001f2d6a9a2f inherit pro_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a860e1cff3da52a4bbb0b17a06475399f inherit pro_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a860e1cff3da52a4bbb0b17a06475399f">handleException</a> (const <a class="el" href="classxmlpp_1_1exception.html">exception</a>&amp; e)</td></tr>
<tr class="separator:a860e1cff3da52a4bbb0b17a06475399f inherit pro_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25f92d0a820d96accfe316a066bade49 inherit pro_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a25f92d0a820d96accfe316a066bade49">initialize_context</a> ()</td></tr>
<tr class="separator:a25f92d0a820d96accfe316a066bade49 inherit pro_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36860900bd7f118adfd7b7887278e4fb inherit pro_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a36860900bd7f118adfd7b7887278e4fb">on_validity_error</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; message)</td></tr>
<tr class="separator:a36860900bd7f118adfd7b7887278e4fb inherit pro_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0876425a0d687f24bc54b44d950ab2c inherit pro_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#ad0876425a0d687f24bc54b44d950ab2c">on_validity_warning</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; message)</td></tr>
<tr class="separator:ad0876425a0d687f24bc54b44d950ab2c inherit pro_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ab95c1209f2311df8fe1f1f34651d2d28"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Document.html">Document</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1DomParser.html#ab95c1209f2311df8fe1f1f34651d2d28">doc_</a></td></tr>
<tr class="separator:ab95c1209f2311df8fe1f1f34651d2d28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classxmlpp_1_1Parser"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classxmlpp_1_1Parser')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classxmlpp_1_1Parser.html">xmlpp::Parser</a></td></tr>
<tr class="memitem:a2b49a51f1a8fce897dffcb1e81f87907 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">_xmlParserCtxt*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a2b49a51f1a8fce897dffcb1e81f87907">context_</a></td></tr>
<tr class="separator:a2b49a51f1a8fce897dffcb1e81f87907 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b2a100f91d2ead57de5ef640ebf91a9 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1exception.html">exception</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a7b2a100f91d2ead57de5ef640ebf91a9">exception_</a></td></tr>
<tr class="separator:a7b2a100f91d2ead57de5ef640ebf91a9 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a969bc262133a8310cfbfc097f925c00c inherit pro_attribs_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a969bc262133a8310cfbfc097f925c00c">substitute_entities_</a></td></tr>
<tr class="separator:a969bc262133a8310cfbfc097f925c00c inherit pro_attribs_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d21ddd4fdd34f845937649eb4fb8814 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a2d21ddd4fdd34f845937649eb4fb8814">validate_</a></td></tr>
<tr class="separator:a2d21ddd4fdd34f845937649eb4fb8814 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a367b4132d663f1c1adf1515c4a6e959f inherit pro_attribs_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a367b4132d663f1c1adf1515c4a6e959f">validate_error_</a></td></tr>
<tr class="separator:a367b4132d663f1c1adf1515c4a6e959f inherit pro_attribs_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac64f7a377ae85c848dbb8008a43f555 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#aac64f7a377ae85c848dbb8008a43f555">validate_warning_</a></td></tr>
<tr class="separator:aac64f7a377ae85c848dbb8008a43f555 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classxmlpp_1_1Parser"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classxmlpp_1_1Parser')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classxmlpp_1_1Parser.html">xmlpp::Parser</a></td></tr>
<tr class="memitem:a8e7c797006bb5398629cf98f4141e3e6 inherit pub_types_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">typedef unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a8e7c797006bb5398629cf98f4141e3e6">size_type</a></td></tr>
<tr class="separator:a8e7c797006bb5398629cf98f4141e3e6 inherit pub_types_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_types_classxmlpp_1_1Parser"><td colspan="2" onclick="javascript:toggleInherit('pro_types_classxmlpp_1_1Parser')"><img src="closed.png" alt="-"/>&#160;Protected Types inherited from <a class="el" href="classxmlpp_1_1Parser.html">xmlpp::Parser</a></td></tr>
<tr class="memitem:a8bfd5ceb1cc0b3b9fd9ff7cf44d1029b inherit pro_types_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a8bfd5ceb1cc0b3b9fd9ff7cf44d1029b">MsgType</a> { <br />
&#160;&#160;<a class="el" href="classxmlpp_1_1Parser.html#a8bfd5ceb1cc0b3b9fd9ff7cf44d1029bae3a15565bbac2bbce269c71578874290">MsgParserError</a>, 
<br />
&#160;&#160;<a class="el" href="classxmlpp_1_1Parser.html#a8bfd5ceb1cc0b3b9fd9ff7cf44d1029ba2699545b0c4313c08db938000a1ff385">MsgParserWarning</a>, 
<br />
&#160;&#160;<a class="el" href="classxmlpp_1_1Parser.html#a8bfd5ceb1cc0b3b9fd9ff7cf44d1029bab5b788bc9b710543d1061be8e8d1ceff">MsgValidityError</a>, 
<br />
&#160;&#160;<a class="el" href="classxmlpp_1_1Parser.html#a8bfd5ceb1cc0b3b9fd9ff7cf44d1029baf56ce30abc58b13a1bd9ee27c085ac70">MsgValidityWarning</a>
<br />
 }</td></tr>
<tr class="separator:a8bfd5ceb1cc0b3b9fd9ff7cf44d1029b inherit pro_types_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_static_methods_classxmlpp_1_1Parser"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_classxmlpp_1_1Parser')"><img src="closed.png" alt="-"/>&#160;Static Protected Member Functions inherited from <a class="el" href="classxmlpp_1_1Parser.html">xmlpp::Parser</a></td></tr>
<tr class="memitem:a49b79a6ada464e8d1be27a655ee63b48 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a49b79a6ada464e8d1be27a655ee63b48">callback_error_or_warning</a> (<a class="el" href="classxmlpp_1_1Parser.html#a8bfd5ceb1cc0b3b9fd9ff7cf44d1029b">MsgType</a> msg_type, void* ctx, const char* msg, va_list var_args)</td></tr>
<tr class="separator:a49b79a6ada464e8d1be27a655ee63b48 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5272535b144daaafcdc161e36f1aa33 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#ae5272535b144daaafcdc161e36f1aa33">callback_parser_error</a> (void* ctx, const char* msg,...)</td></tr>
<tr class="separator:ae5272535b144daaafcdc161e36f1aa33 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dbe69dcd8aa5c7625fa96a9dcdcbad7 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a7dbe69dcd8aa5c7625fa96a9dcdcbad7">callback_parser_warning</a> (void* ctx, const char* msg,...)</td></tr>
<tr class="separator:a7dbe69dcd8aa5c7625fa96a9dcdcbad7 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ec91483923a6023e7ac56eeaf16b1e3 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a7ec91483923a6023e7ac56eeaf16b1e3">callback_validity_error</a> (void* ctx, const char* msg,...)</td></tr>
<tr class="separator:a7ec91483923a6023e7ac56eeaf16b1e3 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa573fc538688db238714cef413944567 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#aa573fc538688db238714cef413944567">callback_validity_warning</a> (void* ctx, const char* msg,...)</td></tr>
<tr class="separator:aa573fc538688db238714cef413944567 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>DOM XML parser. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="abeab430d4863459b6d03fc7e97363df5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::DomParser::DomParser </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a parser with an empty document. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td>If an empty document can't be created. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9538baed354098e8ac73f69e1d4f55e5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::DomParser::DomParser </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>validate</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Instantiate the parser and parse a document immediately. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>The path to the file. </td></tr>
    <tr><td class="paramname">validate</td><td>Whether the parser should validate the XML. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a08d60f330f888eb3e7ad88c8103bf6c5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::DomParser::~DomParser </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ad10907d495f9e1e2b63638a9c69f78a8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classxmlpp_1_1Document.html">Document</a>* xmlpp::DomParser::get_document </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the parsed document. </p>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the parsed document, or <code>nullptr</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a4a3452e46cf656998d8752ed949239de"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classxmlpp_1_1Document.html">Document</a>* xmlpp::DomParser::get_document </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the parsed document. </p>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the parsed document, or <code>nullptr</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="af6455076d91fc65e39f82e9a6c7ad764"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::DomParser::operator bool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Test whether a document has been parsed. </p>

</div>
</div>
<a class="anchor" id="a0f77c8ab0a9ab2d7abd809846ae75d6f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::DomParser::parse_context </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a9736bf4eedb39d0e588151f1c99b79d0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::DomParser::parse_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parse an XML document from a file. </p>
<p>If the parser already contains a document, that document and all its nodes are deleted. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>The path to the file. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classxmlpp_1_1Parser.html#ad0855eff9a35a9160800ad58ad19fd7e">xmlpp::Parser</a>.</p>

</div>
</div>
<a class="anchor" id="abe6b1966f057085047b7bc64ca3f064a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::DomParser::parse_memory </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>contents</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parse an XML document from a string. </p>
<p>If the parser already contains a document, that document and all its nodes are deleted. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">contents</td><td>The XML document as a string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classxmlpp_1_1Parser.html#abbbf646035570f1aa5366558dfc2ae01">xmlpp::Parser</a>.</p>

</div>
</div>
<a class="anchor" id="aae7bd491f8aae685900bec03ec43d855"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::DomParser::parse_memory_raw </td>
          <td>(</td>
          <td class="paramtype">const unsigned char *&#160;</td>
          <td class="paramname"><em>contents</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classxmlpp_1_1Parser.html#a8e7c797006bb5398629cf98f4141e3e6">size_type</a>&#160;</td>
          <td class="paramname"><em>bytes_count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Parse an XML document from raw memory. </p>
<p>If the parser already contains a document, that document and all its nodes are deleted. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">contents</td><td>The XML document as an array of bytes. </td></tr>
    <tr><td class="paramname">bytes_count</td><td>The number of bytes in the <em>contents</em> array. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad998ea40ff591e2ed357f2d5f12af75e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::DomParser::parse_stream </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01647.html#ga9a51d9b711a836df9c086f3a5e30b8b2">std::istream</a> &amp;&#160;</td>
          <td class="paramname"><em>in</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parse an XML document from a stream. </p>
<p>If the parser already contains a document, that document and all its nodes are deleted. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">in</td><td>The stream. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classxmlpp_1_1Parser.html#ad7134b1c68308351785acb0302aa54db">xmlpp::Parser</a>.</p>

</div>
</div>
<a class="anchor" id="aaf97f584898f6c0e34af9e0dc8e1d45e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::DomParser::release_underlying </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented from <a class="el" href="classxmlpp_1_1Parser.html#a346ebfb1219e1c0d3acbd017a07706e6">xmlpp::Parser</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="ab95c1209f2311df8fe1f1f34651d2d28"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classxmlpp_1_1Document.html">Document</a>* xmlpp::DomParser::doc_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Oct 28 2015 14:41:03 for libxml++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>