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.

761 lines
51 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++: XMLFormatter 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="classXMLFormatter-members.html">List of all members</a> </div>
  50. <div class="headertitle">
  51. <div class="title">XMLFormatter Class Reference</div> </div>
  52. </div><!--header-->
  53. <div class="contents">
  54. <p>This class provides the basic formatting capabilities that are required to turn the Unicode based XML data from the parsers into a form that can be used on non-Unicode based systems, that is, into local or generic text encodings.
  55. <a href="classXMLFormatter.html#details">More...</a></p>
  56. <div class="dynheader">
  57. Inheritance diagram for XMLFormatter:</div>
  58. <div class="dyncontent">
  59. <div class="center">
  60. <img src="classXMLFormatter.png" usemap="#XMLFormatter_map" alt=""/>
  61. <map id="XMLFormatter_map" name="XMLFormatter_map">
  62. <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,93,24"/>
  63. </map>
  64. </div></div>
  65. <table class="memberdecls">
  66. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  67. Public Types</h2></td></tr>
  68. <tr><td colspan="2"><div class="groupHeader">Public Constants</div></td></tr>
  69. <tr class="memitem:a748efc31a844072c83236280e145e0e8"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> { <br />
  70. &#160;&#160;<a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a2a74ac3785fc333a6800acd85c877e16">NoEscapes</a>,
  71. <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a218ea897b01814df4229d365547ec600">StdEscapes</a>,
  72. <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8aff52ad32a2006a34378676e6019b9396">AttrEscapes</a>,
  73. <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a8851d57fb130313a0e070716b8c15f63">CharEscapes</a>,
  74. <br />
  75. &#160;&#160;<a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8aaee87c39d183de7fa46cb0fa0b482c13">EscapeFlags_Count</a>,
  76. <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8aba24d32a6108583913ffad18dba20ec6">DefaultEscape</a> = 999
  77. <br />
  78. }</td></tr>
  79. <tr class="memdesc:a748efc31a844072c83236280e145e0e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">EscapeFlags - Different styles of escape flags to control various formatting. <a href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">More...</a><br /></td></tr>
  80. <tr class="separator:a748efc31a844072c83236280e145e0e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. <tr class="memitem:a81a2e32d442280c7bf2725a8c93cf48e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> { <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae9b78cf36dcde1a986145b3b8b7f46fa">UnRep_Fail</a>,
  82. <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48ea0ab5a7ce9a658e8aceb1d3f845b18098">UnRep_CharRef</a>,
  83. <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48ea2aef7a8a29067f331046d1441ce7a304">UnRep_Replace</a>,
  84. <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae3a12af64b10fc06eab9cacbcb8b776e">DefaultUnRep</a> = 999
  85. }</td></tr>
  86. <tr class="memdesc:a81a2e32d442280c7bf2725a8c93cf48e"><td class="mdescLeft">&#160;</td><td class="mdescRight">UnRepFlags. <a href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">More...</a><br /></td></tr>
  87. <tr class="separator:a81a2e32d442280c7bf2725a8c93cf48e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  88. </table><table class="memberdecls">
  89. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  90. Public Member Functions</h2></td></tr>
  91. <tr><td colspan="2"><div class="groupHeader">Constructor and Destructor</div></td></tr>
  92. <tr class="memitem:abebec14c6cc7ab7f72136758aaef83f4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#abebec14c6cc7ab7f72136758aaef83f4">XMLFormatter</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const outEncoding, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const docVersion, <a class="el" href="classXMLFormatTarget.html">XMLFormatTarget</a> *const target, const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> escapeFlags=<a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a2a74ac3785fc333a6800acd85c877e16">NoEscapes</a>, const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> unrepFlags=<a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae9b78cf36dcde1a986145b3b8b7f46fa">UnRep_Fail</a>, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
  93. <tr class="separator:abebec14c6cc7ab7f72136758aaef83f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  94. <tr class="memitem:af73178c877c77540e662a6f3fcd80121"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#af73178c877c77540e662a6f3fcd80121">XMLFormatter</a> (const char *const outEncoding, const char *const docVersion, <a class="el" href="classXMLFormatTarget.html">XMLFormatTarget</a> *const target, const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> escapeFlags=<a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a2a74ac3785fc333a6800acd85c877e16">NoEscapes</a>, const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> unrepFlags=<a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae9b78cf36dcde1a986145b3b8b7f46fa">UnRep_Fail</a>, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
  95. <tr class="separator:af73178c877c77540e662a6f3fcd80121"><td class="memSeparator" colspan="2">&#160;</td></tr>
  96. <tr class="memitem:a7746c80bba926d2ced433ac271dfd6c6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a7746c80bba926d2ced433ac271dfd6c6">XMLFormatter</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const outEncoding, <a class="el" href="classXMLFormatTarget.html">XMLFormatTarget</a> *const target, const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> escapeFlags=<a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a2a74ac3785fc333a6800acd85c877e16">NoEscapes</a>, const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> unrepFlags=<a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae9b78cf36dcde1a986145b3b8b7f46fa">UnRep_Fail</a>, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
  97. <tr class="separator:a7746c80bba926d2ced433ac271dfd6c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  98. <tr class="memitem:a878c95eda5c59ca364c567545dc9a075"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a878c95eda5c59ca364c567545dc9a075">XMLFormatter</a> (const char *const outEncoding, <a class="el" href="classXMLFormatTarget.html">XMLFormatTarget</a> *const target, const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> escapeFlags=<a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a2a74ac3785fc333a6800acd85c877e16">NoEscapes</a>, const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> unrepFlags=<a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae9b78cf36dcde1a986145b3b8b7f46fa">UnRep_Fail</a>, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
  99. <tr class="separator:a878c95eda5c59ca364c567545dc9a075"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:a45896fb0695b4e6964e3f2a6ed18d9b4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a45896fb0695b4e6964e3f2a6ed18d9b4">~XMLFormatter</a> ()</td></tr>
  101. <tr class="separator:a45896fb0695b4e6964e3f2a6ed18d9b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr><td colspan="2"><div class="groupHeader">Formatting methods</div></td></tr>
  103. <tr class="memitem:a0d1746277f2762c2750fc79e289ea155"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a0d1746277f2762c2750fc79e289ea155">formatBuf</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const toFormat, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> count, const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> escapeFlags=<a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8aba24d32a6108583913ffad18dba20ec6">DefaultEscape</a>, const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> unrepFlags=<a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae3a12af64b10fc06eab9cacbcb8b776e">DefaultUnRep</a>)</td></tr>
  104. <tr class="separator:a0d1746277f2762c2750fc79e289ea155"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:affd7cb92a71db9a9a38903e6eaea2c32"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXMLFormatter.html">XMLFormatter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#affd7cb92a71db9a9a38903e6eaea2c32">operator&lt;&lt;</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const toFormat)</td></tr>
  106. <tr class="separator:affd7cb92a71db9a9a38903e6eaea2c32"><td class="memSeparator" colspan="2">&#160;</td></tr>
  107. <tr class="memitem:aff629c2fcb434b6668c5ead83ede1e83"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXMLFormatter.html">XMLFormatter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#aff629c2fcb434b6668c5ead83ede1e83">operator&lt;&lt;</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> toFormat)</td></tr>
  108. <tr class="separator:aff629c2fcb434b6668c5ead83ede1e83"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:a8d252614d23d50de4034740c9bae544d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a8d252614d23d50de4034740c9bae544d">writeBOM</a> (const <a class="el" href="XercesDefs_8hpp.html#a7470c7a32c59355685ebcd878a33f126">XMLByte</a> *const toFormat, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> count)</td></tr>
  110. <tr class="separator:a8d252614d23d50de4034740c9bae544d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr><td colspan="2"><div class="groupHeader">Getter methods</div></td></tr>
  112. <tr class="memitem:adab7f0c3362593dbdbd779c15ab1d5dc"><td class="memItemLeft" align="right" valign="top">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="classXMLFormatter.html#adab7f0c3362593dbdbd779c15ab1d5dc">getEncodingName</a> () const </td></tr>
  113. <tr class="separator:adab7f0c3362593dbdbd779c15ab1d5dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:a2fbe2dc5d70af17410941f318c9f13e1"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classXMLTranscoder.html">XMLTranscoder</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a2fbe2dc5d70af17410941f318c9f13e1">getTranscoder</a> () const </td></tr>
  115. <tr class="separator:a2fbe2dc5d70af17410941f318c9f13e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:a37590068d7a07a4e49dc24a5769bcbef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXMLTranscoder.html">XMLTranscoder</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a37590068d7a07a4e49dc24a5769bcbef">getTranscoder</a> ()</td></tr>
  117. <tr class="separator:a37590068d7a07a4e49dc24a5769bcbef"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr><td colspan="2"><div class="groupHeader">Setter methods</div></td></tr>
  119. <tr class="memitem:a3e4cf748f21dee5028fbbf05f3f92936"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a3e4cf748f21dee5028fbbf05f3f92936">setEscapeFlags</a> (const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> newFlags)</td></tr>
  120. <tr class="separator:a3e4cf748f21dee5028fbbf05f3f92936"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:aaa9e430e74dddc98bfcd73b8d81d3879"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#aaa9e430e74dddc98bfcd73b8d81d3879">setUnRepFlags</a> (const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> newFlags)</td></tr>
  122. <tr class="separator:aaa9e430e74dddc98bfcd73b8d81d3879"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:abe8472dbafbf8870773fe42f17d24cc7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXMLFormatter.html">XMLFormatter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#abe8472dbafbf8870773fe42f17d24cc7">operator&lt;&lt;</a> (const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> newFlags)</td></tr>
  124. <tr class="separator:abe8472dbafbf8870773fe42f17d24cc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:a3c65e0ce3f1384831f6e4cfd54de4e5b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXMLFormatter.html">XMLFormatter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a3c65e0ce3f1384831f6e4cfd54de4e5b">operator&lt;&lt;</a> (const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> newFlags)</td></tr>
  126. <tr class="separator:a3c65e0ce3f1384831f6e4cfd54de4e5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:ad8e3fc00bcf307f9073eb9cf12b414d9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#ad8e3fc00bcf307f9073eb9cf12b414d9">getEscapeFlags</a> () const </td></tr>
  128. <tr class="separator:ad8e3fc00bcf307f9073eb9cf12b414d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:aac2a568c66da13437bc696d9dcedb2ca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#aac2a568c66da13437bc696d9dcedb2ca">getUnRepFlags</a> () const </td></tr>
  130. <tr class="separator:aac2a568c66da13437bc696d9dcedb2ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <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>
  132. <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>
  133. <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>
  134. <tr class="separator:a717678d9deadc627a41fe0dddede9f7f inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <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>
  136. <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>
  137. <tr class="separator:ac3022fcc968c684a31c1e6a9ede83c10 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <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>
  139. <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>
  140. <tr class="separator:aeaad885b799ac2188ffd28f76182339c inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <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>
  142. <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>
  143. <tr class="separator:a9da30f1601ea458908cbf150fc2f8f8b inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <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>
  145. <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>
  146. <tr class="separator:a22efbc6459bdbe79f83b7791bba4d1f6 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <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>
  148. <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>
  149. <tr class="separator:a32ee38b70d412e12f669cfbd86adf623 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. </table><table class="memberdecls">
  151. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
  152. Additional Inherited Members</h2></td></tr>
  153. <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>
  154. <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>
  155. <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>
  156. <tr class="separator:ae5b8adaa10d5d9276b42823f47e06858 inherit pro_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  157. </table>
  158. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  159. <div class="textblock"><p>This class provides the basic formatting capabilities that are required to turn the Unicode based XML data from the parsers into a form that can be used on non-Unicode based systems, that is, into local or generic text encodings. </p>
  160. <p>A number of flags are provided to control whether various optional formatting operations are performed. </p>
  161. </div><h2 class="groupheader">Member Enumeration Documentation</h2>
  162. <a class="anchor" id="a748efc31a844072c83236280e145e0e8"></a>
  163. <div class="memitem">
  164. <div class="memproto">
  165. <table class="memname">
  166. <tr>
  167. <td class="memname">enum <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">XMLFormatter::EscapeFlags</a></td>
  168. </tr>
  169. </table>
  170. </div><div class="memdoc">
  171. <p>EscapeFlags - Different styles of escape flags to control various formatting. </p>
  172. <p><code>NoEscapes:</code> No character needs to be escaped. Just write them out as is.</p>
  173. <p><code>StdEscapes:</code> The following characters need to be escaped:</p>
  174. <table border="1">
  175. <tr>
  176. <td>character </td><td>should be escaped and written as </td></tr>
  177. <tr>
  178. <td valign="top" rowspan="1" colspan="1">&amp; </td><td valign="top" rowspan="1" colspan="1">&amp;amp; </td></tr>
  179. <tr>
  180. <td valign="top" rowspan="1" colspan="1">&gt; </td><td valign="top" rowspan="1" colspan="1">&amp;gt; </td></tr>
  181. <tr>
  182. <td valign="top" rowspan="1" colspan="1">&quot; </td><td valign="top" rowspan="1" colspan="1">&amp;quot; </td></tr>
  183. <tr>
  184. <td valign="top" rowspan="1" colspan="1">&lt; </td><td valign="top" rowspan="1" colspan="1">&amp;lt; </td></tr>
  185. <tr>
  186. <td valign="top" rowspan="1" colspan="1">' </td><td valign="top" rowspan="1" colspan="1">&amp;apos; </td></tr>
  187. </table>
  188. <p><code>AttrEscapes:</code> The following characters need to be escaped:</p>
  189. <table border="1">
  190. <tr>
  191. <td>character </td><td>should be escaped and written as </td></tr>
  192. <tr>
  193. <td valign="top" rowspan="1" colspan="1">&amp; </td><td valign="top" rowspan="1" colspan="1">&amp;amp; </td></tr>
  194. <tr>
  195. <td valign="top" rowspan="1" colspan="1">&gt; </td><td valign="top" rowspan="1" colspan="1">&amp;gt; </td></tr>
  196. <tr>
  197. <td valign="top" rowspan="1" colspan="1">&quot; </td><td valign="top" rowspan="1" colspan="1">&amp;quot; </td></tr>
  198. </table>
  199. <p><code>CharEscapes:</code> The following characters need to be escaped:</p>
  200. <table border="1">
  201. <tr>
  202. <td>character </td><td>should be escaped and written as </td></tr>
  203. <tr>
  204. <td valign="top" rowspan="1" colspan="1">&amp; </td><td valign="top" rowspan="1" colspan="1">&amp;amp; </td></tr>
  205. <tr>
  206. <td valign="top" rowspan="1" colspan="1">&gt; </td><td valign="top" rowspan="1" colspan="1">&amp;gt; </td></tr>
  207. </table>
  208. <p><code>EscapeFlags_Count:</code> Special value, do not use directly.</p>
  209. <p><code>DefaultEscape:</code> Special value, do not use directly.</p>
  210. <table class="fieldtable">
  211. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a748efc31a844072c83236280e145e0e8a2a74ac3785fc333a6800acd85c877e16"></a>NoEscapes&#160;</td><td class="fielddoc">
  212. </td></tr>
  213. <tr><td class="fieldname"><a class="anchor" id="a748efc31a844072c83236280e145e0e8a218ea897b01814df4229d365547ec600"></a>StdEscapes&#160;</td><td class="fielddoc">
  214. </td></tr>
  215. <tr><td class="fieldname"><a class="anchor" id="a748efc31a844072c83236280e145e0e8aff52ad32a2006a34378676e6019b9396"></a>AttrEscapes&#160;</td><td class="fielddoc">
  216. </td></tr>
  217. <tr><td class="fieldname"><a class="anchor" id="a748efc31a844072c83236280e145e0e8a8851d57fb130313a0e070716b8c15f63"></a>CharEscapes&#160;</td><td class="fielddoc">
  218. </td></tr>
  219. <tr><td class="fieldname"><a class="anchor" id="a748efc31a844072c83236280e145e0e8aaee87c39d183de7fa46cb0fa0b482c13"></a>EscapeFlags_Count&#160;</td><td class="fielddoc">
  220. </td></tr>
  221. <tr><td class="fieldname"><a class="anchor" id="a748efc31a844072c83236280e145e0e8aba24d32a6108583913ffad18dba20ec6"></a>DefaultEscape&#160;</td><td class="fielddoc">
  222. </td></tr>
  223. </table>
  224. </div>
  225. </div>
  226. <a class="anchor" id="a81a2e32d442280c7bf2725a8c93cf48e"></a>
  227. <div class="memitem">
  228. <div class="memproto">
  229. <table class="memname">
  230. <tr>
  231. <td class="memname">enum <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">XMLFormatter::UnRepFlags</a></td>
  232. </tr>
  233. </table>
  234. </div><div class="memdoc">
  235. <p>UnRepFlags. </p>
  236. <p>The unrepresentable flags that indicate how to react when a character cannot be represented in the target encoding.</p>
  237. <p><code>UnRep_Fail:</code> Fail the operation.</p>
  238. <p><code>UnRep_CharRef:</code> Display the unrepresented character as reference.</p>
  239. <p><code>UnRep_Replace:</code> Replace the unrepresented character with the replacement character.</p>
  240. <p><code>DefaultUnRep:</code> Special value, do not use directly.</p>
  241. <table class="fieldtable">
  242. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a81a2e32d442280c7bf2725a8c93cf48eae9b78cf36dcde1a986145b3b8b7f46fa"></a>UnRep_Fail&#160;</td><td class="fielddoc">
  243. </td></tr>
  244. <tr><td class="fieldname"><a class="anchor" id="a81a2e32d442280c7bf2725a8c93cf48ea0ab5a7ce9a658e8aceb1d3f845b18098"></a>UnRep_CharRef&#160;</td><td class="fielddoc">
  245. </td></tr>
  246. <tr><td class="fieldname"><a class="anchor" id="a81a2e32d442280c7bf2725a8c93cf48ea2aef7a8a29067f331046d1441ce7a304"></a>UnRep_Replace&#160;</td><td class="fielddoc">
  247. </td></tr>
  248. <tr><td class="fieldname"><a class="anchor" id="a81a2e32d442280c7bf2725a8c93cf48eae3a12af64b10fc06eab9cacbcb8b776e"></a>DefaultUnRep&#160;</td><td class="fielddoc">
  249. </td></tr>
  250. </table>
  251. </div>
  252. </div>
  253. <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  254. <a class="anchor" id="abebec14c6cc7ab7f72136758aaef83f4"></a>
  255. <div class="memitem">
  256. <div class="memproto">
  257. <table class="memname">
  258. <tr>
  259. <td class="memname">XMLFormatter::XMLFormatter </td>
  260. <td>(</td>
  261. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  262. <td class="paramname"><em>outEncoding</em>, </td>
  263. </tr>
  264. <tr>
  265. <td class="paramkey"></td>
  266. <td></td>
  267. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  268. <td class="paramname"><em>docVersion</em>, </td>
  269. </tr>
  270. <tr>
  271. <td class="paramkey"></td>
  272. <td></td>
  273. <td class="paramtype"><a class="el" href="classXMLFormatTarget.html">XMLFormatTarget</a> *const&#160;</td>
  274. <td class="paramname"><em>target</em>, </td>
  275. </tr>
  276. <tr>
  277. <td class="paramkey"></td>
  278. <td></td>
  279. <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a>&#160;</td>
  280. <td class="paramname"><em>escapeFlags</em> = <code><a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a2a74ac3785fc333a6800acd85c877e16">NoEscapes</a></code>, </td>
  281. </tr>
  282. <tr>
  283. <td class="paramkey"></td>
  284. <td></td>
  285. <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a>&#160;</td>
  286. <td class="paramname"><em>unrepFlags</em> = <code><a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae9b78cf36dcde1a986145b3b8b7f46fa">UnRep_Fail</a></code>, </td>
  287. </tr>
  288. <tr>
  289. <td class="paramkey"></td>
  290. <td></td>
  291. <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
  292. <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
  293. </tr>
  294. <tr>
  295. <td></td>
  296. <td>)</td>
  297. <td></td><td></td>
  298. </tr>
  299. </table>
  300. </div><div class="memdoc">
  301. <dl class="params"><dt>Parameters</dt><dd>
  302. <table class="params">
  303. <tr><td class="paramname">outEncoding</td><td>the encoding for the formatted content. </td></tr>
  304. <tr><td class="paramname">docVersion</td><td>the document version. </td></tr>
  305. <tr><td class="paramname">target</td><td>the formatTarget where the formatted content is written to. </td></tr>
  306. <tr><td class="paramname">escapeFlags</td><td>the escape style for certain character. </td></tr>
  307. <tr><td class="paramname">unrepFlags</td><td>the reaction to unrepresentable character. </td></tr>
  308. <tr><td class="paramname">manager</td><td>Pointer to the memory manager to be used to allocate objects. </td></tr>
  309. </table>
  310. </dd>
  311. </dl>
  312. </div>
  313. </div>
  314. <a class="anchor" id="af73178c877c77540e662a6f3fcd80121"></a>
  315. <div class="memitem">
  316. <div class="memproto">
  317. <table class="memname">
  318. <tr>
  319. <td class="memname">XMLFormatter::XMLFormatter </td>
  320. <td>(</td>
  321. <td class="paramtype">const char *const&#160;</td>
  322. <td class="paramname"><em>outEncoding</em>, </td>
  323. </tr>
  324. <tr>
  325. <td class="paramkey"></td>
  326. <td></td>
  327. <td class="paramtype">const char *const&#160;</td>
  328. <td class="paramname"><em>docVersion</em>, </td>
  329. </tr>
  330. <tr>
  331. <td class="paramkey"></td>
  332. <td></td>
  333. <td class="paramtype"><a class="el" href="classXMLFormatTarget.html">XMLFormatTarget</a> *const&#160;</td>
  334. <td class="paramname"><em>target</em>, </td>
  335. </tr>
  336. <tr>
  337. <td class="paramkey"></td>
  338. <td></td>
  339. <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a>&#160;</td>
  340. <td class="paramname"><em>escapeFlags</em> = <code><a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a2a74ac3785fc333a6800acd85c877e16">NoEscapes</a></code>, </td>
  341. </tr>
  342. <tr>
  343. <td class="paramkey"></td>
  344. <td></td>
  345. <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a>&#160;</td>
  346. <td class="paramname"><em>unrepFlags</em> = <code><a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae9b78cf36dcde1a986145b3b8b7f46fa">UnRep_Fail</a></code>, </td>
  347. </tr>
  348. <tr>
  349. <td class="paramkey"></td>
  350. <td></td>
  351. <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
  352. <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
  353. </tr>
  354. <tr>
  355. <td></td>
  356. <td>)</td>
  357. <td></td><td></td>
  358. </tr>
  359. </table>
  360. </div><div class="memdoc">
  361. </div>
  362. </div>
  363. <a class="anchor" id="a7746c80bba926d2ced433ac271dfd6c6"></a>
  364. <div class="memitem">
  365. <div class="memproto">
  366. <table class="memname">
  367. <tr>
  368. <td class="memname">XMLFormatter::XMLFormatter </td>
  369. <td>(</td>
  370. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  371. <td class="paramname"><em>outEncoding</em>, </td>
  372. </tr>
  373. <tr>
  374. <td class="paramkey"></td>
  375. <td></td>
  376. <td class="paramtype"><a class="el" href="classXMLFormatTarget.html">XMLFormatTarget</a> *const&#160;</td>
  377. <td class="paramname"><em>target</em>, </td>
  378. </tr>
  379. <tr>
  380. <td class="paramkey"></td>
  381. <td></td>
  382. <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a>&#160;</td>
  383. <td class="paramname"><em>escapeFlags</em> = <code><a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a2a74ac3785fc333a6800acd85c877e16">NoEscapes</a></code>, </td>
  384. </tr>
  385. <tr>
  386. <td class="paramkey"></td>
  387. <td></td>
  388. <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a>&#160;</td>
  389. <td class="paramname"><em>unrepFlags</em> = <code><a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae9b78cf36dcde1a986145b3b8b7f46fa">UnRep_Fail</a></code>, </td>
  390. </tr>
  391. <tr>
  392. <td class="paramkey"></td>
  393. <td></td>
  394. <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
  395. <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
  396. </tr>
  397. <tr>
  398. <td></td>
  399. <td>)</td>
  400. <td></td><td></td>
  401. </tr>
  402. </table>
  403. </div><div class="memdoc">
  404. </div>
  405. </div>
  406. <a class="anchor" id="a878c95eda5c59ca364c567545dc9a075"></a>
  407. <div class="memitem">
  408. <div class="memproto">
  409. <table class="memname">
  410. <tr>
  411. <td class="memname">XMLFormatter::XMLFormatter </td>
  412. <td>(</td>
  413. <td class="paramtype">const char *const&#160;</td>
  414. <td class="paramname"><em>outEncoding</em>, </td>
  415. </tr>
  416. <tr>
  417. <td class="paramkey"></td>
  418. <td></td>
  419. <td class="paramtype"><a class="el" href="classXMLFormatTarget.html">XMLFormatTarget</a> *const&#160;</td>
  420. <td class="paramname"><em>target</em>, </td>
  421. </tr>
  422. <tr>
  423. <td class="paramkey"></td>
  424. <td></td>
  425. <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a>&#160;</td>
  426. <td class="paramname"><em>escapeFlags</em> = <code><a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a2a74ac3785fc333a6800acd85c877e16">NoEscapes</a></code>, </td>
  427. </tr>
  428. <tr>
  429. <td class="paramkey"></td>
  430. <td></td>
  431. <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a>&#160;</td>
  432. <td class="paramname"><em>unrepFlags</em> = <code><a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae9b78cf36dcde1a986145b3b8b7f46fa">UnRep_Fail</a></code>, </td>
  433. </tr>
  434. <tr>
  435. <td class="paramkey"></td>
  436. <td></td>
  437. <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
  438. <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
  439. </tr>
  440. <tr>
  441. <td></td>
  442. <td>)</td>
  443. <td></td><td></td>
  444. </tr>
  445. </table>
  446. </div><div class="memdoc">
  447. </div>
  448. </div>
  449. <a class="anchor" id="a45896fb0695b4e6964e3f2a6ed18d9b4"></a>
  450. <div class="memitem">
  451. <div class="memproto">
  452. <table class="memname">
  453. <tr>
  454. <td class="memname">XMLFormatter::~XMLFormatter </td>
  455. <td>(</td>
  456. <td class="paramname"></td><td>)</td>
  457. <td></td>
  458. </tr>
  459. </table>
  460. </div><div class="memdoc">
  461. </div>
  462. </div>
  463. <h2 class="groupheader">Member Function Documentation</h2>
  464. <a class="anchor" id="a0d1746277f2762c2750fc79e289ea155"></a>
  465. <div class="memitem">
  466. <div class="memproto">
  467. <table class="memname">
  468. <tr>
  469. <td class="memname">void XMLFormatter::formatBuf </td>
  470. <td>(</td>
  471. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  472. <td class="paramname"><em>toFormat</em>, </td>
  473. </tr>
  474. <tr>
  475. <td class="paramkey"></td>
  476. <td></td>
  477. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td>
  478. <td class="paramname"><em>count</em>, </td>
  479. </tr>
  480. <tr>
  481. <td class="paramkey"></td>
  482. <td></td>
  483. <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a>&#160;</td>
  484. <td class="paramname"><em>escapeFlags</em> = <code><a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8aba24d32a6108583913ffad18dba20ec6">DefaultEscape</a></code>, </td>
  485. </tr>
  486. <tr>
  487. <td class="paramkey"></td>
  488. <td></td>
  489. <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a>&#160;</td>
  490. <td class="paramname"><em>unrepFlags</em> = <code><a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae3a12af64b10fc06eab9cacbcb8b776e">DefaultUnRep</a></code>&#160;</td>
  491. </tr>
  492. <tr>
  493. <td></td>
  494. <td>)</td>
  495. <td></td><td></td>
  496. </tr>
  497. </table>
  498. </div><div class="memdoc">
  499. <dl class="params"><dt>Parameters</dt><dd>
  500. <table class="params">
  501. <tr><td class="paramname">toFormat</td><td>the string to be formatted </td></tr>
  502. <tr><td class="paramname">count</td><td>length of the string </td></tr>
  503. <tr><td class="paramname">escapeFlags</td><td>the escape style for formatting toFormat </td></tr>
  504. <tr><td class="paramname">unrepFlags</td><td>the reaction for any unrepresentable character in toFormat </td></tr>
  505. </table>
  506. </dd>
  507. </dl>
  508. </div>
  509. </div>
  510. <a class="anchor" id="adab7f0c3362593dbdbd779c15ab1d5dc"></a>
  511. <div class="memitem">
  512. <div class="memproto">
  513. <table class="memname">
  514. <tr>
  515. <td class="memname">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * XMLFormatter::getEncodingName </td>
  516. <td>(</td>
  517. <td class="paramname"></td><td>)</td>
  518. <td> const</td>
  519. </tr>
  520. </table>
  521. </div><div class="memdoc">
  522. <dl class="section return"><dt>Returns</dt><dd>return the encoding set for the formatted content </dd></dl>
  523. </div>
  524. </div>
  525. <a class="anchor" id="ad8e3fc00bcf307f9073eb9cf12b414d9"></a>
  526. <div class="memitem">
  527. <div class="memproto">
  528. <table class="memname">
  529. <tr>
  530. <td class="memname"><a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">XMLFormatter::EscapeFlags</a> XMLFormatter::getEscapeFlags </td>
  531. <td>(</td>
  532. <td class="paramname"></td><td>)</td>
  533. <td> const</td>
  534. </tr>
  535. </table>
  536. </div><div class="memdoc">
  537. <dl class="section return"><dt>Returns</dt><dd>return the escape style for the formatted content </dd></dl>
  538. </div>
  539. </div>
  540. <a class="anchor" id="a2fbe2dc5d70af17410941f318c9f13e1"></a>
  541. <div class="memitem">
  542. <div class="memproto">
  543. <table class="memname">
  544. <tr>
  545. <td class="memname">const <a class="el" href="classXMLTranscoder.html">XMLTranscoder</a> * XMLFormatter::getTranscoder </td>
  546. <td>(</td>
  547. <td class="paramname"></td><td>)</td>
  548. <td> const</td>
  549. </tr>
  550. </table>
  551. </div><div class="memdoc">
  552. <dl class="section return"><dt>Returns</dt><dd>return constant transcoder used internally for transcoding the formatter conent </dd></dl>
  553. </div>
  554. </div>
  555. <a class="anchor" id="a37590068d7a07a4e49dc24a5769bcbef"></a>
  556. <div class="memitem">
  557. <div class="memproto">
  558. <table class="memname">
  559. <tr>
  560. <td class="memname"><a class="el" href="classXMLTranscoder.html">XMLTranscoder</a> * XMLFormatter::getTranscoder </td>
  561. <td>(</td>
  562. <td class="paramname"></td><td>)</td>
  563. <td></td>
  564. </tr>
  565. </table>
  566. </div><div class="memdoc">
  567. <dl class="section return"><dt>Returns</dt><dd>return the transcoder used internally for transcoding the formatter content </dd></dl>
  568. </div>
  569. </div>
  570. <a class="anchor" id="aac2a568c66da13437bc696d9dcedb2ca"></a>
  571. <div class="memitem">
  572. <div class="memproto">
  573. <table class="memname">
  574. <tr>
  575. <td class="memname"><a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">XMLFormatter::UnRepFlags</a> XMLFormatter::getUnRepFlags </td>
  576. <td>(</td>
  577. <td class="paramname"></td><td>)</td>
  578. <td> const</td>
  579. </tr>
  580. </table>
  581. </div><div class="memdoc">
  582. <dl class="section return"><dt>Returns</dt><dd>return the reaction for unrepresentable character </dd></dl>
  583. </div>
  584. </div>
  585. <a class="anchor" id="affd7cb92a71db9a9a38903e6eaea2c32"></a>
  586. <div class="memitem">
  587. <div class="memproto">
  588. <table class="memname">
  589. <tr>
  590. <td class="memname"><a class="el" href="classXMLFormatter.html">XMLFormatter</a>&amp; XMLFormatter::operator&lt;&lt; </td>
  591. <td>(</td>
  592. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  593. <td class="paramname"><em>toFormat</em></td><td>)</td>
  594. <td></td>
  595. </tr>
  596. </table>
  597. </div><div class="memdoc">
  598. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classXMLFormatter.html#a0d1746277f2762c2750fc79e289ea155">formatBuf</a> </dd></dl>
  599. </div>
  600. </div>
  601. <a class="anchor" id="aff629c2fcb434b6668c5ead83ede1e83"></a>
  602. <div class="memitem">
  603. <div class="memproto">
  604. <table class="memname">
  605. <tr>
  606. <td class="memname"><a class="el" href="classXMLFormatter.html">XMLFormatter</a>&amp; XMLFormatter::operator&lt;&lt; </td>
  607. <td>(</td>
  608. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>&#160;</td>
  609. <td class="paramname"><em>toFormat</em></td><td>)</td>
  610. <td></td>
  611. </tr>
  612. </table>
  613. </div><div class="memdoc">
  614. </div>
  615. </div>
  616. <a class="anchor" id="abe8472dbafbf8870773fe42f17d24cc7"></a>
  617. <div class="memitem">
  618. <div class="memproto">
  619. <table class="memname">
  620. <tr>
  621. <td class="memname"><a class="el" href="classXMLFormatter.html">XMLFormatter</a> &amp; XMLFormatter::operator&lt;&lt; </td>
  622. <td>(</td>
  623. <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a>&#160;</td>
  624. <td class="paramname"><em>newFlags</em></td><td>)</td>
  625. <td></td>
  626. </tr>
  627. </table>
  628. </div><div class="memdoc">
  629. <dl class="params"><dt>Parameters</dt><dd>
  630. <table class="params">
  631. <tr><td class="paramname">newFlags</td><td>set the escape style for the follow-on formatted content </td></tr>
  632. </table>
  633. </dd>
  634. </dl>
  635. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classXMLFormatter.html#a3e4cf748f21dee5028fbbf05f3f92936">setEscapeFlags</a> </dd></dl>
  636. </div>
  637. </div>
  638. <a class="anchor" id="a3c65e0ce3f1384831f6e4cfd54de4e5b"></a>
  639. <div class="memitem">
  640. <div class="memproto">
  641. <table class="memname">
  642. <tr>
  643. <td class="memname"><a class="el" href="classXMLFormatter.html">XMLFormatter</a> &amp; XMLFormatter::operator&lt;&lt; </td>
  644. <td>(</td>
  645. <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a>&#160;</td>
  646. <td class="paramname"><em>newFlags</em></td><td>)</td>
  647. <td></td>
  648. </tr>
  649. </table>
  650. </div><div class="memdoc">
  651. <dl class="params"><dt>Parameters</dt><dd>
  652. <table class="params">
  653. <tr><td class="paramname">newFlags</td><td>set the reaction for unrepresentable character </td></tr>
  654. </table>
  655. </dd>
  656. </dl>
  657. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classXMLFormatter.html#aaa9e430e74dddc98bfcd73b8d81d3879">setUnRepFlags</a> </dd></dl>
  658. </div>
  659. </div>
  660. <a class="anchor" id="a3e4cf748f21dee5028fbbf05f3f92936"></a>
  661. <div class="memitem">
  662. <div class="memproto">
  663. <table class="memname">
  664. <tr>
  665. <td class="memname">void XMLFormatter::setEscapeFlags </td>
  666. <td>(</td>
  667. <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a>&#160;</td>
  668. <td class="paramname"><em>newFlags</em></td><td>)</td>
  669. <td></td>
  670. </tr>
  671. </table>
  672. </div><div class="memdoc">
  673. <dl class="params"><dt>Parameters</dt><dd>
  674. <table class="params">
  675. <tr><td class="paramname">newFlags</td><td>set the escape style for the follow-on formatted content </td></tr>
  676. </table>
  677. </dd>
  678. </dl>
  679. </div>
  680. </div>
  681. <a class="anchor" id="aaa9e430e74dddc98bfcd73b8d81d3879"></a>
  682. <div class="memitem">
  683. <div class="memproto">
  684. <table class="memname">
  685. <tr>
  686. <td class="memname">void XMLFormatter::setUnRepFlags </td>
  687. <td>(</td>
  688. <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a>&#160;</td>
  689. <td class="paramname"><em>newFlags</em></td><td>)</td>
  690. <td></td>
  691. </tr>
  692. </table>
  693. </div><div class="memdoc">
  694. <dl class="params"><dt>Parameters</dt><dd>
  695. <table class="params">
  696. <tr><td class="paramname">newFlags</td><td>set the reaction for unrepresentable character </td></tr>
  697. </table>
  698. </dd>
  699. </dl>
  700. </div>
  701. </div>
  702. <a class="anchor" id="a8d252614d23d50de4034740c9bae544d"></a>
  703. <div class="memitem">
  704. <div class="memproto">
  705. <table class="memname">
  706. <tr>
  707. <td class="memname">void XMLFormatter::writeBOM </td>
  708. <td>(</td>
  709. <td class="paramtype">const <a class="el" href="XercesDefs_8hpp.html#a7470c7a32c59355685ebcd878a33f126">XMLByte</a> *const&#160;</td>
  710. <td class="paramname"><em>toFormat</em>, </td>
  711. </tr>
  712. <tr>
  713. <td class="paramkey"></td>
  714. <td></td>
  715. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td>
  716. <td class="paramname"><em>count</em>&#160;</td>
  717. </tr>
  718. <tr>
  719. <td></td>
  720. <td>)</td>
  721. <td></td><td></td>
  722. </tr>
  723. </table>
  724. </div><div class="memdoc">
  725. </div>
  726. </div>
  727. <hr/>The documentation for this class was generated from the following file:<ul>
  728. <li><a class="el" href="XMLFormatter_8hpp_source.html">XMLFormatter.hpp</a></li>
  729. </ul>
  730. </div><!-- contents -->
  731. <!-- start footer part -->
  732. <hr class="footer"/><address class="footer"><small>
  733. Generated on Wed Mar 18 2015 10:43:39 for Xerces-C++ by &#160;<a href="http://www.doxygen.org/index.html">
  734. <img class="footer" src="doxygen.png" alt="doxygen"/>
  735. </a> 1.8.9.1
  736. </small></address>
  737. </body>
  738. </html>