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.
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.9.1"/> <title>Xerces-C++: XMLBigDecimal.hpp Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">Xerces-C++  <span id="projectnumber">3.1.2</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.9.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_901b4356d5f32ee418b4c714d07fb65a.html">src</a></li><li class="navelem"><a class="el" href="dir_477226ead712f319998d821c029f7620.html">xercesc</a></li><li class="navelem"><a class="el" href="dir_f02e54c5bd281853e16b6572a737d9ee.html">util</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">XMLBigDecimal.hpp</div> </div> </div><!--header--> <div class="contents"> <a href="XMLBigDecimal_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * this work for additional information regarding copyright ownership.</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * (the "License"); you may not use this file except in compliance with</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * the License. You may obtain a copy of the License at</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * </span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * </span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * See the License for the specific language governing permissions and</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * limitations under the License.</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> */</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">/*</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * $Id: XMLBigDecimal.hpp 932887 2010-04-11 13:04:59Z borisk $</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> */</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_XML_BIGDECIMAL_HPP)</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#define XERCESC_INCLUDE_GUARD_XML_BIGDECIMAL_HPP</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="XMLNumber_8hpp.html">xercesc/util/XMLNumber.hpp</a>></span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" href="XMLString_8hpp.html">xercesc/util/XMLString.hpp</a>></span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <<a class="code" href="PlatformUtils_8hpp.html">xercesc/util/PlatformUtils.hpp</a>></span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <a class="code" href="XercesDefs_8hpp.html#a43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a></div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div> <div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classXMLBigDecimal.html"> 31</a></span> <span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#a97a524372e218133a8eb0aca39b4bd21">XMLUTIL_EXPORT</a> <a class="code" href="classXMLBigDecimal.html">XMLBigDecimal</a> : <span class="keyword">public</span> <a class="code" href="classXMLNumber.html">XMLNumber</a></div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> {</div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div> <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="classXMLBigDecimal.html">XMLBigDecimal</a></div> <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  (</div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> strValue</div> <div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div> <div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  );</div> <div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div> <div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  ~<a class="code" href="classXMLBigDecimal.html">XMLBigDecimal</a>();</div> <div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div> <div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> compareValues(<span class="keyword">const</span> <a class="code" href="classXMLBigDecimal.html">XMLBigDecimal</a>* <span class="keyword">const</span> lValue</div> <div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  , <span class="keyword">const</span> <a class="code" href="classXMLBigDecimal.html">XMLBigDecimal</a>* <span class="keyword">const</span> rValue</div> <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>);</div> <div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div> <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keyword">static</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getCanonicalRepresentation</div> <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  (</div> <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> rawData</div> <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> memMgr = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div> <div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  );</div> <div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> parseDecimal</div> <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  ( </div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toParse</div> <div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  , <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> retBuffer</div> <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  , <span class="keywordtype">int</span>& sign</div> <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  , <span class="keywordtype">int</span>& totalDigits</div> <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  , <span class="keywordtype">int</span>& fractDigits</div> <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager</div> <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  );</div> <div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div> <div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> parseDecimal</div> <div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  ( </div> <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toParse</div> <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager</div> <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  );</div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div> <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">virtual</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLNumber.html#ae9d0f1ea61d2a6d5fb705c3c44962c39">getRawData</a>() <span class="keyword">const</span>;</div> <div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div> <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLNumber.html#a9ee7bb914f65bbf0d6edc2835bfa28f6">getFormattedString</a>() <span class="keyword">const</span>;</div> <div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div> <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classXMLNumber.html#a6e6b402f5170844a4807ff7208d38033">getSign</a>() <span class="keyword">const</span>;</div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getValue() <span class="keyword">const</span>;</div> <div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div> <div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> getScale() <span class="keyword">const</span>;</div> <div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div> <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> getTotalDigit() <span class="keyword">const</span>;</div> <div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div> <div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keyword">inline</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getIntVal() <span class="keyword">const</span>;</div> <div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div> <div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordtype">int</span> toCompare(<span class="keyword">const</span> <a class="code" href="classXMLBigDecimal.html">XMLBigDecimal</a>& other) <span class="keyword">const</span>;</div> <div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div> <div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="comment">/*</span></div> <div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="comment"> * Sets the value to be converted</span></div> <div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="comment"> *</span></div> <div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="comment"> * @param strValue the value to convert</span></div> <div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="comment"> */</span></div> <div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordtype">void</span> setDecimalValue(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> strValue);</div> <div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div> <div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="classMemoryManager.html">MemoryManager</a>* getMemoryManager() <span class="keyword">const</span>;</div> <div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div> <div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="comment">/***</span></div> <div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="comment"> * Support for Serialization/De-serialization</span></div> <div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="comment"> ***/</span></div> <div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  DECL_XSERIALIZABLE(<a class="code" href="classXMLBigDecimal.html">XMLBigDecimal</a>)</div> <div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div> <div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <a class="code" href="classXMLBigDecimal.html">XMLBigDecimal</a>(<a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>);</div> <div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div> <div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div> <div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordtype">void</span> cleanUp();</div> <div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  </div> <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="comment">// Unimplemented constructors and operators</span></div> <div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="comment">// ----------------------------------------------------------------------- </span></div> <div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <a class="code" href="classXMLBigDecimal.html">XMLBigDecimal</a>(<span class="keyword">const</span> <a class="code" href="classXMLBigDecimal.html">XMLBigDecimal</a>& other);</div> <div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <a class="code" href="classXMLBigDecimal.html">XMLBigDecimal</a>& operator=(<span class="keyword">const</span> <a class="code" href="classXMLBigDecimal.html">XMLBigDecimal</a>& other); </div> <div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  </div> <div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="comment">// Private data members</span></div> <div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="comment">//</span></div> <div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="comment">// fSign</span></div> <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="comment">// sign</span></div> <div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="comment">//</span></div> <div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="comment">// fTotalDigits</span></div> <div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="comment">// the total number of digits </span></div> <div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="comment">//</span></div> <div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="comment">// fScale</span></div> <div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="comment">// the number of digits to the right of the decimal point</span></div> <div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="comment">//</span></div> <div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="comment">// fIntVal</span></div> <div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="comment">// The value of this BigDecimal, w/o</span></div> <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="comment">// leading whitespace, leading zero</span></div> <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="comment">// decimal point</span></div> <div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="comment">// trailing zero, trailing whitespace</span></div> <div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="comment">//</span></div> <div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="comment">// fRawData</span></div> <div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="comment">// to preserve the original string used to construct this object,</span></div> <div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="comment">// needed for pattern matching.</span></div> <div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="comment">//</span></div> <div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keywordtype">int</span> fSign;</div> <div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> fTotalDigits;</div> <div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> fScale;</div> <div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> fRawDataLen;</div> <div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* fRawData;</div> <div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* fIntVal;</div> <div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <a class="code" href="classMemoryManager.html">MemoryManager</a>* fMemoryManager;</div> <div class="line"><a name="l00161"></a><span class="lineno"> 161</span> </div> <div class="line"><a name="l00162"></a><span class="lineno"> 162</span> };</div> <div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div> <div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="classXMLBigDecimal.html#aa4e0dbeef21634b8e0683d23bf8618ff"> 164</a></span> <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classXMLBigDecimal.html#aa4e0dbeef21634b8e0683d23bf8618ff">XMLBigDecimal::getSign</a>()<span class="keyword"> const</span></div> <div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keywordflow">return</span> fSign;</div> <div class="line"><a name="l00167"></a><span class="lineno"> 167</span> }</div> <div class="line"><a name="l00168"></a><span class="lineno"> 168</span> </div> <div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="classXMLBigDecimal.html#a16de9538a6208254bf598401e7c7ad0a"> 169</a></span> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLBigDecimal.html#a16de9538a6208254bf598401e7c7ad0a">XMLBigDecimal::getValue</a>()<span class="keyword"> const</span></div> <div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordflow">return</span> fIntVal;</div> <div class="line"><a name="l00172"></a><span class="lineno"> 172</span> }</div> <div class="line"><a name="l00173"></a><span class="lineno"> 173</span> </div> <div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="classXMLBigDecimal.html#aec720182797944b71b47d1f494cb64ab"> 174</a></span> <span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classXMLBigDecimal.html#aec720182797944b71b47d1f494cb64ab">XMLBigDecimal::getScale</a>()<span class="keyword"> const</span></div> <div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keywordflow">return</span> fScale;</div> <div class="line"><a name="l00177"></a><span class="lineno"> 177</span> }</div> <div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div> <div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="classXMLBigDecimal.html#a5957db81ea9aff436b9d59d7f76650d7"> 179</a></span> <span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classXMLBigDecimal.html#a5957db81ea9aff436b9d59d7f76650d7">XMLBigDecimal::getTotalDigit</a>()<span class="keyword"> const</span></div> <div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordflow">return</span> fTotalDigits;</div> <div class="line"><a name="l00182"></a><span class="lineno"> 182</span> }</div> <div class="line"><a name="l00183"></a><span class="lineno"> 183</span> </div> <div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="classXMLBigDecimal.html#a15c8256cf233946e77d77ba6893810bd"> 184</a></span> <span class="keyword">inline</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLBigDecimal.html#a15c8256cf233946e77d77ba6893810bd">XMLBigDecimal::getRawData</a>()<span class="keyword"> const</span></div> <div class="line"><a name="l00185"></a><span class="lineno"> 185</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keywordflow">return</span> fRawData;</div> <div class="line"><a name="l00187"></a><span class="lineno"> 187</span> }</div> <div class="line"><a name="l00188"></a><span class="lineno"> 188</span> </div> <div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="classXMLBigDecimal.html#a8117d2f6951ae26a199d28fd21215aa1"> 189</a></span> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLBigDecimal.html#a8117d2f6951ae26a199d28fd21215aa1">XMLBigDecimal::getFormattedString</a>()<span class="keyword"> const</span></div> <div class="line"><a name="l00190"></a><span class="lineno"> 190</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keywordflow">return</span> fRawData;</div> <div class="line"><a name="l00192"></a><span class="lineno"> 192</span> }</div> <div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div> <div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="classXMLBigDecimal.html#aa08035f601040c0df7d05a36fb04108f"> 194</a></span> <span class="keyword">inline</span> <a class="code" href="classMemoryManager.html">MemoryManager</a>* <a class="code" href="classXMLBigDecimal.html#aa08035f601040c0df7d05a36fb04108f">XMLBigDecimal::getMemoryManager</a>()<span class="keyword"> const</span></div> <div class="line"><a name="l00195"></a><span class="lineno"> 195</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keywordflow">return</span> fMemoryManager;</div> <div class="line"><a name="l00197"></a><span class="lineno"> 197</span> }</div> <div class="line"><a name="l00198"></a><span class="lineno"> 198</span> </div> <div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="classXMLBigDecimal.html#a758312308c4ece7ca7966a6bd7408f5c"> 199</a></span> <span class="keyword">inline</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLBigDecimal.html#a758312308c4ece7ca7966a6bd7408f5c">XMLBigDecimal::getIntVal</a>()<span class="keyword"> const</span></div> <div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keywordflow">return</span> fIntVal;</div> <div class="line"><a name="l00202"></a><span class="lineno"> 202</span> }</div> <div class="line"><a name="l00203"></a><span class="lineno"> 203</span> </div> <div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <a class="code" href="XercesDefs_8hpp.html#af03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a></div> <div class="line"><a name="l00205"></a><span class="lineno"> 205</span> </div> <div class="line"><a name="l00206"></a><span class="lineno"> 206</span> <span class="preprocessor">#endif</span></div> <div class="ttc" id="classXMLBigDecimal_html_a16de9538a6208254bf598401e7c7ad0a"><div class="ttname"><a href="classXMLBigDecimal.html#a16de9538a6208254bf598401e7c7ad0a">XMLBigDecimal::getValue</a></div><div class="ttdeci">const XMLCh * getValue() const </div><div class="ttdef"><b>Definition:</b> XMLBigDecimal.hpp:169</div></div> <div class="ttc" id="classXMLPlatformUtils_html_a97eff0d9fff3567bea3acd3ca4d95252"><div class="ttname"><a href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div><div class="ttdeci">static MemoryManager * fgMemoryManager</div><div class="ttdoc">The configurable memory manager. </div><div class="ttdef"><b>Definition:</b> PlatformUtils.hpp:121</div></div> <div class="ttc" id="XMLNumber_8hpp_html"><div class="ttname"><a href="XMLNumber_8hpp.html">XMLNumber.hpp</a></div></div> <div class="ttc" id="classXMLBigDecimal_html"><div class="ttname"><a href="classXMLBigDecimal.html">XMLBigDecimal</a></div><div class="ttdef"><b>Definition:</b> XMLBigDecimal.hpp:31</div></div> <div class="ttc" id="classXMLBigDecimal_html_a5957db81ea9aff436b9d59d7f76650d7"><div class="ttname"><a href="classXMLBigDecimal.html#a5957db81ea9aff436b9d59d7f76650d7">XMLBigDecimal::getTotalDigit</a></div><div class="ttdeci">unsigned int getTotalDigit() const </div><div class="ttdef"><b>Definition:</b> XMLBigDecimal.hpp:179</div></div> <div class="ttc" id="classXMLBigDecimal_html_a8117d2f6951ae26a199d28fd21215aa1"><div class="ttname"><a href="classXMLBigDecimal.html#a8117d2f6951ae26a199d28fd21215aa1">XMLBigDecimal::getFormattedString</a></div><div class="ttdeci">virtual const XMLCh * getFormattedString() const </div><div class="ttdoc">Return the original and converted value of the original data. </div><div class="ttdef"><b>Definition:</b> XMLBigDecimal.hpp:189</div></div> <div class="ttc" id="classXMLBigDecimal_html_aec720182797944b71b47d1f494cb64ab"><div class="ttname"><a href="classXMLBigDecimal.html#aec720182797944b71b47d1f494cb64ab">XMLBigDecimal::getScale</a></div><div class="ttdeci">unsigned int getScale() const </div><div class="ttdef"><b>Definition:</b> XMLBigDecimal.hpp:174</div></div> <div class="ttc" id="PlatformUtils_8hpp_html"><div class="ttname"><a href="PlatformUtils_8hpp.html">PlatformUtils.hpp</a></div></div> <div class="ttc" id="classMemoryManager_html"><div class="ttname"><a href="classMemoryManager.html">MemoryManager</a></div><div class="ttdoc">Configurable memory manager. </div><div class="ttdef"><b>Definition:</b> MemoryManager.hpp:39</div></div> <div class="ttc" id="classXMLNumber_html_ae9d0f1ea61d2a6d5fb705c3c44962c39"><div class="ttname"><a href="classXMLNumber.html#ae9d0f1ea61d2a6d5fb705c3c44962c39">XMLNumber::getRawData</a></div><div class="ttdeci">virtual XMLCh * getRawData() const =0</div><div class="ttdoc">Return string representation of the decimal value. </div></div> <div class="ttc" id="Xerces__autoconf__config_8borland_8hpp_html_ac0f7e36996cd03eb43bcee10321f77cd"><div class="ttname"><a href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a></div><div class="ttdeci">SIZE_T XMLSize_t</div><div class="ttdef"><b>Definition:</b> Xerces_autoconf_config.borland.hpp:86</div></div> <div class="ttc" id="XercesDefs_8hpp_html_a43d74fa53d868d978f3e97cbb78b194d"><div class="ttname"><a href="XercesDefs_8hpp.html#a43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a></div><div class="ttdeci">#define XERCES_CPP_NAMESPACE_BEGIN</div><div class="ttdef"><b>Definition:</b> XercesDefs.hpp:112</div></div> <div class="ttc" id="Xerces__autoconf__config_8borland_8hpp_html_a8cb107980a360c490ad7661f5d27cc0e"><div class="ttname"><a href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a></div><div class="ttdeci">wchar_t XMLCh</div><div class="ttdef"><b>Definition:</b> Xerces_autoconf_config.borland.hpp:92</div></div> <div class="ttc" id="classXMLBigDecimal_html_aa4e0dbeef21634b8e0683d23bf8618ff"><div class="ttname"><a href="classXMLBigDecimal.html#aa4e0dbeef21634b8e0683d23bf8618ff">XMLBigDecimal::getSign</a></div><div class="ttdeci">virtual int getSign() const </div><div class="ttdoc">Returns the sign of this number. </div><div class="ttdef"><b>Definition:</b> XMLBigDecimal.hpp:164</div></div> <div class="ttc" id="XMLString_8hpp_html"><div class="ttname"><a href="XMLString_8hpp.html">XMLString.hpp</a></div></div> <div class="ttc" id="classXMLNumber_html"><div class="ttname"><a href="classXMLNumber.html">XMLNumber</a></div><div class="ttdef"><b>Definition:</b> XMLNumber.hpp:30</div></div> <div class="ttc" id="XercesDefs_8hpp_html_a97a524372e218133a8eb0aca39b4bd21"><div class="ttname"><a href="XercesDefs_8hpp.html#a97a524372e218133a8eb0aca39b4bd21">XMLUTIL_EXPORT</a></div><div class="ttdeci">#define XMLUTIL_EXPORT</div><div class="ttdef"><b>Definition:</b> XercesDefs.hpp:162</div></div> <div class="ttc" id="XercesDefs_8hpp_html_af03d5cb905763ef7a7bd22ab82718285"><div class="ttname"><a href="XercesDefs_8hpp.html#af03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a></div><div class="ttdeci">#define XERCES_CPP_NAMESPACE_END</div><div class="ttdef"><b>Definition:</b> XercesDefs.hpp:113</div></div> <div class="ttc" id="classXMLNumber_html_a9ee7bb914f65bbf0d6edc2835bfa28f6"><div class="ttname"><a href="classXMLNumber.html#a9ee7bb914f65bbf0d6edc2835bfa28f6">XMLNumber::getFormattedString</a></div><div class="ttdeci">virtual const XMLCh * getFormattedString() const =0</div><div class="ttdoc">Return the original and converted value of the original data. </div></div> <div class="ttc" id="classXMLNumber_html_a6e6b402f5170844a4807ff7208d38033"><div class="ttname"><a href="classXMLNumber.html#a6e6b402f5170844a4807ff7208d38033">XMLNumber::getSign</a></div><div class="ttdeci">virtual int getSign() const =0</div><div class="ttdoc">Returns the sign of this number. </div></div> <div class="ttc" id="classXMLBigDecimal_html_a15c8256cf233946e77d77ba6893810bd"><div class="ttname"><a href="classXMLBigDecimal.html#a15c8256cf233946e77d77ba6893810bd">XMLBigDecimal::getRawData</a></div><div class="ttdeci">virtual XMLCh * getRawData() const </div><div class="ttdoc">Return string representation of the decimal value. </div><div class="ttdef"><b>Definition:</b> XMLBigDecimal.hpp:184</div></div> <div class="ttc" id="classXMLBigDecimal_html_aa08035f601040c0df7d05a36fb04108f"><div class="ttname"><a href="classXMLBigDecimal.html#aa08035f601040c0df7d05a36fb04108f">XMLBigDecimal::getMemoryManager</a></div><div class="ttdeci">MemoryManager * getMemoryManager() const </div><div class="ttdef"><b>Definition:</b> XMLBigDecimal.hpp:194</div></div> <div class="ttc" id="classXMLBigDecimal_html_a758312308c4ece7ca7966a6bd7408f5c"><div class="ttname"><a href="classXMLBigDecimal.html#a758312308c4ece7ca7966a6bd7408f5c">XMLBigDecimal::getIntVal</a></div><div class="ttdeci">XMLCh * getIntVal() const </div><div class="ttdef"><b>Definition:</b> XMLBigDecimal.hpp:199</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Wed Mar 18 2015 10:43:37 for Xerces-C++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.9.1 </small></address> </body> </html>
|