File: classxmlpp_1_1SchemaValidatorBase.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 (498 lines) | stat: -rw-r--r-- 34,220 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
<!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::SchemaValidatorBase 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_1SchemaValidatorBase.html">SchemaValidatorBase</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classxmlpp_1_1SchemaValidatorBase-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">xmlpp::SchemaValidatorBase Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Base class for schema validators.  
 <a href="classxmlpp_1_1SchemaValidatorBase.html#details">More...</a></p>

<p><code>#include &lt;libxml++/validators/schemavalidatorbase.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for xmlpp::SchemaValidatorBase:</div>
<div class="dyncontent">
<div class="center"><img src="classxmlpp_1_1SchemaValidatorBase__inherit__graph.png" border="0" usemap="#xmlpp_1_1SchemaValidatorBase_inherit__map" alt="Inheritance graph"/></div>
<map name="xmlpp_1_1SchemaValidatorBase_inherit__map" id="xmlpp_1_1SchemaValidatorBase_inherit__map">
<area shape="rect" id="node4" href="classxmlpp_1_1RelaxNGValidator.html" title="RelaxNG schema validator. " alt="" coords="5,229,184,256"/><area shape="rect" id="node5" href="classxmlpp_1_1XsdValidator.html" title="XSD schema validator. " alt="" coords="209,229,357,256"/><area shape="rect" id="node2" href="classxmlpp_1_1Validator.html" title="Base class for XML validators. " alt="" coords="125,80,251,107"/><area shape="rect" id="node3" href="classxmlpp_1_1NonCopyable.html" title="A base for classes which cannot be copied. " alt="" coords="111,5,265,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-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a9bbf27ae7711e2615ad41be99d002800"><td class="memItemLeft" align="right" valign="top">typedef const void*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#a9bbf27ae7711e2615ad41be99d002800">BoolExpr</a></td></tr>
<tr class="memdesc:a9bbf27ae7711e2615ad41be99d002800"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef is just to make it more obvious that our operator const void* should be used like operator bool().  <a href="#a9bbf27ae7711e2615ad41be99d002800">More...</a><br /></td></tr>
<tr class="separator:a9bbf27ae7711e2615ad41be99d002800"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:a1c2adfb1aa78dd89a48263a60d4738dc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#a1c2adfb1aa78dd89a48263a60d4738dc">SchemaValidatorBase</a> ()</td></tr>
<tr class="separator:a1c2adfb1aa78dd89a48263a60d4738dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12420d3e5f5f42344d25a1215d300cdf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#a12420d3e5f5f42344d25a1215d300cdf">~SchemaValidatorBase</a> () override</td></tr>
<tr class="separator:a12420d3e5f5f42344d25a1215d300cdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4caba0b7dfc1d507bc87ad05e8400197"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#a4caba0b7dfc1d507bc87ad05e8400197">operator BoolExpr</a> () const =0</td></tr>
<tr class="memdesc:a4caba0b7dfc1d507bc87ad05e8400197"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test whether a schema has been parsed.  <a href="#a4caba0b7dfc1d507bc87ad05e8400197">More...</a><br /></td></tr>
<tr class="separator:a4caba0b7dfc1d507bc87ad05e8400197"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb060a5d673e874faba60cccaae501e3"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#aeb060a5d673e874faba60cccaae501e3">parse_document</a> (const <a class="el" href="classxmlpp_1_1Document.html">Document</a>* document)=0</td></tr>
<tr class="memdesc:aeb060a5d673e874faba60cccaae501e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a schema definition from a document.  <a href="#aeb060a5d673e874faba60cccaae501e3">More...</a><br /></td></tr>
<tr class="separator:aeb060a5d673e874faba60cccaae501e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad662fcf53f3da2a4d9ced7d96343a8e3"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#ad662fcf53f3da2a4d9ced7d96343a8e3">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)=0</td></tr>
<tr class="memdesc:ad662fcf53f3da2a4d9ced7d96343a8e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a schema definition file.  <a href="#ad662fcf53f3da2a4d9ced7d96343a8e3">More...</a><br /></td></tr>
<tr class="separator:ad662fcf53f3da2a4d9ced7d96343a8e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f86ddf3b03c966a01defbeddc317837"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#a6f86ddf3b03c966a01defbeddc317837">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)=0</td></tr>
<tr class="memdesc:a6f86ddf3b03c966a01defbeddc317837"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a schema definition from a string.  <a href="#a6f86ddf3b03c966a01defbeddc317837">More...</a><br /></td></tr>
<tr class="separator:a6f86ddf3b03c966a01defbeddc317837"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06d84926fa95a7f021c524651cf60968"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#a06d84926fa95a7f021c524651cf60968">validate</a> (const <a class="el" href="classxmlpp_1_1Document.html">Document</a>* document)=0</td></tr>
<tr class="memdesc:a06d84926fa95a7f021c524651cf60968"><td class="mdescLeft">&#160;</td><td class="mdescRight">Validate a document, using a previously parsed schema.  <a href="#a06d84926fa95a7f021c524651cf60968">More...</a><br /></td></tr>
<tr class="separator:a06d84926fa95a7f021c524651cf60968"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4ccbaaac852cf9b55fb74e89f66fa33"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#ad4ccbaaac852cf9b55fb74e89f66fa33">validate</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)=0</td></tr>
<tr class="memdesc:ad4ccbaaac852cf9b55fb74e89f66fa33"><td class="mdescLeft">&#160;</td><td class="mdescRight">Validate an XML file, using a previously parsed schema.  <a href="#ad4ccbaaac852cf9b55fb74e89f66fa33">More...</a><br /></td></tr>
<tr class="separator:ad4ccbaaac852cf9b55fb74e89f66fa33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classxmlpp_1_1Validator"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classxmlpp_1_1Validator')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classxmlpp_1_1Validator.html">xmlpp::Validator</a></td></tr>
<tr class="memitem:a2e25d9106542fac59c7a4368257cdcb5 inherit pub_methods_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#a2e25d9106542fac59c7a4368257cdcb5">Validator</a> ()</td></tr>
<tr class="separator:a2e25d9106542fac59c7a4368257cdcb5 inherit pub_methods_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a436707ae4c543734a55d7dde76679406 inherit pub_methods_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#a436707ae4c543734a55d7dde76679406">~Validator</a> () override</td></tr>
<tr class="separator:a436707ae4c543734a55d7dde76679406 inherit pub_methods_classxmlpp_1_1Validator"><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:a9ef33467f0a566ebf917da7878b89f0d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#a9ef33467f0a566ebf917da7878b89f0d">initialize_valid</a> () override</td></tr>
<tr class="separator:a9ef33467f0a566ebf917da7878b89f0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3940b83397561cc5b57bd733fc8601f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#a3940b83397561cc5b57bd733fc8601f7">release_underlying</a> () override</td></tr>
<tr class="separator:a3940b83397561cc5b57bd733fc8601f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classxmlpp_1_1Validator"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classxmlpp_1_1Validator')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classxmlpp_1_1Validator.html">xmlpp::Validator</a></td></tr>
<tr class="memitem:a2af695894f22e61b4f85551edefd104d inherit pro_methods_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#a2af695894f22e61b4f85551edefd104d">check_for_exception</a> ()</td></tr>
<tr class="separator:a2af695894f22e61b4f85551edefd104d inherit pro_methods_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a655f06aa683577c26dcb2edba2e9e84b inherit pro_methods_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#a655f06aa683577c26dcb2edba2e9e84b">check_for_validity_messages</a> ()</td></tr>
<tr class="separator:a655f06aa683577c26dcb2edba2e9e84b inherit pro_methods_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d02cc2d687f0bd28e3c777ebbc7c458 inherit pro_methods_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#a4d02cc2d687f0bd28e3c777ebbc7c458">handleException</a> (const <a class="el" href="classxmlpp_1_1exception.html">exception</a>&amp; e)</td></tr>
<tr class="separator:a4d02cc2d687f0bd28e3c777ebbc7c458 inherit pro_methods_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af59b45514fe397db1dbb025a1a3b103f inherit pro_methods_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#af59b45514fe397db1dbb025a1a3b103f">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:af59b45514fe397db1dbb025a1a3b103f inherit pro_methods_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ef36a34b258165082c4f33737e743d2 inherit pro_methods_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#a7ef36a34b258165082c4f33737e743d2">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:a7ef36a34b258165082c4f33737e743d2 inherit pro_methods_classxmlpp_1_1Validator"><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 pro_static_methods_classxmlpp_1_1Validator"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_classxmlpp_1_1Validator')"><img src="closed.png" alt="-"/>&#160;Static Protected Member Functions inherited from <a class="el" href="classxmlpp_1_1Validator.html">xmlpp::Validator</a></td></tr>
<tr class="memitem:a616cad28f3d4f59b76edb916bffeb6ef inherit pro_static_methods_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#a616cad28f3d4f59b76edb916bffeb6ef">callback_validity_error</a> (void* ctx, const char* msg,...)</td></tr>
<tr class="separator:a616cad28f3d4f59b76edb916bffeb6ef inherit pro_static_methods_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f8938e79ca2c52ec26e499b356985a0 inherit pro_static_methods_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#a5f8938e79ca2c52ec26e499b356985a0">callback_validity_warning</a> (void* ctx, const char* msg,...)</td></tr>
<tr class="separator:a5f8938e79ca2c52ec26e499b356985a0 inherit pro_static_methods_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classxmlpp_1_1Validator"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classxmlpp_1_1Validator')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classxmlpp_1_1Validator.html">xmlpp::Validator</a></td></tr>
<tr class="memitem:a55796f9903e66aa4730313936fab1f0b inherit pro_attribs_classxmlpp_1_1Validator"><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_1Validator.html#a55796f9903e66aa4730313936fab1f0b">exception_</a></td></tr>
<tr class="separator:a55796f9903e66aa4730313936fab1f0b inherit pro_attribs_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c6ef225bbdf9053a7e83587262f30e9 inherit pro_attribs_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top">_xmlValidCtxt*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#a1c6ef225bbdf9053a7e83587262f30e9">valid_</a></td></tr>
<tr class="separator:a1c6ef225bbdf9053a7e83587262f30e9 inherit pro_attribs_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac28c8c06c9c3cbbebfa0d1c90d20cdf5 inherit pro_attribs_classxmlpp_1_1Validator"><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_1Validator.html#ac28c8c06c9c3cbbebfa0d1c90d20cdf5">validate_error_</a></td></tr>
<tr class="separator:ac28c8c06c9c3cbbebfa0d1c90d20cdf5 inherit pro_attribs_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa876f0e05457de97a3c2d598e4af2580 inherit pro_attribs_classxmlpp_1_1Validator"><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_1Validator.html#aa876f0e05457de97a3c2d598e4af2580">validate_warning_</a></td></tr>
<tr class="separator:aa876f0e05457de97a3c2d598e4af2580 inherit pro_attribs_classxmlpp_1_1Validator"><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>Base class for schema validators. </p>
<dl class="since_2_38"><dt><b><a class="el" href="since_2_38.html#_since_2_38000013">Since libxml++ 2.38:</a></b></dt><dd></dd></dl>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a9bbf27ae7711e2615ad41be99d002800"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef const void* <a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#a9bbf27ae7711e2615ad41be99d002800">xmlpp::SchemaValidatorBase::BoolExpr</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This typedef is just to make it more obvious that our operator const void* should be used like operator bool(). </p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1c2adfb1aa78dd89a48263a60d4738dc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::SchemaValidatorBase::SchemaValidatorBase </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a12420d3e5f5f42344d25a1215d300cdf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::SchemaValidatorBase::~SchemaValidatorBase </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="a9ef33467f0a566ebf917da7878b89f0d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::SchemaValidatorBase::initialize_valid </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_1Validator.html#a12ee744e385987547d1c449a1e4bf596">xmlpp::Validator</a>.</p>

