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.

390 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++: XMLNumber 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="#pub-static-methods">Static Public Member Functions</a> &#124;
  52. <a href="#pro-methods">Protected Member Functions</a> &#124;
  53. <a href="classXMLNumber-members.html">List of all members</a> </div>
  54. <div class="headertitle">
  55. <div class="title">XMLNumber Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
  56. </div><!--header-->
  57. <div class="contents">
  58. <div class="dynheader">
  59. Inheritance diagram for XMLNumber:</div>
  60. <div class="dyncontent">
  61. <div class="center">
  62. <img src="classXMLNumber.png" usemap="#XMLNumber_map" alt=""/>
  63. <map id="XMLNumber_map" name="XMLNumber_map">
  64. <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="328,0,482,24"/>
  65. <area href="classXMLAbstractDoubleFloat.html" alt="XMLAbstractDoubleFloat" shape="rect" coords="82,112,236,136"/>
  66. <area href="classXMLBigDecimal.html" alt="XMLBigDecimal" shape="rect" coords="246,112,400,136"/>
  67. <area href="classXMLDateTime.html" alt="XMLDateTime" shape="rect" coords="410,112,564,136"/>
  68. <area href="classXMLDouble.html" alt="XMLDouble" shape="rect" coords="0,168,154,192"/>
  69. <area href="classXMLFloat.html" alt="XMLFloat" shape="rect" coords="164,168,318,192"/>
  70. </map>
  71. </div></div>
  72. <table class="memberdecls">
  73. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  74. Public Types</h2></td></tr>
  75. <tr class="memitem:a91617ea3d325d934b42ba1fbba05cf85"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="classXMLNumber.html#a91617ea3d325d934b42ba1fbba05cf85af80135b0758746d740834d9282d90e7e">LESS_THAN</a> = -1,
  76. <a class="el" href="classXMLNumber.html#a91617ea3d325d934b42ba1fbba05cf85af0390c3ad3b3a0e6ae3b4e475cdad91b">EQUAL</a> = 0,
  77. <a class="el" href="classXMLNumber.html#a91617ea3d325d934b42ba1fbba05cf85ab88773c574467f6b74d67258984751d6">GREATER_THAN</a> = 1,
  78. <a class="el" href="classXMLNumber.html#a91617ea3d325d934b42ba1fbba05cf85aedd8de055c09abd8a293c91669d2082f">INDETERMINATE</a> = 2
  79. }</td></tr>
  80. <tr class="separator:a91617ea3d325d934b42ba1fbba05cf85"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. <tr class="memitem:a5c61954fb1fcef027fed8dccc826f8eb"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLNumber.html#a5c61954fb1fcef027fed8dccc826f8eb">NumberType</a> { <br />
  82. &#160;&#160;<a class="el" href="classXMLNumber.html#a5c61954fb1fcef027fed8dccc826f8ebabaaaecede77f9308704cb3d048b786d6">Float</a>,
  83. <a class="el" href="classXMLNumber.html#a5c61954fb1fcef027fed8dccc826f8ebabea272770538965b468000783fd4fe4f">Double</a>,
  84. <a class="el" href="classXMLNumber.html#a5c61954fb1fcef027fed8dccc826f8ebae978e8111cc6cb8c6e7a409403b6ce5b">BigDecimal</a>,
  85. <a class="el" href="classXMLNumber.html#a5c61954fb1fcef027fed8dccc826f8eba0495ee623f81c9bf45fdff7c2741998b">DateTime</a>,
  86. <br />
  87. &#160;&#160;<a class="el" href="classXMLNumber.html#a5c61954fb1fcef027fed8dccc826f8eba953c375adee84b1de7e8d15c90ad4b41">UnKnown</a>
  88. <br />
  89. }</td></tr>
  90. <tr class="separator:a5c61954fb1fcef027fed8dccc826f8eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  91. </table><table class="memberdecls">
  92. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  93. Public Member Functions</h2></td></tr>
  94. <tr class="memitem:a85603dbae94ae827c4b5e8d584dc86b1"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLNumber.html#a85603dbae94ae827c4b5e8d584dc86b1">~XMLNumber</a> ()</td></tr>
  95. <tr class="separator:a85603dbae94ae827c4b5e8d584dc86b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  96. <tr class="memitem:ae9d0f1ea61d2a6d5fb705c3c44962c39"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLNumber.html#ae9d0f1ea61d2a6d5fb705c3c44962c39">getRawData</a> () const =0</td></tr>
  97. <tr class="memdesc:ae9d0f1ea61d2a6d5fb705c3c44962c39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return string representation of the decimal value. <a href="#ae9d0f1ea61d2a6d5fb705c3c44962c39">More...</a><br /></td></tr>
  98. <tr class="separator:ae9d0f1ea61d2a6d5fb705c3c44962c39"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. <tr class="memitem:a9ee7bb914f65bbf0d6edc2835bfa28f6"><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="classXMLNumber.html#a9ee7bb914f65bbf0d6edc2835bfa28f6">getFormattedString</a> () const =0</td></tr>
  100. <tr class="memdesc:a9ee7bb914f65bbf0d6edc2835bfa28f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the original and converted value of the original data. <a href="#a9ee7bb914f65bbf0d6edc2835bfa28f6">More...</a><br /></td></tr>
  101. <tr class="separator:a9ee7bb914f65bbf0d6edc2835bfa28f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr class="memitem:a6e6b402f5170844a4807ff7208d38033"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLNumber.html#a6e6b402f5170844a4807ff7208d38033">getSign</a> () const =0</td></tr>
  103. <tr class="memdesc:a6e6b402f5170844a4807ff7208d38033"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the sign of this number. <a href="#a6e6b402f5170844a4807ff7208d38033">More...</a><br /></td></tr>
  104. <tr class="separator:a6e6b402f5170844a4807ff7208d38033"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <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>
  106. <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>
  107. <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>
  108. <tr class="separator:a717678d9deadc627a41fe0dddede9f7f inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <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>
  110. <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>
  111. <tr class="separator:ac3022fcc968c684a31c1e6a9ede83c10 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <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>
  113. <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>
  114. <tr class="separator:aeaad885b799ac2188ffd28f76182339c inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <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>
  116. <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>
  117. <tr class="separator:a9da30f1601ea458908cbf150fc2f8f8b inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <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>
  119. <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>
  120. <tr class="separator:a22efbc6459bdbe79f83b7791bba4d1f6 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <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>
  122. <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>
  123. <tr class="separator:a32ee38b70d412e12f669cfbd86adf623 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. </table><table class="memberdecls">
  125. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
  126. Static Public Member Functions</h2></td></tr>
  127. <tr class="memitem:ac5d5eca39a93bd612b7798d04ea2435e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classXMLNumber.html">XMLNumber</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLNumber.html#ac5d5eca39a93bd612b7798d04ea2435e">loadNumber</a> (<a class="el" href="classXMLNumber.html#a5c61954fb1fcef027fed8dccc826f8eb">XMLNumber::NumberType</a> numType, XSerializeEngine &amp;serEng)</td></tr>
  128. <tr class="separator:ac5d5eca39a93bd612b7798d04ea2435e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. </table><table class="memberdecls">
  130. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  131. Protected Member Functions</h2></td></tr>
  132. <tr class="memitem:a66dd144cf586c66ca1ae14a713829fd0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLNumber.html#a66dd144cf586c66ca1ae14a713829fd0">XMLNumber</a> ()</td></tr>
  133. <tr class="separator:a66dd144cf586c66ca1ae14a713829fd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:a30e54d28c75ff9674d16735822f4b665"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLNumber.html#a30e54d28c75ff9674d16735822f4b665">XMLNumber</a> (const <a class="el" href="classXMLNumber.html">XMLNumber</a> &amp;)</td></tr>
  135. <tr class="separator:a30e54d28c75ff9674d16735822f4b665"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <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>
  137. <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>
  138. <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>
  139. <tr class="separator:ae5b8adaa10d5d9276b42823f47e06858 inherit pro_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. </table>
  141. <h2 class="groupheader">Member Enumeration Documentation</h2>
  142. <a class="anchor" id="a91617ea3d325d934b42ba1fbba05cf85"></a>
  143. <div class="memitem">
  144. <div class="memproto">
  145. <table class="memname">
  146. <tr>
  147. <td class="memname">anonymous enum</td>
  148. </tr>
  149. </table>
  150. </div><div class="memdoc">
  151. <table class="fieldtable">
  152. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a91617ea3d325d934b42ba1fbba05cf85af80135b0758746d740834d9282d90e7e"></a>LESS_THAN&#160;</td><td class="fielddoc">
  153. </td></tr>
  154. <tr><td class="fieldname"><a class="anchor" id="a91617ea3d325d934b42ba1fbba05cf85af0390c3ad3b3a0e6ae3b4e475cdad91b"></a>EQUAL&#160;</td><td class="fielddoc">
  155. </td></tr>
  156. <tr><td class="fieldname"><a class="anchor" id="a91617ea3d325d934b42ba1fbba05cf85ab88773c574467f6b74d67258984751d6"></a>GREATER_THAN&#160;</td><td class="fielddoc">
  157. </td></tr>
  158. <tr><td class="fieldname"><a class="anchor" id="a91617ea3d325d934b42ba1fbba05cf85aedd8de055c09abd8a293c91669d2082f"></a>INDETERMINATE&#160;</td><td class="fielddoc">
  159. </td></tr>
  160. </table>
  161. </div>
  162. </div>
  163. <a class="anchor" id="a5c61954fb1fcef027fed8dccc826f8eb"></a>
  164. <div class="memitem">
  165. <div class="memproto">
  166. <table class="memname">
  167. <tr>
  168. <td class="memname">enum <a class="el" href="classXMLNumber.html#a5c61954fb1fcef027fed8dccc826f8eb">XMLNumber::NumberType</a></td>
  169. </tr>
  170. </table>
  171. </div><div class="memdoc">
  172. <table class="fieldtable">
  173. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a5c61954fb1fcef027fed8dccc826f8ebabaaaecede77f9308704cb3d048b786d6"></a>Float&#160;</td><td class="fielddoc">
  174. </td></tr>
  175. <tr><td class="fieldname"><a class="anchor" id="a5c61954fb1fcef027fed8dccc826f8ebabea272770538965b468000783fd4fe4f"></a>Double&#160;</td><td class="fielddoc">
  176. </td></tr>
  177. <tr><td class="fieldname"><a class="anchor" id="a5c61954fb1fcef027fed8dccc826f8ebae978e8111cc6cb8c6e7a409403b6ce5b"></a>BigDecimal&#160;</td><td class="fielddoc">
  178. </td></tr>
  179. <tr><td class="fieldname"><a class="anchor" id="a5c61954fb1fcef027fed8dccc826f8eba0495ee623f81c9bf45fdff7c2741998b"></a>DateTime&#160;</td><td class="fielddoc">
  180. </td></tr>
  181. <tr><td class="fieldname"><a class="anchor" id="a5c61954fb1fcef027fed8dccc826f8eba953c375adee84b1de7e8d15c90ad4b41"></a>UnKnown&#160;</td><td class="fielddoc">
  182. </td></tr>
  183. </table>
  184. </div>
  185. </div>
  186. <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  187. <a class="anchor" id="a85603dbae94ae827c4b5e8d584dc86b1"></a>
  188. <div class="memitem">
  189. <div class="memproto">
  190. <table class="mlabels">
  191. <tr>
  192. <td class="mlabels-left">
  193. <table class="memname">
  194. <tr>
  195. <td class="memname">virtual XMLNumber::~XMLNumber </td>
  196. <td>(</td>
  197. <td class="paramname"></td><td>)</td>
  198. <td></td>
  199. </tr>
  200. </table>
  201. </td>
  202. <td class="mlabels-right">
  203. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  204. </tr>
  205. </table>
  206. </div><div class="memdoc">
  207. </div>
  208. </div>
  209. <a class="anchor" id="a66dd144cf586c66ca1ae14a713829fd0"></a>
  210. <div class="memitem">
  211. <div class="memproto">
  212. <table class="mlabels">
  213. <tr>
  214. <td class="mlabels-left">
  215. <table class="memname">
  216. <tr>
  217. <td class="memname">XMLNumber::XMLNumber </td>
  218. <td>(</td>
  219. <td class="paramname"></td><td>)</td>
  220. <td></td>
  221. </tr>
  222. </table>
  223. </td>
  224. <td class="mlabels-right">
  225. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  226. </tr>
  227. </table>
  228. </div><div class="memdoc">
  229. </div>
  230. </div>
  231. <a class="anchor" id="a30e54d28c75ff9674d16735822f4b665"></a>
  232. <div class="memitem">
  233. <div class="memproto">
  234. <table class="mlabels">
  235. <tr>
  236. <td class="mlabels-left">
  237. <table class="memname">
  238. <tr>
  239. <td class="memname">XMLNumber::XMLNumber </td>
  240. <td>(</td>
  241. <td class="paramtype">const <a class="el" href="classXMLNumber.html">XMLNumber</a> &amp;&#160;</td>
  242. <td class="paramname"></td><td>)</td>
  243. <td></td>
  244. </tr>
  245. </table>
  246. </td>
  247. <td class="mlabels-right">
  248. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  249. </tr>
  250. </table>
  251. </div><div class="memdoc">
  252. </div>
  253. </div>
  254. <h2 class="groupheader">Member Function Documentation</h2>
  255. <a class="anchor" id="a9ee7bb914f65bbf0d6edc2835bfa28f6"></a>
  256. <div class="memitem">
  257. <div class="memproto">
  258. <table class="mlabels">
  259. <tr>
  260. <td class="mlabels-left">
  261. <table class="memname">
  262. <tr>
  263. <td class="memname">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* XMLNumber::getFormattedString </td>
  264. <td>(</td>
  265. <td class="paramname"></td><td>)</td>
  266. <td> const</td>
  267. </tr>
  268. </table>
  269. </td>
  270. <td class="mlabels-right">
  271. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  272. </tr>
  273. </table>
  274. </div><div class="memdoc">
  275. <p>Return the original and converted value of the original data. </p>
  276. <p>(applicable to double/float)</p>
  277. <p>The internal buffer is returned directly, user is not required to delete the returned buffer </p>
  278. <p>Implemented in <a class="el" href="classXMLDateTime.html#aec6793ef66fbc79b72e2f02482cfc510">XMLDateTime</a>, <a class="el" href="classXMLAbstractDoubleFloat.html#ac897e4a4c9b8bd8a17880dc7c148a1ff">XMLAbstractDoubleFloat</a>, and <a class="el" href="classXMLBigDecimal.html#a8117d2f6951ae26a199d28fd21215aa1">XMLBigDecimal</a>.</p>
  279. </div>
  280. </div>
  281. <a class="anchor" id="ae9d0f1ea61d2a6d5fb705c3c44962c39"></a>
  282. <div class="memitem">
  283. <div class="memproto">
  284. <table class="mlabels">
  285. <tr>
  286. <td class="mlabels-left">
  287. <table class="memname">
  288. <tr>
  289. <td class="memname">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* XMLNumber::getRawData </td>
  290. <td>(</td>
  291. <td class="paramname"></td><td>)</td>
  292. <td> const</td>
  293. </tr>
  294. </table>
  295. </td>
  296. <td class="mlabels-right">
  297. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  298. </tr>
  299. </table>
  300. </div><div class="memdoc">
  301. <p>Return string representation of the decimal value. </p>
  302. <p>A decimal point will be included as necessary. Similar to toString above, but the internal buffer is returned directly, user is not required to delete the returned buffer </p>
  303. <p>Implemented in <a class="el" href="classXMLDateTime.html#abc4f731b561f768585210c1b60e441be">XMLDateTime</a>, <a class="el" href="classXMLAbstractDoubleFloat.html#ae373fc3c8e388a817a07b6c3bc8a7c37">XMLAbstractDoubleFloat</a>, and <a class="el" href="classXMLBigDecimal.html#a15c8256cf233946e77d77ba6893810bd">XMLBigDecimal</a>.</p>
  304. </div>
  305. </div>
  306. <a class="anchor" id="a6e6b402f5170844a4807ff7208d38033"></a>
  307. <div class="memitem">
  308. <div class="memproto">
  309. <table class="mlabels">
  310. <tr>
  311. <td class="mlabels-left">
  312. <table class="memname">
  313. <tr>
  314. <td class="memname">virtual int XMLNumber::getSign </td>
  315. <td>(</td>
  316. <td class="paramname"></td><td>)</td>
  317. <td> const</td>
  318. </tr>
  319. </table>
  320. </td>
  321. <td class="mlabels-right">
  322. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  323. </tr>
  324. </table>
  325. </div><div class="memdoc">
  326. <p>Returns the sign of this number. </p>
  327. <p>-1 negative 0 zero 1 positive </p>
  328. <p>Implemented in <a class="el" href="classXMLDateTime.html#a5a64b985edb57b36d39168c1e111dfc1">XMLDateTime</a>, <a class="el" href="classXMLAbstractDoubleFloat.html#ab39e1642e75d17c00b00db918e139ea2">XMLAbstractDoubleFloat</a>, and <a class="el" href="classXMLBigDecimal.html#aa4e0dbeef21634b8e0683d23bf8618ff">XMLBigDecimal</a>.</p>
  329. </div>
  330. </div>
  331. <a class="anchor" id="ac5d5eca39a93bd612b7798d04ea2435e"></a>
  332. <div class="memitem">
  333. <div class="memproto">
  334. <table class="mlabels">
  335. <tr>
  336. <td class="mlabels-left">
  337. <table class="memname">
  338. <tr>
  339. <td class="memname">static <a class="el" href="classXMLNumber.html">XMLNumber</a>* XMLNumber::loadNumber </td>
  340. <td>(</td>
  341. <td class="paramtype"><a class="el" href="classXMLNumber.html#a5c61954fb1fcef027fed8dccc826f8eb">XMLNumber::NumberType</a>&#160;</td>
  342. <td class="paramname"><em>numType</em>, </td>
  343. </tr>
  344. <tr>
  345. <td class="paramkey"></td>
  346. <td></td>
  347. <td class="paramtype">XSerializeEngine &amp;&#160;</td>
  348. <td class="paramname"><em>serEng</em>&#160;</td>
  349. </tr>
  350. <tr>
  351. <td></td>
  352. <td>)</td>
  353. <td></td><td></td>
  354. </tr>
  355. </table>
  356. </td>
  357. <td class="mlabels-right">
  358. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  359. </tr>
  360. </table>
  361. </div><div class="memdoc">
  362. </div>
  363. </div>
  364. <hr/>The documentation for this class was generated from the following file:<ul>
  365. <li><a class="el" href="XMLNumber_8hpp_source.html">XMLNumber.hpp</a></li>
  366. </ul>
  367. </div><!-- contents -->
  368. <!-- start footer part -->
  369. <hr class="footer"/><address class="footer"><small>
  370. Generated on Wed Mar 18 2015 10:43:39 for Xerces-C++ by &#160;<a href="http://www.doxygen.org/index.html">
  371. <img class="footer" src="doxygen.png" alt="doxygen"/>
  372. </a> 1.8.9.1
  373. </small></address>
  374. </body>
  375. </html>