blob: 2cb126cd6dd230229c7d4d629cb56506e2c8bc43 [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>XalanVersion.hpp</h1><a href="XalanVersion_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(XALANVERSION_HEADER_GUARD_1357924680)</font>
<a name="l00018"></a><a class="code" href="XalanVersion_8hpp.html#a0">00018</a> <font class="preprocessor"></font><font class="preprocessor">#define XALANVERSION_HEADER_GUARD_1357924680</font>
00019 <font class="preprocessor"></font>
00020 <font class="comment">// ---------------------------------------------------------------------------</font>
00021 <font class="comment">// X A L A N V E R S I O N H E A D E R D O C U M E N T A T I O N</font>
00022
00110
00111 <font class="comment">// ---------------------------------------------------------------------------</font>
00112 <font class="comment">// X A L A N V E R S I O N S P E C I F I C A T I O N</font>
00113
00118
<a name="l00119"></a><a class="code" href="XalanVersion_8hpp.html#a1">00119</a> <font class="preprocessor">#define XALAN_VERSION_MAJOR 1</font>
<a name="l00120"></a><a class="code" href="XalanVersion_8hpp.html#a2">00120</a> <font class="preprocessor"></font><font class="preprocessor">#define XALAN_VERSION_MINOR 10</font>
<a name="l00121"></a><a class="code" href="XalanVersion_8hpp.html#a3">00121</a> <font class="preprocessor"></font><font class="preprocessor">#define XALAN_VERSION_REVISION 0</font>
00122 <font class="preprocessor"></font>
00123
00125
00132
00133 <font class="comment">// ---------------------------------------------------------------------------</font>
00134 <font class="comment">// T W O A R G U M E N T C O N C A T E N A T I O N M A C R O S</font>
00135
00136 <font class="comment">// two argument concatenation routines</font>
<a name="l00137"></a><a class="code" href="XalanVersion_8hpp.html#a4">00137</a> <font class="preprocessor">#define CAT2_SEP_UNDERSCORE(a, b) #a "_" #b</font>
<a name="l00138"></a><a class="code" href="XalanVersion_8hpp.html#a5">00138</a> <font class="preprocessor"></font><font class="preprocessor">#define CAT2_SEP_PERIOD(a, b) #a "." #b</font>
<a name="l00139"></a><a class="code" href="XalanVersion_8hpp.html#a6">00139</a> <font class="preprocessor"></font><font class="preprocessor">#define CAT2_SEP_NIL(a, b) #a #b</font>
<a name="l00140"></a><a class="code" href="XalanVersion_8hpp.html#a7">00140</a> <font class="preprocessor"></font><font class="preprocessor">#define CAT2_RAW_NUMERIC(a, b) a ## b</font>
<a name="l00141"></a><a class="code" href="XalanVersion_8hpp.html#a8">00141</a> <font class="preprocessor"></font><font class="preprocessor">#define CAT2_RAW_NUMERIC_SEP_UNDERSCORE(a, b) a ## _ ## b </font>
00142 <font class="preprocessor"></font>
00143 <font class="comment">// two argument macro invokers</font>
<a name="l00144"></a><a class="code" href="XalanVersion_8hpp.html#a9">00144</a> <font class="preprocessor">#define INVK_CAT2_SEP_UNDERSCORE(a,b) CAT2_SEP_UNDERSCORE(a,b)</font>
<a name="l00145"></a><a class="code" href="XalanVersion_8hpp.html#a10">00145</a> <font class="preprocessor"></font><font class="preprocessor">#define INVK_CAT2_SEP_PERIOD(a,b) CAT2_SEP_PERIOD(a,b)</font>
<a name="l00146"></a><a class="code" href="XalanVersion_8hpp.html#a11">00146</a> <font class="preprocessor"></font><font class="preprocessor">#define INVK_CAT2_STR_SEP_NIL(a,b) CAT2_SEP_NIL(a,b)</font>
<a name="l00147"></a><a class="code" href="XalanVersion_8hpp.html#a12">00147</a> <font class="preprocessor"></font><font class="preprocessor">#define INVK_CAT2_RAW_NUMERIC(a,b) CAT2_RAW_NUMERIC(a,b)</font>
<a name="l00148"></a><a class="code" href="XalanVersion_8hpp.html#a13">00148</a> <font class="preprocessor"></font><font class="preprocessor">#define INVK_CAT2_RAW_NUMERIC_SEP_UNDERSCORE(a,b) CAT2_RAW_NUMERIC_SEP_UNDERSCORE(a,b)</font>
00149 <font class="preprocessor"></font>
00150 <font class="comment">// ---------------------------------------------------------------------------</font>
00151 <font class="comment">// T H R E E A R G U M E N T C O N C A T E N A T I O N M A C R O S</font>
00152
00153 <font class="comment">// three argument concatenation routines</font>
<a name="l00154"></a><a class="code" href="XalanVersion_8hpp.html#a14">00154</a> <font class="preprocessor">#define CAT3_SEP_UNDERSCORE(a, b, c) #a "_" #b "_" #c</font>
<a name="l00155"></a><a class="code" href="XalanVersion_8hpp.html#a15">00155</a> <font class="preprocessor"></font><font class="preprocessor">#define CAT3_SEP_PERIOD(a, b, c) #a "." #b "." #c</font>
<a name="l00156"></a><a class="code" href="XalanVersion_8hpp.html#a16">00156</a> <font class="preprocessor"></font><font class="preprocessor">#define CAT3_SEP_NIL(a, b, c) #a #b #c</font>
<a name="l00157"></a><a class="code" href="XalanVersion_8hpp.html#a17">00157</a> <font class="preprocessor"></font><font class="preprocessor">#define CAT3_RAW_NUMERIC(a, b, c) a ## b ## c</font>
<a name="l00158"></a><a class="code" href="XalanVersion_8hpp.html#a18">00158</a> <font class="preprocessor"></font><font class="preprocessor">#define CAT3_RAW_NUMERIC_SEP_UNDERSCORE(a, b, c) a ## _ ## b ## _ ## c</font>
00159 <font class="preprocessor"></font>
00160 <font class="comment">// three argument macro invokers</font>
<a name="l00161"></a><a class="code" href="XalanVersion_8hpp.html#a19">00161</a> <font class="preprocessor">#define INVK_CAT3_SEP_UNDERSCORE(a,b,c) CAT3_SEP_UNDERSCORE(a,b,c)</font>
<a name="l00162"></a><a class="code" href="XalanVersion_8hpp.html#a20">00162</a> <font class="preprocessor"></font><font class="preprocessor">#define INVK_CAT3_SEP_PERIOD(a,b,c) CAT3_SEP_PERIOD(a,b,c)</font>
<a name="l00163"></a><a class="code" href="XalanVersion_8hpp.html#a21">00163</a> <font class="preprocessor"></font><font class="preprocessor">#define INVK_CAT3_SEP_NIL(a,b,c) CAT3_SEP_NIL(a,b,c)</font>
<a name="l00164"></a><a class="code" href="XalanVersion_8hpp.html#a22">00164</a> <font class="preprocessor"></font><font class="preprocessor">#define INVK_CAT3_RAW_NUMERIC(a,b,c) CAT3_RAW_NUMERIC(a,b,c)</font>
<a name="l00165"></a><a class="code" href="XalanVersion_8hpp.html#a23">00165</a> <font class="preprocessor"></font><font class="preprocessor">#define INVK_CAT3_RAW_NUMERIC_SEP_UNDERSCORE(a,b,c) CAT3_RAW_NUMERIC_SEP_UNDERSCORE(a,b,c)</font>
00166 <font class="preprocessor"></font>
00167 <font class="comment">// ---------------------------------------------------------------------------</font>
00168 <font class="comment">// C A L C U L A T E V E R S I O N - E X P A N D E D F O R M</font>
00169
<a name="l00170"></a><a class="code" href="XalanVersion_8hpp.html#a24">00170</a> <font class="preprocessor">#define MULTIPLY(factor,value) factor * value</font>
<a name="l00171"></a><a class="code" href="XalanVersion_8hpp.html#a25">00171</a> <font class="preprocessor"></font><font class="preprocessor">#define CALC_EXPANDED_FORM(a,b,c) ( MULTIPLY(10000,a) + MULTIPLY(100,b) + MULTIPLY(1,c) )</font>
00172 <font class="preprocessor"></font>
00173 <font class="comment">// ---------------------------------------------------------------------------</font>
00174 <font class="comment">// X A L A N V E R S I O N I N F O R M A T I O N</font>
00175
00176 <font class="comment">// Xalan version strings; these particular macros cannot be used for</font>
00177 <font class="comment">// conditional compilation as they are not numeric constants</font>
00178
<a name="l00179"></a><a class="code" href="XalanVersion_8hpp.html#a26">00179</a> <font class="preprocessor">#define XALAN_FULLVERSIONSTR INVK_CAT3_SEP_UNDERSCORE(XALAN_VERSION_MAJOR,XALAN_VERSION_MINOR,XALAN_VERSION_REVISION)</font>
<a name="l00180"></a><a class="code" href="XalanVersion_8hpp.html#a27">00180</a> <font class="preprocessor"></font><font class="preprocessor">#define XALAN_FULLVERSIONDOT INVK_CAT3_SEP_PERIOD(XALAN_VERSION_MAJOR,XALAN_VERSION_MINOR,XALAN_VERSION_REVISION)</font>
<a name="l00181"></a><a class="code" href="XalanVersion_8hpp.html#a28">00181</a> <font class="preprocessor"></font><font class="preprocessor">#define XALAN_FULLVERSIONNUM INVK_CAT3_SEP_NIL(XALAN_VERSION_MAJOR,XALAN_VERSION_MINOR,XALAN_VERSION_REVISION)</font>
<a name="l00182"></a><a class="code" href="XalanVersion_8hpp.html#a29">00182</a> <font class="preprocessor"></font><font class="preprocessor">#define XALAN_VERSIONSTR INVK_CAT2_SEP_UNDERSCORE(XALAN_VERSION_MAJOR,XALAN_VERSION_MINOR)</font>
00183 <font class="preprocessor"></font>
00184 <font class="comment">// Xalan C++ Namespace string, concatenated with full version string</font>
<a name="l00185"></a><a class="code" href="XalanVersion_8hpp.html#a30">00185</a> <font class="preprocessor">#define XALAN_PRODUCT xalanc</font>
<a name="l00186"></a><a class="code" href="XalanVersion_8hpp.html#a31">00186</a> <font class="preprocessor"></font><font class="preprocessor">#define XALAN_CPP_NAMESPACE INVK_CAT3_RAW_NUMERIC_SEP_UNDERSCORE(XALAN_PRODUCT,XALAN_VERSION_MAJOR,XALAN_VERSION_MINOR)</font>
00187 <font class="preprocessor"></font>
00188
00189 <font class="comment">// original from Xalan header</font>
<a name="l00190"></a><a class="code" href="XalanVersion_8hpp.html#a32">00190</a> <font class="preprocessor">#define Xalan_DLLVersionStr XALAN_FULLVERSIONSTR</font>
00191 <font class="preprocessor"></font>
<a name="l00192"></a><a class="code" href="XalanVersion_8hpp.html#a34">00192</a> <font class="keyword">const</font> <font class="keywordtype">char</font>* <font class="keyword">const</font> gXalanVersionStr = XALAN_VERSIONSTR;
<a name="l00193"></a><a class="code" href="XalanVersion_8hpp.html#a35">00193</a> <font class="keyword">const</font> <font class="keywordtype">char</font>* <font class="keyword">const</font> gXalanFullVersionStr = XALAN_FULLVERSIONSTR;
<a name="l00194"></a><a class="code" href="XalanVersion_8hpp.html#a36">00194</a> <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> gXalanMajVersion = XALAN_VERSION_MAJOR;
<a name="l00195"></a><a class="code" href="XalanVersion_8hpp.html#a37">00195</a> <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> gXalanMinVersion = XALAN_VERSION_MINOR;
<a name="l00196"></a><a class="code" href="XalanVersion_8hpp.html#a38">00196</a> <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> gXalanRevision = XALAN_VERSION_REVISION;
00197
00198 <font class="comment">// Xalan version numeric constants that can be used for conditional</font>
00199 <font class="comment">// compilation purposes.</font>
00200
<a name="l00201"></a><a class="code" href="XalanVersion_8hpp.html#a33">00201</a> <font class="preprocessor">#define _XALAN_VERSION CALC_EXPANDED_FORM (XALAN_VERSION_MAJOR,XALAN_VERSION_MINOR,XALAN_VERSION_REVISION)</font>
00202 <font class="preprocessor"></font>
00203 <font class="preprocessor">#endif // XALANVERSION_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>