blob: 964d77606f4fef6318bf81c7a5d4f2375bf5faa2 [file] [log] [blame]
<HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD>
<BODY>
<h2 align="center">Xalan-C++ API Documentation</h2>
<h3 align="center">The Xalan C++ XSLT Processor Version 1.10</h3>
</BODY>
<!-- Generated by Doxygen 1.2.8.1 -->
<center>
<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>
<hr><h1>XalanDecimalFormatSymbols.hpp</h1><a href="XalanDecimalFormatSymbols_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/*</font>
00002 <font class="comment"> * Copyright 1999-2004 The Apache Software Foundation.</font>
00003 <font class="comment"> *</font>
00004 <font class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</font>
00005 <font class="comment"> * you may not use this file except in compliance with the License.</font>
00006 <font class="comment"> * You may obtain a copy of the License at</font>
00007 <font class="comment"> *</font>
00008 <font class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</font>
00009 <font class="comment"> *</font>
00010 <font class="comment"> * Unless required by applicable law or agreed to in writing, software</font>
00011 <font class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</font>
00012 <font class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</font>
00013 <font class="comment"> * See the License for the specific language governing permissions and</font>
00014 <font class="comment"> * limitations under the License.</font>
00015 <font class="comment"> */</font>
00016 <font class="preprocessor">#if !defined(XALANDECIMALFORMATSYMBOLS_HEADER_GUARD_1357924680)</font>
<a name="l00017"></a><a class="code" href="XalanDecimalFormatSymbols_8hpp.html#a0">00017</a> <font class="preprocessor"></font><font class="preprocessor">#define XALANDECIMALFORMATSYMBOLS_HEADER_GUARD_1357924680</font>
00018 <font class="preprocessor"></font>
00019
00020
00021 <font class="comment">// Base include file. Must be first.</font>
00022 <font class="preprocessor">#include &lt;<a class="code" href="PlatformSupportDefinitions_8hpp.html">xalanc/PlatformSupport/PlatformSupportDefinitions.hpp</a>&gt;</font>
00023
00024
00025
00026 <font class="preprocessor">#include &lt;cassert&gt;</font>
00027
00028
00029
00030 <font class="preprocessor">#include &lt;<a class="code" href="XalanDOMString_8hpp.html">xalanc/XalanDOM/XalanDOMString.hpp</a>&gt;</font>
00031
00032
00033
00034 XALAN_CPP_NAMESPACE_BEGIN
00035
00036
00037
<a name="l00038"></a><a class="code" href="classXalanDecimalFormatSymbols.html">00038</a> <font class="keyword">class </font>XALAN_PLATFORMSUPPORT_EXPORT <a class="code" href="classXalanDecimalFormatSymbols.html">XalanDecimalFormatSymbols</a>
00039 {
00040 <font class="keyword">public</font>:
00041
00042 <font class="comment">// Eventually, this constructor should take a locale to determine</font>
00043 <font class="comment">// all of the stuff it needs to know. But locales are implemented</font>
00044 <font class="comment">// on all of our platforms yet.</font>
00045 <font class="keyword">explicit</font>
00046 <a class="code" href="classXalanDecimalFormatSymbols.html#a0">XalanDecimalFormatSymbols</a>(MemoryManagerType&amp; theManager);
00047
00048 <a class="code" href="classXalanDecimalFormatSymbols.html#a0">XalanDecimalFormatSymbols</a>(<font class="keyword">const</font> <a class="code" href="classXalanDecimalFormatSymbols.html">XalanDecimalFormatSymbols</a>&amp; theSource,
00049 MemoryManagerType&amp; theManager);
00050
00051 <a class="code" href="classXalanDecimalFormatSymbols.html#a2">~XalanDecimalFormatSymbols</a>();
00052
00053 <a class="code" href="classXalanDecimalFormatSymbols.html">XalanDecimalFormatSymbols</a>&amp;
00054 <a class="code" href="classXalanDecimalFormatSymbols.html#a3">operator=</a>(<font class="keyword">const</font> <a class="code" href="classXalanDecimalFormatSymbols.html">XalanDecimalFormatSymbols</a>&amp; theRHS);
00055
00061 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp;
<a name="l00062"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a4">00062</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a4">getCurrencySymbol</a>()<font class="keyword"> const</font>
00063 <font class="keyword"> </font>{
00064 <font class="keywordflow">return</font> m_currencySymbol;
00065 }
00066
00072 XalanDOMChar
<a name="l00073"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a5">00073</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a5">getDecimalSeparator</a>()<font class="keyword"> const</font>
00074 <font class="keyword"> </font>{
00075 <font class="keywordflow">return</font> m_decimalSeparator;
00076 }
00077
00083 XalanDOMChar
<a name="l00084"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a6">00084</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a6">getDigit</a>()<font class="keyword"> const</font>
00085 <font class="keyword"> </font>{
00086 <font class="keywordflow">return</font> m_digit;
00087 }
00088
00094 XalanDOMChar
<a name="l00095"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a7">00095</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a7">getGroupingSeparator</a>()<font class="keyword"> const</font>
00096 <font class="keyword"> </font>{
00097 <font class="keywordflow">return</font> m_groupingSeparator;
00098 }
00099
00105 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp;
<a name="l00106"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a8">00106</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a8">getInfinity</a>()<font class="keyword"> const</font>
00107 <font class="keyword"> </font>{
00108 <font class="keywordflow">return</font> m_infinity;
00109 }
00110
00116 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp;
<a name="l00117"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a9">00117</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a9">getInternationalCurrencySymbol</a>()<font class="keyword"> const</font>
00118 <font class="keyword"> </font>{
00119 <font class="keywordflow">return</font> m_internationalCurrencySymbol;
00120 }
00121
00127 XalanDOMChar
<a name="l00128"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a10">00128</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a10">getMinusSign</a>()<font class="keyword"> const</font>
00129 <font class="keyword"> </font>{
00130 <font class="keywordflow">return</font> m_minusSign;
00131 }
00132
00138 XalanDOMChar
<a name="l00139"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a11">00139</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a11">getMonetaryDecimalSeparator</a>()<font class="keyword"> const</font>
00140 <font class="keyword"> </font>{
00141 <font class="keywordflow">return</font> m_monetaryDecimalSeparator;
00142 }
00143
00150 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp;
<a name="l00151"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a12">00151</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a12">getNaN</a>()<font class="keyword"> const</font>
00152 <font class="keyword"> </font>{
00153 <font class="keywordflow">return</font> m_NaN;
00154 }
00155
00162 XalanDOMChar
<a name="l00163"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a13">00163</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a13">getPatternSeparator</a>()<font class="keyword"> const</font>
00164 <font class="keyword"> </font>{
00165 <font class="keywordflow">return</font> m_patternSeparator;
00166 }
00167
00173 XalanDOMChar
<a name="l00174"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a14">00174</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a14">getPercent</a>()<font class="keyword"> const</font>
00175 <font class="keyword"> </font>{
00176 <font class="keywordflow">return</font> m_percent;
00177 }
00178
00184 XalanDOMChar
<a name="l00185"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a15">00185</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a15">getPerMill</a>()<font class="keyword"> const</font>
00186 <font class="keyword"> </font>{
00187 <font class="keywordflow">return</font> m_perMill;
00188 }
00189
00195 XalanDOMChar
<a name="l00196"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a16">00196</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a16">getZeroDigit</a>()<font class="keyword"> const</font>
00197 <font class="keyword"> </font>{
00198 <font class="keywordflow">return</font> m_zeroDigit;
00199 }
00200
00206 <font class="keywordtype">void</font>
<a name="l00207"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a17">00207</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a17">setCurrencySymbol</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; theCurrencySymbol)<font class="keyword"></font>
00208 <font class="keyword"> </font>{
00209 m_currencySymbol = theCurrencySymbol;
00210 }
00211
00217 <font class="keywordtype">void</font>
<a name="l00218"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a18">00218</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a17">setCurrencySymbol</a>(<font class="keyword">const</font> XalanDOMChar* theCurrencySymbol)<font class="keyword"></font>
00219 <font class="keyword"> </font>{
00220 assert(theCurrencySymbol != 0);
00221
00222 m_currencySymbol = theCurrencySymbol;
00223 }
00224
00230 <font class="keywordtype">void</font>
<a name="l00231"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a19">00231</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a19">setDecimalSeparator</a>(XalanDOMChar theDecimalSeparator)<font class="keyword"></font>
00232 <font class="keyword"> </font>{
00233 m_decimalSeparator = theDecimalSeparator;
00234 }
00235
00241 <font class="keywordtype">void</font>
<a name="l00242"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a20">00242</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a20">setDigit</a>(XalanDOMChar theDigit)<font class="keyword"></font>
00243 <font class="keyword"> </font>{
00244 m_digit = theDigit;
00245 }
00246
00252 <font class="keywordtype">void</font>
<a name="l00253"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a21">00253</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a21">setGroupingSeparator</a>(XalanDOMChar theGroupingSeparator)<font class="keyword"></font>
00254 <font class="keyword"> </font>{
00255 m_groupingSeparator = theGroupingSeparator;
00256 }
00257
00263 <font class="keywordtype">void</font>
<a name="l00264"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a22">00264</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a22">setInfinity</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; theInfinity)<font class="keyword"></font>
00265 <font class="keyword"> </font>{
00266 m_infinity = theInfinity;
00267 }
00268
00274 <font class="keywordtype">void</font>
<a name="l00275"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a23">00275</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a22">setInfinity</a>(<font class="keyword">const</font> XalanDOMChar* theInfinity)<font class="keyword"></font>
00276 <font class="keyword"> </font>{
00277 assert(theInfinity != 0);
00278
00279 m_infinity = theInfinity;
00280 }
00281
00288 <font class="keywordtype">void</font>
<a name="l00289"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a24">00289</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a24">setInternationalCurrencySymbol</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; theInternationalCurrencySymbol)<font class="keyword"></font>
00290 <font class="keyword"> </font>{
00291 m_internationalCurrencySymbol = theInternationalCurrencySymbol;
00292 }
00293
00300 <font class="keywordtype">void</font>
<a name="l00301"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a25">00301</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a24">setInternationalCurrencySymbol</a>(<font class="keyword">const</font> XalanDOMChar* theInternationalCurrencySymbol)<font class="keyword"></font>
00302 <font class="keyword"> </font>{
00303 assert(theInternationalCurrencySymbol != 0);
00304
00305 m_internationalCurrencySymbol = theInternationalCurrencySymbol;
00306 }
00307
00313 <font class="keywordtype">void</font>
<a name="l00314"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a26">00314</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a26">setMinusSign</a>(XalanDOMChar theMinusSign)<font class="keyword"></font>
00315 <font class="keyword"> </font>{
00316 m_minusSign = theMinusSign;
00317 }
00318
00325 <font class="keywordtype">void</font>
<a name="l00326"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a27">00326</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a27">setMonetaryDecimalSeparator</a>(XalanDOMChar theMonetaryDecimalSeparator)<font class="keyword"></font>
00327 <font class="keyword"> </font>{
00328 m_monetaryDecimalSeparator = theMonetaryDecimalSeparator;
00329 }
00330
00337 <font class="keywordtype">void</font>
<a name="l00338"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a28">00338</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a28">setNaN</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; theNaN)<font class="keyword"></font>
00339 <font class="keyword"> </font>{
00340 m_NaN = theNaN;
00341 }
00342
00349 <font class="keywordtype">void</font>
<a name="l00350"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a29">00350</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a28">setNaN</a>(<font class="keyword">const</font> XalanDOMChar* theNaN)<font class="keyword"></font>
00351 <font class="keyword"> </font>{
00352 assert(theNaN != 0);
00353
00354 m_NaN = theNaN;
00355 }
00356
00364 <font class="keywordtype">void</font>
<a name="l00365"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a30">00365</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a30">setPatternSeparator</a>(XalanDOMChar thePatternSeparator)<font class="keyword"></font>
00366 <font class="keyword"> </font>{
00367 m_patternSeparator = thePatternSeparator;
00368 }
00369
00375 <font class="keywordtype">void</font>
<a name="l00376"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a31">00376</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a31">setPercent</a>(XalanDOMChar thePercent)<font class="keyword"></font>
00377 <font class="keyword"> </font>{
00378 m_percent = thePercent;
00379 }
00380
00386 <font class="keywordtype">void</font>
<a name="l00387"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a32">00387</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a32">setPerMill</a>(XalanDOMChar thePerMill)<font class="keyword"></font>
00388 <font class="keyword"> </font>{
00389 m_perMill = thePerMill;
00390 }
00391
00397 <font class="keywordtype">void</font>
<a name="l00398"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a33">00398</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a33">setZeroDigit</a>(XalanDOMChar theZeroDigit)<font class="keyword"></font>
00399 <font class="keyword"> </font>{
00400 m_zeroDigit = theZeroDigit;
00401 }
00402
00403 <font class="keywordtype">bool</font>
00404 <a class="code" href="classXalanDecimalFormatSymbols.html#a34">operator==</a>(<font class="keyword">const</font> <a class="code" href="classXalanDecimalFormatSymbols.html">XalanDecimalFormatSymbols</a>&amp; theRHS) <font class="keyword">const</font>;
00405
00406 <font class="keywordtype">bool</font>
<a name="l00407"></a><a class="code" href="classXalanDecimalFormatSymbols.html#a35">00407</a> <a class="code" href="classXalanDecimalFormatSymbols.html#a35">operator!=</a>(<font class="keyword">const</font> <a class="code" href="classXalanDecimalFormatSymbols.html">XalanDecimalFormatSymbols</a>&amp; theRHS)<font class="keyword"> const</font>
00408 <font class="keyword"> </font>{
00409 <font class="keywordflow">return</font> !<a class="code" href="classXalanDecimalFormatSymbols.html#a34">operator==</a>(theRHS);
00410 }
00411
00412 <font class="keyword">private</font>:
00413 <font class="comment">// not implemented</font>
00414 <a class="code" href="classXalanDecimalFormatSymbols.html#a0">XalanDecimalFormatSymbols</a>();
00415 <a class="code" href="classXalanDecimalFormatSymbols.html#a0">XalanDecimalFormatSymbols</a>(<font class="keyword">const</font> <a class="code" href="classXalanDecimalFormatSymbols.html">XalanDecimalFormatSymbols</a>&amp;);
00416
00417 <a class="code" href="classXalanDOMString.html">XalanDOMString</a> m_currencySymbol;
00418
00419 XalanDOMChar m_decimalSeparator;
00420 XalanDOMChar m_digit;
00421 XalanDOMChar m_groupingSeparator;
00422
00423 <a class="code" href="classXalanDOMString.html">XalanDOMString</a> m_infinity;
00424 <a class="code" href="classXalanDOMString.html">XalanDOMString</a> m_internationalCurrencySymbol;
00425
00426 XalanDOMChar m_minusSign;
00427 XalanDOMChar m_monetaryDecimalSeparator;
00428
00429 <a class="code" href="classXalanDOMString.html">XalanDOMString</a> m_NaN;
00430
00431 XalanDOMChar m_patternSeparator;
00432 XalanDOMChar m_percent;
00433 XalanDOMChar m_perMill;
00434 XalanDOMChar m_zeroDigit;
00435 };
00436
00437
00438
00439 XALAN_CPP_NAMESPACE_END
00440
00441
00442
00443 <font class="preprocessor">#endif // XALANDECIMALFORMATSYMBOLS_HEADER_GUARD_1357924680</font>
</font></pre></div><p align="center"><a href="diagramnotes.html">Interpreting class diagrams</a></p>
<p><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
<i><A href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</A> and
<A href="http://www.research.att.com/sw/tools/graphviz/">GraphViz</A> are used to generate this API documentation from the Xalan-C header files.</I></FONT></p>
<TABLE border="0" cellpadding="0" cellspacing="0" width="820"><TR><TD bgcolor="#0086b2"><IMG height="1" src="../resources/dot.gif" width="1" alt="dot"></TD></TR></TABLE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="80%">
<TR>
<TD WIDTH="80%" VALIGN="TOP">
<P ALIGN="CENTER"><B>Xalan-C++ XSLT Processor Version 1.10</B><BR>
Copyright &copy; 1999-2004 The Apache Software Foundation. All Rights Reserved.</i></p>
</TD>
</TR>
<TR>
<TD WIDTH="100%">
<P ALIGN="CENTER"><IMG SRC="ApacheLogo.jpg" WIDTH="387" HEIGHT="100" ALIGN="BOTTOM" BORDER="0" ALT="Apache Logo">
</TD>
</TR>
</TABLE>