blob: 04ef8f361fdedcc7107056155563fd039aba8b07 [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>FunctionID.hpp</h1><a href="FunctionID_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(FUNCTIONID_HEADER_GUARD_1357924680)</font>
<a name="l00017"></a><a class="code" href="FunctionID_8hpp.html#a0">00017</a> <font class="preprocessor"></font><font class="preprocessor">#define FUNCTIONID_HEADER_GUARD_1357924680</font>
00018 <font class="preprocessor"></font>
00019
00020
00021 <font class="comment">// Base header file. Must be first.</font>
00022 <font class="preprocessor">#include &lt;<a class="code" href="XPathDefinitions_8hpp.html">xalanc/XPath/XPathDefinitions.hpp</a>&gt;</font>
00023
00024
00025
00026 <font class="preprocessor">#include &lt;<a class="code" href="XalanElement_8hpp.html">xalanc/XalanDOM/XalanElement.hpp</a>&gt;</font>
00027 <font class="preprocessor">#include &lt;<a class="code" href="XalanNode_8hpp.html">xalanc/XalanDOM/XalanNode.hpp</a>&gt;</font>
00028 <font class="preprocessor">#include &lt;<a class="code" href="XalanDocument_8hpp.html">xalanc/XalanDOM/XalanDocument.hpp</a>&gt;</font>
00029
00030
00031
00032 <font class="comment">// Base class header files...</font>
00033 <font class="preprocessor">#include &lt;<a class="code" href="Function_8hpp.html">xalanc/XPath/Function.hpp</a>&gt;</font>
00034 <font class="preprocessor">#include &lt;<a class="code" href="XObjectTypeCallback_8hpp.html">xalanc/XPath/XObjectTypeCallback.hpp</a>&gt;</font>
00035
00036
00037
00038 <font class="preprocessor">#include &lt;<a class="code" href="DOMStringHelper_8hpp.html">xalanc/PlatformSupport/DOMStringHelper.hpp</a>&gt;</font>
00039 <font class="preprocessor">#include &lt;<a class="code" href="StringTokenizer_8hpp.html">xalanc/PlatformSupport/StringTokenizer.hpp</a>&gt;</font>
00040
00041
00042
00043 <font class="preprocessor">#include &lt;<a class="code" href="MutableNodeRefList_8hpp.html">xalanc/XPath/MutableNodeRefList.hpp</a>&gt;</font>
00044 <font class="preprocessor">#include &lt;<a class="code" href="NodeRefListBase_8hpp.html">xalanc/XPath/NodeRefListBase.hpp</a>&gt;</font>
00045
00046
00047
00048 XALAN_CPP_NAMESPACE_BEGIN
00049
00050
00051
<a name="l00055"></a><a class="code" href="classFunctionID.html">00055</a> <font class="keyword">class </font>XALAN_XPATH_EXPORT <a class="code" href="classFunctionID.html">FunctionID</a> : <font class="keyword">public</font> <a class="code" href="classFunction.html">Function</a>
00056 {
00057 <font class="keyword">public</font>:
00058
<a name="l00059"></a><a class="code" href="classFunctionID.html#s0">00059</a> <font class="keyword">typedef</font> <a class="code" href="classFunction.html">Function</a> ParentType;
00060
00061 <a class="code" href="classFunctionID.html#a0">FunctionID</a>();
00062
00063 <font class="keyword">virtual</font>
00064 <a class="code" href="classFunctionID.html#a1">~FunctionID</a>();
00065
00066 <font class="comment">// These methods are inherited from Function ...</font>
00067
00068 <font class="keyword">virtual</font> <a class="code" href="classXObjectPtr.html">XObjectPtr</a>
00069 <a class="code" href="classFunction.html#a2">execute</a>(
00070 <a class="code" href="classXPathExecutionContext.html">XPathExecutionContext</a>&amp; executionContext,
00071 <a class="code" href="classXalanNode.html">XalanNode</a>* context,
00072 <font class="keyword">const</font> <a class="code" href="classXObjectPtr.html">XObjectPtr</a> arg1,
00073 <font class="keyword">const</font> LocatorType* locator) <font class="keyword">const</font>;
00074
00075 <font class="preprocessor">#if !defined(XALAN_NO_USING_DECLARATION)</font>
00076 <font class="preprocessor"></font> <font class="keyword">using</font> ParentType::execute;
00077 <font class="preprocessor">#endif</font>
00078 <font class="preprocessor"></font>
00079 <font class="preprocessor">#if defined(XALAN_NO_COVARIANT_RETURN_TYPE)</font>
00080 <font class="preprocessor"></font> <font class="keyword">virtual</font> <a class="code" href="classFunction.html">Function</a>*
00081 <font class="preprocessor">#else</font>
00082 <font class="preprocessor"></font> <font class="keyword">virtual</font> <a class="code" href="classFunctionID.html">FunctionID</a>*
00083 <font class="preprocessor">#endif</font>
00084 <font class="preprocessor"></font> <a class="code" href="classFunction.html#a7">clone</a>(MemoryManagerType&amp; theManager) <font class="keyword">const</font>;
00085
00086 <font class="keyword">protected</font>:
00087
00088 <font class="keyword">virtual</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp;
00089 <a class="code" href="classFunction.html#b0">getError</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; theResult) <font class="keyword">const</font>;
00090
00091 <font class="keyword">private</font>:
00092
00093 <font class="keyword">class </font>FunctionIDXObjectTypeCallback : <font class="keyword">public</font> <a class="code" href="classXObjectTypeCallback.html">XObjectTypeCallback</a>
00094 {
00095 <font class="keyword">public</font>:
00096
00097 FunctionIDXObjectTypeCallback(
00098 <a class="code" href="classXPathExecutionContext.html">XPathExecutionContext</a>&amp; theExecutionContext,
00099 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; theString);
00100
00101 <font class="keywordtype">void</font>
00102 processCallback(<font class="keyword">const</font> <a class="code" href="classXObject.html">XObject</a>&amp; theXObject);
00103
00104 <font class="comment">// These methods are inherited from XObjectTypeCallback ...</font>
00105
00106 <font class="keyword">virtual</font> <font class="keywordtype">void</font>
00107 Number(
00108 <font class="keyword">const</font> <a class="code" href="classXObject.html">XObject</a>&amp; theXObject,
00109 <font class="keywordtype">double</font> <font class="comment">/* theValue */</font>);
00110
00111 <font class="keyword">virtual</font> <font class="keywordtype">void</font>
00112 Boolean(
00113 <font class="keyword">const</font> <a class="code" href="classXObject.html">XObject</a>&amp; theXObject,
00114 <font class="keywordtype">bool</font> <font class="comment">/* theValue */</font>);
00115
00116 <font class="keyword">virtual</font> <font class="keywordtype">void</font>
00117 String(
00118 <font class="keyword">const</font> <a class="code" href="classXObject.html">XObject</a>&amp; theXObject,
00119 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; <font class="comment">/* theValue */</font>);
00120
00121 <font class="keyword">virtual</font> <font class="keywordtype">void</font>
00122 ResultTreeFragment(
00123 <font class="keyword">const</font> <a class="code" href="classXObject.html">XObject</a>&amp; theXObject,
00124 <font class="keyword">const</font> <a class="code" href="classXalanDocumentFragment.html">XalanDocumentFragment</a>&amp; <font class="comment">/* theValue */</font>);
00125
00126 <font class="keyword">virtual</font> <font class="keywordtype">void</font>
00127 ResultTreeFragment(
00128 <font class="keyword">const</font> <a class="code" href="classXObject.html">XObject</a>&amp; theXObject,
00129 <a class="code" href="classXalanDocumentFragment.html">XalanDocumentFragment</a>&amp; <font class="comment">/* theValue */</font>);
00130
00131 <font class="keyword">virtual</font> <font class="keywordtype">void</font>
00132 NodeSet(
00133 <font class="keyword">const</font> <a class="code" href="classXObject.html">XObject</a>&amp; <font class="comment">/* theXObject */</font>,
00134 <font class="keyword">const</font> <a class="code" href="classNodeRefListBase.html">NodeRefListBase</a>&amp; theValue);
00135
00136 <font class="keyword">virtual</font> <font class="keywordtype">void</font>
00137 Unknown(
00138 <font class="keyword">const</font> <a class="code" href="classXObject.html">XObject</a>&amp; <font class="comment">/* theObject */</font>,
00139 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; <font class="comment">/* theName */</font>);
00140
00141 <font class="keyword">virtual</font> <font class="keywordtype">void</font>
00142 Null(<font class="keyword">const</font> <a class="code" href="classXObject.html">XObject</a>&amp; <font class="comment">/* theObject */</font>);
00143
00144 <font class="keyword">private</font>:
00145
00146 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; m_resultString;
00147
00148 <a class="code" href="classXPathExecutionContext.html">XPathExecutionContext</a>&amp; m_executionContext;
00149 };
00150
00151 <font class="comment">// Not implemented...</font>
00152 <a class="code" href="classFunctionID.html">FunctionID</a>&amp;
00153 operator=(<font class="keyword">const</font> <a class="code" href="classFunctionID.html">FunctionID</a>&amp;);
00154
00155 <font class="keywordtype">bool</font>
00156 <a class="code" href="ElemAttributeSet_8hpp.html#a1">operator==</a>(<font class="keyword">const</font> <a class="code" href="classFunctionID.html">FunctionID</a>&amp;) <font class="keyword">const</font>;
00157 };
00158
00159
00160
00161 XALAN_CPP_NAMESPACE_END
00162
00163
00164
00165 <font class="preprocessor">#endif // FUNCTIONID_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>