blob: fb18a47a2f1e5d889b8b45c0cc202d5aa6c446b9 [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>TopLevelArg.hpp</h1><a href="TopLevelArg_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_TOPLEVELARG_HEADER_GUARD)</font>
<a name="l00018"></a><a class="code" href="TopLevelArg_8hpp.html#a0">00018</a> <font class="preprocessor"></font><font class="preprocessor">#define XALAN_TOPLEVELARG_HEADER_GUARD</font>
00019 <font class="preprocessor"></font>
00020
00021
00022
00023 <font class="comment">// Base include file. Must be first.</font>
00024 <font class="preprocessor">#include &lt;<a class="code" href="XSLTDefinitions_8hpp.html">xalanc/XSLT/XSLTDefinitions.hpp</a>&gt;</font>
00025
00026
00027
00028 <font class="preprocessor">#include &lt;<a class="code" href="XalanDOMString_8hpp.html">xalanc/XalanDOM/XalanDOMString.hpp</a>&gt;</font>
00029
00030
00031
00032 <font class="preprocessor">#include &lt;<a class="code" href="XalanQNameByValue_8hpp.html">xalanc/XPath/XalanQNameByValue.hpp</a>&gt;</font>
00033 <font class="preprocessor">#include &lt;<a class="code" href="XObject_8hpp.html">xalanc/XPath/XObject.hpp</a>&gt;</font>
00034
00035
00036
00037 XALAN_CPP_NAMESPACE_BEGIN
00038
00039
00040
<a name="l00041"></a><a class="code" href="TopLevelArg_8hpp.html#a1">00041</a> <font class="keyword">class </font><a class="code" href="classXObjectPtr.html">XObjectPtr</a>;
00042
00043
00044
<a name="l00048"></a><a class="code" href="classTopLevelArg.html">00048</a> <font class="keyword">class </font>XALAN_XSLT_EXPORT <a class="code" href="classTopLevelArg.html">TopLevelArg</a>
00049 {
00050 <font class="keyword">public</font>:
00051
00058 <a class="code" href="classTopLevelArg.html#a0">TopLevelArg</a>(
00059 MemoryManagerType&amp; theManager,
00060 <font class="keyword">const</font> <a class="code" href="classXalanQName.html">XalanQName</a>&amp; name,
00061 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; expr);
00062
00063 <font class="keyword">static</font> <a class="code" href="classTopLevelArg.html">TopLevelArg</a>*
00064 <a class="code" href="classTopLevelArg.html#d0">create</a>(
00065 MemoryManagerType&amp; theManager,
00066 <font class="keyword">const</font> <a class="code" href="classXalanQName.html">XalanQName</a>&amp; name,
00067 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; expr);
00074 <a class="code" href="classTopLevelArg.html#a0">TopLevelArg</a>(
00075 MemoryManagerType&amp; theManager,
00076 <font class="keyword">const</font> <a class="code" href="classXalanQName.html">XalanQName</a>&amp; name,
00077 <font class="keyword">const</font> <a class="code" href="classXObjectPtr.html">XObjectPtr</a> variable = <a class="code" href="TopLevelArg_8hpp.html#a1">XObjectPtr</a>());
00078
00079 <font class="keyword">static</font> <a class="code" href="classTopLevelArg.html">TopLevelArg</a>*
00080 <a class="code" href="classTopLevelArg.html#d0">create</a>(
00081 MemoryManagerType&amp; theManager,
00082 <font class="keyword">const</font> <a class="code" href="classXalanQName.html">XalanQName</a>&amp; name,
00083 <font class="keyword">const</font> <a class="code" href="classXObjectPtr.html">XObjectPtr</a> variable = <a class="code" href="TopLevelArg_8hpp.html#a1">XObjectPtr</a>());
00089 <a class="code" href="classTopLevelArg.html#a0">TopLevelArg</a>(
00090 <font class="keyword">const</font> <a class="code" href="classTopLevelArg.html">TopLevelArg</a>&amp; theSource,
00091 MemoryManagerType&amp; theManager);
00092
00093
00097 <a class="code" href="classTopLevelArg.html#a3">~TopLevelArg</a>();
00098
00104 <font class="keyword">const</font> <a class="code" href="classXalanQName.html">XalanQName</a>&amp;
<a name="l00105"></a><a class="code" href="classTopLevelArg.html#a4">00105</a> <a class="code" href="classTopLevelArg.html#a4">getName</a>()<font class="keyword"> const</font>
00106 <font class="keyword"> </font>{
00107 <font class="keywordflow">return</font> m_qname;
00108 }
00109
00115 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp;
<a name="l00116"></a><a class="code" href="classTopLevelArg.html#a5">00116</a> <a class="code" href="classTopLevelArg.html#a5">getExpression</a>()<font class="keyword"> const</font>
00117 <font class="keyword"> </font>{
00118 <font class="keywordflow">return</font> m_expression;
00119 };
00120
00126 <font class="keyword">const</font> <a class="code" href="classXObjectPtr.html">XObjectPtr</a>
<a name="l00127"></a><a class="code" href="classTopLevelArg.html#a6">00127</a> <a class="code" href="classTopLevelArg.html#a6">getXObject</a>()<font class="keyword"> const</font>
00128 <font class="keyword"> </font>{
00129 <font class="keywordflow">return</font> m_xobject;
00130 }
00131
00135 <a class="code" href="classTopLevelArg.html">TopLevelArg</a>&amp;
<a name="l00136"></a><a class="code" href="classTopLevelArg.html#a7">00136</a> <a class="code" href="classTopLevelArg.html#a7">operator=</a>(<font class="keyword">const</font> <a class="code" href="classTopLevelArg.html">TopLevelArg</a>&amp; theRHS)<font class="keyword"></font>
00137 <font class="keyword"> </font>{
00138 <font class="keywordflow">if</font> (&amp;theRHS != <font class="keyword">this</font>)
00139 {
00140 m_qname = theRHS.m_qname;
00141
00142 m_expression = theRHS.m_expression;
00143 }
00144
00145 <font class="keywordflow">return</font> *<font class="keyword">this</font>;
00146 }
00147
00148 <font class="keyword">private</font>:
00149 <font class="comment">// not implemented</font>
00150 <a class="code" href="classTopLevelArg.html#a0">TopLevelArg</a>(<font class="keyword">const</font> <a class="code" href="classTopLevelArg.html">TopLevelArg</a>&amp; theSource);
00151
00152 <a class="code" href="classXalanQNameByValue.html">XalanQNameByValue</a> m_qname;
00153
00154 <a class="code" href="classXalanDOMString.html">XalanDOMString</a> m_expression;
00155
00156 <font class="keyword">const</font> <a class="code" href="classXObjectPtr.html">XObjectPtr</a> m_xobject;
00157 };
00158
00159 <a class="code" href="XalanMemoryManagement_8hpp.html#a4">XALAN_USES_MEMORY_MANAGER</a>(<a class="code" href="classTopLevelArg.html">TopLevelArg</a>)
00160
00161 XALAN_CPP_NAMESPACE_END
00162
00163
00164
00165 <font class="preprocessor">#endif // XALAN_TOPLEVELARG_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 &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>