| <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>KeyDeclaration.hpp</h1><a href="KeyDeclaration_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_KEYDECLARATION_HEADER_GUARD)</font> |
| <a name="l00017"></a><a class="code" href="KeyDeclaration_8hpp.html#a0">00017</a> <font class="preprocessor"></font><font class="preprocessor">#define XALAN_KEYDECLARATION_HEADER_GUARD</font> |
| 00018 <font class="preprocessor"></font> |
| 00019 |
| 00020 |
| 00021 <font class="comment">// Base include file. Must be first.</font> |
| 00022 <font class="preprocessor">#include "<a class="code" href="XSLTDefinitions_8hpp.html">XSLTDefinitions.hpp</a>"</font> |
| 00023 |
| 00024 |
| 00025 |
| 00026 XALAN_CPP_NAMESPACE_BEGIN |
| 00027 |
| 00028 |
| 00029 |
| 00030 <font class="preprocessor">#include <<a class="code" href="XalanLocator_8hpp.html">xalanc/PlatformSupport/XalanLocator.hpp</a>></font> |
| 00031 |
| 00032 |
| 00033 |
| <a name="l00034"></a><a class="code" href="KeyDeclaration_8hpp.html#a1">00034</a> <font class="keyword">class </font><a class="code" href="classXPath.html">XPath</a>; |
| 00035 |
| 00036 |
| 00037 |
| <a name="l00041"></a><a class="code" href="classKeyDeclaration.html">00041</a> <font class="keyword">class </font><a class="code" href="classKeyDeclaration.html">KeyDeclaration</a> |
| 00042 { |
| 00043 <font class="keyword">public</font>: |
| 00044 |
| <a name="l00052"></a><a class="code" href="classKeyDeclaration.html#a0">00052</a> <a class="code" href="classKeyDeclaration.html#a1">KeyDeclaration</a>( |
| 00053 <font class="keyword">const</font> <a class="code" href="classXalanQName.html">XalanQName</a>& qname, |
| 00054 <font class="keyword">const</font> <a class="code" href="classXPath.html">XPath</a>& matchPattern, |
| 00055 <font class="keyword">const</font> <a class="code" href="classXPath.html">XPath</a>& use, |
| 00056 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& uri, |
| 00057 XalanLocator::size_type lineNumber, |
| 00058 XalanLocator::size_type columnNumber) : |
| 00059 m_qname(&qname), |
| 00060 m_match(&matchPattern), |
| 00061 m_use(&use), |
| 00062 m_uri(&uri), |
| 00063 m_lineNumber(lineNumber), |
| 00064 m_columnNumber(columnNumber) |
| 00065 { |
| 00066 } |
| 00067 |
| 00068 <font class="keyword">explicit</font> |
| <a name="l00069"></a><a class="code" href="classKeyDeclaration.html#a1">00069</a> <a class="code" href="classKeyDeclaration.html#a1">KeyDeclaration</a>() : |
| 00070 m_qname(0), |
| 00071 m_match(0), |
| 00072 m_use(0), |
| 00073 m_uri(0), |
| 00074 m_lineNumber(0), |
| 00075 m_columnNumber(0) |
| 00076 { |
| 00077 } |
| 00078 |
| <a name="l00079"></a><a class="code" href="classKeyDeclaration.html#a2">00079</a> <a class="code" href="classKeyDeclaration.html#a1">KeyDeclaration</a>(<font class="keyword">const</font> <a class="code" href="classKeyDeclaration.html">KeyDeclaration</a>& theSource) : |
| 00080 m_qname(theSource.m_qname), |
| 00081 m_match(theSource.m_match), |
| 00082 m_use(theSource.m_use) |
| 00083 { |
| 00084 } |
| 00085 |
| <a name="l00086"></a><a class="code" href="classKeyDeclaration.html#a3">00086</a> <a class="code" href="classKeyDeclaration.html#a3">~KeyDeclaration</a>()<font class="keyword"></font> |
| 00087 <font class="keyword"> </font>{ |
| 00088 } |
| 00089 |
| 00095 <font class="keyword">const</font> <a class="code" href="classXalanQName.html">XalanQName</a>* |
| <a name="l00096"></a><a class="code" href="classKeyDeclaration.html#a4">00096</a> <a class="code" href="classKeyDeclaration.html#a4">getQName</a>()<font class="keyword"> const</font> |
| 00097 <font class="keyword"> </font>{ |
| 00098 <font class="keywordflow">return</font> m_qname; |
| 00099 } |
| 00100 |
| 00106 <font class="keyword">const</font> <a class="code" href="classXPath.html">XPath</a>* |
| <a name="l00107"></a><a class="code" href="classKeyDeclaration.html#a5">00107</a> <a class="code" href="classKeyDeclaration.html#a5">getUse</a>()<font class="keyword"> const</font> |
| 00108 <font class="keyword"> </font>{ |
| 00109 <font class="keywordflow">return</font> m_use; |
| 00110 } |
| 00111 |
| 00117 <font class="keyword">const</font> <a class="code" href="classXPath.html">XPath</a>* |
| <a name="l00118"></a><a class="code" href="classKeyDeclaration.html#a6">00118</a> <a class="code" href="classKeyDeclaration.html#a6">getMatchPattern</a>()<font class="keyword"> const</font> |
| 00119 <font class="keyword"> </font>{ |
| 00120 <font class="keywordflow">return</font> m_match; |
| 00121 } |
| 00122 |
| 00128 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>* |
| <a name="l00129"></a><a class="code" href="classKeyDeclaration.html#a7">00129</a> <a class="code" href="classKeyDeclaration.html#a7">getURI</a>()<font class="keyword"> const</font> |
| 00130 <font class="keyword"> </font>{ |
| 00131 <font class="keywordflow">return</font> m_uri; |
| 00132 } |
| 00133 |
| 00139 XalanLocator::size_type |
| <a name="l00140"></a><a class="code" href="classKeyDeclaration.html#a8">00140</a> <a class="code" href="classKeyDeclaration.html#a8">getLineNumber</a>()<font class="keyword"> const</font> |
| 00141 <font class="keyword"> </font>{ |
| 00142 <font class="keywordflow">return</font> m_lineNumber; |
| 00143 } |
| 00144 |
| 00150 XalanLocator::size_type |
| <a name="l00151"></a><a class="code" href="classKeyDeclaration.html#a9">00151</a> <a class="code" href="classKeyDeclaration.html#a9">getColumnNumber</a>()<font class="keyword"> const</font> |
| 00152 <font class="keyword"> </font>{ |
| 00153 <font class="keywordflow">return</font> m_columnNumber; |
| 00154 } |
| 00155 |
| 00156 <font class="keyword">private</font>: |
| 00157 |
| 00158 <font class="keyword">const</font> <a class="code" href="classXalanQName.html">XalanQName</a>* m_qname; |
| 00159 |
| 00160 <font class="keyword">const</font> <a class="code" href="classXPath.html">XPath</a>* m_match; |
| 00161 |
| 00162 <font class="keyword">const</font> <a class="code" href="classXPath.html">XPath</a>* m_use; |
| 00163 |
| 00164 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>* m_uri; |
| 00165 |
| 00166 XalanLocator::size_type m_lineNumber; |
| 00167 |
| 00168 XalanLocator::size_type m_columnNumber; |
| 00169 }; |
| 00170 |
| 00171 |
| 00172 |
| 00173 XALAN_CPP_NAMESPACE_END |
| 00174 |
| 00175 |
| 00176 |
| 00177 <font class="preprocessor">#endif // XALAN_KEYDECLARATION_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>
|