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.

229 lines
19 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++: DefaultPanicHandler 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="classDefaultPanicHandler-members.html">List of all members</a> </div>
  50. <div class="headertitle">
  51. <div class="title">DefaultPanicHandler Class Reference</div> </div>
  52. </div><!--header-->
  53. <div class="contents">
  54. <p>Receive notification of panic.
  55. <a href="classDefaultPanicHandler.html#details">More...</a></p>
  56. <div class="dynheader">
  57. Inheritance diagram for DefaultPanicHandler:</div>
  58. <div class="dyncontent">
  59. <div class="center">
  60. <img src="classDefaultPanicHandler.png" usemap="#DefaultPanicHandler_map" alt=""/>
  61. <map id="DefaultPanicHandler_map" name="DefaultPanicHandler_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,129,24"/>
  63. <area href="classPanicHandler.html" title="Receive notification of panic. " alt="PanicHandler" shape="rect" coords="139,0,268,24"/>
  64. </map>
  65. </div></div>
  66. <table class="memberdecls">
  67. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  68. Public Member Functions</h2></td></tr>
  69. <tr><td colspan="2"><div class="groupHeader">hidden Constructors</div></td></tr>
  70. <tr class="memitem:aa56b2394f9477c50cadde3205032a7bc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDefaultPanicHandler.html#aa56b2394f9477c50cadde3205032a7bc">DefaultPanicHandler</a> ()</td></tr>
  71. <tr class="memdesc:aa56b2394f9477c50cadde3205032a7bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <a href="#aa56b2394f9477c50cadde3205032a7bc">More...</a><br /></td></tr>
  72. <tr class="separator:aa56b2394f9477c50cadde3205032a7bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  73. <tr class="memitem:a5f37f889216864280e09bad0937e8c20"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDefaultPanicHandler.html#a5f37f889216864280e09bad0937e8c20">~DefaultPanicHandler</a> ()</td></tr>
  74. <tr class="memdesc:a5f37f889216864280e09bad0937e8c20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="#a5f37f889216864280e09bad0937e8c20">More...</a><br /></td></tr>
  75. <tr class="separator:a5f37f889216864280e09bad0937e8c20"><td class="memSeparator" colspan="2">&#160;</td></tr>
  76. <tr><td colspan="2"><div class="groupHeader">Implement virtual panic handler interface</div></td></tr>
  77. <tr class="memitem:a8a47168786acceed06ef64b188211df4"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDefaultPanicHandler.html#a8a47168786acceed06ef64b188211df4">panic</a> (const <a class="el" href="classPanicHandler.html#aace4c4f408d68f168e1c2537e0ba5be2">PanicHandler::PanicReasons</a> reason)</td></tr>
  78. <tr class="memdesc:a8a47168786acceed06ef64b188211df4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Receive notification of panic. <a href="#a8a47168786acceed06ef64b188211df4">More...</a><br /></td></tr>
  79. <tr class="separator:a8a47168786acceed06ef64b188211df4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  80. <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>
  81. <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>
  82. <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>
  83. <tr class="separator:a717678d9deadc627a41fe0dddede9f7f inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. <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>
  85. <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>
  86. <tr class="separator:ac3022fcc968c684a31c1e6a9ede83c10 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  87. <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>
  88. <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>
  89. <tr class="separator:aeaad885b799ac2188ffd28f76182339c inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  90. <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>
  91. <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>
  92. <tr class="separator:a9da30f1601ea458908cbf150fc2f8f8b inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  93. <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>
  94. <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>
  95. <tr class="separator:a22efbc6459bdbe79f83b7791bba4d1f6 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  96. <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>
  97. <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>
  98. <tr class="separator:a32ee38b70d412e12f669cfbd86adf623 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. <tr class="inherit_header pub_methods_classPanicHandler"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classPanicHandler')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classPanicHandler.html">PanicHandler</a></td></tr>
  100. <tr class="memitem:ac7fad72aeffdcf733ae3c2bdf7fe9605 inherit pub_methods_classPanicHandler"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPanicHandler.html#ac7fad72aeffdcf733ae3c2bdf7fe9605">~PanicHandler</a> ()</td></tr>
  101. <tr class="memdesc:ac7fad72aeffdcf733ae3c2bdf7fe9605 inherit pub_methods_classPanicHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="#ac7fad72aeffdcf733ae3c2bdf7fe9605">More...</a><br /></td></tr>
  102. <tr class="separator:ac7fad72aeffdcf733ae3c2bdf7fe9605 inherit pub_methods_classPanicHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. </table><table class="memberdecls">
  104. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
  105. Additional Inherited Members</h2></td></tr>
  106. <tr class="inherit_header pub_types_classPanicHandler"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classPanicHandler')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classPanicHandler.html">PanicHandler</a></td></tr>
  107. <tr class="memitem:aace4c4f408d68f168e1c2537e0ba5be2 inherit pub_types_classPanicHandler"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPanicHandler.html#aace4c4f408d68f168e1c2537e0ba5be2">PanicReasons</a> { <br />
  108. &#160;&#160;<a class="el" href="classPanicHandler.html#aace4c4f408d68f168e1c2537e0ba5be2a2430bd8f71401367e30fe158b3a2a9d1">Panic_NoTransService</a>,
  109. <a class="el" href="classPanicHandler.html#aace4c4f408d68f168e1c2537e0ba5be2a24249426c2224e2738415715aa288dcf">Panic_NoDefTranscoder</a>,
  110. <a class="el" href="classPanicHandler.html#aace4c4f408d68f168e1c2537e0ba5be2a33e71b542dd1c65a9847622b22f3f390">Panic_CantFindLib</a>,
  111. <a class="el" href="classPanicHandler.html#aace4c4f408d68f168e1c2537e0ba5be2a08eadb74b6e54655f9d33382464127e5">Panic_UnknownMsgDomain</a>,
  112. <br />
  113. &#160;&#160;<a class="el" href="classPanicHandler.html#aace4c4f408d68f168e1c2537e0ba5be2a6ddb16a86f54a832a08bf9580190bae3">Panic_CantLoadMsgDomain</a>,
  114. <a class="el" href="classPanicHandler.html#aace4c4f408d68f168e1c2537e0ba5be2ab89078a5505dcd40b96463dd080393d5">Panic_SynchronizationErr</a>,
  115. <a class="el" href="classPanicHandler.html#aace4c4f408d68f168e1c2537e0ba5be2aa4960fce81ac6da9aa0049a7d50df3e8">Panic_SystemInit</a>,
  116. <a class="el" href="classPanicHandler.html#aace4c4f408d68f168e1c2537e0ba5be2a25beb3014f563286fbf0b02856eb60bc">Panic_AllStaticInitErr</a>,
  117. <br />
  118. &#160;&#160;<a class="el" href="classPanicHandler.html#aace4c4f408d68f168e1c2537e0ba5be2afb6c672288085736787e5d0d9ce43a84">Panic_MutexErr</a>,
  119. <a class="el" href="classPanicHandler.html#aace4c4f408d68f168e1c2537e0ba5be2a1d01eea19718d4796472d949dcf43237">PanicReasons_Count</a>
  120. <br />
  121. }</td></tr>
  122. <tr class="separator:aace4c4f408d68f168e1c2537e0ba5be2 inherit pub_types_classPanicHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="inherit_header pub_static_methods_classPanicHandler"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classPanicHandler')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classPanicHandler.html">PanicHandler</a></td></tr>
  124. <tr class="memitem:a1697ada99db00b56afb1f8355e5d90b4 inherit pub_static_methods_classPanicHandler"><td class="memItemLeft" align="right" valign="top">static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPanicHandler.html#a1697ada99db00b56afb1f8355e5d90b4">getPanicReasonString</a> (const <a class="el" href="classPanicHandler.html#aace4c4f408d68f168e1c2537e0ba5be2">PanicHandler::PanicReasons</a> reason)</td></tr>
  125. <tr class="separator:a1697ada99db00b56afb1f8355e5d90b4 inherit pub_static_methods_classPanicHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <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>
  127. <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>
  128. <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>
  129. <tr class="separator:ae5b8adaa10d5d9276b42823f47e06858 inherit pro_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="inherit_header pro_methods_classPanicHandler"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classPanicHandler')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classPanicHandler.html">PanicHandler</a></td></tr>
  131. <tr class="memitem:ab2bc634b10a94f9cef4ba1e95a911c8c inherit pro_methods_classPanicHandler"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPanicHandler.html#ab2bc634b10a94f9cef4ba1e95a911c8c">PanicHandler</a> ()</td></tr>
  132. <tr class="memdesc:ab2bc634b10a94f9cef4ba1e95a911c8c inherit pro_methods_classPanicHandler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <a href="#ab2bc634b10a94f9cef4ba1e95a911c8c">More...</a><br /></td></tr>
  133. <tr class="separator:ab2bc634b10a94f9cef4ba1e95a911c8c inherit pro_methods_classPanicHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. </table>
  135. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  136. <div class="textblock"><p>Receive notification of panic. </p>
  137. <p>This is Xerces' default implementation of the PanicHanlder interface, which will be instantiated and used in the absence of an application's panic handler. </p>
  138. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  139. <a class="anchor" id="aa56b2394f9477c50cadde3205032a7bc"></a>
  140. <div class="memitem">
  141. <div class="memproto">
  142. <table class="memname">
  143. <tr>
  144. <td class="memname">DefaultPanicHandler::DefaultPanicHandler </td>
  145. <td>(</td>
  146. <td class="paramname"></td><td>)</td>
  147. <td></td>
  148. </tr>
  149. </table>
  150. </div><div class="memdoc">
  151. <p>Default constructor. </p>
  152. </div>
  153. </div>
  154. <a class="anchor" id="a5f37f889216864280e09bad0937e8c20"></a>
  155. <div class="memitem">
  156. <div class="memproto">
  157. <table class="mlabels">
  158. <tr>
  159. <td class="mlabels-left">
  160. <table class="memname">
  161. <tr>
  162. <td class="memname">virtual DefaultPanicHandler::~DefaultPanicHandler </td>
  163. <td>(</td>
  164. <td class="paramname"></td><td>)</td>
  165. <td></td>
  166. </tr>
  167. </table>
  168. </td>
  169. <td class="mlabels-right">
  170. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  171. </tr>
  172. </table>
  173. </div><div class="memdoc">
  174. <p>Destructor. </p>
  175. </div>
  176. </div>
  177. <h2 class="groupheader">Member Function Documentation</h2>
  178. <a class="anchor" id="a8a47168786acceed06ef64b188211df4"></a>
  179. <div class="memitem">
  180. <div class="memproto">
  181. <table class="mlabels">
  182. <tr>
  183. <td class="mlabels-left">
  184. <table class="memname">
  185. <tr>
  186. <td class="memname">virtual void DefaultPanicHandler::panic </td>
  187. <td>(</td>
  188. <td class="paramtype">const <a class="el" href="classPanicHandler.html#aace4c4f408d68f168e1c2537e0ba5be2">PanicHandler::PanicReasons</a>&#160;</td>
  189. <td class="paramname"><em>reason</em></td><td>)</td>
  190. <td></td>
  191. </tr>
  192. </table>
  193. </td>
  194. <td class="mlabels-right">
  195. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  196. </tr>
  197. </table>
  198. </div><div class="memdoc">
  199. <p>Receive notification of panic. </p>
  200. <p>Upon invocation, a corresponding error message will be output to the stderr, and program exit. </p>
  201. <dl class="params"><dt>Parameters</dt><dd>
  202. <table class="params">
  203. <tr><td class="paramname">reason</td><td>The reason of panic </td></tr>
  204. </table>
  205. </dd>
  206. </dl>
  207. <p>Implements <a class="el" href="classPanicHandler.html#a8cf11f9bba7395f8bdca47103c8f06bd">PanicHandler</a>.</p>
  208. </div>
  209. </div>
  210. <hr/>The documentation for this class was generated from the following file:<ul>
  211. <li><a class="el" href="DefaultPanicHandler_8hpp_source.html">DefaultPanicHandler.hpp</a></li>
  212. </ul>
  213. </div><!-- contents -->
  214. <!-- start footer part -->
  215. <hr class="footer"/><address class="footer"><small>
  216. Generated on Wed Mar 18 2015 10:43:37 for Xerces-C++ by &#160;<a href="http://www.doxygen.org/index.html">
  217. <img class="footer" src="doxygen.png" alt="doxygen"/>
  218. </a> 1.8.9.1
  219. </small></address>
  220. </body>
  221. </html>