You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

255 lines
36 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.9.1"/>
  7. <title>Xerces-C++: InputSource.hpp Source File</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <div id="titlearea">
  16. <table cellspacing="0" cellpadding="0">
  17. <tbody>
  18. <tr style="height: 56px;">
  19. <td style="padding-left: 0.5em;">
  20. <div id="projectname">Xerces-C++
  21. &#160;<span id="projectnumber">3.1.2</span>
  22. </div>
  23. </td>
  24. </tr>
  25. </tbody>
  26. </table>
  27. </div>
  28. <!-- end header part -->
  29. <!-- Generated by Doxygen 1.8.9.1 -->
  30. <div id="navrow1" class="tabs">
  31. <ul class="tablist">
  32. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  33. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  34. <li><a href="annotated.html"><span>Classes</span></a></li>
  35. <li class="current"><a href="files.html"><span>Files</span></a></li>
  36. </ul>
  37. </div>
  38. <div id="navrow2" class="tabs2">
  39. <ul class="tablist">
  40. <li><a href="files.html"><span>File&#160;List</span></a></li>
  41. <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  42. </ul>
  43. </div>
  44. <div id="nav-path" class="navpath">
  45. <ul>
  46. <li class="navelem"><a class="el" href="dir_901b4356d5f32ee418b4c714d07fb65a.html">src</a></li><li class="navelem"><a class="el" href="dir_477226ead712f319998d821c029f7620.html">xercesc</a></li><li class="navelem"><a class="el" href="dir_820e1b2cdce4ded8f506335e7f2d82c0.html">sax</a></li> </ul>
  47. </div>
  48. </div><!-- top -->
  49. <div class="header">
  50. <div class="headertitle">
  51. <div class="title">InputSource.hpp</div> </div>
  52. </div><!--header-->
  53. <div class="contents">
  54. <a href="InputSource_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div>
  55. <div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span></div>
  56. <div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span></div>
  57. <div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * this work for additional information regarding copyright ownership.</span></div>
  58. <div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span></div>
  59. <div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * (the &quot;License&quot;); you may not use this file except in compliance with</span></div>
  60. <div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * the License. You may obtain a copy of the License at</span></div>
  61. <div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * </span></div>
  62. <div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div>
  63. <div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * </span></div>
  64. <div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div>
  65. <div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
  66. <div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
  67. <div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * See the License for the specific language governing permissions and</span></div>
  68. <div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * limitations under the License.</span></div>
  69. <div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> */</span></div>
  70. <div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div>
  71. <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">/*</span></div>
  72. <div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> * $Id: InputSource.hpp 932887 2010-04-11 13:04:59Z borisk $</span></div>
  73. <div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> */</span></div>
  74. <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
  75. <div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_INPUTSOURCE_HPP)</span></div>
  76. <div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#define XERCESC_INCLUDE_GUARD_INPUTSOURCE_HPP</span></div>
  77. <div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div>
  78. <div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="PlatformUtils_8hpp.html">xercesc/util/PlatformUtils.hpp</a>&gt;</span></div>
  79. <div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div>
  80. <div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<a class="code" href="XercesDefs_8hpp.html#a43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a></div>
  81. <div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div>
  82. <div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">class </span><a class="code" href="classBinInputStream.html">BinInputStream</a>;</div>
  83. <div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div>
  84. <div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div>
  85. <div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classInputSource.html"> 62</a></span>&#160;<span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#a7fdf07718ad6e0a80a00387c4fb5f82d">SAX_EXPORT</a> <a class="code" href="classInputSource.html">InputSource</a> : <span class="keyword">public</span> <a class="code" href="classXMemory.html">XMemory</a></div>
  86. <div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;{</div>
  87. <div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="keyword">public</span>:</div>
  88. <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  89. <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="comment">// All constructors are hidden, just the destructor is available</span></div>
  90. <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  91. <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="comment"></span> <span class="keyword">virtual</span> ~<a class="code" href="classInputSource.html">InputSource</a>();</div>
  92. <div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;</div>
  93. <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;</div>
  94. <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  95. <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;<span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="classBinInputStream.html">BinInputStream</a>* makeStream() <span class="keyword">const</span> = 0;</div>
  96. <div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;</div>
  97. <div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;</div>
  98. <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;</div>
  99. <div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  100. <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;<span class="comment"></span> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getEncoding() <span class="keyword">const</span>;</div>
  101. <div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;</div>
  102. <div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;</div>
  103. <div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getPublicId() <span class="keyword">const</span>;</div>
  104. <div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;</div>
  105. <div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;</div>
  106. <div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getSystemId() <span class="keyword">const</span>;</div>
  107. <div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;</div>
  108. <div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getIssueFatalErrorIfNotFound() <span class="keyword">const</span>;</div>
  109. <div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;</div>
  110. <div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <a class="code" href="classMemoryManager.html">MemoryManager</a>* getMemoryManager() <span class="keyword">const</span>;</div>
  111. <div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;</div>
  112. <div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;</div>
  113. <div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;</div>
  114. <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  115. <div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;<span class="comment"></span></div>
  116. <div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> setEncoding(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> encodingStr);</div>
  117. <div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;</div>
  118. <div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;</div>
  119. <div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> setPublicId(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> publicId);</div>
  120. <div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;</div>
  121. <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> setSystemId(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> systemId);</div>
  122. <div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;</div>
  123. <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> setIssueFatalErrorIfNotFound(<span class="keyword">const</span> <span class="keywordtype">bool</span> flag);</div>
  124. <div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160;</div>
  125. <div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160;</div>
  126. <div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;</div>
  127. <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160;<span class="keyword">protected</span> :</div>
  128. <div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  129. <div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; <span class="comment">// Hidden constructors</span></div>
  130. <div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  131. <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;<span class="comment"></span> <a class="code" href="classInputSource.html">InputSource</a>(<a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>);</div>
  132. <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;</div>
  133. <div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; <a class="code" href="classInputSource.html">InputSource</a>(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> systemId,</div>
  134. <div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>);</div>
  135. <div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;</div>
  136. <div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <a class="code" href="classInputSource.html">InputSource</a></div>
  137. <div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; (</div>
  138. <div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> systemId</div>
  139. <div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> publicId</div>
  140. <div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  141. <div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; );</div>
  142. <div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160;</div>
  143. <div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; <a class="code" href="classInputSource.html">InputSource</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> systemId,</div>
  144. <div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>);</div>
  145. <div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160;</div>
  146. <div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; <a class="code" href="classInputSource.html">InputSource</a></div>
  147. <div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; (</div>
  148. <div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> systemId</div>
  149. <div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> publicId</div>
  150. <div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  151. <div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; );</div>
  152. <div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160;</div>
  153. <div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160;</div>
  154. <div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160;</div>
  155. <div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160;</div>
  156. <div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160;</div>
  157. <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160;</div>
  158. <div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160;<span class="keyword">private</span>:</div>
  159. <div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  160. <div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; <span class="comment">// Unimplemented constructors and operators</span></div>
  161. <div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  162. <div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; <a class="code" href="classInputSource.html">InputSource</a>(<span class="keyword">const</span> <a class="code" href="classInputSource.html">InputSource</a>&amp;);</div>
  163. <div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; <a class="code" href="classInputSource.html">InputSource</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classInputSource.html">InputSource</a>&amp;);</div>
  164. <div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160;</div>
  165. <div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160;</div>
  166. <div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  167. <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; <span class="comment">// Private data members</span></div>
  168. <div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; <span class="comment">//</span></div>
  169. <div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; <span class="comment">// fEncoding</span></div>
  170. <div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; <span class="comment">// This is the encoding to use. Usually this is null, which means</span></div>
  171. <div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; <span class="comment">// to use the information found in the file itself. But, if set,</span></div>
  172. <div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; <span class="comment">// this encoding will be used without question.</span></div>
  173. <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; <span class="comment">//</span></div>
  174. <div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; <span class="comment">// fPublicId</span></div>
  175. <div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <span class="comment">// This is the optional public id for the input source. It can be</span></div>
  176. <div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <span class="comment">// null if none is desired.</span></div>
  177. <div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; <span class="comment">//</span></div>
  178. <div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; <span class="comment">// fSystemId</span></div>
  179. <div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; <span class="comment">// This is the system id for the input source. This is what is</span></div>
  180. <div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; <span class="comment">// actually used to open the source.</span></div>
  181. <div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; <span class="comment">//</span></div>
  182. <div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; <span class="comment">// fFatalErrorIfNotFound</span></div>
  183. <div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  184. <div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> fMemoryManager;</div>
  185. <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* fEncoding;</div>
  186. <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* fPublicId;</div>
  187. <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* fSystemId;</div>
  188. <div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; <span class="keywordtype">bool</span> fFatalErrorIfNotFound;</div>
  189. <div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160;};</div>
  190. <div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160;</div>
  191. <div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160;</div>
  192. <div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
  193. <div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160;<span class="comment">// InputSource: Getter methods</span></div>
  194. <div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
  195. <div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="classInputSource.html#a70b363bf9af9aa831b40f4cceebd1d75"> 302</a></span>&#160;<span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classInputSource.html#a70b363bf9af9aa831b40f4cceebd1d75">InputSource::getEncoding</a>()<span class="keyword"> const</span></div>
  196. <div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160;<span class="keyword"></span>{</div>
  197. <div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; <span class="keywordflow">return</span> fEncoding;</div>
  198. <div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160;}</div>
  199. <div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160;</div>
  200. <div class="line"><a name="l00307"></a><span class="lineno"><a class="line" href="classInputSource.html#a394888614a429622bf936b8253542cfb"> 307</a></span>&#160;<span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classInputSource.html#a394888614a429622bf936b8253542cfb">InputSource::getPublicId</a>()<span class="keyword"> const</span></div>
  201. <div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160;<span class="keyword"></span>{</div>
  202. <div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; <span class="keywordflow">return</span> fPublicId;</div>
  203. <div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160;}</div>
  204. <div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160;</div>
  205. <div class="line"><a name="l00312"></a><span class="lineno"><a class="line" href="classInputSource.html#a0ab7381f8cf189abc2b97fe22dacb31e"> 312</a></span>&#160;<span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classInputSource.html#a0ab7381f8cf189abc2b97fe22dacb31e">InputSource::getSystemId</a>()<span class="keyword"> const</span></div>
  206. <div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160;<span class="keyword"></span>{</div>
  207. <div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; <span class="keywordflow">return</span> fSystemId;</div>
  208. <div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160;}</div>
  209. <div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160;</div>
  210. <div class="line"><a name="l00317"></a><span class="lineno"><a class="line" href="classInputSource.html#a4b8eee7896615e4e2ddb9acbc72543ed"> 317</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classInputSource.html#a4b8eee7896615e4e2ddb9acbc72543ed">InputSource::getIssueFatalErrorIfNotFound</a>()<span class="keyword"> const</span></div>
  211. <div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160;<span class="keyword"></span>{</div>
  212. <div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160; <span class="keywordflow">return</span> fFatalErrorIfNotFound;</div>
  213. <div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160;}</div>
  214. <div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160;</div>
  215. <div class="line"><a name="l00322"></a><span class="lineno"><a class="line" href="classInputSource.html#a8abf186a8be413a303fc9847268c3446"> 322</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="classMemoryManager.html">MemoryManager</a>* <a class="code" href="classInputSource.html#a8abf186a8be413a303fc9847268c3446">InputSource::getMemoryManager</a>()<span class="keyword"> const</span></div>
  216. <div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160;<span class="keyword"></span>{</div>
  217. <div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160; <span class="keywordflow">return</span> fMemoryManager;</div>
  218. <div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160;}</div>
  219. <div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160;</div>
  220. <div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
  221. <div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160;<span class="comment">// InputSource: Setter methods</span></div>
  222. <div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
  223. <div class="line"><a name="l00330"></a><span class="lineno"><a class="line" href="classInputSource.html#a7fc1468bd6a6bb15111273c45e81a9b6"> 330</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classInputSource.html#a7fc1468bd6a6bb15111273c45e81a9b6">InputSource::setIssueFatalErrorIfNotFound</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> flag)</div>
  224. <div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160;{</div>
  225. <div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; fFatalErrorIfNotFound = flag;</div>
  226. <div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160;}</div>
  227. <div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160;</div>
  228. <div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160;<a class="code" href="XercesDefs_8hpp.html#af03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a></div>
  229. <div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160;</div>
  230. <div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160;<span class="preprocessor">#endif</span></div>
  231. <div class="ttc" id="classXMemory_html"><div class="ttname"><a href="classXMemory.html">XMemory</a></div><div class="ttdoc">This class makes it possible to override the C++ memory management by adding new/delete operators to ...</div><div class="ttdef"><b>Definition:</b> XMemory.hpp:40</div></div>
  232. <div class="ttc" id="classXMLPlatformUtils_html_a97eff0d9fff3567bea3acd3ca4d95252"><div class="ttname"><a href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div><div class="ttdeci">static MemoryManager * fgMemoryManager</div><div class="ttdoc">The configurable memory manager. </div><div class="ttdef"><b>Definition:</b> PlatformUtils.hpp:121</div></div>
  233. <div class="ttc" id="XercesDefs_8hpp_html_a7fdf07718ad6e0a80a00387c4fb5f82d"><div class="ttname"><a href="XercesDefs_8hpp.html#a7fdf07718ad6e0a80a00387c4fb5f82d">SAX_EXPORT</a></div><div class="ttdeci">#define SAX_EXPORT</div><div class="ttdef"><b>Definition:</b> XercesDefs.hpp:164</div></div>
  234. <div class="ttc" id="classInputSource_html_a394888614a429622bf936b8253542cfb"><div class="ttname"><a href="classInputSource.html#a394888614a429622bf936b8253542cfb">InputSource::getPublicId</a></div><div class="ttdeci">virtual const XMLCh * getPublicId() const </div><div class="ttdoc">Get the public identifier for this input source. </div><div class="ttdef"><b>Definition:</b> InputSource.hpp:307</div></div>
  235. <div class="ttc" id="classInputSource_html_a8abf186a8be413a303fc9847268c3446"><div class="ttname"><a href="classInputSource.html#a8abf186a8be413a303fc9847268c3446">InputSource::getMemoryManager</a></div><div class="ttdeci">MemoryManager * getMemoryManager() const </div><div class="ttdef"><b>Definition:</b> InputSource.hpp:322</div></div>
  236. <div class="ttc" id="PlatformUtils_8hpp_html"><div class="ttname"><a href="PlatformUtils_8hpp.html">PlatformUtils.hpp</a></div></div>
  237. <div class="ttc" id="classMemoryManager_html"><div class="ttname"><a href="classMemoryManager.html">MemoryManager</a></div><div class="ttdoc">Configurable memory manager. </div><div class="ttdef"><b>Definition:</b> MemoryManager.hpp:39</div></div>
  238. <div class="ttc" id="classInputSource_html_a0ab7381f8cf189abc2b97fe22dacb31e"><div class="ttname"><a href="classInputSource.html#a0ab7381f8cf189abc2b97fe22dacb31e">InputSource::getSystemId</a></div><div class="ttdeci">virtual const XMLCh * getSystemId() const </div><div class="ttdoc">Get the system identifier for this input source. </div><div class="ttdef"><b>Definition:</b> InputSource.hpp:312</div></div>
  239. <div class="ttc" id="XercesDefs_8hpp_html_a43d74fa53d868d978f3e97cbb78b194d"><div class="ttname"><a href="XercesDefs_8hpp.html#a43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a></div><div class="ttdeci">#define XERCES_CPP_NAMESPACE_BEGIN</div><div class="ttdef"><b>Definition:</b> XercesDefs.hpp:112</div></div>
  240. <div class="ttc" id="Xerces__autoconf__config_8borland_8hpp_html_a8cb107980a360c490ad7661f5d27cc0e"><div class="ttname"><a href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a></div><div class="ttdeci">wchar_t XMLCh</div><div class="ttdef"><b>Definition:</b> Xerces_autoconf_config.borland.hpp:92</div></div>
  241. <div class="ttc" id="classInputSource_html_a70b363bf9af9aa831b40f4cceebd1d75"><div class="ttname"><a href="classInputSource.html#a70b363bf9af9aa831b40f4cceebd1d75">InputSource::getEncoding</a></div><div class="ttdeci">virtual const XMLCh * getEncoding() const </div><div class="ttdoc">An input source can be set to force the parser to assume a particular encoding for the data that inpu...</div><div class="ttdef"><b>Definition:</b> InputSource.hpp:302</div></div>
  242. <div class="ttc" id="XercesDefs_8hpp_html_af03d5cb905763ef7a7bd22ab82718285"><div class="ttname"><a href="XercesDefs_8hpp.html#af03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a></div><div class="ttdeci">#define XERCES_CPP_NAMESPACE_END</div><div class="ttdef"><b>Definition:</b> XercesDefs.hpp:113</div></div>
  243. <div class="ttc" id="classBinInputStream_html"><div class="ttname"><a href="classBinInputStream.html">BinInputStream</a></div><div class="ttdef"><b>Definition:</b> BinInputStream.hpp:29</div></div>
  244. <div class="ttc" id="classInputSource_html_a7fc1468bd6a6bb15111273c45e81a9b6"><div class="ttname"><a href="classInputSource.html#a7fc1468bd6a6bb15111273c45e81a9b6">InputSource::setIssueFatalErrorIfNotFound</a></div><div class="ttdeci">virtual void setIssueFatalErrorIfNotFound(const bool flag)</div><div class="ttdoc">Indicates if the parser should issue fatal error if this input source is not found. </div><div class="ttdef"><b>Definition:</b> InputSource.hpp:330</div></div>
  245. <div class="ttc" id="classInputSource_html"><div class="ttname"><a href="classInputSource.html">InputSource</a></div><div class="ttdoc">A single input source for an XML entity. </div><div class="ttdef"><b>Definition:</b> InputSource.hpp:62</div></div>
  246. <div class="ttc" id="classInputSource_html_a4b8eee7896615e4e2ddb9acbc72543ed"><div class="ttname"><a href="classInputSource.html#a4b8eee7896615e4e2ddb9acbc72543ed">InputSource::getIssueFatalErrorIfNotFound</a></div><div class="ttdeci">virtual bool getIssueFatalErrorIfNotFound() const </div><div class="ttdoc">Get the flag that indicates if the parser should issue fatal error if this input source is not found...</div><div class="ttdef"><b>Definition:</b> InputSource.hpp:317</div></div>
  247. </div><!-- fragment --></div><!-- contents -->
  248. <!-- start footer part -->
  249. <hr class="footer"/><address class="footer"><small>
  250. Generated on Wed Mar 18 2015 10:43:37 for Xerces-C++ by &#160;<a href="http://www.doxygen.org/index.html">
  251. <img class="footer" src="doxygen.png" alt="doxygen"/>
  252. </a> 1.8.9.1
  253. </small></address>
  254. </body>
  255. </html>