<p>Reimplemented in <a class="el" href="classxmlpp_1_1XsdValidator.html#aacc239ad17640d32246b1661d0ebe055">xmlpp::XsdValidator</a>.</p>

</div>
</div>
<a class="anchor" id="a4caba0b7dfc1d507bc87ad05e8400197"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual xmlpp::SchemaValidatorBase::operator <a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#a9bbf27ae7711e2615ad41be99d002800">BoolExpr</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Test whether a schema has been parsed. </p>
<p>For instance </p><div class="fragment"><div class="line"><span class="keywordflow">if</span> (validator)</div>
<div class="line">  do_something();</div>
</div><!-- fragment --> 
<p>Implemented in <a class="el" href="classxmlpp_1_1RelaxNGValidator.html#a54b3bd61730a697202d19a3ae21f3934">xmlpp::RelaxNGValidator</a>, and <a class="el" href="classxmlpp_1_1XsdValidator.html#a2edf88b7f1b351908eb418077ba90e0e">xmlpp::XsdValidator</a>.</p>

</div>
</div>
<a class="anchor" id="aeb060a5d673e874faba60cccaae501e3"></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::SchemaValidatorBase::parse_document </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classxmlpp_1_1Document.html">Document</a>*&#160;</td>
          <td class="paramname"><em>document</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parse a schema definition from a document. </p>
