This commit is contained in:
King_DuckZ 2020-02-17 22:23:16 +01:00
parent 824eb94695
commit 7c49d5c548
3294 changed files with 46105 additions and 39662 deletions

View file

@ -5,70 +5,68 @@
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
<!-- Generated by Doxygen 1.7.3 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<div class="tabs">
<ul>
<li class="navelem"><a class="el" href="namespacexercesc.html">xercesc</a> </li>
<li class="navelem"><a class="el" href="classxercesc_1_1LocalFileInputSource.html">LocalFileInputSource</a> </li>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="headertitle">
<h1>xercesc::LocalFileInputSource Class Reference</h1> </div>
<div class="navpath"><a class="el" href="namespacexercesc.html">xercesc</a>::<a class="el" href="classxercesc_1_1LocalFileInputSource.html">LocalFileInputSource</a>
</div>
</div>
<div class="contents">
<!-- doxytag: class="xercesc::LocalFileInputSource" --><!-- doxytag: inherits="xercesc::InputSource" -->
<h1>xercesc::LocalFileInputSource Class Reference</h1><!-- doxytag: class="xercesc::LocalFileInputSource" --><!-- doxytag: inherits="xercesc::InputSource" -->
<p>This class is a derivative of the standard <a class="el" href="classxercesc_1_1InputSource.html" title="A single input source for an XML entity.">InputSource</a> class.
<a href="#_details">More...</a></p>
<p><code>#include &lt;<a class="el" href="LocalFileInputSource_8hpp_source.html">LocalFileInputSource.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for xercesc::LocalFileInputSource:</div>
<div class="dyncontent">
<div class="dynsection">
<div class="center"><img src="classxercesc_1_1LocalFileInputSource__inherit__graph.png" border="0" usemap="#xercesc_1_1LocalFileInputSource_inherit__map" alt="Inheritance graph"/></div>
<map name="xercesc_1_1LocalFileInputSource_inherit__map" id="xercesc_1_1LocalFileInputSource_inherit__map">
<area shape="rect" id="node2" href="classxercesc_1_1InputSource.html" title="A single input source for an XML entity." alt="" coords="31,83,177,112"/><area shape="rect" id="node4" href="classxercesc_1_1XMemory.html" title="This class makes it possible to override the C++ memory management by adding new/delete operators to ..." alt="" coords="39,5,169,35"/></map>
<area shape="rect" id="node2" href="classxercesc_1_1InputSource.html" title="A single input source for an XML entity." alt="" coords="35,83,200,112"/><area shape="rect" id="node4" href="classxercesc_1_1XMemory.html" title="This class makes it possible to override the C++ memory management by adding new/delete..." alt="" coords="43,5,192,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classxercesc_1_1LocalFileInputSource-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1LocalFileInputSource.html#af68596ec4e95a0ce50fa6f7de611da63">LocalFileInputSource</a> (const XMLCh *const basePath, const XMLCh *const relativePath, <a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classxercesc_1_1XMLPlatformUtils.html#a2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A local file input source requires a path to the file to load. <a href="#af68596ec4e95a0ce50fa6f7de611da63"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1LocalFileInputSource.html#a37c16c37af1412902ebbb8db81e4d053">LocalFileInputSource</a> (const XMLCh *const filePath, <a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classxercesc_1_1XMLPlatformUtils.html#a2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This constructor takes a single parameter which is the fully qualified or relative path. <a href="#a37c16c37af1412902ebbb8db81e4d053"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp559a25fdb98a7d1fd1c3771ac568d5e9"></a> </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1LocalFileInputSource.html#af68596ec4e95a0ce50fa6f7de611da63">LocalFileInputSource</a> (const XMLCh *const basePath, const XMLCh *const relativePath, <a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classxercesc_1_1XMLPlatformUtils.html#a2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A local file input source requires a path to the file to load. <a href="#af68596ec4e95a0ce50fa6f7de611da63"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1LocalFileInputSource.html#a37c16c37af1412902ebbb8db81e4d053">LocalFileInputSource</a> (const XMLCh *const filePath, <a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classxercesc_1_1XMLPlatformUtils.html#a2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This constructor takes a single parameter which is the fully qualified or relative path. <a href="#a37c16c37af1412902ebbb8db81e4d053"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1LocalFileInputSource.html#a6f494df557d4e426fcade88f5d2fb5f9">~LocalFileInputSource</a> ()</td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp22a8ec108d963f279c6a6a95aa960a57"></a> </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1LocalFileInputSource.html#a6f494df557d4e426fcade88f5d2fb5f9">~LocalFileInputSource</a> ()</td></tr>
<tr><td colspan="2"><div class="groupHeader">Virtual methods</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual BinInputStream *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1LocalFileInputSource.html#a2e4084fefbfa564f0033d245ea397282">makeStream</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This method will return a binary input stream derivative that will parse from the local file indicatedby the system id. <a href="#a2e4084fefbfa564f0033d245ea397282"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp336053ec29c87374537d4c82538fbfae"></a> </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual BinInputStream *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1LocalFileInputSource.html#a2e4084fefbfa564f0033d245ea397282">makeStream</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method will return a binary input stream derivative that will parse from the local file indicatedby the system id. <a href="#a2e4084fefbfa564f0033d245ea397282"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>This class is a derivative of the standard <a class="el" href="classxercesc_1_1InputSource.html" title="A single input source for an XML entity.">InputSource</a> class. </p>
<p>This class is a derivative of the standard <a class="el" href="classxercesc_1_1InputSource.html" title="A single input source for an XML entity.">InputSource</a> class. </p>
<p>It provides for the parser access to data which is referenced via a local file path, as apposed to remote file or URL. This is the most efficacious mechanism by which local files can be parsed, since the parse knows that it refers to a local file and will make no other attempts to interpret the passed path.</p>
<p>The path provided can either be a fully qualified path or a relative path. If relative, it will be completed either relative to a passed base path or relative to the current working directory of the process.</p>
<p>As with all <a class="el" href="classxercesc_1_1InputSource.html" title="A single input source for an XML entity.">InputSource</a> derivatives. The primary objective of an input source is to create an input stream via which the parser can spool in data from the referenced source. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af68596ec4e95a0ce50fa6f7de611da63"></a><!-- doxytag: member="xercesc::LocalFileInputSource::LocalFileInputSource" ref="af68596ec4e95a0ce50fa6f7de611da63" args="(const XMLCh *const basePath, const XMLCh *const relativePath, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
@ -76,25 +74,25 @@ Public Member Functions</h2></td></tr>
<tr>
<td class="memname">xercesc::LocalFileInputSource::LocalFileInputSource </td>
<td>(</td>
<td class="paramtype">const XMLCh *const&#160;</td>
<td class="paramname"><em>basePath</em>, </td>
<td class="paramtype">const XMLCh *const &nbsp;</td>
<td class="paramname"> <em>basePath</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XMLCh *const&#160;</td>
<td class="paramname"><em>relativePath</em>, </td>
<td class="paramtype">const XMLCh *const &nbsp;</td>
<td class="paramname"> <em>relativePath</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const&#160;</td>
<td class="paramname"><em>manager</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#a2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const &nbsp;</td>
<td class="paramname"> <em>manager</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#a2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
@ -105,16 +103,16 @@ Public Member Functions</h2></td></tr>
<p>The completed path will become the system id of this input source. The constructors don't take any public id for local files, but you still set them via the parent class' <a class="el" href="classxercesc_1_1InputSource.html#ad88b92735d82dcadf39496ca83357aec" title="Set the public identifier for this input source.">setPublicId()</a> method of course.</p>
<p>This constructor takes an explicit base path and a possibly relative path. If the relative path is seen to be fully qualified, it is used as is. Otherwise, it is made relative to the passed base path.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">basePath</td><td>The base path from which the passed relative path will be based, if the relative part is indeed relative.</td></tr>
<tr><td class="paramname">relativePath</td><td>The relative part of the path. It can actually be fully qualified, in which case it is taken as is.</td></tr>
<tr><td class="paramname">manager</td><td>Pointer to the memory manager to be used to allocate objects.</td></tr>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>basePath</em>&nbsp;</td><td>The base path from which the passed relative path will be based, if the relative part is indeed relative.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>relativePath</em>&nbsp;</td><td>The relative part of the path. It can actually be fully qualified, in which case it is taken as is.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>Pointer to the memory manager to be used to allocate objects.</td></tr>
</table>
</dd>
</dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname">XMLException</td><td>If the path is relative and doesn't properly resolve to a file. </td></tr>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>XMLException</em>&nbsp;</td><td>If the path is relative and doesn't properly resolve to a file. </td></tr>
</table>
</dd>
</dl>
@ -128,19 +126,19 @@ Public Member Functions</h2></td></tr>
<tr>
<td class="memname">xercesc::LocalFileInputSource::LocalFileInputSource </td>
<td>(</td>
<td class="paramtype">const XMLCh *const&#160;</td>
<td class="paramname"><em>filePath</em>, </td>
<td class="paramtype">const XMLCh *const &nbsp;</td>
<td class="paramname"> <em>filePath</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const&#160;</td>
<td class="paramname"><em>manager</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#a2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const &nbsp;</td>
<td class="paramname"> <em>manager</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#a2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
@ -150,15 +148,15 @@ Public Member Functions</h2></td></tr>
<p>If it is fully qualified, it is taken as is. If it is relative, then it is completed relative to the current working directory (or the equivalent on the local host machine.)</p>
<p>The completed path will become the system id of this input source. The constructors don't take any public id for local files, but you still set them via the parent class' <a class="el" href="classxercesc_1_1InputSource.html#ad88b92735d82dcadf39496ca83357aec" title="Set the public identifier for this input source.">setPublicId()</a> method of course.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">filePath</td><td>The relative or fully qualified path.</td></tr>
<tr><td class="paramname">manager</td><td>Pointer to the memory manager to be used to allocate objects.</td></tr>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>filePath</em>&nbsp;</td><td>The relative or fully qualified path.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>Pointer to the memory manager to be used to allocate objects.</td></tr>
</table>
</dd>
</dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname">XMLException</td><td>If the path is relative and doesn't properly resolve to a file. </td></tr>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>XMLException</em>&nbsp;</td><td>If the path is relative and doesn't properly resolve to a file. </td></tr>
</table>
</dd>
</dl>
@ -172,7 +170,8 @@ Public Member Functions</h2></td></tr>
<tr>
<td class="memname">xercesc::LocalFileInputSource::~LocalFileInputSource </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
@ -189,7 +188,8 @@ Public Member Functions</h2></td></tr>
<tr>
<td class="memname">virtual BinInputStream* xercesc::LocalFileInputSource::makeStream </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
@ -207,8 +207,8 @@ Public Member Functions</h2></td></tr>
<li><a class="el" href="LocalFileInputSource_8hpp_source.html">LocalFileInputSource.hpp</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Mon Oct 31 2011 19:08:36 for XQilla Simple API by&#160;
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 May 2015 for XQilla Simple API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>