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.
|
|
<!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>Xerces-C++: InputSource.hpp Source File</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" /> </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">Xerces-C++  <span id="projectnumber">3.1.2</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 Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <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> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">InputSource.hpp</div> </div> </div><!--header--> <div class="contents"> <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> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * this work for additional information regarding copyright ownership.</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * (the "License"); you may not use this file except in compliance with</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * the License. You may obtain a copy of the License at</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * </span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * </span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * See the License for the specific language governing permissions and</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * limitations under the License.</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> */</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">/*</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * $Id: InputSource.hpp 932887 2010-04-11 13:04:59Z borisk $</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> */</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_INPUTSOURCE_HPP)</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#define XERCESC_INCLUDE_GUARD_INPUTSOURCE_HPP</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="PlatformUtils_8hpp.html">xercesc/util/PlatformUtils.hpp</a>></span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <a class="code" href="XercesDefs_8hpp.html#a43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">class </span><a class="code" href="classBinInputStream.html">BinInputStream</a>;</div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div> <div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classInputSource.html"> 62</a></span> <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> <div class="line"><a name="l00063"></a><span class="lineno"> 63</span> {</div> <div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="comment">// All constructors are hidden, just the destructor is available</span></div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="comment"></span> <span class="keyword">virtual</span> ~<a class="code" href="classInputSource.html">InputSource</a>();</div> <div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div> <div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div> <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <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> <div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div> <div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div> <div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div> <div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <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> <div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div> <div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div> <div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <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> <div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div> <div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div> <div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <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> <div class="line"><a name="l00129"></a><span class="lineno"> 129</span> </div> <div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getIssueFatalErrorIfNotFound() <span class="keyword">const</span>;</div> <div class="line"><a name="l00139"></a><span class="lineno"> 139</span> </div> <div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <a class="code" href="classMemoryManager.html">MemoryManager</a>* getMemoryManager() <span class="keyword">const</span>;</div> <div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div> <div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div> <div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div> <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="comment"></span></div> <div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <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> <div class="line"><a name="l00161"></a><span class="lineno"> 161</span> </div> <div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div> <div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <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> <div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div> <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <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> <div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div> <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setIssueFatalErrorIfNotFound(<span class="keyword">const</span> <span class="keywordtype">bool</span> flag);</div> <div class="line"><a name="l00204"></a><span class="lineno"> 204</span> </div> <div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span> </div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span> <span class="keyword">protected</span> :</div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <span class="comment">// Hidden constructors</span></div> <div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00215"></a><span class="lineno"> 215</span> <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> <div class="line"><a name="l00216"></a><span class="lineno"> 216</span> </div> <div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <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> <div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <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> <div class="line"><a name="l00224"></a><span class="lineno"> 224</span> </div> <div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <a class="code" href="classInputSource.html">InputSource</a></div> <div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  (</div> <div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <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> <div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  , <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> <div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  , <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> <div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  );</div> <div class="line"><a name="l00237"></a><span class="lineno"> 237</span> </div> <div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <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> <div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <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> <div class="line"><a name="l00245"></a><span class="lineno"> 245</span> </div> <div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <a class="code" href="classInputSource.html">InputSource</a></div> <div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  (</div> <div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> systemId</div> <div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> publicId</div> <div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  , <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> <div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  );</div> <div class="line"><a name="l00258"></a><span class="lineno"> 258</span> </div> <div class="line"><a name="l00260"></a><span class="lineno"> 260</span> </div> <div class="line"><a name="l00261"></a><span class="lineno"> 261</span> </div> <div class="line"><a name="l00262"></a><span class="lineno"> 262</span> </div> <div class="line"><a name="l00263"></a><span class="lineno"> 263</span> </div> <div class="line"><a name="l00264"></a><span class="lineno"> 264</span> </div> <div class="line"><a name="l00265"></a><span class="lineno"> 265</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <span class="comment">// Unimplemented constructors and operators</span></div> <div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <a class="code" href="classInputSource.html">InputSource</a>(<span class="keyword">const</span> <a class="code" href="classInputSource.html">InputSource</a>&);</div> <div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <a class="code" href="classInputSource.html">InputSource</a>& operator=(<span class="keyword">const</span> <a class="code" href="classInputSource.html">InputSource</a>&);</div> <div class="line"><a name="l00271"></a><span class="lineno"> 271</span> </div> <div class="line"><a name="l00272"></a><span class="lineno"> 272</span> </div> <div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="comment">// Private data members</span></div> <div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="comment">//</span></div> <div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <span class="comment">// fEncoding</span></div> <div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <span class="comment">// This is the encoding to use. Usually this is null, which means</span></div> <div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <span class="comment">// to use the information found in the file itself. But, if set,</span></div> <div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="comment">// this encoding will be used without question.</span></div> <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="comment">//</span></div> <div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="comment">// fPublicId</span></div> <div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <span class="comment">// This is the optional public id for the input source. It can be</span></div> <div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <span class="comment">// null if none is desired.</span></div> <div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="comment">//</span></div> <div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  <span class="comment">// fSystemId</span></div> <div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <span class="comment">// This is the system id for the input source. This is what is</span></div> <div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <span class="comment">// actually used to open the source.</span></div> <div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="comment">//</span></div> <div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="comment">// fFatalErrorIfNotFound</span></div> <div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> fMemoryManager;</div> <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* fEncoding;</div> <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* fPublicId;</div> <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* fSystemId;</div> <div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="keywordtype">bool</span> fFatalErrorIfNotFound;</div> <div class="line"><a name="l00296"></a><span class="lineno"> 296</span> };</div> <div class="line"><a name="l00297"></a><span class="lineno"> 297</span> </div> <div class="line"><a name="l00298"></a><span class="lineno"> 298</span> </div> <div class="line"><a name="l00299"></a><span class="lineno"> 299</span> <span class="comment">// ---------------------------------------------------------------------------</span></div> <div class="line"><a name="l00300"></a><span class="lineno"> 300</span> <span class="comment">// InputSource: Getter methods</span></div> <div class="line"><a name="l00301"></a><span class="lineno"> 301</span> <span class="comment">// ---------------------------------------------------------------------------</span></div> <div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="classInputSource.html#a70b363bf9af9aa831b40f4cceebd1d75"> 302</a></span> <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> <div class="line"><a name="l00303"></a><span class="lineno"> 303</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="keywordflow">return</span> fEncoding;</div> <div class="line"><a name="l00305"></a><span class="lineno"> 305</span> }</div> <div class="line"><a name="l00306"></a><span class="lineno"> 306</span> </div> <div class="line"><a name="l00307"></a><span class="lineno"><a class="line" href="classInputSource.html#a394888614a429622bf936b8253542cfb"> 307</a></span> <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> <div class="line"><a name="l00308"></a><span class="lineno"> 308</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <span class="keywordflow">return</span> fPublicId;</div> <div class="line"><a name="l00310"></a><span class="lineno"> 310</span> }</div> <div class="line"><a name="l00311"></a><span class="lineno"> 311</span> </div> <div class="line"><a name="l00312"></a><span class="lineno"><a class="line" href="classInputSource.html#a0ab7381f8cf189abc2b97fe22dacb31e"> 312</a></span> <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> <div class="line"><a name="l00313"></a><span class="lineno"> 313</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <span class="keywordflow">return</span> fSystemId;</div> <div class="line"><a name="l00315"></a><span class="lineno"> 315</span> }</div> <div class="line"><a name="l00316"></a><span class="lineno"> 316</span> </div> <div class="line"><a name="l00317"></a><span class="lineno"><a class="line" href="classInputSource.html#a4b8eee7896615e4e2ddb9acbc72543ed"> 317</a></span> <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> <div class="line"><a name="l00318"></a><span class="lineno"> 318</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <span class="keywordflow">return</span> fFatalErrorIfNotFound;</div> <div class="line"><a name="l00320"></a><span class="lineno"> 320</span> }</div> <div class="line"><a name="l00321"></a><span class="lineno"> 321</span> </div> <div class="line"><a name="l00322"></a><span class="lineno"><a class="line" href="classInputSource.html#a8abf186a8be413a303fc9847268c3446"> 322</a></span> <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> <div class="line"><a name="l00323"></a><span class="lineno"> 323</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  <span class="keywordflow">return</span> fMemoryManager;</div> <div class="line"><a name="l00325"></a><span class="lineno"> 325</span> }</div> <div class="line"><a name="l00326"></a><span class="lineno"> 326</span> </div> <div class="line"><a name="l00327"></a><span class="lineno"> 327</span> <span class="comment">// ---------------------------------------------------------------------------</span></div> <div class="line"><a name="l00328"></a><span class="lineno"> 328</span> <span class="comment">// InputSource: Setter methods</span></div> <div class="line"><a name="l00329"></a><span class="lineno"> 329</span> <span class="comment">// ---------------------------------------------------------------------------</span></div> <div class="line"><a name="l00330"></a><span class="lineno"><a class="line" href="classInputSource.html#a7fc1468bd6a6bb15111273c45e81a9b6"> 330</a></span> <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> <div class="line"><a name="l00331"></a><span class="lineno"> 331</span> {</div> <div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  fFatalErrorIfNotFound = flag;</div> <div class="line"><a name="l00333"></a><span class="lineno"> 333</span> }</div> <div class="line"><a name="l00334"></a><span class="lineno"> 334</span> </div> <div class="line"><a name="l00335"></a><span class="lineno"> 335</span> <a class="code" href="XercesDefs_8hpp.html#af03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a></div> <div class="line"><a name="l00336"></a><span class="lineno"> 336</span> </div> <div class="line"><a name="l00337"></a><span class="lineno"> 337</span> <span class="preprocessor">#endif</span></div> <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> <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> <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> <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> <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> <div class="ttc" id="PlatformUtils_8hpp_html"><div class="ttname"><a href="PlatformUtils_8hpp.html">PlatformUtils.hpp</a></div></div> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Wed Mar 18 2015 10:43:37 for Xerces-C++ by  <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>
|