File: XMLEntityDecl_8hpp-source.html

package info (click to toggle)
xerces-c 3.1.1-3%2Bdeb7u2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 39,584 kB
  • sloc: cpp: 166,988; xml: 12,028; sh: 10,236; ansic: 3,984; makefile: 1,290; perl: 500
file content (350 lines) | stat: -rw-r--r-- 40,083 bytes parent folder | download | duplicates (5)
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Xerces-C++: XMLEntityDecl.hpp Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="classes.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
<h1>XMLEntityDecl.hpp</h1><a href="XMLEntityDecl_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span>
<a name="l00003"></a>00003 <span class="comment"> * contributor license agreements.  See the NOTICE file distributed with</span>
<a name="l00004"></a>00004 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
<a name="l00005"></a>00005 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
<a name="l00006"></a>00006 <span class="comment"> * (the "License"); you may not use this file except in compliance with</span>
<a name="l00007"></a>00007 <span class="comment"> * the License.  You may obtain a copy of the License at</span>
<a name="l00008"></a>00008 <span class="comment"> *</span>
<a name="l00009"></a>00009 <span class="comment"> *      http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00010"></a>00010 <span class="comment"> *</span>
<a name="l00011"></a>00011 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
<a name="l00012"></a>00012 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
<a name="l00013"></a>00013 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00014"></a>00014 <span class="comment"> * See the License for the specific language governing permissions and</span>
<a name="l00015"></a>00015 <span class="comment"> * limitations under the License.</span>
<a name="l00016"></a>00016 <span class="comment"> */</span>
<a name="l00017"></a>00017 
<a name="l00018"></a>00018 <span class="comment">/*</span>
<a name="l00019"></a>00019 <span class="comment"> * $Id: XMLEntityDecl.hpp 932887 2010-04-11 13:04:59Z borisk $</span>
<a name="l00020"></a>00020 <span class="comment"> */</span>
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 <span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_XMLENTITYDECL_HPP)</span>
<a name="l00023"></a><a class="code" href="XMLEntityDecl_8hpp.html#5699645de1fd4f4a14ed414e4842ed95">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCESC_INCLUDE_GUARD_XMLENTITYDECL_HPP</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;<a class="code" href="XMemory_8hpp.html">xercesc/util/XMemory.hpp</a>&gt;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;<a class="code" href="PlatformUtils_8hpp.html">xercesc/util/PlatformUtils.hpp</a>&gt;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;<a class="code" href="XMLString_8hpp.html">xercesc/util/XMLString.hpp</a>&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;xercesc/internal/XSerializable.hpp&gt;</span>
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 <a class="code" href="XercesDefs_8hpp.html#43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a>
<a name="l00031"></a>00031 
<a name="l00050"></a><a class="code" href="classXMLEntityDecl.html">00050</a> <span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#13df5a01e63e51f62a1467b588b59054">XMLPARSER_EXPORT</a> <a class="code" href="classXMLEntityDecl.html" title="This class defines that core information that defines an XML entity, no matter what...">XMLEntityDecl</a> : <span class="keyword">public</span> XSerializable, <span class="keyword">public</span> <a class="code" href="classXMemory.html" title="This class makes it possible to override the C++ memory management by adding new/delete...">XMemory</a>
<a name="l00051"></a>00051 {
<a name="l00052"></a>00052 <span class="keyword">public</span>:
<a name="l00053"></a>00053     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00054"></a>00054     <span class="comment">//  Constructors and Destructor</span>
<a name="l00055"></a>00055     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00056"></a>00056 
<a name="l00059"></a>00059 
<a name="l00063"></a>00063     <a class="code" href="classXMLEntityDecl.html" title="This class defines that core information that defines an XML entity, no matter what...">XMLEntityDecl</a>(<a class="code" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252" title="The configurable memory manager.">XMLPlatformUtils::fgMemoryManager</a>);
<a name="l00064"></a>00064 
<a name="l00071"></a>00071     <a class="code" href="classXMLEntityDecl.html" title="This class defines that core information that defines an XML entity, no matter what...">XMLEntityDecl</a>
<a name="l00072"></a>00072     (
<a name="l00073"></a>00073         <span class="keyword">const</span>   <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span>    entName
<a name="l00074"></a>00074         , <a class="code" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252" title="The configurable memory manager.">XMLPlatformUtils::fgMemoryManager</a>
<a name="l00075"></a>00075     );
<a name="l00076"></a>00076 
<a name="l00085"></a>00085     <a class="code" href="classXMLEntityDecl.html" title="This class defines that core information that defines an XML entity, no matter what...">XMLEntityDecl</a>
<a name="l00086"></a>00086     (
<a name="l00087"></a>00087         <span class="keyword">const</span>   <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span>    entName
<a name="l00088"></a>00088         , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span>    value
<a name="l00089"></a>00089         , <a class="code" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252" title="The configurable memory manager.">XMLPlatformUtils::fgMemoryManager</a>
<a name="l00090"></a>00090     );
<a name="l00091"></a>00091 
<a name="l00100"></a>00100     <a class="code" href="classXMLEntityDecl.html" title="This class defines that core information that defines an XML entity, no matter what...">XMLEntityDecl</a>
<a name="l00101"></a>00101     (
<a name="l00102"></a>00102         <span class="keyword">const</span>   <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span>    entName
<a name="l00103"></a>00103         , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>           value
<a name="l00104"></a>00104         , <a class="code" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252" title="The configurable memory manager.">XMLPlatformUtils::fgMemoryManager</a>
<a name="l00105"></a>00105     );
<a name="l00107"></a>00107 
<a name="l00110"></a>00110 
<a name="l00114"></a>00114     <span class="keyword">virtual</span> ~<a class="code" href="classXMLEntityDecl.html" title="This class defines that core information that defines an XML entity, no matter what...">XMLEntityDecl</a>();
<a name="l00115"></a>00115 
<a name="l00117"></a>00117 
<a name="l00118"></a>00118 
<a name="l00119"></a>00119     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00120"></a>00120     <span class="comment">//  Virtual entity decl interface</span>
<a name="l00121"></a>00121     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00122"></a>00122 
<a name="l00125"></a>00125 
<a name="l00133"></a>00133     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getDeclaredInIntSubset() <span class="keyword">const</span> = 0;
<a name="l00134"></a>00134 
<a name="l00140"></a>00140     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getIsParameter() <span class="keyword">const</span> = 0;
<a name="l00141"></a>00141 
<a name="l00147"></a>00147     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getIsSpecialChar() <span class="keyword">const</span> = 0;
<a name="l00148"></a>00148 
<a name="l00150"></a>00150 
<a name="l00151"></a>00151 
<a name="l00152"></a>00152     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00153"></a>00153     <span class="comment">//  Getter methods</span>
<a name="l00154"></a>00154     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00155"></a>00155 
<a name="l00158"></a>00158 
<a name="l00163"></a>00163     <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> getId() <span class="keyword">const</span>;
<a name="l00164"></a>00164 
<a name="l00170"></a>00170     <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getName() <span class="keyword">const</span>;
<a name="l00171"></a>00171 
<a name="l00176"></a>00176     <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getNotationName() <span class="keyword">const</span>;
<a name="l00177"></a>00177 
<a name="l00182"></a>00182     <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getPublicId() <span class="keyword">const</span>;
<a name="l00183"></a>00183 
<a name="l00188"></a>00188     <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getSystemId() <span class="keyword">const</span>;
<a name="l00189"></a>00189 
<a name="l00193"></a>00193     <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getBaseURI() <span class="keyword">const</span>;
<a name="l00194"></a>00194 
<a name="l00200"></a>00200     <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getValue() <span class="keyword">const</span>;
<a name="l00201"></a>00201 
<a name="l00207"></a>00207     <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> getValueLen() <span class="keyword">const</span>;
<a name="l00208"></a>00208 
<a name="l00213"></a>00213     <span class="keywordtype">bool</span> isExternal() <span class="keyword">const</span>;
<a name="l00214"></a>00214 
<a name="l00220"></a>00220     <span class="keywordtype">bool</span> isUnparsed() <span class="keyword">const</span>;
<a name="l00221"></a>00221 
<a name="l00229"></a>00229     <a class="code" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* getMemoryManager() <span class="keyword">const</span>;
<a name="l00230"></a>00230 
<a name="l00232"></a>00232 
<a name="l00233"></a>00233 
<a name="l00234"></a>00234     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00235"></a>00235     <span class="comment">//  Setter methods</span>
<a name="l00236"></a>00236     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00237"></a>00237 
<a name="l00240"></a>00240 
<a name="l00249"></a>00249     <span class="keywordtype">void</span> setName
<a name="l00250"></a>00250     (
<a name="l00251"></a>00251         <span class="keyword">const</span>   <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span>    entName
<a name="l00252"></a>00252     );
<a name="l00253"></a>00253 
<a name="l00259"></a>00259     <span class="keywordtype">void</span> setIsExternal(<span class="keywordtype">bool</span> value);
<a name="l00260"></a>00260 
<a name="l00267"></a>00267     <span class="keywordtype">void</span> setNotationName(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> newName);
<a name="l00268"></a>00268 
<a name="l00275"></a>00275     <span class="keywordtype">void</span> setPublicId(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> newId);
<a name="l00276"></a>00276 
<a name="l00286"></a>00286     <span class="keywordtype">void</span> setSystemId(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> newId);
<a name="l00287"></a>00287 
<a name="l00294"></a>00294     <span class="keywordtype">void</span> setBaseURI(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> newId);
<a name="l00295"></a>00295 
<a name="l00303"></a>00303     <span class="keywordtype">void</span> setValue(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> newValue);
<a name="l00304"></a>00304 
<a name="l00306"></a>00306 
<a name="l00307"></a>00307     <span class="comment">/* For internal use only */</span>
<a name="l00308"></a>00308     <span class="keywordtype">void</span> setId(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> newId);
<a name="l00309"></a>00309 
<a name="l00310"></a>00310 
<a name="l00311"></a>00311     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00312"></a>00312     <span class="comment">//  Support named pool syntax</span>
<a name="l00313"></a>00313     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00314"></a>00314 
<a name="l00317"></a>00317 
<a name="l00324"></a>00324     <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getKey() <span class="keyword">const</span>;
<a name="l00325"></a>00325 
<a name="l00327"></a>00327 
<a name="l00328"></a>00328     <span class="comment">/***</span>
<a name="l00329"></a>00329 <span class="comment">     * Support for Serialization/De-serialization</span>
<a name="l00330"></a>00330 <span class="comment">     ***/</span>
<a name="l00331"></a>00331     DECL_XSERIALIZABLE(<a class="code" href="classXMLEntityDecl.html" title="This class defines that core information that defines an XML entity, no matter what...">XMLEntityDecl</a>)
<a name="l00332"></a>00332 
<a name="l00333"></a>00333 <span class="keyword">private</span> :
<a name="l00334"></a>00334     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00335"></a>00335     <span class="comment">//  Unimplemented constructors and operators</span>
<a name="l00336"></a>00336     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00337"></a>00337     <a class="code" href="classXMLEntityDecl.html" title="This class defines that core information that defines an XML entity, no matter what...">XMLEntityDecl</a>(<span class="keyword">const</span> <a class="code" href="classXMLEntityDecl.html" title="This class defines that core information that defines an XML entity, no matter what...">XMLEntityDecl</a>&amp;);
<a name="l00338"></a>00338     <a class="code" href="classXMLEntityDecl.html" title="This class defines that core information that defines an XML entity, no matter what...">XMLEntityDecl</a>&amp; operator=(<a class="code" href="classXMLEntityDecl.html" title="This class defines that core information that defines an XML entity, no matter what...">XMLEntityDecl</a>&amp;);
<a name="l00339"></a>00339 
<a name="l00340"></a>00340 
<a name="l00341"></a>00341     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00342"></a>00342     <span class="comment">//  XMLEntityDecl: Private helper methods</span>
<a name="l00343"></a>00343     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00344"></a>00344     <span class="keywordtype">void</span> cleanUp();
<a name="l00345"></a>00345 
<a name="l00346"></a>00346 
<a name="l00347"></a>00347     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00348"></a>00348     <span class="comment">//  Private data members</span>
<a name="l00349"></a>00349     <span class="comment">//</span>
<a name="l00350"></a>00350     <span class="comment">//  fId</span>
<a name="l00351"></a>00351     <span class="comment">//      This is the unique id given to this entity decl.</span>
<a name="l00352"></a>00352     <span class="comment">//</span>
<a name="l00353"></a>00353     <span class="comment">//  fName</span>
<a name="l00354"></a>00354     <span class="comment">//      The name of the entity. Entity names are never namespace based.</span>
<a name="l00355"></a>00355     <span class="comment">//</span>
<a name="l00356"></a>00356     <span class="comment">//  fNotationName</span>
<a name="l00357"></a>00357     <span class="comment">//      The optional notation of the entity. If there was none, then its</span>
<a name="l00358"></a>00358     <span class="comment">//      empty.</span>
<a name="l00359"></a>00359     <span class="comment">//</span>
<a name="l00360"></a>00360     <span class="comment">//  fPublicId</span>
<a name="l00361"></a>00361     <span class="comment">//      The public id of the entity, which can be empty.</span>
<a name="l00362"></a>00362     <span class="comment">//</span>
<a name="l00363"></a>00363     <span class="comment">//  fSystemId</span>
<a name="l00364"></a>00364     <span class="comment">//      The system id of the entity.</span>
<a name="l00365"></a>00365     <span class="comment">//</span>
<a name="l00366"></a>00366     <span class="comment">//  fValue</span>
<a name="l00367"></a>00367     <span class="comment">//  fValueLen</span>
<a name="l00368"></a>00368     <span class="comment">//      The entity's value and length, which is only valid if its an</span>
<a name="l00369"></a>00369     <span class="comment">//      internal style entity.</span>
<a name="l00370"></a>00370     <span class="comment">//</span>
<a name="l00371"></a>00371     <span class="comment">//  fBaseURI</span>
<a name="l00372"></a>00372     <span class="comment">//      The base URI of the entity.   According to XML InfoSet, such value</span>
<a name="l00373"></a>00373     <span class="comment">//      is the URI where it is declared (NOT referenced).</span>
<a name="l00374"></a>00374     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00375"></a>00375     <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>       fId;
<a name="l00376"></a>00376     <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>       fValueLen;
<a name="l00377"></a>00377     <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>*          fValue;
<a name="l00378"></a>00378     <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>*          fName;
<a name="l00379"></a>00379     <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>*          fNotationName;
<a name="l00380"></a>00380     <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>*          fPublicId;
<a name="l00381"></a>00381     <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>*          fSystemId;
<a name="l00382"></a>00382     <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>*          fBaseURI;
<a name="l00383"></a>00383     <span class="keywordtype">bool</span>            fIsExternal;
<a name="l00384"></a>00384     <a class="code" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>*  fMemoryManager;
<a name="l00385"></a>00385 };
<a name="l00386"></a>00386 
<a name="l00387"></a>00387 
<a name="l00388"></a>00388 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00389"></a>00389 <span class="comment">//  XMLEntityDecl: Getter methods</span>
<a name="l00390"></a>00390 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00391"></a><a class="code" href="classXMLEntityDecl.html#b0ab12d806bd3ca372a34d3ad9901f35">00391</a> <span class="keyword">inline</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> <a class="code" href="classXMLEntityDecl.html#b0ab12d806bd3ca372a34d3ad9901f35" title="Gets the pool id of this entity.">XMLEntityDecl::getId</a>()<span class="keyword"> const</span>
<a name="l00392"></a>00392 <span class="keyword"></span>{
<a name="l00393"></a>00393     <span class="keywordflow">return</span> fId;
<a name="l00394"></a>00394 }
<a name="l00395"></a>00395 
<a name="l00396"></a><a class="code" href="classXMLEntityDecl.html#05242032478ab8b623868bb816d6d171">00396</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLEntityDecl.html#05242032478ab8b623868bb816d6d171" title="Returns a const pointer to the name of this entity decl.">XMLEntityDecl::getName</a>()<span class="keyword"> const</span>
<a name="l00397"></a>00397 <span class="keyword"></span>{
<a name="l00398"></a>00398     <span class="keywordflow">return</span> fName;
<a name="l00399"></a>00399 }
<a name="l00400"></a>00400 
<a name="l00401"></a><a class="code" href="classXMLEntityDecl.html#5f2de0ff5fbace013d141d04b3cce5ae">00401</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLEntityDecl.html#5f2de0ff5fbace013d141d04b3cce5ae" title="Gets the notation name, if any, declared for this entity.">XMLEntityDecl::getNotationName</a>()<span class="keyword"> const</span>
<a name="l00402"></a>00402 <span class="keyword"></span>{
<a name="l00403"></a>00403     <span class="keywordflow">return</span> fNotationName;
<a name="l00404"></a>00404 }
<a name="l00405"></a>00405 
<a name="l00406"></a><a class="code" href="classXMLEntityDecl.html#556294721983195f3b11d17ef6096782">00406</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLEntityDecl.html#556294721983195f3b11d17ef6096782" title="Gets the public id declared for this entity.">XMLEntityDecl::getPublicId</a>()<span class="keyword"> const</span>
<a name="l00407"></a>00407 <span class="keyword"></span>{
<a name="l00408"></a>00408     <span class="keywordflow">return</span> fPublicId;
<a name="l00409"></a>00409 }
<a name="l00410"></a>00410 
<a name="l00411"></a><a class="code" href="classXMLEntityDecl.html#3a1517f35811c2accaa227dbb1a56b14">00411</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLEntityDecl.html#3a1517f35811c2accaa227dbb1a56b14" title="Gets the system id declared for this entity.">XMLEntityDecl::getSystemId</a>()<span class="keyword"> const</span>
<a name="l00412"></a>00412 <span class="keyword"></span>{
<a name="l00413"></a>00413     <span class="keywordflow">return</span> fSystemId;
<a name="l00414"></a>00414 }
<a name="l00415"></a>00415 
<a name="l00416"></a><a class="code" href="classXMLEntityDecl.html#e942c8bb057af9d1d4e9089db812bf2a">00416</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLEntityDecl.html#e942c8bb057af9d1d4e9089db812bf2a" title="Gets the base URI for this entity.">XMLEntityDecl::getBaseURI</a>()<span class="keyword"> const</span>
<a name="l00417"></a>00417 <span class="keyword"></span>{
<a name="l00418"></a>00418     <span class="keywordflow">return</span> fBaseURI;
<a name="l00419"></a>00419 }
<a name="l00420"></a>00420 
<a name="l00421"></a><a class="code" href="classXMLEntityDecl.html#7ad3be40448f8e0175df31c483050cd7">00421</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLEntityDecl.html#7ad3be40448f8e0175df31c483050cd7" title="This method returns the value of an internal entity.">XMLEntityDecl::getValue</a>()<span class="keyword"> const</span>
<a name="l00422"></a>00422 <span class="keyword"></span>{
<a name="l00423"></a>00423     <span class="keywordflow">return</span> fValue;
<a name="l00424"></a>00424 }
<a name="l00425"></a>00425 
<a name="l00426"></a><a class="code" href="classXMLEntityDecl.html#e03ca4c2d0a949749fb289150ee74905">00426</a> <span class="keyword">inline</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> <a class="code" href="classXMLEntityDecl.html#e03ca4c2d0a949749fb289150ee74905" title="This method returns the number of characters in the value returned by getValue()...">XMLEntityDecl::getValueLen</a>()<span class="keyword"> const</span>
<a name="l00427"></a>00427 <span class="keyword"></span>{
<a name="l00428"></a>00428     <span class="keywordflow">return</span> fValueLen;
<a name="l00429"></a>00429 }
<a name="l00430"></a>00430 
<a name="l00431"></a><a class="code" href="classXMLEntityDecl.html#97f47aeab07d5076e5087fb294358a8f">00431</a> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classXMLEntityDecl.html#97f47aeab07d5076e5087fb294358a8f" title="Indicates that this entity is an external entity.">XMLEntityDecl::isExternal</a>()<span class="keyword"> const</span>
<a name="l00432"></a>00432 <span class="keyword"></span>{
<a name="l00433"></a>00433     <span class="keywordflow">return</span> fIsExternal;
<a name="l00434"></a>00434 }
<a name="l00435"></a>00435 
<a name="l00436"></a><a class="code" href="classXMLEntityDecl.html#b3abaa887ab3b9e86efb679c0d3c95de">00436</a> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classXMLEntityDecl.html#b3abaa887ab3b9e86efb679c0d3c95de" title="Indicates whether this entity is unparsed.">XMLEntityDecl::isUnparsed</a>()<span class="keyword"> const</span>
<a name="l00437"></a>00437 <span class="keyword"></span>{
<a name="l00438"></a>00438     <span class="comment">// If it has a notation, its unparsed</span>
<a name="l00439"></a>00439     <span class="keywordflow">return</span> (fNotationName != 0);
<a name="l00440"></a>00440 }
<a name="l00441"></a>00441 
<a name="l00442"></a><a class="code" href="classXMLEntityDecl.html#adce21e0f4469ddbb274334ed35e3373">00442</a> <span class="keyword">inline</span> <a class="code" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <a class="code" href="classXMLEntityDecl.html#adce21e0f4469ddbb274334ed35e3373" title="Get the plugged-in memory manager.">XMLEntityDecl::getMemoryManager</a>()<span class="keyword"> const</span>
<a name="l00443"></a>00443 <span class="keyword"></span>{
<a name="l00444"></a>00444     <span class="keywordflow">return</span> fMemoryManager;
<a name="l00445"></a>00445 }
<a name="l00446"></a>00446 
<a name="l00447"></a>00447 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00448"></a>00448 <span class="comment">//  XMLEntityDecl: Setter methods</span>
<a name="l00449"></a>00449 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00450"></a><a class="code" href="classXMLEntityDecl.html#5bcf1342d2a1362692f38cdbd0488d37">00450</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXMLEntityDecl.html#5bcf1342d2a1362692f38cdbd0488d37">XMLEntityDecl::setId</a>(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> newId)
<a name="l00451"></a>00451 {
<a name="l00452"></a>00452     fId = newId;
<a name="l00453"></a>00453 }
<a name="l00454"></a>00454 
<a name="l00455"></a><a class="code" href="classXMLEntityDecl.html#9a0a0ab23765859440afef7e83f55f1f">00455</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXMLEntityDecl.html#9a0a0ab23765859440afef7e83f55f1f" title="This method will mark whether the entity is external.">XMLEntityDecl::setIsExternal</a>(<span class="keywordtype">bool</span> value)
<a name="l00456"></a>00456 {
<a name="l00457"></a>00457     fIsExternal = value;
<a name="l00458"></a>00458 }
<a name="l00459"></a>00459 
<a name="l00460"></a><a class="code" href="classXMLEntityDecl.html#99b264254c9e3dfa96936f06cd903233">00460</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXMLEntityDecl.html#99b264254c9e3dfa96936f06cd903233" title="This method will set the notation name for this entity.">XMLEntityDecl::setNotationName</a>(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> newName)
<a name="l00461"></a>00461 {
<a name="l00462"></a>00462     <span class="keywordflow">if</span> (fNotationName)
<a name="l00463"></a>00463         fMemoryManager-&gt;<a class="code" href="classMemoryManager.html#f7dce9eab3a2a41e5b887ba735180e67" title="This method deallocates memory.">deallocate</a>(fNotationName);
<a name="l00464"></a>00464 
<a name="l00465"></a>00465     fNotationName = <a class="code" href="classXMLString.html#bd917532682cddc53a96706f4c388fc9" title="Replicates a string NOTE: The returned buffer is allocated with the MemoryManager...">XMLString::replicate</a>(newName, fMemoryManager);
<a name="l00466"></a>00466 }
<a name="l00467"></a>00467 
<a name="l00468"></a><a class="code" href="classXMLEntityDecl.html#358e1c34ad0ffd22dc699f7aba8d833c">00468</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXMLEntityDecl.html#358e1c34ad0ffd22dc699f7aba8d833c" title="This method will set a new public id on this entity.">XMLEntityDecl::setPublicId</a>(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> newId)
<a name="l00469"></a>00469 {
<a name="l00470"></a>00470     <span class="keywordflow">if</span> (fPublicId)
<a name="l00471"></a>00471         fMemoryManager-&gt;<a class="code" href="classMemoryManager.html#f7dce9eab3a2a41e5b887ba735180e67" title="This method deallocates memory.">deallocate</a>(fPublicId);
<a name="l00472"></a>00472 
<a name="l00473"></a>00473     fPublicId = <a class="code" href="classXMLString.html#bd917532682cddc53a96706f4c388fc9" title="Replicates a string NOTE: The returned buffer is allocated with the MemoryManager...">XMLString::replicate</a>(newId, fMemoryManager);
<a name="l00474"></a>00474 }
<a name="l00475"></a>00475 
<a name="l00476"></a><a class="code" href="classXMLEntityDecl.html#c8f4fc94cac11ad5a9f8dbf0d3ae86fb">00476</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXMLEntityDecl.html#c8f4fc94cac11ad5a9f8dbf0d3ae86fb" title="This method will set a new sysetm id on this entity.">XMLEntityDecl::setSystemId</a>(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> newId)
<a name="l00477"></a>00477 {
<a name="l00478"></a>00478     <span class="keywordflow">if</span> (fSystemId)
<a name="l00479"></a>00479         fMemoryManager-&gt;<a class="code" href="classMemoryManager.html#f7dce9eab3a2a41e5b887ba735180e67" title="This method deallocates memory.">deallocate</a>(fSystemId);
<a name="l00480"></a>00480 
<a name="l00481"></a>00481     fSystemId = <a class="code" href="classXMLString.html#bd917532682cddc53a96706f4c388fc9" title="Replicates a string NOTE: The returned buffer is allocated with the MemoryManager...">XMLString::replicate</a>(newId, fMemoryManager);
<a name="l00482"></a>00482 }
<a name="l00483"></a>00483 
<a name="l00484"></a><a class="code" href="classXMLEntityDecl.html#a452395af27f5786026d7fe817f80c56">00484</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXMLEntityDecl.html#a452395af27f5786026d7fe817f80c56" title="This method will set a new baseURI on this entity.">XMLEntityDecl::setBaseURI</a>(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> newId)
<a name="l00485"></a>00485 {
<a name="l00486"></a>00486     <span class="keywordflow">if</span> (fBaseURI)
<a name="l00487"></a>00487         fMemoryManager-&gt;<a class="code" href="classMemoryManager.html#f7dce9eab3a2a41e5b887ba735180e67" title="This method deallocates memory.">deallocate</a>(fBaseURI);
<a name="l00488"></a>00488 
<a name="l00489"></a>00489     fBaseURI = <a class="code" href="classXMLString.html#bd917532682cddc53a96706f4c388fc9" title="Replicates a string NOTE: The returned buffer is allocated with the MemoryManager...">XMLString::replicate</a>(newId, fMemoryManager);
<a name="l00490"></a>00490 }
<a name="l00491"></a>00491 
<a name="l00492"></a><a class="code" href="classXMLEntityDecl.html#d4e0af0e1b309b00f78aa45d6373dc13">00492</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXMLEntityDecl.html#d4e0af0e1b309b00f78aa45d6373dc13" title="This method will set a new value for this entity.">XMLEntityDecl::setValue</a>(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> newValue)
<a name="l00493"></a>00493 {
<a name="l00494"></a>00494     <span class="keywordflow">if</span> (fValue)
<a name="l00495"></a>00495         fMemoryManager-&gt;<a class="code" href="classMemoryManager.html#f7dce9eab3a2a41e5b887ba735180e67" title="This method deallocates memory.">deallocate</a>(fValue);
<a name="l00496"></a>00496 
<a name="l00497"></a>00497     fValue = <a class="code" href="classXMLString.html#bd917532682cddc53a96706f4c388fc9" title="Replicates a string NOTE: The returned buffer is allocated with the MemoryManager...">XMLString::replicate</a>(newValue, fMemoryManager);
<a name="l00498"></a>00498     fValueLen = <a class="code" href="classXMLString.html#07607dd80d903f52c296f0ce8c3fa9c4" title="Get the length of the string.">XMLString::stringLen</a>(newValue);
<a name="l00499"></a>00499 }
<a name="l00500"></a>00500 
<a name="l00501"></a>00501 
<a name="l00502"></a>00502 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00503"></a>00503 <span class="comment">//  XMLEntityDecl: Support named pool syntax</span>
<a name="l00504"></a>00504 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00505"></a><a class="code" href="classXMLEntityDecl.html#f360a36167d6f3dd9c5e18af48ea9bce">00505</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLEntityDecl.html#f360a36167d6f3dd9c5e18af48ea9bce" title="This method allows objects of this class to be used within a standard keyed collection...">XMLEntityDecl::getKey</a>()<span class="keyword"> const</span>
<a name="l00506"></a>00506 <span class="keyword"></span>{
<a name="l00507"></a>00507     <span class="keywordflow">return</span> fName;
<a name="l00508"></a>00508 }
<a name="l00509"></a>00509 
<a name="l00510"></a>00510 <a class="code" href="XercesDefs_8hpp.html#f03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a>
<a name="l00511"></a>00511 
<a name="l00512"></a>00512 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Apr 21 17:55:49 2010 for Xerces-C++ by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>