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

Revision 358, 34.4 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>XMLBigInteger 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>XMLBigInteger  Class Reference</h1>Inheritance diagram for XMLBigInteger:<p><center><img src="classXMLBigInteger__inherit__graph.gif" border="0" usemap="#XMLBigInteger__inherit__map" alt="Inheritance graph"></center>
45<map name="XMLBigInteger__inherit__map">
46<area href="classXMemory.html" shape="rect" coords="21,36,91,17" alt="">
47</map>
48<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for XMLBigInteger:<p><center><img src="classXMLBigInteger__coll__graph.gif" border="0" usemap="#XMLBigInteger__coll__map" alt="Collaboration graph"></center>
49<map name="XMLBigInteger__coll__map">
50<area href="classXMemory.html" shape="rect" coords="7,36,76,17" alt="">
51<area href="classMemoryManager.html" shape="rect" coords="100,36,209,17" alt="">
52</map>
53<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXMLBigInteger-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
54<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
55<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigInteger.html#a0">XMLBigInteger</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>
56<tr><td>&nbsp;</td><td><font size=-1><em>Constructs a newly allocated <code>XMLBigInteger</code> object that represents the value represented by the string.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
57<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigInteger.html#a1">~XMLBigInteger</a> ()</td></tr>
58<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigInteger.html#a2">XMLBigInteger</a> (const XMLBigInteger &amp;toCopy)</td></tr>
59<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigInteger.html#a3">multiply</a> (const unsigned int byteToShift)</td></tr>
60<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigInteger.html#a4">divide</a> (const unsigned int byteToShift)</td></tr>
61<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigInteger.html#a5">getTotalDigit</a> () const</td></tr>
62<tr><td nowrap align=right valign=top>XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigInteger.html#a6">toString</a> () const</td></tr>
63<tr><td>&nbsp;</td><td><font size=-1><em>Deprecated: please use getRawData.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
64<tr><td nowrap align=right valign=top>XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigInteger.html#a7">getRawData</a> () const</td></tr>
65<tr><td>&nbsp;</td><td><font size=-1><em>Return a copy of the fMagnitue.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr>
66<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigInteger.html#a8">operator==</a> (const XMLBigInteger &amp;toCompare) const</td></tr>
67<tr><td>&nbsp;</td><td><font size=-1><em>Compares this object to the specified object.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr>
68<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigInteger.html#a9">getSign</a> () const</td></tr>
69<tr><td>&nbsp;</td><td><font size=-1><em>Returns the signum function of this number (i.e., -1, 0 or 1 as the value of this number is negative, zero or positive).</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr>
70<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigInteger.html#a10">intValue</a> () const</td></tr>
71<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
72<tr><td nowrap align=right valign=top>XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigInteger.html#d0">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>, bool isNonPositiveInteger=false)</td></tr>
73<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigInteger.html#d1">parseBigInteger</a> (const XMLCh *const toConvert, XMLCh *const retBuffer, int &amp;signValue, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
74<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigInteger.html#d2">compareValues</a> (const XMLBigInteger *const lValue,const XMLBigInteger *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>
75<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classXMLBigInteger.html#d3">compareValues</a> (const XMLCh *const lString, const int &amp;lSign, const XMLCh *const rString, const int &amp;rSign, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
76</table>
77<hr><h2>Constructor &amp; Destructor Documentation</h2>
78<a name="a0" doxytag="XMLBigInteger::XMLBigInteger"></a><p>
79<table width="100%" cellpadding="2" cellspacing="0" border="0">
80  <tr>
81    <td class="md">
82      <table cellpadding="0" cellspacing="0" border="0">
83        <tr>
84          <td class="md" nowrap valign="top"> XMLBigInteger::XMLBigInteger </td>
85          <td class="md" valign="top">(&nbsp;</td>
86          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
87          <td class="mdname" nowrap>&nbsp; <em>strValue</em>, </td>
88        </tr>
89        <tr>
90          <td></td>
91          <td></td>
92          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
93          <td class="mdname" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
94        </tr>
95        <tr>
96          <td></td>
97          <td class="md">)&nbsp;</td>
98          <td class="md" colspan="2"></td>
99        </tr>
100
101      </table>
102    </td>
103  </tr>
104</table>
105<table cellspacing=5 cellpadding=0 border=0>
106  <tr>
107    <td>
108      &nbsp;
109    </td>
110    <td>
111
112<p>
113Constructs a newly allocated <code>XMLBigInteger</code> object that represents the value represented by the string.
114<p>
115The string is converted to an int value as if by the <code>valueOf</code> method.<dl compact><dt><b>
116Parameters: </b><dd>
117<table border=0 cellspacing=2 cellpadding=0>
118<tr><td valign=top><em>strValue</em>&nbsp;</td><td>
119the <code>String</code> to be converted to an <code>XMLBigInteger</code>. </td></tr>
120<tr><td valign=top><em>manager</em>&nbsp;</td><td>
121Pointer to the memory manager to be used to allocate objects. </td></tr>
122</table>
123</dl><dl compact><dt><b>
124Exceptions: </b><dd>
125<table border=0 cellspacing=2 cellpadding=0>
126<tr><td valign=top><em>NumberFormatException</em>&nbsp;</td><td>
127 if the <code>String</code> does not contain a parsable XMLBigInteger. </td></tr>
128</table>
129</dl>    </td>
130  </tr>
131</table>
132<a name="a1" doxytag="XMLBigInteger::~XMLBigInteger"></a><p>
133<table width="100%" cellpadding="2" cellspacing="0" border="0">
134  <tr>
135    <td class="md">
136      <table cellpadding="0" cellspacing="0" border="0">
137        <tr>
138          <td class="md" nowrap valign="top"> XMLBigInteger::~XMLBigInteger </td>
139          <td class="md" valign="top">(&nbsp;</td>
140          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
141          <td class="md" valign="top">)&nbsp;</td>
142          <td class="md" nowrap></td>
143        </tr>
144
145      </table>
146    </td>
147  </tr>
148</table>
149<table cellspacing=5 cellpadding=0 border=0>
150  <tr>
151    <td>
152      &nbsp;
153    </td>
154    <td>
155
156<p>
157    </td>
158  </tr>
159</table>
160<a name="a2" doxytag="XMLBigInteger::XMLBigInteger"></a><p>
161<table width="100%" cellpadding="2" cellspacing="0" border="0">
162  <tr>
163    <td class="md">
164      <table cellpadding="0" cellspacing="0" border="0">
165        <tr>
166          <td class="md" nowrap valign="top"> XMLBigInteger::XMLBigInteger </td>
167          <td class="md" valign="top">(&nbsp;</td>
168          <td class="md" nowrap valign="top">const XMLBigInteger &amp;&nbsp;</td>
169          <td class="mdname1" valign="top" nowrap>&nbsp; <em>toCopy</em>          </td>
170          <td class="md" valign="top">)&nbsp;</td>
171          <td class="md" nowrap></td>
172        </tr>
173
174      </table>
175    </td>
176  </tr>
177</table>
178<table cellspacing=5 cellpadding=0 border=0>
179  <tr>
180    <td>
181      &nbsp;
182    </td>
183    <td>
184
185<p>
186    </td>
187  </tr>
188</table>
189<hr><h2>Member Function Documentation</h2>
190<a name="d3" doxytag="XMLBigInteger::compareValues"></a><p>
191<table width="100%" cellpadding="2" cellspacing="0" border="0">
192  <tr>
193    <td class="md">
194      <table cellpadding="0" cellspacing="0" border="0">
195        <tr>
196          <td class="md" nowrap valign="top"> int XMLBigInteger::compareValues </td>
197          <td class="md" valign="top">(&nbsp;</td>
198          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
199          <td class="mdname" nowrap>&nbsp; <em>lString</em>, </td>
200        </tr>
201        <tr>
202          <td></td>
203          <td></td>
204          <td class="md" nowrap>const int &amp;&nbsp;</td>
205          <td class="mdname" nowrap>&nbsp; <em>lSign</em>, </td>
206        </tr>
207        <tr>
208          <td></td>
209          <td></td>
210          <td class="md" nowrap>const XMLCh *const&nbsp;</td>
211          <td class="mdname" nowrap>&nbsp; <em>rString</em>, </td>
212        </tr>
213        <tr>
214          <td></td>
215          <td></td>
216          <td class="md" nowrap>const int &amp;&nbsp;</td>
217          <td class="mdname" nowrap>&nbsp; <em>rSign</em>, </td>
218        </tr>
219        <tr>
220          <td></td>
221          <td></td>
222          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
223          <td class="mdname" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
224        </tr>
225        <tr>
226          <td></td>
227          <td class="md">)&nbsp;</td>
228          <td class="md" colspan="2"><code> [static]</code></td>
229        </tr>
230
231      </table>
232    </td>
233  </tr>
234</table>
235<table cellspacing=5 cellpadding=0 border=0>
236  <tr>
237    <td>
238      &nbsp;
239    </td>
240    <td>
241
242<p>
243    </td>
244  </tr>
245</table>
246<a name="d2" doxytag="XMLBigInteger::compareValues"></a><p>
247<table width="100%" cellpadding="2" cellspacing="0" border="0">
248  <tr>
249    <td class="md">
250      <table cellpadding="0" cellspacing="0" border="0">
251        <tr>
252          <td class="md" nowrap valign="top"> int XMLBigInteger::compareValues </td>
253          <td class="md" valign="top">(&nbsp;</td>
254          <td class="md" nowrap valign="top">const XMLBigInteger *const&nbsp;</td>
255          <td class="mdname" nowrap>&nbsp; <em>lValue</em>, </td>
256        </tr>
257        <tr>
258          <td></td>
259          <td></td>
260          <td class="md" nowrap>const XMLBigInteger *const&nbsp;</td>
261          <td class="mdname" nowrap>&nbsp; <em>rValue</em>, </td>
262        </tr>
263        <tr>
264          <td></td>
265          <td></td>
266          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
267          <td class="mdname" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
268        </tr>
269        <tr>
270          <td></td>
271          <td class="md">)&nbsp;</td>
272          <td class="md" colspan="2"><code> [static]</code></td>
273        </tr>
274
275      </table>
276    </td>
277  </tr>
278</table>
279<table cellspacing=5 cellpadding=0 border=0>
280  <tr>
281    <td>
282      &nbsp;
283    </td>
284    <td>
285
286<p>
287    </td>
288  </tr>
289</table>
290<a name="a4" doxytag="XMLBigInteger::divide"></a><p>
291<table width="100%" cellpadding="2" cellspacing="0" border="0">
292  <tr>
293    <td class="md">
294      <table cellpadding="0" cellspacing="0" border="0">
295        <tr>
296          <td class="md" nowrap valign="top"> void XMLBigInteger::divide </td>
297          <td class="md" valign="top">(&nbsp;</td>
298          <td class="md" nowrap valign="top">const unsigned int&nbsp;</td>
299          <td class="mdname1" valign="top" nowrap>&nbsp; <em>byteToShift</em>          </td>
300          <td class="md" valign="top">)&nbsp;</td>
301          <td class="md" nowrap></td>
302        </tr>
303
304      </table>
305    </td>
306  </tr>
307</table>
308<table cellspacing=5 cellpadding=0 border=0>
309  <tr>
310    <td>
311      &nbsp;
312    </td>
313    <td>
314
315<p>
316    </td>
317  </tr>
318</table>
319<a name="d0" doxytag="XMLBigInteger::getCanonicalRepresentation"></a><p>
320<table width="100%" cellpadding="2" cellspacing="0" border="0">
321  <tr>
322    <td class="md">
323      <table cellpadding="0" cellspacing="0" border="0">
324        <tr>
325          <td class="md" nowrap valign="top"> XMLCh* XMLBigInteger::getCanonicalRepresentation </td>
326          <td class="md" valign="top">(&nbsp;</td>
327          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
328          <td class="mdname" nowrap>&nbsp; <em>rawData</em>, </td>
329        </tr>
330        <tr>
331          <td></td>
332          <td></td>
333          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
334          <td class="mdname" nowrap>&nbsp; <em>memMgr</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>, </td>
335        </tr>
336        <tr>
337          <td></td>
338          <td></td>
339          <td class="md" nowrap>bool&nbsp;</td>
340          <td class="mdname" nowrap>&nbsp; <em>isNonPositiveInteger</em> = false</td>
341        </tr>
342        <tr>
343          <td></td>
344          <td class="md">)&nbsp;</td>
345          <td class="md" colspan="2"><code> [static]</code></td>
346        </tr>
347
348      </table>
349    </td>
350  </tr>
351</table>
352<table cellspacing=5 cellpadding=0 border=0>
353  <tr>
354    <td>
355      &nbsp;
356    </td>
357    <td>
358
359<p>
360    </td>
361  </tr>
362</table>
363<a name="a7" doxytag="XMLBigInteger::getRawData"></a><p>
364<table width="100%" cellpadding="2" cellspacing="0" border="0">
365  <tr>
366    <td class="md">
367      <table cellpadding="0" cellspacing="0" border="0">
368        <tr>
369          <td class="md" nowrap valign="top"> XMLCh * XMLBigInteger::getRawData </td>
370          <td class="md" valign="top">(&nbsp;</td>
371          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
372          <td class="md" valign="top">)&nbsp;</td>
373          <td class="md" nowrap> const</td>
374        </tr>
375
376      </table>
377    </td>
378  </tr>
379</table>
380<table cellspacing=5 cellpadding=0 border=0>
381  <tr>
382    <td>
383      &nbsp;
384    </td>
385    <td>
386
387<p>
388Return a copy of the fMagnitue.
389<p>
390This is similar to toString, except the internal buffer is returned directly Caller is not required to delet the returned memory.     </td>
391  </tr>
392</table>
393<a name="a9" doxytag="XMLBigInteger::getSign"></a><p>
394<table width="100%" cellpadding="2" cellspacing="0" border="0">
395  <tr>
396    <td class="md">
397      <table cellpadding="0" cellspacing="0" border="0">
398        <tr>
399          <td class="md" nowrap valign="top"> int XMLBigInteger::getSign </td>
400          <td class="md" valign="top">(&nbsp;</td>
401          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
402          <td class="md" valign="top">)&nbsp;</td>
403          <td class="md" nowrap> const</td>
404        </tr>
405
406      </table>
407    </td>
408  </tr>
409</table>
410<table cellspacing=5 cellpadding=0 border=0>
411  <tr>
412    <td>
413      &nbsp;
414    </td>
415    <td>
416
417<p>
418Returns the signum function of this number (i.e., -1, 0 or 1 as the value of this number is negative, zero or positive).
419<p>
420    </td>
421  </tr>
422</table>
423<a name="a5" doxytag="XMLBigInteger::getTotalDigit"></a><p>
424<table width="100%" cellpadding="2" cellspacing="0" border="0">
425  <tr>
426    <td class="md">
427      <table cellpadding="0" cellspacing="0" border="0">
428        <tr>
429          <td class="md" nowrap valign="top"> int XMLBigInteger::getTotalDigit </td>
430          <td class="md" valign="top">(&nbsp;</td>
431          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
432          <td class="md" valign="top">)&nbsp;</td>
433          <td class="md" nowrap> const</td>
434        </tr>
435
436      </table>
437    </td>
438  </tr>
439</table>
440<table cellspacing=5 cellpadding=0 border=0>
441  <tr>
442    <td>
443      &nbsp;
444    </td>
445    <td>
446
447<p>
448    </td>
449  </tr>
450</table>
451<a name="a10" doxytag="XMLBigInteger::intValue"></a><p>
452<table width="100%" cellpadding="2" cellspacing="0" border="0">
453  <tr>
454    <td class="md">
455      <table cellpadding="0" cellspacing="0" border="0">
456        <tr>
457          <td class="md" nowrap valign="top"> int XMLBigInteger::intValue </td>
458          <td class="md" valign="top">(&nbsp;</td>
459          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
460          <td class="md" valign="top">)&nbsp;</td>
461          <td class="md" nowrap> const</td>
462        </tr>
463
464      </table>
465    </td>
466  </tr>
467</table>
468<table cellspacing=5 cellpadding=0 border=0>
469  <tr>
470    <td>
471      &nbsp;
472    </td>
473    <td>
474
475<p>
476    </td>
477  </tr>
478</table>
479<a name="a3" doxytag="XMLBigInteger::multiply"></a><p>
480<table width="100%" cellpadding="2" cellspacing="0" border="0">
481  <tr>
482    <td class="md">
483      <table cellpadding="0" cellspacing="0" border="0">
484        <tr>
485          <td class="md" nowrap valign="top"> void XMLBigInteger::multiply </td>
486          <td class="md" valign="top">(&nbsp;</td>
487          <td class="md" nowrap valign="top">const unsigned int&nbsp;</td>
488          <td class="mdname1" valign="top" nowrap>&nbsp; <em>byteToShift</em>          </td>
489          <td class="md" valign="top">)&nbsp;</td>
490          <td class="md" nowrap></td>
491        </tr>
492
493      </table>
494    </td>
495  </tr>
496</table>
497<table cellspacing=5 cellpadding=0 border=0>
498  <tr>
499    <td>
500      &nbsp;
501    </td>
502    <td>
503
504<p>
505    </td>
506  </tr>
507</table>
508<a name="a8" doxytag="XMLBigInteger::operator=="></a><p>
509<table width="100%" cellpadding="2" cellspacing="0" border="0">
510  <tr>
511    <td class="md">
512      <table cellpadding="0" cellspacing="0" border="0">
513        <tr>
514          <td class="md" nowrap valign="top"> bool XMLBigInteger::operator== </td>
515          <td class="md" valign="top">(&nbsp;</td>
516          <td class="md" nowrap valign="top">const XMLBigInteger &amp;&nbsp;</td>
517          <td class="mdname1" valign="top" nowrap>&nbsp; <em>toCompare</em>          </td>
518          <td class="md" valign="top">)&nbsp;</td>
519          <td class="md" nowrap> const</td>
520        </tr>
521
522      </table>
523    </td>
524  </tr>
525</table>
526<table cellspacing=5 cellpadding=0 border=0>
527  <tr>
528    <td>
529      &nbsp;
530    </td>
531    <td>
532
533<p>
534Compares this object to the specified object.
535<p>
536The result is <code>true</code> if and only if the argument is not <code>null</code> and is an <code>XMLBigInteger</code> object that contains the same <code>int</code> value as this object.<dl compact><dt><b>
537Parameters: </b><dd>
538<table border=0 cellspacing=2 cellpadding=0>
539<tr><td valign=top><em>toCompare</em>&nbsp;</td><td>
540the object to compare with. </td></tr>
541</table>
542</dl><dl compact><dt><b>
543Returns: </b><dd>
544<code>true</code> if the objects are the same; <code>false</code> otherwise. </dl>    </td>
545  </tr>
546</table>
547<a name="d1" doxytag="XMLBigInteger::parseBigInteger"></a><p>
548<table width="100%" cellpadding="2" cellspacing="0" border="0">
549  <tr>
550    <td class="md">
551      <table cellpadding="0" cellspacing="0" border="0">
552        <tr>
553          <td class="md" nowrap valign="top"> void XMLBigInteger::parseBigInteger </td>
554          <td class="md" valign="top">(&nbsp;</td>
555          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
556          <td class="mdname" nowrap>&nbsp; <em>toConvert</em>, </td>
557        </tr>
558        <tr>
559          <td></td>
560          <td></td>
561          <td class="md" nowrap>XMLCh *const&nbsp;</td>
562          <td class="mdname" nowrap>&nbsp; <em>retBuffer</em>, </td>
563        </tr>
564        <tr>
565          <td></td>
566          <td></td>
567          <td class="md" nowrap>int &amp;&nbsp;</td>
568          <td class="mdname" nowrap>&nbsp; <em>signValue</em>, </td>
569        </tr>
570        <tr>
571          <td></td>
572          <td></td>
573          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
574          <td class="mdname" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
575        </tr>
576        <tr>
577          <td></td>
578          <td class="md">)&nbsp;</td>
579          <td class="md" colspan="2"><code> [static]</code></td>
580        </tr>
581
582      </table>
583    </td>
584  </tr>
585</table>
586<table cellspacing=5 cellpadding=0 border=0>
587  <tr>
588    <td>
589      &nbsp;
590    </td>
591    <td>
592
593<p>
594    </td>
595  </tr>
596</table>
597<a name="a6" doxytag="XMLBigInteger::toString"></a><p>
598<table width="100%" cellpadding="2" cellspacing="0" border="0">
599  <tr>
600    <td class="md">
601      <table cellpadding="0" cellspacing="0" border="0">
602        <tr>
603          <td class="md" nowrap valign="top"> XMLCh * XMLBigInteger::toString </td>
604          <td class="md" valign="top">(&nbsp;</td>
605          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
606          <td class="md" valign="top">)&nbsp;</td>
607          <td class="md" nowrap> const</td>
608        </tr>
609
610      </table>
611    </td>
612  </tr>
613</table>
614<table cellspacing=5 cellpadding=0 border=0>
615  <tr>
616    <td>
617      &nbsp;
618    </td>
619    <td>
620
621<p>
622Deprecated: please use getRawData.
623<p>
624Return a copy of the fMagnitue. A leading sign is ALWAYS in place and the caller of this method is responsible for the de-allocation of the memory.     </td>
625  </tr>
626</table>
627<hr>The documentation for this class was generated from the following file:<ul>
628<li><a class="el" href="XMLBigInteger_8hpp-source.html">XMLBigInteger.hpp</a></ul>
629    </FONT></TD></TR></TABLE><BR>
630</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>
631              Copyright &copy; 1994-2004 The Apache Software Foundation.
632              All Rights Reserved.
633            </I></FONT></TD></TR></TABLE></BODY></HTML>
Note: See TracBrowser for help on using the repository browser.