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.

341 lines
24 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++: BinMemInputStream Class Reference</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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
  35. <li><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="annotated.html"><span>Class&#160;List</span></a></li>
  41. <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
  42. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  43. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  44. </ul>
  45. </div>
  46. </div><!-- top -->
  47. <div class="header">
  48. <div class="summary">
  49. <a href="#pub-types">Public Types</a> &#124;
  50. <a href="#pub-methods">Public Member Functions</a> &#124;
  51. <a href="classBinMemInputStream-members.html">List of all members</a> </div>
  52. <div class="headertitle">
  53. <div class="title">BinMemInputStream Class Reference</div> </div>
  54. </div><!--header-->
  55. <div class="contents">
  56. <div class="dynheader">
  57. Inheritance diagram for BinMemInputStream:</div>
  58. <div class="dyncontent">
  59. <div class="center">
  60. <img src="classBinMemInputStream.png" usemap="#BinMemInputStream_map" alt=""/>
  61. <map id="BinMemInputStream_map" name="BinMemInputStream_map">
  62. <area href="classBinInputStream.html" alt="BinInputStream" shape="rect" coords="0,56,123,80"/>
  63. <area href="classXMemory.html" title="This class makes it possible to override the C++ memory management by adding new/delete operators to ..." alt="XMemory" shape="rect" coords="0,0,123,24"/>
  64. </map>
  65. </div></div>
  66. <table class="memberdecls">
  67. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  68. Public Types</h2></td></tr>
  69. <tr class="memitem:a939fb86f3143d1857e1134ad4d73bc69"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBinMemInputStream.html#a939fb86f3143d1857e1134ad4d73bc69">BufOpts</a> { <a class="el" href="classBinMemInputStream.html#a939fb86f3143d1857e1134ad4d73bc69aff743c094e973cdafa2744802a6cf65d">BufOpt_Adopt</a>,
  70. <a class="el" href="classBinMemInputStream.html#a939fb86f3143d1857e1134ad4d73bc69acbdda4802b432945da802e36bae8e92a">BufOpt_Copy</a>,
  71. <a class="el" href="classBinMemInputStream.html#a939fb86f3143d1857e1134ad4d73bc69a45242b1d53371ccbc3d62f2f9c5ef72b">BufOpt_Reference</a>
  72. }</td></tr>
  73. <tr class="separator:a939fb86f3143d1857e1134ad4d73bc69"><td class="memSeparator" colspan="2">&#160;</td></tr>
  74. </table><table class="memberdecls">
  75. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  76. Public Member Functions</h2></td></tr>
  77. <tr class="memitem:a7ce2673aed61cb2c053f2a14b7ad276a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBinMemInputStream.html#a7ce2673aed61cb2c053f2a14b7ad276a">BinMemInputStream</a> (const <a class="el" href="XercesDefs_8hpp.html#a7470c7a32c59355685ebcd878a33f126">XMLByte</a> *const initData, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> capacity, const <a class="el" href="classBinMemInputStream.html#a939fb86f3143d1857e1134ad4d73bc69">BufOpts</a> bufOpt=<a class="el" href="classBinMemInputStream.html#a939fb86f3143d1857e1134ad4d73bc69acbdda4802b432945da802e36bae8e92a">BufOpt_Copy</a>, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
  78. <tr class="separator:a7ce2673aed61cb2c053f2a14b7ad276a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  79. <tr class="memitem:a9923322cccd88acb966b93ae804490dd"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBinMemInputStream.html#a9923322cccd88acb966b93ae804490dd">~BinMemInputStream</a> ()</td></tr>
  80. <tr class="separator:a9923322cccd88acb966b93ae804490dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. <tr class="memitem:a071b3c5877e19a8191f59e6c69d271fc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBinMemInputStream.html#a071b3c5877e19a8191f59e6c69d271fc">reset</a> ()</td></tr>
  82. <tr class="separator:a071b3c5877e19a8191f59e6c69d271fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  83. <tr class="memitem:a16de7f8cb3aa38ad7233fb310c63929d"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a7647261a546ac47bda863a51d24ad898">XMLFilePos</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBinMemInputStream.html#a16de7f8cb3aa38ad7233fb310c63929d">curPos</a> () const </td></tr>
  84. <tr class="separator:a16de7f8cb3aa38ad7233fb310c63929d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  85. <tr class="memitem:afe5316fc9aa18d3cd581f016fbdbda7c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBinMemInputStream.html#afe5316fc9aa18d3cd581f016fbdbda7c">readBytes</a> (<a class="el" href="XercesDefs_8hpp.html#a7470c7a32c59355685ebcd878a33f126">XMLByte</a> *const toFill, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> maxToRead)</td></tr>
  86. <tr class="separator:afe5316fc9aa18d3cd581f016fbdbda7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  87. <tr class="memitem:a43ef21224f83f5c76c18d10dfb147d7b"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBinMemInputStream.html#a43ef21224f83f5c76c18d10dfb147d7b">getContentType</a> () const </td></tr>
  88. <tr class="memdesc:a43ef21224f83f5c76c18d10dfb147d7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the "out-of-band" content type for the data supplied by this input stream in the form of the media-type production (mime type with optional parameters such as encoding) as defined by the HTTP 1.1 specification. <a href="#a43ef21224f83f5c76c18d10dfb147d7b">More...</a><br /></td></tr>
  89. <tr class="separator:a43ef21224f83f5c76c18d10dfb147d7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  90. <tr class="memitem:aae9e8521d07aaf5a12efbea97c969938"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBinMemInputStream.html#aae9e8521d07aaf5a12efbea97c969938">getSize</a> () const </td></tr>
  91. <tr class="separator:aae9e8521d07aaf5a12efbea97c969938"><td class="memSeparator" colspan="2">&#160;</td></tr>
  92. <tr class="inherit_header pub_methods_classBinInputStream"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classBinInputStream')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classBinInputStream.html">BinInputStream</a></td></tr>
  93. <tr class="memitem:a587bdb860accb89eca7945b8ad50bd40 inherit pub_methods_classBinInputStream"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBinInputStream.html#a587bdb860accb89eca7945b8ad50bd40">~BinInputStream</a> ()</td></tr>
  94. <tr class="separator:a587bdb860accb89eca7945b8ad50bd40 inherit pub_methods_classBinInputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
  95. <tr class="inherit_header pub_methods_classXMemory"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classXMemory')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classXMemory.html">XMemory</a></td></tr>
  96. <tr class="memitem:a717678d9deadc627a41fe0dddede9f7f inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#a717678d9deadc627a41fe0dddede9f7f">operator new</a> (size_t size)</td></tr>
  97. <tr class="memdesc:a717678d9deadc627a41fe0dddede9f7f inherit pub_methods_classXMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method overrides operator new. <a href="#a717678d9deadc627a41fe0dddede9f7f">More...</a><br /></td></tr>
  98. <tr class="separator:a717678d9deadc627a41fe0dddede9f7f inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. <tr class="memitem:ac3022fcc968c684a31c1e6a9ede83c10 inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#ac3022fcc968c684a31c1e6a9ede83c10">operator new</a> (size_t size, <a class="el" href="classMemoryManager.html">MemoryManager</a> *memMgr)</td></tr>
  100. <tr class="memdesc:ac3022fcc968c684a31c1e6a9ede83c10 inherit pub_methods_classXMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method defines a custom operator new, that will use the provided memory manager to perform the allocation. <a href="#ac3022fcc968c684a31c1e6a9ede83c10">More...</a><br /></td></tr>
  101. <tr class="separator:ac3022fcc968c684a31c1e6a9ede83c10 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr class="memitem:aeaad885b799ac2188ffd28f76182339c inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#aeaad885b799ac2188ffd28f76182339c">operator new</a> (size_t size, void *ptr)</td></tr>
  103. <tr class="memdesc:aeaad885b799ac2188ffd28f76182339c inherit pub_methods_classXMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method overrides placement operator new. <a href="#aeaad885b799ac2188ffd28f76182339c">More...</a><br /></td></tr>
  104. <tr class="separator:aeaad885b799ac2188ffd28f76182339c inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:a9da30f1601ea458908cbf150fc2f8f8b inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#a9da30f1601ea458908cbf150fc2f8f8b">operator delete</a> (void *p)</td></tr>
  106. <tr class="memdesc:a9da30f1601ea458908cbf150fc2f8f8b inherit pub_methods_classXMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method overrides operator delete. <a href="#a9da30f1601ea458908cbf150fc2f8f8b">More...</a><br /></td></tr>
  107. <tr class="separator:a9da30f1601ea458908cbf150fc2f8f8b inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:a22efbc6459bdbe79f83b7791bba4d1f6 inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#a22efbc6459bdbe79f83b7791bba4d1f6">operator delete</a> (void *p, <a class="el" href="classMemoryManager.html">MemoryManager</a> *memMgr)</td></tr>
  109. <tr class="memdesc:a22efbc6459bdbe79f83b7791bba4d1f6 inherit pub_methods_classXMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method provides a matching delete for the custom operator new. <a href="#a22efbc6459bdbe79f83b7791bba4d1f6">More...</a><br /></td></tr>
  110. <tr class="separator:a22efbc6459bdbe79f83b7791bba4d1f6 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:a32ee38b70d412e12f669cfbd86adf623 inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#a32ee38b70d412e12f669cfbd86adf623">operator delete</a> (void *p, void *ptr)</td></tr>
  112. <tr class="memdesc:a32ee38b70d412e12f669cfbd86adf623 inherit pub_methods_classXMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method provides a matching delete for the placement new. <a href="#a32ee38b70d412e12f669cfbd86adf623">More...</a><br /></td></tr>
  113. <tr class="separator:a32ee38b70d412e12f669cfbd86adf623 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. </table><table class="memberdecls">
  115. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
  116. Additional Inherited Members</h2></td></tr>
  117. <tr class="inherit_header pro_methods_classBinInputStream"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classBinInputStream')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classBinInputStream.html">BinInputStream</a></td></tr>
  118. <tr class="memitem:ad62b19034fc2b05ddf8c958b9c822278 inherit pro_methods_classBinInputStream"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBinInputStream.html#ad62b19034fc2b05ddf8c958b9c822278">BinInputStream</a> ()</td></tr>
  119. <tr class="separator:ad62b19034fc2b05ddf8c958b9c822278 inherit pro_methods_classBinInputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="inherit_header pro_methods_classXMemory"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classXMemory')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classXMemory.html">XMemory</a></td></tr>
  121. <tr class="memitem:ae5b8adaa10d5d9276b42823f47e06858 inherit pro_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#ae5b8adaa10d5d9276b42823f47e06858">XMemory</a> ()</td></tr>
  122. <tr class="memdesc:ae5b8adaa10d5d9276b42823f47e06858 inherit pro_methods_classXMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Protected default constructor. <a href="#ae5b8adaa10d5d9276b42823f47e06858">More...</a><br /></td></tr>
  123. <tr class="separator:ae5b8adaa10d5d9276b42823f47e06858 inherit pro_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. </table>
  125. <h2 class="groupheader">Member Enumeration Documentation</h2>
  126. <a class="anchor" id="a939fb86f3143d1857e1134ad4d73bc69"></a>
  127. <div class="memitem">
  128. <div class="memproto">
  129. <table class="memname">
  130. <tr>
  131. <td class="memname">enum <a class="el" href="classBinMemInputStream.html#a939fb86f3143d1857e1134ad4d73bc69">BinMemInputStream::BufOpts</a></td>
  132. </tr>
  133. </table>
  134. </div><div class="memdoc">
  135. <table class="fieldtable">
  136. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a939fb86f3143d1857e1134ad4d73bc69aff743c094e973cdafa2744802a6cf65d"></a>BufOpt_Adopt&#160;</td><td class="fielddoc">
  137. </td></tr>
  138. <tr><td class="fieldname"><a class="anchor" id="a939fb86f3143d1857e1134ad4d73bc69acbdda4802b432945da802e36bae8e92a"></a>BufOpt_Copy&#160;</td><td class="fielddoc">
  139. </td></tr>
  140. <tr><td class="fieldname"><a class="anchor" id="a939fb86f3143d1857e1134ad4d73bc69a45242b1d53371ccbc3d62f2f9c5ef72b"></a>BufOpt_Reference&#160;</td><td class="fielddoc">
  141. </td></tr>
  142. </table>
  143. </div>
  144. </div>
  145. <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  146. <a class="anchor" id="a7ce2673aed61cb2c053f2a14b7ad276a"></a>
  147. <div class="memitem">
  148. <div class="memproto">
  149. <table class="memname">
  150. <tr>
  151. <td class="memname">BinMemInputStream::BinMemInputStream </td>
  152. <td>(</td>
  153. <td class="paramtype">const <a class="el" href="XercesDefs_8hpp.html#a7470c7a32c59355685ebcd878a33f126">XMLByte</a> *const&#160;</td>
  154. <td class="paramname"><em>initData</em>, </td>
  155. </tr>
  156. <tr>
  157. <td class="paramkey"></td>
  158. <td></td>
  159. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td>
  160. <td class="paramname"><em>capacity</em>, </td>
  161. </tr>
  162. <tr>
  163. <td class="paramkey"></td>
  164. <td></td>
  165. <td class="paramtype">const <a class="el" href="classBinMemInputStream.html#a939fb86f3143d1857e1134ad4d73bc69">BufOpts</a>&#160;</td>
  166. <td class="paramname"><em>bufOpt</em> = <code><a class="el" href="classBinMemInputStream.html#a939fb86f3143d1857e1134ad4d73bc69acbdda4802b432945da802e36bae8e92a">BufOpt_Copy</a></code>, </td>
  167. </tr>
  168. <tr>
  169. <td class="paramkey"></td>
  170. <td></td>
  171. <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
  172. <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
  173. </tr>
  174. <tr>
  175. <td></td>
  176. <td>)</td>
  177. <td></td><td></td>
  178. </tr>
  179. </table>
  180. </div><div class="memdoc">
  181. </div>
  182. </div>
  183. <a class="anchor" id="a9923322cccd88acb966b93ae804490dd"></a>
  184. <div class="memitem">
  185. <div class="memproto">
  186. <table class="mlabels">
  187. <tr>
  188. <td class="mlabels-left">
  189. <table class="memname">
  190. <tr>
  191. <td class="memname">virtual BinMemInputStream::~BinMemInputStream </td>
  192. <td>(</td>
  193. <td class="paramname"></td><td>)</td>
  194. <td></td>
  195. </tr>
  196. </table>
  197. </td>
  198. <td class="mlabels-right">
  199. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  200. </tr>
  201. </table>
  202. </div><div class="memdoc">
  203. </div>
  204. </div>
  205. <h2 class="groupheader">Member Function Documentation</h2>
  206. <a class="anchor" id="a16de7f8cb3aa38ad7233fb310c63929d"></a>
  207. <div class="memitem">
  208. <div class="memproto">
  209. <table class="mlabels">
  210. <tr>
  211. <td class="mlabels-left">
  212. <table class="memname">
  213. <tr>
  214. <td class="memname"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a7647261a546ac47bda863a51d24ad898">XMLFilePos</a> BinMemInputStream::curPos </td>
  215. <td>(</td>
  216. <td class="paramname"></td><td>)</td>
  217. <td> const</td>
  218. </tr>
  219. </table>
  220. </td>
  221. <td class="mlabels-right">
  222. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  223. </tr>
  224. </table>
  225. </div><div class="memdoc">
  226. <p>Implements <a class="el" href="classBinInputStream.html#a959a030c22785e3bcee6e7dd6800df71">BinInputStream</a>.</p>
  227. </div>
  228. </div>
  229. <a class="anchor" id="a43ef21224f83f5c76c18d10dfb147d7b"></a>
  230. <div class="memitem">
  231. <div class="memproto">
  232. <table class="mlabels">
  233. <tr>
  234. <td class="mlabels-left">
  235. <table class="memname">
  236. <tr>
  237. <td class="memname">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* BinMemInputStream::getContentType </td>
  238. <td>(</td>
  239. <td class="paramname"></td><td>)</td>
  240. <td> const</td>
  241. </tr>
  242. </table>
  243. </td>
  244. <td class="mlabels-right">
  245. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  246. </tr>
  247. </table>
  248. </div><div class="memdoc">
  249. <p>Return the "out-of-band" content type for the data supplied by this input stream in the form of the media-type production (mime type with optional parameters such as encoding) as defined by the HTTP 1.1 specification. </p>
  250. <p>If no such content type is provided for the data, 0 is returned. This function is expected to return the correct value at any time after the construction of the stream.</p>
  251. <p>An example of the stream that may return non-0 from this function is an HTTP stream with the value returned taken from the "Content-Type" HTTP header. Note also that if the encoding of the data is known to the application by some other means then the setEncoding function in the <a class="el" href="classInputSource.html" title="A single input source for an XML entity. ">InputSource</a> object should be used instead. The getContentType function should only be used to return information that is intrinsic to the stream.</p>
  252. <dl class="section return"><dt>Returns</dt><dd>The content type, or 0 if one is not available. </dd></dl>
  253. <p>Implements <a class="el" href="classBinInputStream.html#acb658844f9600ad353604bc403e74ff4">BinInputStream</a>.</p>
  254. </div>
  255. </div>
  256. <a class="anchor" id="aae9e8521d07aaf5a12efbea97c969938"></a>
  257. <div class="memitem">
  258. <div class="memproto">
  259. <table class="memname">
  260. <tr>
  261. <td class="memname"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> BinMemInputStream::getSize </td>
  262. <td>(</td>
  263. <td class="paramname"></td><td>)</td>
  264. <td> const</td>
  265. </tr>
  266. </table>
  267. </div><div class="memdoc">
  268. </div>
  269. </div>
  270. <a class="anchor" id="afe5316fc9aa18d3cd581f016fbdbda7c"></a>
  271. <div class="memitem">
  272. <div class="memproto">
  273. <table class="mlabels">
  274. <tr>
  275. <td class="mlabels-left">
  276. <table class="memname">
  277. <tr>
  278. <td class="memname">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> BinMemInputStream::readBytes </td>
  279. <td>(</td>
  280. <td class="paramtype"><a class="el" href="XercesDefs_8hpp.html#a7470c7a32c59355685ebcd878a33f126">XMLByte</a> *const&#160;</td>
  281. <td class="paramname"><em>toFill</em>, </td>
  282. </tr>
  283. <tr>
  284. <td class="paramkey"></td>
  285. <td></td>
  286. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td>
  287. <td class="paramname"><em>maxToRead</em>&#160;</td>
  288. </tr>
  289. <tr>
  290. <td></td>
  291. <td>)</td>
  292. <td></td><td></td>
  293. </tr>
  294. </table>
  295. </td>
  296. <td class="mlabels-right">
  297. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  298. </tr>
  299. </table>
  300. </div><div class="memdoc">
  301. <p>Implements <a class="el" href="classBinInputStream.html#a2245666a5058c666d0238ea5e5b5334b">BinInputStream</a>.</p>
  302. </div>
  303. </div>
  304. <a class="anchor" id="a071b3c5877e19a8191f59e6c69d271fc"></a>
  305. <div class="memitem">
  306. <div class="memproto">
  307. <table class="memname">
  308. <tr>
  309. <td class="memname">void BinMemInputStream::reset </td>
  310. <td>(</td>
  311. <td class="paramname"></td><td>)</td>
  312. <td></td>
  313. </tr>
  314. </table>
  315. </div><div class="memdoc">
  316. </div>
  317. </div>
  318. <hr/>The documentation for this class was generated from the following file:<ul>
  319. <li><a class="el" href="BinMemInputStream_8hpp_source.html">BinMemInputStream.hpp</a></li>
  320. </ul>
  321. </div><!-- contents -->
  322. <!-- start footer part -->
  323. <hr class="footer"/><address class="footer"><small>
  324. Generated on Wed Mar 18 2015 10:43:37 for Xerces-C++ by &#160;<a href="http://www.doxygen.org/index.html">
  325. <img class="footer" src="doxygen.png" alt="doxygen"/>
  326. </a> 1.8.9.1
  327. </small></address>
  328. </body>
  329. </html>