<p>If the validator already contains a schema, that schema is released (deleted if the validator owns the schema). </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">document</td><td>A preparsed document tree, containing the schema definition. </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_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>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classxmlpp_1_1RelaxNGValidator.html#a6c4924eeabdd1d5f1074f4d804eff77c">xmlpp::RelaxNGValidator</a>, and <a class="el" href="classxmlpp_1_1XsdValidator.html#a694fa41042ee3a778da31be2b3f369cf">xmlpp::XsdValidator</a>.</p>

</div>
</div>
<a class="anchor" id="ad662fcf53f3da2a4d9ced7d96343a8e3"></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::SchemaValidatorBase::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">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parse a schema definition file. </p>
<p>If the validator already contains a schema, that schema is released (deleted if the validator owns the schema). </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>The URL of the schema. </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_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>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classxmlpp_1_1RelaxNGValidator.html#a4d873ff848baee8814c60af492d9e1c1">xmlpp::RelaxNGValidator</a>, and <a class="el" href="classxmlpp_1_1XsdValidator.html#a729e8129890be78aac470b8c7d405e23">xmlpp::XsdValidator</a>.</p>

</div>
</div>
<a class="anchor" id="a6f86ddf3b03c966a01defbeddc317837"></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::SchemaValidatorBase::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">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parse a schema definition from a string. </p>
<p>If the validator already contains a schema, that schema is released (deleted if the validator owns the schema). </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">contents</td><td>The schema definition 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_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>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classxmlpp_1_1RelaxNGValidator.html#a88790171ea1e7920bc9daf8ad6cf65a9">xmlpp::RelaxNGValidator</a>, and <a class="el" href="classxmlpp_1_1XsdValidator.html#a5714e80b6e53f8417ed57361b624f759">xmlpp::XsdValidator</a>.</p>

