blob: 232180d7054675a0ab3838b5b04362db72f7a791 [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>XResultTreeFrag.hpp</h1><a href="XResultTreeFrag_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(XRESULTTREEFRAG_HEADER_GUARD_1357924680)</font>
<a name="l00017"></a><a class="code" href="XResultTreeFrag_8hpp.html#a0">00017</a> <font class="preprocessor"></font><font class="preprocessor">#define XRESULTTREEFRAG_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="XSLTDefinitions_8hpp.html">xalanc/XSLT/XSLTDefinitions.hpp</a>&gt;</font>
00023
00024
00025
00026 <font class="preprocessor">#include &lt;<a class="code" href="XalanDOMString_8hpp.html">xalanc/XalanDOM/XalanDOMString.hpp</a>&gt;</font>
00027
00028
00029
00030 <font class="preprocessor">#if defined(XALAN_AUTO_PTR_REQUIRES_DEFINITION)</font>
00031 <font class="preprocessor"></font><font class="preprocessor">#include &lt;xalanc/XPath/ResultTreeFragBase.hpp&gt;</font>
00032 <font class="preprocessor">#endif</font>
00033 <font class="preprocessor"></font>
00034
00035
00036
00037 <font class="comment">// Base class header file.</font>
00038 <font class="preprocessor">#include &lt;<a class="code" href="NodeRefListBase_8hpp.html">xalanc/XPath/NodeRefListBase.hpp</a>&gt;</font>
00039 <font class="preprocessor">#include &lt;<a class="code" href="XObject_8hpp.html">xalanc/XPath/XObject.hpp</a>&gt;</font>
00040
00041
00042
00043 <font class="preprocessor">#include &lt;<a class="code" href="StylesheetExecutionContext_8hpp.html">xalanc/XSLT/StylesheetExecutionContext.hpp</a>&gt;</font>
00044
00045
00046
00047 XALAN_CPP_NAMESPACE_BEGIN
00048
00049
00050
<a name="l00051"></a><a class="code" href="XResultTreeFrag_8hpp.html#a1">00051</a> <font class="keyword">class </font>ResultTreeFrag;
00052
00053
00054
<a name="l00055"></a><a class="code" href="classXResultTreeFrag.html">00055</a> <font class="keyword">class </font>XALAN_XSLT_EXPORT <a class="code" href="classXResultTreeFrag.html">XResultTreeFrag</a> : <font class="keyword">public</font> <a class="code" href="classXObject.html">XObject</a>
00056 {
00057 <font class="keyword">public</font>:
00058
<a name="l00059"></a><a class="code" href="classXResultTreeFrag.html#s0">00059</a> <font class="keyword">typedef</font> <a class="code" href="classXObject.html">XObject</a> ParentType;
00060
00061
00067 <a class="code" href="classXResultTreeFrag.html#a0">XResultTreeFrag</a>(<a class="code" href="classXalanDocumentFragment.html">XalanDocumentFragment</a>&amp; value,
00068 MemoryManagerType&amp; theManager);
00069
00076 <a class="code" href="classXResultTreeFrag.html#a0">XResultTreeFrag</a>(
00077 <font class="keyword">const</font> <a class="code" href="classXResultTreeFrag.html">XResultTreeFrag</a>&amp; source,
00078 MemoryManagerType&amp; theManager,
00079 <font class="keywordtype">bool</font> deepClone = <font class="keyword">false</font>);
00080
00081 <font class="keyword">virtual</font>
00082 <a class="code" href="classXResultTreeFrag.html#a2">~XResultTreeFrag</a>();
00083
00084 MemoryManagerType&amp;
<a name="l00085"></a><a class="code" href="classXResultTreeFrag.html#a3">00085</a> <a class="code" href="classXResultTreeFrag.html#a3">getMemoryManager</a>()<font class="keyword">const</font>
00086 {
00087 <font class="keywordflow">return</font> m_cachedStringValue.<a class="code" href="classXalanDOMString.html#a72">getMemoryManager</a>();
00088 }
00089
00090 <font class="keywordtype">void</font>
<a name="l00091"></a><a class="code" href="classXResultTreeFrag.html#a4">00091</a> <a class="code" href="classXResultTreeFrag.html#a4">setExecutionContext</a>(<a class="code" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a>* theExecutionContext)<font class="keyword"></font>
00092 <font class="keyword"> </font>{
00093 m_executionContext = theExecutionContext;
00094 }
00095
00096 <font class="comment">// These methods are inherited from XObject ...</font>
00097
00098 <font class="keyword">virtual</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp;
00099 <a class="code" href="classXObject.html#a2">getTypeString</a>() <font class="keyword">const</font>;
00100
00101 <font class="keyword">virtual</font> <font class="keywordtype">double</font>
00102 <a class="code" href="classXObject.html#a3">num</a>() <font class="keyword">const</font>;
00103
00104 <font class="keyword">virtual</font> <font class="keywordtype">bool</font>
00105 <a class="code" href="classXObject.html#a4">boolean</a>() <font class="keyword">const</font>;
00106
00107 <font class="keyword">virtual</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp;
00108 <a class="code" href="classXObject.html#a5">str</a>() <font class="keyword">const</font>;
00109
00110 <font class="keyword">virtual</font> <font class="keywordtype">void</font>
00111 <a class="code" href="classXObject.html#a5">str</a>(
00112 <a class="code" href="classFormatterListener.html">FormatterListener</a>&amp; formatterListener,
00113 MemberFunctionPtr function) <font class="keyword">const</font>;
00114
00115 <font class="keyword">virtual</font> <font class="keywordtype">void</font>
00116 <a class="code" href="classXObject.html#a5">str</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; theBuffer) <font class="keyword">const</font>;
00117
00118 <font class="keyword">virtual</font> <font class="keywordtype">double</font>
00119 <a class="code" href="classXObject.html#a7">stringLength</a>() <font class="keyword">const</font>;
00120
00121 <font class="keyword">virtual</font> <font class="keyword">const</font> <a class="code" href="classXalanDocumentFragment.html">XalanDocumentFragment</a>&amp;
00122 <a class="code" href="classXObject.html#a9">rtree</a>() <font class="keyword">const</font>;
00123
00124 <font class="keyword">virtual</font> <font class="keyword">const</font> <a class="code" href="classNodeRefListBase.html">NodeRefListBase</a>&amp;
00125 <a class="code" href="classXObject.html#a10">nodeset</a>() <font class="keyword">const</font>;
00126
00127 <font class="keyword">virtual</font> <font class="keywordtype">void</font>
00128 <a class="code" href="classXObject.html#a11">ProcessXObjectTypeCallback</a>(<a class="code" href="classXObjectTypeCallback.html">XObjectTypeCallback</a>&amp; theCallbackObject);
00129
00130 <font class="keyword">virtual</font> <font class="keywordtype">void</font>
00131 <a class="code" href="classXObject.html#a11">ProcessXObjectTypeCallback</a>(<a class="code" href="classXObjectTypeCallback.html">XObjectTypeCallback</a>&amp; theCallbackObject) <font class="keyword">const</font>;
00132
00136 <a class="code" href="classXalanDocumentFragment.html">XalanDocumentFragment</a>*
00137 <a class="code" href="classXResultTreeFrag.html#a16">release</a>();
00138
00144 <font class="keywordtype">void</font>
00145 <a class="code" href="classXResultTreeFrag.html#a17">set</a>(<a class="code" href="classXalanDocumentFragment.html">XalanDocumentFragment</a>&amp; theValue);
00146
00147 <font class="keyword">protected</font>:
00148
00149 <font class="keyword">virtual</font> <font class="keywordtype">void</font>
00150 <a class="code" href="classXObject.html#b2">dereferenced</a>();
00151
00152 <font class="keyword">private</font>:
00153 <font class="comment">//not implemented</font>
00154 <a class="code" href="classXResultTreeFrag.html#a0">XResultTreeFrag</a>();
00155 <a class="code" href="classXResultTreeFrag.html#a0">XResultTreeFrag</a>(<font class="keyword">const</font> <a class="code" href="classXResultTreeFrag.html">XResultTreeFrag</a>&amp;);
00156
00157 <font class="comment">// Data members...</font>
00158 <a class="code" href="classXalanDocumentFragment.html">XalanDocumentFragment</a>* m_value;
00159
00160 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>* m_singleTextChildValue;
00161
00162 <a class="code" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a>* m_executionContext;
00163
00164 <font class="keyword">mutable</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a> m_cachedStringValue;
00165
00166 <font class="keyword">mutable</font> <font class="keywordtype">double</font> m_cachedNumberValue;
00167 };
00168
00169
00170
00171 XALAN_CPP_NAMESPACE_END
00172
00173
00174
00175 <font class="preprocessor">#endif // XRESULTTREEFRAG_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>