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

Revision 358, 25.2 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>XMLNumber 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>XMLNumber  Class Reference</h1>Inheritance diagram for XMLNumber:<p><center><img src="classXMLNumber__inherit__graph.gif" border="0" usemap="#XMLNumber__inherit__map" alt="Inheritance graph"></center>
45<map name="XMLNumber__inherit__map">
46<area href="classXMLAbstractDoubleFloat.html" shape="rect" coords="17,174,177,155" alt="">
47<area href="classXMLBigDecimal.html" shape="rect" coords="201,174,311,155" alt="">
48<area href="classXMLDateTime.html" shape="rect" coords="335,174,431,155" alt="">
49<area href="classXMemory.html" shape="rect" coords="221,35,291,17" alt="">
50<area href="classXMLDouble.html" shape="rect" coords="7,243,89,225" alt="">
51<area href="classXMLFloat.html" shape="rect" coords="113,243,183,225" alt="">
52</map>
53<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for XMLNumber:<p><center><img src="classXMLNumber__coll__graph.gif" border="0" usemap="#XMLNumber__coll__map" alt="Collaboration graph"></center>
54<map name="XMLNumber__coll__map">
55<area href="classXMemory.html" shape="rect" coords="16,36,85,17" alt="">
56</map>
57<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXMLNumber-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
58<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
59<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom>{ <a class="el" href="classXMLNumber.html#s9s0">LESS_THAN</a> =  -1,
60<a class="el" href="classXMLNumber.html#s9s1">EQUAL</a> =  0,
61<a class="el" href="classXMLNumber.html#s9s2">GREATER_THAN</a> =  1,
62<a class="el" href="classXMLNumber.html#s9s3">INDETERMINATE</a> =  2
63 }</td></tr>
64<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classXMLNumber.html#s10">NumberType</a> { <br>
65&nbsp;&nbsp;<a class="el" href="classXMLNumber.html#s10s4">Float</a>,
66<a class="el" href="classXMLNumber.html#s10s5">Double</a>,
67<a class="el" href="classXMLNumber.html#s10s6">BigDecimal</a>,
68<a class="el" href="classXMLNumber.html#s10s7">DateTime</a>,
69<br>
70&nbsp;&nbsp;<a class="el" href="classXMLNumber.html#s10s8">UnKnown</a>
71<br>
72 }</td></tr>
73<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
74<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classXMLNumber.html#a0">~XMLNumber</a> ()</td></tr>
75<tr><td nowrap align=right valign=top>virtual XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLNumber.html#a1">toString</a> () const=0</td></tr>
76<tr><td>&nbsp;</td><td><font size=-1><em>Deprecated: please use getRawData.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
77<tr><td nowrap align=right valign=top>virtual XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLNumber.html#a2">getRawData</a> () const=0</td></tr>
78<tr><td>&nbsp;</td><td><font size=-1><em>Return string representation of the decimal value.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
79<tr><td nowrap align=right valign=top>virtual const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLNumber.html#a3">getFormattedString</a> () const=0</td></tr>
80<tr><td>&nbsp;</td><td><font size=-1><em>Return the original and converted value of the original data.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
81<tr><td nowrap align=right valign=top>virtual int&nbsp;</td><td valign=bottom><a class="el" href="classXMLNumber.html#a4">getSign</a> () const=0</td></tr>
82<tr><td>&nbsp;</td><td><font size=-1><em>Returns the sign of this number.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
83<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
84<tr><td nowrap align=right valign=top>XMLNumber *&nbsp;</td><td valign=bottom><a class="el" href="classXMLNumber.html#d0">loadNumber</a> (<a class="el" href="classXMLNumber.html#s10">XMLNumber::NumberType</a> numType, XSerializeEngine &amp;serEng)</td></tr>
85<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
86<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXMLNumber.html#b0">XMLNumber</a> ()</td></tr>
87</table>
88<hr><h2>Member Enumeration Documentation</h2>
89<a name="s9" doxytag="XMLNumber::@4"></a><p>
90<table width="100%" cellpadding="2" cellspacing="0" border="0">
91  <tr>
92    <td class="md">
93      <table cellpadding="0" cellspacing="0" border="0">
94        <tr>
95          <td class="md" nowrap valign="top"> anonymous enum
96      </table>
97    </td>
98  </tr>
99</table>
100<table cellspacing=5 cellpadding=0 border=0>
101  <tr>
102    <td>
103      &nbsp;
104    </td>
105    <td>
106
107<p>
108<dl compact><dt><b>
109Enumeration values:</b><dd>
110<table border=0 cellspacing=2 cellpadding=0>
111<tr><td valign=top><em><a name="s9s0" doxytag="LESS_THAN"></a><em>LESS_THAN</em></em>&nbsp;</td><td>
112</td></tr>
113<tr><td valign=top><em><a name="s9s1" doxytag="EQUAL"></a><em>EQUAL</em></em>&nbsp;</td><td>
114</td></tr>
115<tr><td valign=top><em><a name="s9s2" doxytag="GREATER_THAN"></a><em>GREATER_THAN</em></em>&nbsp;</td><td>
116</td></tr>
117<tr><td valign=top><em><a name="s9s3" doxytag="INDETERMINATE"></a><em>INDETERMINATE</em></em>&nbsp;</td><td>
118</td></tr>
119</table>
120</dl>
121    </td>
122  </tr>
123</table>
124<a name="s10" doxytag="XMLNumber::NumberType"></a><p>
125<table width="100%" cellpadding="2" cellspacing="0" border="0">
126  <tr>
127    <td class="md">
128      <table cellpadding="0" cellspacing="0" border="0">
129        <tr>
130          <td class="md" nowrap valign="top"> enum XMLNumber::NumberType
131      </table>
132    </td>
133  </tr>
134</table>
135<table cellspacing=5 cellpadding=0 border=0>
136  <tr>
137    <td>
138      &nbsp;
139    </td>
140    <td>
141
142<p>
143<dl compact><dt><b>
144Enumeration values:</b><dd>
145<table border=0 cellspacing=2 cellpadding=0>
146<tr><td valign=top><em><a name="s10s4" doxytag="Float"></a><em>Float</em></em>&nbsp;</td><td>
147</td></tr>
148<tr><td valign=top><em><a name="s10s5" doxytag="Double"></a><em>Double</em></em>&nbsp;</td><td>
149</td></tr>
150<tr><td valign=top><em><a name="s10s6" doxytag="BigDecimal"></a><em>BigDecimal</em></em>&nbsp;</td><td>
151</td></tr>
152<tr><td valign=top><em><a name="s10s7" doxytag="DateTime"></a><em>DateTime</em></em>&nbsp;</td><td>
153</td></tr>
154<tr><td valign=top><em><a name="s10s8" doxytag="UnKnown"></a><em>UnKnown</em></em>&nbsp;</td><td>
155</td></tr>
156</table>
157</dl>
158    </td>
159  </tr>
160</table>
161<hr><h2>Constructor &amp; Destructor Documentation</h2>
162<a name="a0" doxytag="XMLNumber::~XMLNumber"></a><p>
163<table width="100%" cellpadding="2" cellspacing="0" border="0">
164  <tr>
165    <td class="md">
166      <table cellpadding="0" cellspacing="0" border="0">
167        <tr>
168          <td class="md" nowrap valign="top"> virtual XMLNumber::~XMLNumber </td>
169          <td class="md" valign="top">(&nbsp;</td>
170          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
171          <td class="md" valign="top">)&nbsp;</td>
172          <td class="md" nowrap><code> [virtual]</code></td>
173        </tr>
174
175      </table>
176    </td>
177  </tr>
178</table>
179<table cellspacing=5 cellpadding=0 border=0>
180  <tr>
181    <td>
182      &nbsp;
183    </td>
184    <td>
185
186<p>
187    </td>
188  </tr>
189</table>
190<a name="b0" doxytag="XMLNumber::XMLNumber"></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"> XMLNumber::XMLNumber </td>
197          <td class="md" valign="top">(&nbsp;</td>
198          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
199          <td class="md" valign="top">)&nbsp;</td>
200          <td class="md" nowrap><code> [protected]</code></td>
201        </tr>
202
203      </table>
204    </td>
205  </tr>
206</table>
207<table cellspacing=5 cellpadding=0 border=0>
208  <tr>
209    <td>
210      &nbsp;
211    </td>
212    <td>
213
214<p>
215    </td>
216  </tr>
217</table>
218<hr><h2>Member Function Documentation</h2>
219<a name="a3" doxytag="XMLNumber::getFormattedString"></a><p>
220<table width="100%" cellpadding="2" cellspacing="0" border="0">
221  <tr>
222    <td class="md">
223      <table cellpadding="0" cellspacing="0" border="0">
224        <tr>
225          <td class="md" nowrap valign="top"> virtual const XMLCh* XMLNumber::getFormattedString </td>
226          <td class="md" valign="top">(&nbsp;</td>
227          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
228          <td class="md" valign="top">)&nbsp;</td>
229          <td class="md" nowrap> const<code> [pure virtual]</code></td>
230        </tr>
231
232      </table>
233    </td>
234  </tr>
235</table>
236<table cellspacing=5 cellpadding=0 border=0>
237  <tr>
238    <td>
239      &nbsp;
240    </td>
241    <td>
242
243<p>
244Return the original and converted value of the original data.
245<p>
246(applicable to double/float)
247<p>
248The internal buffer is returned directly, user is not required  to delete the returned buffer
249<p>
250Implemented in <a class="el" href="classXMLAbstractDoubleFloat.html#a3">XMLAbstractDoubleFloat</a>.    </td>
251  </tr>
252</table>
253<a name="a2" doxytag="XMLNumber::getRawData"></a><p>
254<table width="100%" cellpadding="2" cellspacing="0" border="0">
255  <tr>
256    <td class="md">
257      <table cellpadding="0" cellspacing="0" border="0">
258        <tr>
259          <td class="md" nowrap valign="top"> virtual XMLCh* XMLNumber::getRawData </td>
260          <td class="md" valign="top">(&nbsp;</td>
261          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
262          <td class="md" valign="top">)&nbsp;</td>
263          <td class="md" nowrap> const<code> [pure virtual]</code></td>
264        </tr>
265
266      </table>
267    </td>
268  </tr>
269</table>
270<table cellspacing=5 cellpadding=0 border=0>
271  <tr>
272    <td>
273      &nbsp;
274    </td>
275    <td>
276
277<p>
278Return string representation of the decimal value.
279<p>
280A 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
281<p>
282Implemented in <a class="el" href="classXMLAbstractDoubleFloat.html#a2">XMLAbstractDoubleFloat</a>.    </td>
283  </tr>
284</table>
285<a name="a4" doxytag="XMLNumber::getSign"></a><p>
286<table width="100%" cellpadding="2" cellspacing="0" border="0">
287  <tr>
288    <td class="md">
289      <table cellpadding="0" cellspacing="0" border="0">
290        <tr>
291          <td class="md" nowrap valign="top"> virtual int XMLNumber::getSign </td>
292          <td class="md" valign="top">(&nbsp;</td>
293          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
294          <td class="md" valign="top">)&nbsp;</td>
295          <td class="md" nowrap> const<code> [pure virtual]</code></td>
296        </tr>
297
298      </table>
299    </td>
300  </tr>
301</table>
302<table cellspacing=5 cellpadding=0 border=0>
303  <tr>
304    <td>
305      &nbsp;
306    </td>
307    <td>
308
309<p>
310Returns the sign of this number.
311<p>
312-1 negative 0 zero 1 positive
313<p>
314Implemented in <a class="el" href="classXMLAbstractDoubleFloat.html#a4">XMLAbstractDoubleFloat</a>.    </td>
315  </tr>
316</table>
317<a name="d0" doxytag="XMLNumber::loadNumber"></a><p>
318<table width="100%" cellpadding="2" cellspacing="0" border="0">
319  <tr>
320    <td class="md">
321      <table cellpadding="0" cellspacing="0" border="0">
322        <tr>
323          <td class="md" nowrap valign="top"> XMLNumber* XMLNumber::loadNumber </td>
324          <td class="md" valign="top">(&nbsp;</td>
325          <td class="md" nowrap valign="top"><a class="el" href="classXMLNumber.html#s10">XMLNumber::NumberType</a>&nbsp;</td>
326          <td class="mdname" nowrap>&nbsp; <em>numType</em>, </td>
327        </tr>
328        <tr>
329          <td></td>
330          <td></td>
331          <td class="md" nowrap>XSerializeEngine &amp;&nbsp;</td>
332          <td class="mdname" nowrap>&nbsp; <em>serEng</em></td>
333        </tr>
334        <tr>
335          <td></td>
336          <td class="md">)&nbsp;</td>
337          <td class="md" colspan="2"><code> [static]</code></td>
338        </tr>
339
340      </table>
341    </td>
342  </tr>
343</table>
344<table cellspacing=5 cellpadding=0 border=0>
345  <tr>
346    <td>
347      &nbsp;
348    </td>
349    <td>
350
351<p>
352    </td>
353  </tr>
354</table>
355<a name="a1" doxytag="XMLNumber::toString"></a><p>
356<table width="100%" cellpadding="2" cellspacing="0" border="0">
357  <tr>
358    <td class="md">
359      <table cellpadding="0" cellspacing="0" border="0">
360        <tr>
361          <td class="md" nowrap valign="top"> virtual XMLCh* XMLNumber::toString </td>
362          <td class="md" valign="top">(&nbsp;</td>
363          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
364          <td class="md" valign="top">)&nbsp;</td>
365          <td class="md" nowrap> const<code> [pure virtual]</code></td>
366        </tr>
367
368      </table>
369    </td>
370  </tr>
371</table>
372<table cellspacing=5 cellpadding=0 border=0>
373  <tr>
374    <td>
375      &nbsp;
376    </td>
377    <td>
378
379<p>
380Deprecated: please use getRawData.
381<p>
382Return string representation of the decimal value. A decimal point will be included as necessary, the caller of this method is responsible for the de-allocation of the memory.
383<p>
384Implemented in <a class="el" href="classXMLAbstractDoubleFloat.html#a1">XMLAbstractDoubleFloat</a>.    </td>
385  </tr>
386</table>
387<hr>The documentation for this class was generated from the following file:<ul>
388<li><a class="el" href="XMLNumber_8hpp-source.html">XMLNumber.hpp</a></ul>
389    </FONT></TD></TR></TABLE><BR>
390</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>
391              Copyright &copy; 1994-2004 The Apache Software Foundation.
392              All Rights Reserved.
393            </I></FONT></TD></TR></TABLE></BODY></HTML>
Note: See TracBrowser for help on using the repository browser.