File: classxmlpp_1_1SchemaBase.html

package info (click to toggle)
libxml%2B%2B2.6 2.40.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,048 kB
  • ctags: 1,443
  • sloc: sh: 11,363; cpp: 7,695; xml: 996; perl: 289; makefile: 219
file content (260 lines) | stat: -rw-r--r-- 13,650 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
<!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::SchemaBase 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_1SchemaBase.html">SchemaBase</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classxmlpp_1_1SchemaBase-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">xmlpp::SchemaBase Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Base class for schemas, used for validation of XML files.  
 <a href="classxmlpp_1_1SchemaBase.html#details">More...</a></p>

<p><code>#include &lt;libxml++/schemabase.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for xmlpp::SchemaBase:</div>
<div class="dyncontent">
<div class="center"><img src="classxmlpp_1_1SchemaBase__inherit__graph.png" border="0" usemap="#xmlpp_1_1SchemaBase_inherit__map" alt="Inheritance graph"/></div>
<map name="xmlpp_1_1SchemaBase_inherit__map" id="xmlpp_1_1SchemaBase_inherit__map">
<area shape="rect" id="node3" href="classxmlpp_1_1RelaxNGSchema.html" title="Represents a RelaxNG schema for validating XML files. " alt="" coords="5,155,180,181"/><area shape="rect" id="node4" href="classxmlpp_1_1XsdSchema.html" title="Represents an XSD schema for validating XML files. " alt="" coords="204,155,349,181"/><area shape="rect" id="node2" href="classxmlpp_1_1NonCopyable.html" title="A base for classes which cannot be copied. " alt="" coords="107,5,262,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:a2ffebf4094ac35b6c3a5c85099a738fc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaBase.html#a2ffebf4094ac35b6c3a5c85099a738fc">SchemaBase</a> ()</td></tr>
<tr class="separator:a2ffebf4094ac35b6c3a5c85099a738fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a746df1307fcddeb3bbbf1f2ac834d79b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaBase.html#a746df1307fcddeb3bbbf1f2ac834d79b">~SchemaBase</a> () override</td></tr>
<tr class="separator:a746df1307fcddeb3bbbf1f2ac834d79b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0591e2b2adcb6cdceeb422526c133024"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaBase.html#a0591e2b2adcb6cdceeb422526c133024">parse_document</a> (const <a class="el" href="classxmlpp_1_1Document.html">Document</a>* document)=0</td></tr>
<tr class="memdesc:a0591e2b2adcb6cdceeb422526c133024"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a schema definition from a document.  <a href="#a0591e2b2adcb6cdceeb422526c133024">More...</a><br /></td></tr>
<tr class="separator:a0591e2b2adcb6cdceeb422526c133024"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75a4aa5f3972f1dd88af46de3f3307fc"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaBase.html#a75a4aa5f3972f1dd88af46de3f3307fc">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:a75a4aa5f3972f1dd88af46de3f3307fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a schema definition file.  <a href="#a75a4aa5f3972f1dd88af46de3f3307fc">More...</a><br /></td></tr>
<tr class="separator:a75a4aa5f3972f1dd88af46de3f3307fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8aaacd840324840bf0cee30cff1832c5"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaBase.html#a8aaacd840324840bf0cee30cff1832c5">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:a8aaacd840324840bf0cee30cff1832c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a schema definition from a string.  <a href="#a8aaacd840324840bf0cee30cff1832c5">More...</a><br /></td></tr>
<tr class="separator:a8aaacd840324840bf0cee30cff1832c5"><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 schemas, used for validation of XML files. </p>
<dl class="since_2_38"><dt><b><a class="el" href="since_2_38.html#_since_2_38000002">Since libxml++ 2.38:</a></b></dt><dd></dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2ffebf4094ac35b6c3a5c85099a738fc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::SchemaBase::SchemaBase </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a746df1307fcddeb3bbbf1f2ac834d79b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::SchemaBase::~SchemaBase </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="a0591e2b2adcb6cdceeb422526c133024"></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::SchemaBase::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 another schema has been parsed before, that schema is replaced by the new one. </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_1RelaxNGSchema.html#a547d258651169796055ccc76179c129b">xmlpp::RelaxNGSchema</a>, and <a class="el" href="classxmlpp_1_1XsdSchema.html#a74f5df9da50373456ccd84eb712fb147">xmlpp::XsdSchema</a>.</p>

</div>
</div>
<a class="anchor" id="a75a4aa5f3972f1dd88af46de3f3307fc"></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::SchemaBase::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 another schema has been parsed before, that schema is replaced by the new one. </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_1RelaxNGSchema.html#a735972ba9f69987339980572df8f7106">xmlpp::RelaxNGSchema</a>, and <a class="el" href="classxmlpp_1_1XsdSchema.html#aaded9f92eb161efa7861c1b30b146ee3">xmlpp::XsdSchema</a>.</p>

</div>
</div>
<a class="anchor" id="a8aaacd840324840bf0cee30cff1832c5"></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::SchemaBase::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 another schema has been parsed before, that schema is replaced by the new one. </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_1RelaxNGSchema.html#a26056dc0eed317f27ae45207a957d63b">xmlpp::RelaxNGSchema</a>, and <a class="el" href="classxmlpp_1_1XsdSchema.html#a9e6903a23561467af2a2284a578f47a3">xmlpp::XsdSchema</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>