</div>
</div>
<a class="anchor" id="a3940b83397561cc5b57bd733fc8601f7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::SchemaValidatorBase::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_1Validator.html#a317466ca90b8e53d6f57e49fd032d8cb">xmlpp::Validator</a>.</p>

<p>Reimplemented in <a class="el" href="classxmlpp_1_1XsdValidator.html#ad1fd16066f28b3685c12412ee94c5f60">xmlpp::XsdValidator</a>.</p>

</div>
</div>
<a class="anchor" id="a06d84926fa95a7f021c524651cf60968"></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::SchemaValidatorBase::validate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classxmlpp_1_1Document.html">Document</a>*&#160;</td>
          <td class="paramname"><em>document</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Validate a document, using a previously parsed schema. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">document</td><td>Pointer to the document. </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_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>Implemented in <a class="el" href="classxmlpp_1_1RelaxNGValidator.html#a3f6d6b7a1397935c177a4137b395982f">xmlpp::RelaxNGValidator</a>, and <a class="el" href="classxmlpp_1_1XsdValidator.html#abaf4f86000739ea1758d2f4ae018ece8">xmlpp::XsdValidator</a>.</p>

</div>
</div>
<a class="anchor" id="ad4ccbaaac852cf9b55fb74e89f66fa33"></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::SchemaValidatorBase::validate </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">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Validate an XML file, using a previously parsed schema. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>The URL of the XML 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>Implemented in <a class="el" href="classxmlpp_1_1RelaxNGValidator.html#a3474091f868ffa009d794e4b720d1d32">xmlpp::RelaxNGValidator</a>, and <a class="el" href="classxmlpp_1_1XsdValidator.html#a67f29ed7c04ae7ff6dcad2a17e66795d">xmlpp::XsdValidator</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Oct 28 2015 14:41:04 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>