| <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> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> |
| <hr><h1>KeyTable.hpp</h1><a href="KeyTable_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(XALAN_KEYTABLE_HEADER_GUARD)</font> |
| <a name="l00017"></a><a class="code" href="KeyTable_8hpp.html#a0">00017</a> <font class="preprocessor"></font><font class="preprocessor">#define XALAN_KEYTABLE_HEADER_GUARD </font> |
| 00018 <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="preprocessor">#include <<a class="code" href="XalanDOMString_8hpp.html">xalanc/XalanDOM/XalanDOMString.hpp</a>></font> |
| 00034 |
| 00035 |
| 00036 |
| 00037 <font class="preprocessor">#include <<a class="code" href="XalanVector_8hpp.html">xalanc/Include/XalanVector.hpp</a>></font> |
| 00038 <font class="preprocessor">#include <<a class="code" href="XalanMap_8hpp.html">xalanc/Include/XalanMap.hpp</a>></font> |
| 00039 |
| 00040 |
| 00041 |
| 00042 <font class="preprocessor">#include <<a class="code" href="DOMStringHelper_8hpp.html">xalanc/PlatformSupport/DOMStringHelper.hpp</a>></font> |
| 00043 |
| 00044 |
| 00045 |
| 00046 <font class="preprocessor">#include <<a class="code" href="MutableNodeRefList_8hpp.html">xalanc/XPath/MutableNodeRefList.hpp</a>></font> |
| 00047 <font class="preprocessor">#include <<a class="code" href="XalanQNameByReference_8hpp.html">xalanc/XPath/XalanQNameByReference.hpp</a>></font> |
| 00048 |
| 00049 |
| 00050 |
| 00051 XALAN_CPP_NAMESPACE_BEGIN |
| 00052 |
| 00053 |
| 00054 |
| <a name="l00055"></a><a class="code" href="KeyTable_8hpp.html#a1">00055</a> <font class="keyword">class </font><a class="code" href="classKeyDeclaration.html">KeyDeclaration</a>; |
| 00056 <font class="keyword">class </font><a class="code" href="classNodeRefListBase.html">NodeRefListBase</a>; |
| 00057 <font class="keyword">class </font><a class="code" href="classPrefixResolver.html">PrefixResolver</a>; |
| 00058 <font class="keyword">class </font><a class="code" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a>; |
| 00059 <font class="keyword">class </font><a class="code" href="classXalanElement.html">XalanElement</a>; |
| 00060 <font class="keyword">class </font><a class="code" href="classXalanDocument.html">XalanDocument</a>; |
| 00061 <font class="keyword">class </font><a class="code" href="classXalanNode.html">XalanNode</a>; |
| 00062 |
| 00063 |
| 00064 |
| 00065 |
| 00072 |
| <a name="l00073"></a><a class="code" href="KeyTable_8hpp.html#a2">00073</a> <font class="keyword">typedef</font> <a class="code" href="classXalanMap.html">XalanMap<XalanDOMString, MutableNodeRefList></a> <a class="code" href="classXalanMap.html">NodeListMapTypeDefinitions</a>; |
| <a name="l00074"></a><a class="code" href="KeyTable_8hpp.html#a3">00074</a> <a class="code" href="XalanMemoryManagement_8hpp.html#a4">XALAN_USES_MEMORY_MANAGER</a>(<a class="code" href="classXalanMap.html">NodeListMapTypeDefinitions</a>) |
| 00075 |
| 00076 |
| 00077 <font class="keyword">class </font>KeyTable |
| 00078 { |
| 00079 <font class="keyword">public</font>: |
| 00080 |
| 00081 <font class="keyword">typedef</font> XalanVector<KeyDeclaration> KeyDeclarationVectorType; |
| 00082 |
| 00083 <font class="keyword">typedef</font> <a class="code" href="classXalanMap.html">NodeListMapTypeDefinitions</a> NodeListMapType; |
| 00084 |
| 00085 <font class="keyword">typedef</font> <a class="code" href="classXalanMap.html">XalanMap<XalanQNameByReference, NodeListMapType></a> KeysMapType; |
| 00086 |
| 00096 KeyTable( |
| 00097 <a class="code" href="classXalanNode.html">XalanNode</a>* startNode, |
| 00098 <font class="keyword">const</font> <a class="code" href="classPrefixResolver.html">PrefixResolver</a>& resolver, |
| 00099 <font class="keyword">const</font> KeyDeclarationVectorType& keyDeclarations, |
| 00100 <a class="code" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a>& executionContext); |
| 00101 |
| 00102 <font class="keyword">static</font> KeyTable* |
| 00103 create(MemoryManagerType& theManager, |
| 00104 <a class="code" href="classXalanNode.html">XalanNode</a>* startNode, |
| 00105 <font class="keyword">const</font> <a class="code" href="classPrefixResolver.html">PrefixResolver</a>& resolver, |
| 00106 <font class="keyword">const</font> KeyDeclarationVectorType& keyDeclarations, |
| 00107 <a class="code" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a>& executionContext); |
| 00108 |
| 00109 <font class="keyword">virtual</font> |
| 00110 ~KeyTable(); |
| 00111 |
| 00124 <font class="keyword">const</font> <a class="code" href="classMutableNodeRefList.html">MutableNodeRefList</a>& |
| 00125 getNodeSetByKey( |
| 00126 <font class="keyword">const</font> <a class="code" href="classXalanQName.html">XalanQName</a>& qname, |
| 00127 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& ref) <font class="keyword">const</font>; |
| 00128 |
| 00129 <font class="keyword">private</font>: |
| 00130 |
| 00131 <font class="keyword">static</font> <font class="keywordtype">void</font> |
| 00132 processKeyDeclaration( |
| 00133 KeysMapType& theKeys, |
| 00134 <font class="keyword">const</font> <a class="code" href="classKeyDeclaration.html">KeyDeclaration</a>& kd, |
| 00135 <a class="code" href="classXalanNode.html">XalanNode</a>* testNode, |
| 00136 <font class="keyword">const</font> <a class="code" href="classPrefixResolver.html">PrefixResolver</a>& resolver, |
| 00137 <a class="code" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a>& executionContext); |
| 00138 |
| 00143 <font class="keyword">const</font> <a class="code" href="classXalanDocument.html">XalanDocument</a>* m_docKey; |
| 00144 |
| 00156 |
| 00157 KeysMapType m_keys; |
| 00158 |
| 00159 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classMutableNodeRefList.html">MutableNodeRefList</a> s_dummyList; |
| 00160 }; |
| 00161 |
| 00162 |
| 00163 |
| 00164 XALAN_CPP_NAMESPACE_END |
| 00165 |
| 00166 |
| 00167 |
| 00168 <font class="preprocessor">#endif // XALAN_KEYTABLE_HEADER_GUARD</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 © 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>
|