Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 5e43f5d92fadaa0a1cc4664249b615d0 > files > 928

xalan-c-doc-1.1-8mdk.i586.rpm

<HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD>
<BODY>
<h2 align="center">Xalan-C++ API Documentation</h2>
<h3 align="center">The Xalan C++ XSL Transformer Version 1.1</h3>
</BODY>
<!-- Generated by Doxygen 1.2.0 on Thu Feb 15 10:44:07 2001 -->
<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>XalanNumberingResourceBundle.hpp</h1><a href="XalanNumberingResourceBundle.hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/*
</font>00002 <font class="comment"> * The Apache Software License, Version 1.1
</font>00003 <font class="comment"> *
</font>00004 <font class="comment"> *
</font>00005 <font class="comment"> * Copyright (c) 2000 The Apache Software Foundation.  All rights 
</font>00006 <font class="comment"> * reserved.
</font>00007 <font class="comment"> *
</font>00008 <font class="comment"> * Redistribution and use in source and binary forms, with or without
</font>00009 <font class="comment"> * modification, are permitted provided that the following conditions
</font>00010 <font class="comment"> * are met:
</font>00011 <font class="comment"> *
</font>00012 <font class="comment"> * 1. Redistributions of source code must retain the above copyright
</font>00013 <font class="comment"> *    notice, this list of conditions and the following disclaimer. 
</font>00014 <font class="comment"> *
</font>00015 <font class="comment"> * 2. Redistributions in binary form must reproduce the above copyright
</font>00016 <font class="comment"> *    notice, this list of conditions and the following disclaimer in
</font>00017 <font class="comment"> *    the documentation and/or other materials provided with the
</font>00018 <font class="comment"> *    distribution.
</font>00019 <font class="comment"> *
</font>00020 <font class="comment"> * 3. The end-user documentation included with the redistribution,
</font>00021 <font class="comment"> *    if any, must include the following acknowledgment:  
</font>00022 <font class="comment"> *       "This product includes software developed by the
</font>00023 <font class="comment"> *        Apache Software Foundation (http://www.apache.org/)."
</font>00024 <font class="comment"> *    Alternately, this acknowledgment may appear in the software itself,
</font>00025 <font class="comment"> *    if and wherever such third-party acknowledgments normally appear.
</font>00026 <font class="comment"> *
</font>00027 <font class="comment"> * 4. The names "Xalan" and "Apache Software Foundation" must
</font>00028 <font class="comment"> *    not be used to endorse or promote products derived from this
</font>00029 <font class="comment"> *    software without prior written permission. For written 
</font>00030 <font class="comment"> *    permission, please contact apache@apache.org.
</font>00031 <font class="comment"> *
</font>00032 <font class="comment"> * 5. Products derived from this software may not be called "Apache",
</font>00033 <font class="comment"> *    nor may "Apache" appear in their name, without prior written
</font>00034 <font class="comment"> *    permission of the Apache Software Foundation.
</font>00035 <font class="comment"> *
</font>00036 <font class="comment">  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
</font>00037 <font class="comment"> * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
</font>00038 <font class="comment"> * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
</font>00039 <font class="comment"> * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
</font>00040 <font class="comment"> * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
</font>00041 <font class="comment"> * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
</font>00042 <font class="comment"> * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
</font>00043 <font class="comment"> * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
</font>00044 <font class="comment"> * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
</font>00045 <font class="comment"> * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
</font>00046 <font class="comment"> * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
</font>00047 <font class="comment"> * SUCH DAMAGE.
</font>00048 <font class="comment"> * ====================================================================
</font>00049 <font class="comment"> *
</font>00050 <font class="comment"> * This software consists of voluntary contributions made by many
</font>00051 <font class="comment"> * individuals on behalf of the Apache Software Foundation and was
</font>00052 <font class="comment"> * originally based on software copyright (c) 1999, International
</font>00053 <font class="comment"> * Business Machines, Inc., http://www.ibm.com.  For more
</font>00054 <font class="comment"> * information on the Apache Software Foundation, please see
</font>00055 <font class="comment"> * &lt;http://www.apache.org/&gt;.
</font>00056 <font class="comment"> */</font>
00057 
00058 <font class="preprocessor">#if !defined(XALAN_NUMBERINGRESOURCEBUNDLE_HEADER_GUARD)
</font><a name="l00059"></a><a class="code" href="XalanNumberingResourceBundle.hpp.html#a0">00059</a> <font class="preprocessor"></font><font class="preprocessor">#define XALAN_NUMBERINGRESOURCEBUNDLE_HEADER_GUARD
</font>00060 <font class="preprocessor"></font>
00061 
00062 
00063 <font class="comment">// Base include file.  Must be first.</font>
00064 <font class="preprocessor">#include &lt;<a class="code" href="XSLTDefinitions.hpp.html">XSLT/XSLTDefinitions.hpp</a>&gt;</font>
00065 
00066 
00067 
00068 <font class="preprocessor">#include &lt;vector&gt;</font>
00069 
00070 
00071 
00072 <font class="preprocessor">#include &lt;<a class="code" href="DOMStringHelper.hpp.html">PlatformSupport/DOMStringHelper.hpp</a>&gt;</font>
00073 
00074 
00075 
<a name="l00076"></a><a class="code" href="class_xalannumberingresourcebundle.html">00076</a> <font class="keyword">class </font><a class="code" href="class_xalannumberingresourcebundle.html">XalanNumberingResourceBundle</a>
00077 {
00078 <font class="keyword">public</font>:
00079 
00080 <font class="preprocessor">#if defined(XALAN_NO_NAMESPACES)
</font>00081 <font class="preprocessor"></font>    <font class="keyword">typedef</font> vector&lt;<font class="keywordtype">int</font>&gt;                             IntVectorType;
00082     <font class="keyword">typedef</font> vector&lt;XalanDOMCharVectorType&gt;          DigitsTableVectorType;
00083 <font class="preprocessor">#else
</font><a name="l00084"></a><a class="code" href="class_xalannumberingresourcebundle.html#s0">00084</a> <font class="preprocessor"></font>    <font class="keyword">typedef</font> std::vector&lt;<font class="keywordtype">int</font>&gt;                        IntVectorType;
<a name="l00085"></a><a class="code" href="class_xalannumberingresourcebundle.html#s1">00085</a>     <font class="keyword">typedef</font> std::vector&lt;XalanDOMCharVectorType&gt;     DigitsTableVectorType;
00086 <font class="preprocessor">#endif
</font>00087 <font class="preprocessor"></font>
00088     <font class="comment">// Enum to describe language orientation.  (English is left-to-right,</font>
00089     <font class="comment">// Hebrew is right-to-left, etc.)</font>
<a name="l00090"></a><a class="code" href="class_xalannumberingresourcebundle.html#s10">00090</a>     <font class="keyword">enum</font> eOrientation { eLeftToRight, eRightToLeft, eTopToBottom, eBottomToTop };
00091 
00092     <font class="comment">// Enum to describe how numbering is done.</font>
<a name="l00093"></a><a class="code" href="class_xalannumberingresourcebundle.html#s11">00093</a>     <font class="keyword">enum</font> eNumberingMethod { eAdditive, eMultiplicativeAdditive };
00094 
00095     <font class="comment">// Enum to describe the where the multiplier goes.</font>
<a name="l00096"></a><a class="code" href="class_xalannumberingresourcebundle.html#s12">00096</a>     <font class="keyword">enum</font> eMultiplierOrder { eFollows, ePrecedes };
00097 
00098 
00099     <a class="code" href="class_xalannumberingresourcebundle.html#a1">XalanNumberingResourceBundle</a>(
00100         <font class="keyword">const</font> <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;           theLanguage,
00101         <font class="keyword">const</font> <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;           theUILanguage,
00102         <font class="keyword">const</font> <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;           theHelpLanguage,
00103         <font class="keyword">const</font> XalanDOMCharVectorType&amp;   theAlphabet,
00104         <font class="keyword">const</font> XalanDOMCharVectorType&amp;   theTraditionalAlphabet,
00105         eOrientation                    theOrientation,
00106         eNumberingMethod                theNumberingMethod,
00107         eMultiplierOrder                theMultiplierOrder,
00108         <font class="keywordtype">int</font>                             theMaxNumericalValue,
00109         <font class="keyword">const</font> IntVectorType&amp;            theNumberGroups,
00110         <font class="keyword">const</font> IntVectorType&amp;            theMultipliers,
00111         <font class="keyword">const</font> XalanDOMCharVectorType&amp;   theZeroChar,
00112         <font class="keyword">const</font> XalanDOMCharVectorType&amp;   theMultiplierChars,
00113         <font class="keyword">const</font> DigitsTableVectorType&amp;    theDigitsTable,
00114         <font class="keyword">const</font> IntVectorType&amp;            theDigitsTableTable);
00115 
00116     <font class="keyword">explicit</font>
00117     <a class="code" href="class_xalannumberingresourcebundle.html#a1">XalanNumberingResourceBundle</a>();
00118 
00119     <a class="code" href="class_xalannumberingresourcebundle.html#a1">XalanNumberingResourceBundle</a>(<font class="keyword">const</font> <a class="code" href="class_xalannumberingresourcebundle.html">XalanNumberingResourceBundle</a>&amp;    theSource);
00120 
00121     <a class="code" href="class_xalannumberingresourcebundle.html#a3">~XalanNumberingResourceBundle</a>();
00122 
00123     <font class="keywordtype">bool</font>
<a name="l00124"></a><a class="code" href="class_xalannumberingresourcebundle.html#a4">00124</a>     <a class="code" href="class_xalannumberingresourcebundle.html#a4">operator==</a>(<font class="keyword">const</font> <a class="code" href="class_xalannumberingresourcebundle.html">XalanNumberingResourceBundle</a>&amp;  theRHS)<font class="keyword"> const
</font>00125 <font class="keyword">    </font>{
00126         <font class="keywordflow">return</font> equals(m_language, theRHS.m_language);
00127     }
00128 
00129     <font class="keyword">const</font> <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;
<a name="l00130"></a><a class="code" href="class_xalannumberingresourcebundle.html#a5">00130</a>     <a class="code" href="class_xalannumberingresourcebundle.html#a5">getLanguage</a>()<font class="keyword"> const
</font>00131 <font class="keyword">    </font>{
00132         <font class="keywordflow">return</font> m_language;
00133     }
00134 
00135     <font class="keyword">const</font> <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;
<a name="l00136"></a><a class="code" href="class_xalannumberingresourcebundle.html#a6">00136</a>     <a class="code" href="class_xalannumberingresourcebundle.html#a6">getUILanguage</a>()<font class="keyword"> const
</font>00137 <font class="keyword">    </font>{
00138         <font class="keywordflow">return</font> m_uiLanguage;
00139     }
00140 
00141     <font class="keyword">const</font> <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;
<a name="l00142"></a><a class="code" href="class_xalannumberingresourcebundle.html#a7">00142</a>     <a class="code" href="class_xalannumberingresourcebundle.html#a7">getHelpLanguage</a>()<font class="keyword"> const
</font>00143 <font class="keyword">    </font>{
00144         <font class="keywordflow">return</font> m_helpLanguage;
00145     }
00146 
00147     <font class="keyword">const</font> XalanDOMCharVectorType&amp;
<a name="l00148"></a><a class="code" href="class_xalannumberingresourcebundle.html#a8">00148</a>     <a class="code" href="class_xalannumberingresourcebundle.html#a8">getAlphabet</a>()<font class="keyword"> const
</font>00149 <font class="keyword">    </font>{
00150         <font class="keywordflow">return</font> m_alphabet;
00151     }
00152 
00153     <font class="keyword">const</font> XalanDOMCharVectorType&amp;
<a name="l00154"></a><a class="code" href="class_xalannumberingresourcebundle.html#a9">00154</a>     <a class="code" href="class_xalannumberingresourcebundle.html#a9">getTraditionalAlphabet</a>()<font class="keyword"> const
</font>00155 <font class="keyword">    </font>{
00156         <font class="keywordflow">return</font> m_traditionalAlphabet;
00157     }
00158 
00159     eOrientation
<a name="l00160"></a><a class="code" href="class_xalannumberingresourcebundle.html#a10">00160</a>     <a class="code" href="class_xalannumberingresourcebundle.html#a10">getOrientation</a>()<font class="keyword"> const
</font>00161 <font class="keyword">    </font>{
00162         <font class="keywordflow">return</font> m_orientation;
00163     }
00164 
00165     eNumberingMethod
<a name="l00166"></a><a class="code" href="class_xalannumberingresourcebundle.html#a11">00166</a>     <a class="code" href="class_xalannumberingresourcebundle.html#a11">getNumberingMethod</a>()<font class="keyword"> const
</font>00167 <font class="keyword">    </font>{
00168         <font class="keywordflow">return</font> m_numberingMethod;
00169     }
00170 
00171     eMultiplierOrder
<a name="l00172"></a><a class="code" href="class_xalannumberingresourcebundle.html#a12">00172</a>     <a class="code" href="class_xalannumberingresourcebundle.html#a12">getMultiplierOrder</a>()<font class="keyword"> const
</font>00173 <font class="keyword">    </font>{
00174         <font class="keywordflow">return</font> m_multiplierOrder;
00175     }
00176 
00177     <font class="keywordtype">int</font>
<a name="l00178"></a><a class="code" href="class_xalannumberingresourcebundle.html#a13">00178</a>     <a class="code" href="class_xalannumberingresourcebundle.html#a13">getMaxNumericalValue</a>()<font class="keyword"> const
</font>00179 <font class="keyword">    </font>{
00180         <font class="keywordflow">return</font> m_maxNumericalValue;
00181     }
00182 
00183     <font class="keyword">const</font> IntVectorType&amp;
<a name="l00184"></a><a class="code" href="class_xalannumberingresourcebundle.html#a14">00184</a>     <a class="code" href="class_xalannumberingresourcebundle.html#a14">getNumberGroups</a>()<font class="keyword"> const
</font>00185 <font class="keyword">    </font>{
00186         <font class="keywordflow">return</font> m_numberGroups;
00187     }
00188 
00189     <font class="keyword">const</font> IntVectorType&amp;
<a name="l00190"></a><a class="code" href="class_xalannumberingresourcebundle.html#a15">00190</a>     <a class="code" href="class_xalannumberingresourcebundle.html#a15">getMultipliers</a>()<font class="keyword"> const
</font>00191 <font class="keyword">    </font>{
00192         <font class="keywordflow">return</font> m_multipliers;
00193     }
00194 
00195     <font class="keyword">const</font> XalanDOMCharVectorType&amp;
<a name="l00196"></a><a class="code" href="class_xalannumberingresourcebundle.html#a16">00196</a>     <a class="code" href="class_xalannumberingresourcebundle.html#a16">getZeroChar</a>()<font class="keyword"> const
</font>00197 <font class="keyword">    </font>{
00198         <font class="keywordflow">return</font> m_zeroChar;
00199     }
00200 
00201     <font class="keyword">const</font> XalanDOMCharVectorType&amp;
<a name="l00202"></a><a class="code" href="class_xalannumberingresourcebundle.html#a17">00202</a>     <a class="code" href="class_xalannumberingresourcebundle.html#a17">getMultiplierChars</a>()<font class="keyword"> const
</font>00203 <font class="keyword">    </font>{
00204         <font class="keywordflow">return</font> m_multiplierChars;
00205     }
00206 
00207     <font class="keyword">const</font> DigitsTableVectorType&amp;
<a name="l00208"></a><a class="code" href="class_xalannumberingresourcebundle.html#a18">00208</a>     <a class="code" href="class_xalannumberingresourcebundle.html#a18">getDigitsTable</a>()<font class="keyword"> const
</font>00209 <font class="keyword">    </font>{
00210         <font class="keywordflow">return</font> m_digitsTable;
00211     }
00212 
00213     <font class="keyword">const</font> IntVectorType&amp;
<a name="l00214"></a><a class="code" href="class_xalannumberingresourcebundle.html#a19">00214</a>     <a class="code" href="class_xalannumberingresourcebundle.html#a19">getDigitsTableTable</a>()<font class="keyword"> const
</font>00215 <font class="keyword">    </font>{
00216         <font class="keywordflow">return</font> m_digitsTableTable;
00217     }
00218 
00219 <font class="keyword">private</font>:
00220 
00221     <a class="code" href="class_xalandomstring.html">XalanDOMString</a>          m_language;
00222 
00223     <a class="code" href="class_xalandomstring.html">XalanDOMString</a>          m_uiLanguage;
00224 
00225     <a class="code" href="class_xalandomstring.html">XalanDOMString</a>          m_helpLanguage;
00226 
00227     XalanDOMCharVectorType  m_alphabet;
00228 
00229     XalanDOMCharVectorType  m_traditionalAlphabet;
00230 
00231     eOrientation            m_orientation;
00232 
00233     eNumberingMethod        m_numberingMethod;
00234 
00235     eMultiplierOrder        m_multiplierOrder;
00236 
00237     <font class="keywordtype">int</font>                     m_maxNumericalValue;
00238 
00239     IntVectorType           m_numberGroups;
00240 
00241     IntVectorType           m_multipliers;
00242 
00243     XalanDOMCharVectorType  m_zeroChar;
00244 
00245     XalanDOMCharVectorType  m_multiplierChars;
00246 
00247     DigitsTableVectorType   m_digitsTable;
00248 
00249     IntVectorType           m_digitsTableTable;
00250 };
00251 
00252 
00253 
00254 <font class="preprocessor">#endif  // XALAN_NUMBERINGRESOURCEBUNDLE_HEADER_GUARD
</font></div></pre><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="images/dot.gif" width="1"></TD></TR></TABLE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="80%">
	<TR>
		<TD WIDTH="80%" VALIGN="TOP">
			<P ALIGN="CENTER"><B>Xalan-C++ XSL Transformer Version 1.1</B><BR>
			Copyright &copy; 2000, 2001 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">
		</TD>
	</TR>
</TABLE>