source: NonGTP/Xerces/xerces/doc/html/apiDocs/classXMLBigDecimal.html @ 358

Revision 358, 37.0 KB checked in by bittner, 19 years ago (diff)

xerces added

Line 
1<HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>XMLBigDecimal class Reference</TITLE><link href="XercesApi.css" rel="stylesheet" type="text/css"></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="../resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="../resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="../resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="../graphics/api-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="../resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','../resources/button-xml-hi.gif','../resources/button-xml-lo.gif');" src="../resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','../resources/button-asf-hi.gif','../resources/button-asf-lo.gif');" src="../resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','../resources/button-w3c-hi.gif','../resources/button-w3c-lo.gif');" src="../resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="../resources/join.gif" vspace="0" width="120"><BR>
2  <A href="../../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','../graphics/ext-2-label-2.jpg','../graphics/ext-2-label-3.jpg');" src="../graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR>
3
4  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
5
6  <A href="../index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','../graphics/index-label-2.jpg','../graphics/index-label-3.jpg');" src="../graphics/index-label-3.jpg" vspace="0" width="120"></A><BR>
7  <A href="../releases.html" onMouseOut="rolloverOff('side-releases');" onMouseOver="rolloverOn('side-releases');"><IMG alt="Release Info" border="0" height="12" hspace="0" name="side-releases" onLoad="rolloverLoad('side-releases','../graphics/releases-label-2.jpg','../graphics/releases-label-3.jpg');" src="../graphics/releases-label-3.jpg" vspace="0" width="120"></A><BR>
8  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
9  <A href="../install.html" onMouseOut="rolloverOff('side-install');" onMouseOver="rolloverOn('side-install');"><IMG alt="Installation" border="0" height="12" hspace="0" name="side-install" onLoad="rolloverLoad('side-install','../graphics/install-label-2.jpg','../graphics/install-label-3.jpg');" src="../graphics/install-label-3.jpg" vspace="0" width="120"></A><BR>
10  <A href="http://xml.apache.org/dist/xerces-c/" onMouseOut="rolloverOff('side-ext-18');" onMouseOver="rolloverOn('side-ext-18');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-ext-18" onLoad="rolloverLoad('side-ext-18','../graphics/ext-18-label-2.jpg','../graphics/ext-18-label-3.jpg');" src="../graphics/ext-18-label-3.jpg" vspace="0" width="120"></A><BR>
11  <A href="../build.html" onMouseOut="rolloverOff('side-build');" onMouseOver="rolloverOn('side-build');"><IMG alt="Build" border="0" height="12" hspace="0" name="side-build" onLoad="rolloverLoad('side-build','../graphics/build-label-2.jpg','../graphics/build-label-3.jpg');" src="../graphics/build-label-3.jpg" vspace="0" width="120"></A><BR>
12
13  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
14  <A href="../faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','../graphics/faqs-label-2.jpg','../graphics/faqs-label-3.jpg');" src="../graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> 
15  <A href="../samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Samples" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','../graphics/samples-label-2.jpg','../graphics/samples-label-3.jpg');" src="../graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR>
16  <A href="../api.html" onMouseOut="rolloverOff('side-api');" onMouseOver="rolloverOn('side-api');"><IMG alt="API Docs" border="0" height="12" hspace="0" name="side-api" onLoad="rolloverLoad('side-api','../graphics/api-label-2.jpg','../graphics/api-label-3.jpg');" src="../graphics/api-label-3.jpg" vspace="0" width="120"></A><BR> 
17
18  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> 
19  <A href="../ApacheDOMC++Binding.html" onMouseOut="rolloverOff('side-ext-68');" onMouseOver="rolloverOn('side-ext-68');"><IMG alt="DOM C++ Binding" border="0" height="12" hspace="0" name="side-ext-68" onLoad="rolloverLoad('side-ext-68','../graphics/ext-68-label-2.jpg','../graphics/ext-68-label-3.jpg');" src="../graphics/ext-68-label-3.jpg" vspace="0" width="120"></A><BR>
20
21  <A href="../program.html" onMouseOut="rolloverOff('side-program');" onMouseOver="rolloverOn('side-program');"><IMG alt="Programming" border="0" height="12" hspace="0" name="side-program" onLoad="rolloverLoad('side-program','../graphics/program-label-2.jpg','../graphics/program-label-3.jpg');" src="../graphics/program-label-3.jpg" vspace="0" width="120"></A><BR>
22  <A href="../migrate.html" onMouseOut="rolloverOff('side-migrate');" onMouseOver="rolloverOn('side-migrate');"><IMG alt="Migration Guide" border="0" height="12" hspace="0" name="side-migrate" onLoad="rolloverLoad('side-migrate','../graphics/migrate-label-2.jpg','../graphics/migrate-label-3.jpg');" src="../graphics/migrate-label-3.jpg" vspace="0" width="120"></A><BR>
23
24  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
25
26  <A href="../feedback.html" onMouseOut="rolloverOff('side-feedback');" onMouseOver="rolloverOn('side-feedback');"><IMG alt="Feedback" border="0" height="12" hspace="0" name="side-feedback" onLoad="rolloverLoad('side-feedback','../graphics/feedback-label-2.jpg','../graphics/feedback-label-3.jpg');" src="../graphics/feedback-label-3.jpg" vspace="0" width="120"></A><BR>
27  <A href="../bug-report.html" onMouseOut="rolloverOff('side-bug-report');" onMouseOver="rolloverOn('side-bug-report');"><IMG alt="Bug-Reporting" border="0" height="12" hspace="0" name="side-bug-report" onLoad="rolloverLoad('side-bug-report','../graphics/bug-report-label-2.jpg','../graphics/bug-report-label-3.jpg');" src="../graphics/bug-report-label-3.jpg" vspace="0" width="120"></A><BR> 
28  <A href="../pdf.html" onMouseOut="rolloverOff('side-pdf');" onMouseOver="rolloverOn('side-pdf');"><IMG alt="PDF Document" border="0" height="12" hspace="0" name="side-pdf" onLoad="rolloverLoad('side-pdf','../graphics/pdf-label-2.jpg','../graphics/pdf-label-3.jpg');" src="../graphics/pdf-label-3.jpg" vspace="0" width="120"></A><BR>
29
30  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
31
32  <A href="http://xml.apache.org/websrc/cvsweb.cgi/xml-xerces/c/" onMouseOut="rolloverOff('side-ext-100');" onMouseOver="rolloverOn('side-ext-100');"><IMG alt="CVS Repository" border="0" height="12" hspace="0" name="side-ext-100" onLoad="rolloverLoad('side-ext-100','../graphics/ext-100-label-2.jpg','../graphics/ext-100-label-3.jpg');" src="../graphics/ext-100-label-3.jpg" vspace="0" width="120"></A><BR>
33
34  <A href="http://marc.theaimsgroup.com/?l=xerces-c-dev" onMouseOut="rolloverOff('side-ext-102');" onMouseOver="rolloverOn('side-ext-102');"><IMG alt="Mail Archive" border="0" height="12" hspace="0" name="side-ext-102" onLoad="rolloverLoad('side-ext-102','../graphics/ext-102-label-2.jpg','../graphics/ext-102-label-3.jpg');" src="../graphics/ext-102-label-3.jpg" vspace="0" width="120"></A><BR>
35
36
37<IMG border="0" height="14" hspace="0" src="../resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD>
38    <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#FFFFFF" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="../resources/void.gif" vspace="0" width="2"><B>API Docs for SAX and DOM</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
39
40            <P>
41<!-- Generated by Doxygen 1.2.14 -->
42<center>
43<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
44<hr><h1>XMLBigDecimal  Class Reference</h1>Inheritance diagram for XMLBigDecimal:<p><center><img src="classXMLBigDecimal__inherit__graph.gif" border="0" usemap="#XMLBigDecimal__inherit__map" alt="Inheritance graph"></center>
45<map name="XMLBigDecimal__inherit__map">
46<area href="classXMLNumber.html" shape="rect" coords="17,105,105,86" alt="">
47<area href="classXMemory.html" shape="rect" coords="27,36,96,17" alt="">
48</map>
49<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for XMLBigDecimal:<p><center><img src="classXMLBigDecimal__coll__graph.gif" border="0" usemap="#XMLBigDecimal__coll__map" alt="Collaboration graph"></center>
50<map name="XMLBigDecimal__coll__map">
51<area href="classXMLNumber.html" shape="rect" coords="7,108,95,89" alt="">
52<area href="classXMemory.html" shape="rect" coords="16,36,85,17" alt="">
53<area href="classMemoryManager.html" shape="rect" coords="119,108,228,89" alt="">
54</map>
55<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXMLBigDecimal-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
56<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
57<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigDecimal.html#a0">XMLBigDecimal</a> (const XMLCh *const strValue, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
58<tr><td>&nbsp;</td><td><font size=-1><em>Constructs a newly allocated <code>XMLBigDecimal</code> object that represents the value represented by the string.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
59<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigDecimal.html#a1">~XMLBigDecimal</a> ()</td></tr>
60<tr><td nowrap align=right valign=top>virtual XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigDecimal.html#a2">toString</a> () const</td></tr>
61<tr><td>&nbsp;</td><td><font size=-1><em>Deprecated: please use getRawData.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
62<tr><td nowrap align=right valign=top>virtual XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigDecimal.html#a3">getRawData</a> () const</td></tr>
63<tr><td>&nbsp;</td><td><font size=-1><em>Return string representation of the decimal value.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
64<tr><td nowrap align=right valign=top>virtual const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigDecimal.html#a4">getFormattedString</a> () const</td></tr>
65<tr><td>&nbsp;</td><td><font size=-1><em>Return the original and converted value of the original data.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
66<tr><td nowrap align=right valign=top>virtual int&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigDecimal.html#a5">getSign</a> () const</td></tr>
67<tr><td>&nbsp;</td><td><font size=-1><em>Returns the sign of this number.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
68<tr><td nowrap align=right valign=top>const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigDecimal.html#a6">getValue</a> () const</td></tr>
69<tr><td nowrap align=right valign=top>unsigned int&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigDecimal.html#a7">getScale</a> () const</td></tr>
70<tr><td nowrap align=right valign=top>unsigned int&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigDecimal.html#a8">getTotalDigit</a> () const</td></tr>
71<tr><td nowrap align=right valign=top>XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigDecimal.html#a9">getIntVal</a> () const</td></tr>
72<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigDecimal.html#a10">toCompare</a> (const XMLBigDecimal &amp;other) const</td></tr>
73<tr><td>&nbsp;</td><td><font size=-1><em>Compares this object to the specified object.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr>
74<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigDecimal.html#a11">setDecimalValue</a> (const XMLCh *const strValue)</td></tr>
75<tr><td nowrap align=right valign=top><a class="el" href="classMemoryManager.html">MemoryManager</a> *&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigDecimal.html#a12">getMemoryManager</a> () const</td></tr>
76<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigDecimal.html#a13">XMLBigDecimal</a> (<a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
77<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
78<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigDecimal.html#d0">compareValues</a> (const XMLBigDecimal *const lValue, const XMLBigDecimal *const rValue, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
79<tr><td nowrap align=right valign=top>XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigDecimal.html#d1">getCanonicalRepresentation</a> (const XMLCh *const rawData, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const memMgr=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
80<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigDecimal.html#d2">parseDecimal</a> (const XMLCh *const toParse, XMLCh *const retBuffer, int &amp;sign, int &amp;totalDigits, int &amp;fractDigits, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager)</td></tr>
81<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigDecimal.html#d3">parseDecimal</a> (const XMLCh *const toParse, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager)</td></tr>
82</table>
83<hr><h2>Constructor &amp; Destructor Documentation</h2>
84<a name="a0" doxytag="XMLBigDecimal::XMLBigDecimal"></a><p>
85<table width="100%" cellpadding="2" cellspacing="0" border="0">
86  <tr>
87    <td class="md">
88      <table cellpadding="0" cellspacing="0" border="0">
89        <tr>
90          <td class="md" nowrap valign="top"> XMLBigDecimal::XMLBigDecimal </td>
91          <td class="md" valign="top">(&nbsp;</td>
92          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
93          <td class="mdname" nowrap>&nbsp; <em>strValue</em>, </td>
94        </tr>
95        <tr>
96          <td></td>
97          <td></td>
98          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
99          <td class="mdname" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
100        </tr>
101        <tr>
102          <td></td>
103          <td class="md">)&nbsp;</td>
104          <td class="md" colspan="2"></td>
105        </tr>
106
107      </table>
108    </td>
109  </tr>
110</table>
111<table cellspacing=5 cellpadding=0 border=0>
112  <tr>
113    <td>
114      &nbsp;
115    </td>
116    <td>
117
118<p>
119Constructs a newly allocated <code>XMLBigDecimal</code> object that represents the value represented by the string.
120<p>
121<dl compact><dt><b>
122Parameters: </b><dd>
123<table border=0 cellspacing=2 cellpadding=0>
124<tr><td valign=top><em>strValue</em>&nbsp;</td><td>
125the <code>String</code> to be converted to an <code>XMLBigDecimal</code>. </td></tr>
126<tr><td valign=top><em>manager</em>&nbsp;</td><td>
127Pointer to the memory manager to be used to allocate objects. </td></tr>
128</table>
129</dl><dl compact><dt><b>
130Exceptions: </b><dd>
131<table border=0 cellspacing=2 cellpadding=0>
132<tr><td valign=top><em>NumberFormatException</em>&nbsp;</td><td>
133 if the <code>String</code> does not contain a parsable XMLBigDecimal. </td></tr>
134</table>
135</dl>    </td>
136  </tr>
137</table>
138<a name="a1" doxytag="XMLBigDecimal::~XMLBigDecimal"></a><p>
139<table width="100%" cellpadding="2" cellspacing="0" border="0">
140  <tr>
141    <td class="md">
142      <table cellpadding="0" cellspacing="0" border="0">
143        <tr>
144          <td class="md" nowrap valign="top"> XMLBigDecimal::~XMLBigDecimal </td>
145          <td class="md" valign="top">(&nbsp;</td>
146          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
147          <td class="md" valign="top">)&nbsp;</td>
148          <td class="md" nowrap></td>
149        </tr>
150
151      </table>
152    </td>
153  </tr>
154</table>
155<table cellspacing=5 cellpadding=0 border=0>
156  <tr>
157    <td>
158      &nbsp;
159    </td>
160    <td>
161
162<p>
163    </td>
164  </tr>
165</table>
166<a name="a13" doxytag="XMLBigDecimal::XMLBigDecimal"></a><p>
167<table width="100%" cellpadding="2" cellspacing="0" border="0">
168  <tr>
169    <td class="md">
170      <table cellpadding="0" cellspacing="0" border="0">
171        <tr>
172          <td class="md" nowrap valign="top"> XMLBigDecimal::XMLBigDecimal </td>
173          <td class="md" valign="top">(&nbsp;</td>
174          <td class="md" nowrap valign="top"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
175          <td class="mdname1" valign="top" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>          </td>
176          <td class="md" valign="top">)&nbsp;</td>
177          <td class="md" nowrap></td>
178        </tr>
179
180      </table>
181    </td>
182  </tr>
183</table>
184<table cellspacing=5 cellpadding=0 border=0>
185  <tr>
186    <td>
187      &nbsp;
188    </td>
189    <td>
190
191<p>
192    </td>
193  </tr>
194</table>
195<hr><h2>Member Function Documentation</h2>
196<a name="d0" doxytag="XMLBigDecimal::compareValues"></a><p>
197<table width="100%" cellpadding="2" cellspacing="0" border="0">
198  <tr>
199    <td class="md">
200      <table cellpadding="0" cellspacing="0" border="0">
201        <tr>
202          <td class="md" nowrap valign="top"> int XMLBigDecimal::compareValues </td>
203          <td class="md" valign="top">(&nbsp;</td>
204          <td class="md" nowrap valign="top">const XMLBigDecimal *const&nbsp;</td>
205          <td class="mdname" nowrap>&nbsp; <em>lValue</em>, </td>
206        </tr>
207        <tr>
208          <td></td>
209          <td></td>
210          <td class="md" nowrap>const XMLBigDecimal *const&nbsp;</td>
211          <td class="mdname" nowrap>&nbsp; <em>rValue</em>, </td>
212        </tr>
213        <tr>
214          <td></td>
215          <td></td>
216          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
217          <td class="mdname" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
218        </tr>
219        <tr>
220          <td></td>
221          <td class="md">)&nbsp;</td>
222          <td class="md" colspan="2"><code> [static]</code></td>
223        </tr>
224
225      </table>
226    </td>
227  </tr>
228</table>
229<table cellspacing=5 cellpadding=0 border=0>
230  <tr>
231    <td>
232      &nbsp;
233    </td>
234    <td>
235
236<p>
237    </td>
238  </tr>
239</table>
240<a name="d1" doxytag="XMLBigDecimal::getCanonicalRepresentation"></a><p>
241<table width="100%" cellpadding="2" cellspacing="0" border="0">
242  <tr>
243    <td class="md">
244      <table cellpadding="0" cellspacing="0" border="0">
245        <tr>
246          <td class="md" nowrap valign="top"> XMLCh* XMLBigDecimal::getCanonicalRepresentation </td>
247          <td class="md" valign="top">(&nbsp;</td>
248          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
249          <td class="mdname" nowrap>&nbsp; <em>rawData</em>, </td>
250        </tr>
251        <tr>
252          <td></td>
253          <td></td>
254          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
255          <td class="mdname" nowrap>&nbsp; <em>memMgr</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
256        </tr>
257        <tr>
258          <td></td>
259          <td class="md">)&nbsp;</td>
260          <td class="md" colspan="2"><code> [static]</code></td>
261        </tr>
262
263      </table>
264    </td>
265  </tr>
266</table>
267<table cellspacing=5 cellpadding=0 border=0>
268  <tr>
269    <td>
270      &nbsp;
271    </td>
272    <td>
273
274<p>
275    </td>
276  </tr>
277</table>
278<a name="a4" doxytag="XMLBigDecimal::getFormattedString"></a><p>
279<table width="100%" cellpadding="2" cellspacing="0" border="0">
280  <tr>
281    <td class="md">
282      <table cellpadding="0" cellspacing="0" border="0">
283        <tr>
284          <td class="md" nowrap valign="top"> const XMLCh * XMLBigDecimal::getFormattedString </td>
285          <td class="md" valign="top">(&nbsp;</td>
286          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
287          <td class="md" valign="top">)&nbsp;</td>
288          <td class="md" nowrap> const<code> [virtual]</code></td>
289        </tr>
290
291      </table>
292    </td>
293  </tr>
294</table>
295<table cellspacing=5 cellpadding=0 border=0>
296  <tr>
297    <td>
298      &nbsp;
299    </td>
300    <td>
301
302<p>
303Return the original and converted value of the original data.
304<p>
305(applicable to double/float)
306<p>
307The internal buffer is returned directly, user is not required  to delete the returned buffer
308<p>
309Implements <a class="el" href="classXMLNumber.html#a3">XMLNumber</a>.    </td>
310  </tr>
311</table>
312<a name="a9" doxytag="XMLBigDecimal::getIntVal"></a><p>
313<table width="100%" cellpadding="2" cellspacing="0" border="0">
314  <tr>
315    <td class="md">
316      <table cellpadding="0" cellspacing="0" border="0">
317        <tr>
318          <td class="md" nowrap valign="top"> XMLCh * XMLBigDecimal::getIntVal </td>
319          <td class="md" valign="top">(&nbsp;</td>
320          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
321          <td class="md" valign="top">)&nbsp;</td>
322          <td class="md" nowrap> const</td>
323        </tr>
324
325      </table>
326    </td>
327  </tr>
328</table>
329<table cellspacing=5 cellpadding=0 border=0>
330  <tr>
331    <td>
332      &nbsp;
333    </td>
334    <td>
335
336<p>
337    </td>
338  </tr>
339</table>
340<a name="a12" doxytag="XMLBigDecimal::getMemoryManager"></a><p>
341<table width="100%" cellpadding="2" cellspacing="0" border="0">
342  <tr>
343    <td class="md">
344      <table cellpadding="0" cellspacing="0" border="0">
345        <tr>
346          <td class="md" nowrap valign="top"> <a class="el" href="classMemoryManager.html">MemoryManager</a> * XMLBigDecimal::getMemoryManager </td>
347          <td class="md" valign="top">(&nbsp;</td>
348          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
349          <td class="md" valign="top">)&nbsp;</td>
350          <td class="md" nowrap> const</td>
351        </tr>
352
353      </table>
354    </td>
355  </tr>
356</table>
357<table cellspacing=5 cellpadding=0 border=0>
358  <tr>
359    <td>
360      &nbsp;
361    </td>
362    <td>
363
364<p>
365    </td>
366  </tr>
367</table>
368<a name="a3" doxytag="XMLBigDecimal::getRawData"></a><p>
369<table width="100%" cellpadding="2" cellspacing="0" border="0">
370  <tr>
371    <td class="md">
372      <table cellpadding="0" cellspacing="0" border="0">
373        <tr>
374          <td class="md" nowrap valign="top"> XMLCh * XMLBigDecimal::getRawData </td>
375          <td class="md" valign="top">(&nbsp;</td>
376          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
377          <td class="md" valign="top">)&nbsp;</td>
378          <td class="md" nowrap> const<code> [virtual]</code></td>
379        </tr>
380
381      </table>
382    </td>
383  </tr>
384</table>
385<table cellspacing=5 cellpadding=0 border=0>
386  <tr>
387    <td>
388      &nbsp;
389    </td>
390    <td>
391
392<p>
393Return string representation of the decimal value.
394<p>
395A 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
396<p>
397Implements <a class="el" href="classXMLNumber.html#a2">XMLNumber</a>.    </td>
398  </tr>
399</table>
400<a name="a7" doxytag="XMLBigDecimal::getScale"></a><p>
401<table width="100%" cellpadding="2" cellspacing="0" border="0">
402  <tr>
403    <td class="md">
404      <table cellpadding="0" cellspacing="0" border="0">
405        <tr>
406          <td class="md" nowrap valign="top"> unsigned int XMLBigDecimal::getScale </td>
407          <td class="md" valign="top">(&nbsp;</td>
408          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
409          <td class="md" valign="top">)&nbsp;</td>
410          <td class="md" nowrap> const</td>
411        </tr>
412
413      </table>
414    </td>
415  </tr>
416</table>
417<table cellspacing=5 cellpadding=0 border=0>
418  <tr>
419    <td>
420      &nbsp;
421    </td>
422    <td>
423
424<p>
425    </td>
426  </tr>
427</table>
428<a name="a5" doxytag="XMLBigDecimal::getSign"></a><p>
429<table width="100%" cellpadding="2" cellspacing="0" border="0">
430  <tr>
431    <td class="md">
432      <table cellpadding="0" cellspacing="0" border="0">
433        <tr>
434          <td class="md" nowrap valign="top"> int XMLBigDecimal::getSign </td>
435          <td class="md" valign="top">(&nbsp;</td>
436          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
437          <td class="md" valign="top">)&nbsp;</td>
438          <td class="md" nowrap> const<code> [virtual]</code></td>
439        </tr>
440
441      </table>
442    </td>
443  </tr>
444</table>
445<table cellspacing=5 cellpadding=0 border=0>
446  <tr>
447    <td>
448      &nbsp;
449    </td>
450    <td>
451
452<p>
453Returns the sign of this number.
454<p>
455-1 negative 0 zero 1 positive
456<p>
457Implements <a class="el" href="classXMLNumber.html#a4">XMLNumber</a>.    </td>
458  </tr>
459</table>
460<a name="a8" doxytag="XMLBigDecimal::getTotalDigit"></a><p>
461<table width="100%" cellpadding="2" cellspacing="0" border="0">
462  <tr>
463    <td class="md">
464      <table cellpadding="0" cellspacing="0" border="0">
465        <tr>
466          <td class="md" nowrap valign="top"> unsigned int XMLBigDecimal::getTotalDigit </td>
467          <td class="md" valign="top">(&nbsp;</td>
468          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
469          <td class="md" valign="top">)&nbsp;</td>
470          <td class="md" nowrap> const</td>
471        </tr>
472
473      </table>
474    </td>
475  </tr>
476</table>
477<table cellspacing=5 cellpadding=0 border=0>
478  <tr>
479    <td>
480      &nbsp;
481    </td>
482    <td>
483
484<p>
485    </td>
486  </tr>
487</table>
488<a name="a6" doxytag="XMLBigDecimal::getValue"></a><p>
489<table width="100%" cellpadding="2" cellspacing="0" border="0">
490  <tr>
491    <td class="md">
492      <table cellpadding="0" cellspacing="0" border="0">
493        <tr>
494          <td class="md" nowrap valign="top"> const XMLCh * XMLBigDecimal::getValue </td>
495          <td class="md" valign="top">(&nbsp;</td>
496          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
497          <td class="md" valign="top">)&nbsp;</td>
498          <td class="md" nowrap> const</td>
499        </tr>
500
501      </table>
502    </td>
503  </tr>
504</table>
505<table cellspacing=5 cellpadding=0 border=0>
506  <tr>
507    <td>
508      &nbsp;
509    </td>
510    <td>
511
512<p>
513    </td>
514  </tr>
515</table>
516<a name="d3" doxytag="XMLBigDecimal::parseDecimal"></a><p>
517<table width="100%" cellpadding="2" cellspacing="0" border="0">
518  <tr>
519    <td class="md">
520      <table cellpadding="0" cellspacing="0" border="0">
521        <tr>
522          <td class="md" nowrap valign="top"> void XMLBigDecimal::parseDecimal </td>
523          <td class="md" valign="top">(&nbsp;</td>
524          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
525          <td class="mdname" nowrap>&nbsp; <em>toParse</em>, </td>
526        </tr>
527        <tr>
528          <td></td>
529          <td></td>
530          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
531          <td class="mdname" nowrap>&nbsp; <em>manager</em></td>
532        </tr>
533        <tr>
534          <td></td>
535          <td class="md">)&nbsp;</td>
536          <td class="md" colspan="2"><code> [static]</code></td>
537        </tr>
538
539      </table>
540    </td>
541  </tr>
542</table>
543<table cellspacing=5 cellpadding=0 border=0>
544  <tr>
545    <td>
546      &nbsp;
547    </td>
548    <td>
549
550<p>
551    </td>
552  </tr>
553</table>
554<a name="d2" doxytag="XMLBigDecimal::parseDecimal"></a><p>
555<table width="100%" cellpadding="2" cellspacing="0" border="0">
556  <tr>
557    <td class="md">
558      <table cellpadding="0" cellspacing="0" border="0">
559        <tr>
560          <td class="md" nowrap valign="top"> void XMLBigDecimal::parseDecimal </td>
561          <td class="md" valign="top">(&nbsp;</td>
562          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
563          <td class="mdname" nowrap>&nbsp; <em>toParse</em>, </td>
564        </tr>
565        <tr>
566          <td></td>
567          <td></td>
568          <td class="md" nowrap>XMLCh *const&nbsp;</td>
569          <td class="mdname" nowrap>&nbsp; <em>retBuffer</em>, </td>
570        </tr>
571        <tr>
572          <td></td>
573          <td></td>
574          <td class="md" nowrap>int &amp;&nbsp;</td>
575          <td class="mdname" nowrap>&nbsp; <em>sign</em>, </td>
576        </tr>
577        <tr>
578          <td></td>
579          <td></td>
580          <td class="md" nowrap>int &amp;&nbsp;</td>
581          <td class="mdname" nowrap>&nbsp; <em>totalDigits</em>, </td>
582        </tr>
583        <tr>
584          <td></td>
585          <td></td>
586          <td class="md" nowrap>int &amp;&nbsp;</td>
587          <td class="mdname" nowrap>&nbsp; <em>fractDigits</em>, </td>
588        </tr>
589        <tr>
590          <td></td>
591          <td></td>
592          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
593          <td class="mdname" nowrap>&nbsp; <em>manager</em></td>
594        </tr>
595        <tr>
596          <td></td>
597          <td class="md">)&nbsp;</td>
598          <td class="md" colspan="2"><code> [static]</code></td>
599        </tr>
600
601      </table>
602    </td>
603  </tr>
604</table>
605<table cellspacing=5 cellpadding=0 border=0>
606  <tr>
607    <td>
608      &nbsp;
609    </td>
610    <td>
611
612<p>
613    </td>
614  </tr>
615</table>
616<a name="a11" doxytag="XMLBigDecimal::setDecimalValue"></a><p>
617<table width="100%" cellpadding="2" cellspacing="0" border="0">
618  <tr>
619    <td class="md">
620      <table cellpadding="0" cellspacing="0" border="0">
621        <tr>
622          <td class="md" nowrap valign="top"> void XMLBigDecimal::setDecimalValue </td>
623          <td class="md" valign="top">(&nbsp;</td>
624          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
625          <td class="mdname1" valign="top" nowrap>&nbsp; <em>strValue</em>          </td>
626          <td class="md" valign="top">)&nbsp;</td>
627          <td class="md" nowrap></td>
628        </tr>
629
630      </table>
631    </td>
632  </tr>
633</table>
634<table cellspacing=5 cellpadding=0 border=0>
635  <tr>
636    <td>
637      &nbsp;
638    </td>
639    <td>
640
641<p>
642    </td>
643  </tr>
644</table>
645<a name="a10" doxytag="XMLBigDecimal::toCompare"></a><p>
646<table width="100%" cellpadding="2" cellspacing="0" border="0">
647  <tr>
648    <td class="md">
649      <table cellpadding="0" cellspacing="0" border="0">
650        <tr>
651          <td class="md" nowrap valign="top"> int XMLBigDecimal::toCompare </td>
652          <td class="md" valign="top">(&nbsp;</td>
653          <td class="md" nowrap valign="top">const XMLBigDecimal &amp;&nbsp;</td>
654          <td class="mdname1" valign="top" nowrap>&nbsp; <em>other</em>          </td>
655          <td class="md" valign="top">)&nbsp;</td>
656          <td class="md" nowrap> const</td>
657        </tr>
658
659      </table>
660    </td>
661  </tr>
662</table>
663<table cellspacing=5 cellpadding=0 border=0>
664  <tr>
665    <td>
666      &nbsp;
667    </td>
668    <td>
669
670<p>
671Compares this object to the specified object.
672<p>
673<dl compact><dt><b>
674Parameters: </b><dd>
675<table border=0 cellspacing=2 cellpadding=0>
676<tr><td valign=top><em>other</em>&nbsp;</td><td>
677the object to compare with. </td></tr>
678</table>
679</dl><dl compact><dt><b>
680Returns: </b><dd>
681<code>-1</code> value is less than other's <code>0</code> value equals to other's <code>+1</code> value is greater than other's </dl>    </td>
682  </tr>
683</table>
684<a name="a2" doxytag="XMLBigDecimal::toString"></a><p>
685<table width="100%" cellpadding="2" cellspacing="0" border="0">
686  <tr>
687    <td class="md">
688      <table cellpadding="0" cellspacing="0" border="0">
689        <tr>
690          <td class="md" nowrap valign="top"> XMLCh * XMLBigDecimal::toString </td>
691          <td class="md" valign="top">(&nbsp;</td>
692          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
693          <td class="md" valign="top">)&nbsp;</td>
694          <td class="md" nowrap> const<code> [virtual]</code></td>
695        </tr>
696
697      </table>
698    </td>
699  </tr>
700</table>
701<table cellspacing=5 cellpadding=0 border=0>
702  <tr>
703    <td>
704      &nbsp;
705    </td>
706    <td>
707
708<p>
709Deprecated: please use getRawData.
710<p>
711
712<p>
713Implements <a class="el" href="classXMLNumber.html#a1">XMLNumber</a>.    </td>
714  </tr>
715</table>
716<hr>The documentation for this class was generated from the following file:<ul>
717<li><a class="el" href="XMLBigDecimal_8hpp-source.html">XMLBigDecimal.hpp</a></ul>
718    </FONT></TD></TR></TABLE><BR>
719</TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1" alt=""></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I>
720              Copyright &copy; 1994-2004 The Apache Software Foundation.
721              All Rights Reserved.
722            </I></FONT></TD></TR></TABLE></BODY></HTML>
Note: See TracBrowser for help on using the repository browser.