blob: 5ef85c1436a6e76c3de319f5e883a202d0c5de34 [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>NodeSortKey.hpp</h1><a href="NodeSortKey_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
00017 <font class="preprocessor">#if !defined(XALAN_NODESORTKEY_HEADER_GUARD)</font>
<a name="l00018"></a><a class="code" href="NodeSortKey_8hpp.html#a0">00018</a> <font class="preprocessor"></font><font class="preprocessor">#define XALAN_NODESORTKEY_HEADER_GUARD</font>
00019 <font class="preprocessor"></font>
00025
00026
00027
00028 <font class="comment">// Base include file. Must be first.</font>
00029 <font class="preprocessor">#include "<a class="code" href="XSLTDefinitions_8hpp.html">XSLTDefinitions.hpp</a>"</font>
00030
00031
00032
00033 <font class="comment">// $$$ ToDo: This is necessary while XalanDOMString is a typedef.</font>
00034 <font class="preprocessor">#include &lt;<a class="code" href="XalanDOMString_8hpp.html">xalanc/XalanDOM/XalanDOMString.hpp</a>&gt;</font>
00035
00036
00037
00038 <font class="preprocessor">#include &lt;<a class="code" href="XalanCollationServices_8hpp.html">xalanc/PlatformSupport/XalanCollationServices.hpp</a>&gt;</font>
00039
00040
00041
00042 XALAN_CPP_NAMESPACE_BEGIN
00043
00044
00045
<a name="l00046"></a><a class="code" href="NodeSortKey_8hpp.html#a1">00046</a> <font class="keyword">class </font><a class="code" href="classExecutionContext.html">ExecutionContext</a>;
00047 <font class="keyword">class </font><a class="code" href="classPrefixResolver.html">PrefixResolver</a>;
00048 <font class="keyword">class </font><a class="code" href="classXPath.html">XPath</a>;
00049
00050
00051
<a name="l00055"></a><a class="code" href="classNodeSortKey.html">00055</a> <font class="keyword">class </font>XALAN_XSLT_EXPORT <a class="code" href="classNodeSortKey.html">NodeSortKey</a>
00056 {
00057 <font class="keyword">public</font>:
00058
00070 <a class="code" href="classNodeSortKey.html#a1">NodeSortKey</a>(
00071 <a class="code" href="classExecutionContext.html">ExecutionContext</a>&amp; executionContext,
00072 <font class="keyword">const</font> <a class="code" href="classXPath.html">XPath</a>* selectPat,
00073 <font class="keywordtype">bool</font> treatAsNumbers,
00074 <font class="keywordtype">bool</font> descending,
00075 XalanCollationServices::eCaseOrder caseOrder,
00076 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; langValue,
00077 <font class="keyword">const</font> <a class="code" href="classPrefixResolver.html">PrefixResolver</a>&amp; resolver);
00078
00079 <a class="code" href="classNodeSortKey.html#a1">NodeSortKey</a>();
00080
00081 <a class="code" href="classNodeSortKey.html#a1">NodeSortKey</a>(<font class="keyword">const</font> <a class="code" href="classNodeSortKey.html">NodeSortKey</a>&amp; theSource);
00082
00083 <a class="code" href="classNodeSortKey.html#a3">~NodeSortKey</a>();
00084
00085 <a class="code" href="classNodeSortKey.html">NodeSortKey</a>&amp;
00086 <a class="code" href="classNodeSortKey.html#a4">operator=</a>(<font class="keyword">const</font> <a class="code" href="classNodeSortKey.html">NodeSortKey</a>&amp; theRHS);
00087
00093 <font class="keyword">const</font> <a class="code" href="classXPath.html">XPath</a>*
<a name="l00094"></a><a class="code" href="classNodeSortKey.html#a5">00094</a> <a class="code" href="classNodeSortKey.html#a5">getSelectPattern</a>()<font class="keyword"> const</font>
00095 <font class="keyword"> </font>{
00096 <font class="keywordflow">return</font> m_selectPat;
00097 }
00098
00104 <font class="keywordtype">bool</font>
<a name="l00105"></a><a class="code" href="classNodeSortKey.html#a6">00105</a> <a class="code" href="classNodeSortKey.html#a6">getTreatAsNumbers</a>()<font class="keyword"> const</font>
00106 <font class="keyword"> </font>{
00107 <font class="keywordflow">return</font> m_treatAsNumbers;
00108 }
00109
00115 <font class="keywordtype">bool</font>
<a name="l00116"></a><a class="code" href="classNodeSortKey.html#a7">00116</a> <a class="code" href="classNodeSortKey.html#a7">getDescending</a>()<font class="keyword"> const</font>
00117 <font class="keyword"> </font>{
00118 <font class="keywordflow">return</font> m_descending;
00119 }
00120
00126 XalanCollationServices::eCaseOrder
<a name="l00127"></a><a class="code" href="classNodeSortKey.html#a8">00127</a> <a class="code" href="classNodeSortKey.html#a8">getCaseOrder</a>()<font class="keyword"> const</font>
00128 <font class="keyword"> </font>{
00129 <font class="keywordflow">return</font> m_caseOrder;
00130 }
00131
00137 <font class="keyword">const</font> <a class="code" href="classPrefixResolver.html">PrefixResolver</a>*
<a name="l00138"></a><a class="code" href="classNodeSortKey.html#a9">00138</a> <a class="code" href="classNodeSortKey.html#a9">getPrefixResolver</a>()<font class="keyword"> const</font>
00139 <font class="keyword"> </font>{
00140 <font class="keywordflow">return</font> m_prefixResolver;
00141 }
00142
00143 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp;
<a name="l00144"></a><a class="code" href="classNodeSortKey.html#a10">00144</a> <a class="code" href="classNodeSortKey.html#a10">getLanguageString</a>()<font class="keyword"> const</font>
00145 <font class="keyword"> </font>{
00146 <font class="keywordflow">return</font> *m_languageString;
00147 }
00148
00149 <font class="keyword">private</font>:
00150
00151 <a class="code" href="classExecutionContext.html">ExecutionContext</a>* m_executionContext; <font class="comment">// needed for error reporting.</font>
00152
00153 <font class="keyword">const</font> <a class="code" href="classXPath.html">XPath</a>* m_selectPat;
00154
00155 <font class="keywordtype">bool</font> m_treatAsNumbers;
00156 <font class="keywordtype">bool</font> m_descending;
00157
00158 XalanCollationServices::eCaseOrder m_caseOrder;
00159
00160 <font class="keyword">const</font> <a class="code" href="classPrefixResolver.html">PrefixResolver</a>* m_prefixResolver;
00161
00162 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>* m_languageString;
00163 };
00164
00165
00166
00167 XALAN_CPP_NAMESPACE_END
00168
00169
00170
00171 <font class="preprocessor">#endif</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>