blob: cae7e36385244aa6a249fd17a1267df5c5166b3f [file] [log] [blame]
<HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>Xerces-C++: XercesVersion.hpp Source File</TITLE><link href="XercesApi.css" rel="stylesheet" type="text/css"></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="../resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="../resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="../resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="../graphics/api-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="../resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','../resources/button-xml-hi.gif','../resources/button-xml-lo.gif');" src="../resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','../resources/button-asf-hi.gif','../resources/button-asf-lo.gif');" src="../resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','../resources/button-w3c-hi.gif','../resources/button-w3c-lo.gif');" src="../resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="../resources/join.gif" vspace="0" width="120"><BR>
<A href="../../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','../graphics/ext-2-label-2.jpg','../graphics/ext-2-label-3.jpg');" src="../graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR>
<IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
<A href="../index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','../graphics/index-label-2.jpg','../graphics/index-label-3.jpg');" src="../graphics/index-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../charter.html" onMouseOut="rolloverOff('side-charter');" onMouseOver="rolloverOn('side-charter');"><IMG alt="Charter" border="0" height="12" hspace="0" name="side-charter" onLoad="rolloverLoad('side-charter','../graphics/charter-label-2.jpg','../graphics/charter-label-3.jpg');" src="../graphics/charter-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../releases.html" onMouseOut="rolloverOff('side-releases');" onMouseOver="rolloverOn('side-releases');"><IMG alt="Release Info" border="0" height="12" hspace="0" name="side-releases" onLoad="rolloverLoad('side-releases','../graphics/releases-label-2.jpg','../graphics/releases-label-3.jpg');" src="../graphics/releases-label-3.jpg" vspace="0" width="120"></A><BR>
<IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
<A href="../install.html" onMouseOut="rolloverOff('side-install');" onMouseOver="rolloverOn('side-install');"><IMG alt="Installation" border="0" height="12" hspace="0" name="side-install" onLoad="rolloverLoad('side-install','../graphics/install-label-2.jpg','../graphics/install-label-3.jpg');" src="../graphics/install-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="http://xerces.apache.org/xerces-c/download.cgi" onMouseOut="rolloverOff('side-ext-20');" onMouseOver="rolloverOn('side-ext-20');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-ext-20" onLoad="rolloverLoad('side-ext-20','../graphics/ext-20-label-2.jpg','../graphics/ext-20-label-3.jpg');" src="../graphics/ext-20-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../build.html" onMouseOut="rolloverOff('side-build');" onMouseOver="rolloverOn('side-build');"><IMG alt="Build Instructions" border="0" height="12" hspace="0" name="side-build" onLoad="rolloverLoad('side-build','../graphics/build-label-2.jpg','../graphics/build-label-3.jpg');" src="../graphics/build-label-3.jpg" vspace="0" width="120"></A><BR>
<IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
<A href="../program.html" onMouseOut="rolloverOff('side-program');" onMouseOver="rolloverOn('side-program');"><IMG alt="Programming" border="0" height="12" hspace="0" name="side-program" onLoad="rolloverLoad('side-program','../graphics/program-label-2.jpg','../graphics/program-label-3.jpg');" src="../graphics/program-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Samples" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','../graphics/samples-label-2.jpg','../graphics/samples-label-3.jpg');" src="../graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','../graphics/faqs-label-2.jpg','../graphics/faqs-label-3.jpg');" src="../graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR>
<IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
<A href="../api.html" onMouseOut="rolloverOff('side-api');" onMouseOver="rolloverOn('side-api');"><IMG alt="API Docs" border="0" height="12" hspace="0" name="side-api" onLoad="rolloverLoad('side-api','../graphics/api-label-2.jpg','../graphics/api-label-3.jpg');" src="../graphics/api-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../ApacheDOMC++Binding.html" onMouseOut="rolloverOff('side-ext-88');" onMouseOver="rolloverOn('side-ext-88');"><IMG alt="DOM C++ Binding" border="0" height="12" hspace="0" name="side-ext-88" onLoad="rolloverLoad('side-ext-88','../graphics/ext-88-label-2.jpg','../graphics/ext-88-label-3.jpg');" src="../graphics/ext-88-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../migrate.html" onMouseOut="rolloverOff('side-migrate');" onMouseOver="rolloverOn('side-migrate');"><IMG alt="Migration Guide" border="0" height="12" hspace="0" name="side-migrate" onLoad="rolloverLoad('side-migrate','../graphics/migrate-label-2.jpg','../graphics/migrate-label-3.jpg');" src="../graphics/migrate-label-3.jpg" vspace="0" width="120"></A><BR>
<IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
<A href="../feedback.html" onMouseOut="rolloverOff('side-feedback');" onMouseOver="rolloverOn('side-feedback');"><IMG alt="Feedback" border="0" height="12" hspace="0" name="side-feedback" onLoad="rolloverLoad('side-feedback','../graphics/feedback-label-2.jpg','../graphics/feedback-label-3.jpg');" src="../graphics/feedback-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../bug-report.html" onMouseOut="rolloverOff('side-bug-report');" onMouseOver="rolloverOn('side-bug-report');"><IMG alt="Bug-Reporting" border="0" height="12" hspace="0" name="side-bug-report" onLoad="rolloverLoad('side-bug-report','../graphics/bug-report-label-2.jpg','../graphics/bug-report-label-3.jpg');" src="../graphics/bug-report-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../mailing-lists.html" onMouseOut="rolloverOff('side-mailing-lists');" onMouseOver="rolloverOn('side-mailing-lists');"><IMG alt="Mailing Lists" border="0" height="12" hspace="0" name="side-mailing-lists" onLoad="rolloverLoad('side-mailing-lists','../graphics/mailing-lists-label-2.jpg','../graphics/mailing-lists-label-3.jpg');" src="../graphics/mailing-lists-label-3.jpg" vspace="0" width="120"></A><BR>
<IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
<A href="../source-repository.html" onMouseOut="rolloverOff('side-source-repository');" onMouseOver="rolloverOn('side-source-repository');"><IMG alt="Source Repository" border="0" height="12" hspace="0" name="side-source-repository" onLoad="rolloverLoad('side-source-repository','../graphics/source-repository-label-2.jpg','../graphics/source-repository-label-3.jpg');" src="../graphics/source-repository-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../applications.html" onMouseOut="rolloverOff('side-applications');" onMouseOver="rolloverOn('side-applications');"><IMG alt="Applications" border="0" height="12" hspace="0" name="side-applications" onLoad="rolloverLoad('side-applications','../graphics/applications-label-2.jpg','../graphics/applications-label-3.jpg');" src="../graphics/applications-label-3.jpg" vspace="0" width="120"></A><BR>
<IMG border="0" height="14" hspace="0" src="../resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD>
<TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#FFFFFF" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="../resources/void.gif" vspace="0" width="2"><B>API Docs for SAX and DOM</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
<P>
<!-- Generated by Doxygen 1.5.3 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="classes.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
</ul>
</div>
<h1>XercesVersion.hpp</h1><a href="XercesVersion_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span>
<a name="l00003"></a>00003 <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span>
<a name="l00004"></a>00004 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
<a name="l00005"></a>00005 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
<a name="l00006"></a>00006 <span class="comment"> * (the "License"); you may not use this file except in compliance with</span>
<a name="l00007"></a>00007 <span class="comment"> * the License. You may obtain a copy of the License at</span>
<a name="l00008"></a>00008 <span class="comment"> * </span>
<a name="l00009"></a>00009 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00010"></a>00010 <span class="comment"> * </span>
<a name="l00011"></a>00011 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
<a name="l00012"></a>00012 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
<a name="l00013"></a>00013 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00014"></a>00014 <span class="comment"> * See the License for the specific language governing permissions and</span>
<a name="l00015"></a>00015 <span class="comment"> * limitations under the License.</span>
<a name="l00016"></a>00016 <span class="comment"> */</span>
<a name="l00017"></a>00017
<a name="l00018"></a>00018 <span class="preprocessor">#if !defined(XERCESVERSION_HPP)</span>
<a name="l00019"></a><a class="code" href="XercesVersion_8hpp.html#1fa5fa3674d97c5c7ca42f242b10d5ba">00019</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCESVERSION_HPP</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span>
<a name="l00021"></a>00021 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00022"></a>00022 <span class="comment">// X E R C E S 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</span>
<a name="l00023"></a>00023
<a name="l00117"></a>00117 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00118"></a>00118 <span class="comment">// X E R C E S V E R S I O N S P E C I F I C A T I O N</span>
<a name="l00119"></a>00119
<a name="l00125"></a><a class="code" href="XercesVersion_8hpp.html#7f4ad9f1f38b9f7b341c93fb671a5ac6">00125</a> <span class="preprocessor">#define XERCES_VERSION_MAJOR 2</span>
<a name="l00126"></a><a class="code" href="XercesVersion_8hpp.html#b0a118c1e37013ecb210752214ed6ebd">00126</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCES_VERSION_MINOR 8</span>
<a name="l00127"></a><a class="code" href="XercesVersion_8hpp.html#5ae30d724aa9f1c16f3dc4561cbbcb76">00127</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCES_VERSION_REVISION 0</span>
<a name="l00128"></a>00128 <span class="preprocessor"></span>
<a name="l00129"></a>00129 <span class="comment">/***</span>
<a name="l00130"></a>00130 <span class="comment"> * data member added to XSAnnotation</span>
<a name="l00131"></a>00131 <span class="comment"> ***/</span>
<a name="l00132"></a><a class="code" href="XercesVersion_8hpp.html#426610f382679259cba9c6a9a062e32c">00132</a> <span class="preprocessor">#define XERCES_GRAMMAR_SERIALIZATION_LEVEL 5</span>
<a name="l00133"></a>00133 <span class="preprocessor"></span>
<a name="l00143"></a>00143 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00144"></a>00144 <span 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</span>
<a name="l00145"></a>00145
<a name="l00146"></a>00146 <span class="comment">// two argument concatenation routines</span>
<a name="l00147"></a><a class="code" href="XercesVersion_8hpp.html#d803dfdcc3460aff0c557f47c1310a11">00147</a> <span class="preprocessor">#define CAT2_SEP_UNDERSCORE(a, b) #a "_" #b</span>
<a name="l00148"></a><a class="code" href="XercesVersion_8hpp.html#26799a44be46768b8710d731e66bc5f2">00148</a> <span class="preprocessor"></span><span class="preprocessor">#define CAT2_SEP_PERIOD(a, b) #a "." #b</span>
<a name="l00149"></a><a class="code" href="XercesVersion_8hpp.html#6d3531b46dea372c90b278aea7f8347f">00149</a> <span class="preprocessor"></span><span class="preprocessor">#define CAT2_SEP_NIL(a, b) #a #b</span>
<a name="l00150"></a><a class="code" href="XercesVersion_8hpp.html#28db63c43d4a74cd9593123ff4da137a">00150</a> <span class="preprocessor"></span><span class="preprocessor">#define CAT2_RAW_NUMERIC(a, b) a ## b</span>
<a name="l00151"></a>00151 <span class="preprocessor"></span>
<a name="l00152"></a>00152 <span class="comment">// two argument macro invokers</span>
<a name="l00153"></a><a class="code" href="XercesVersion_8hpp.html#e2edeaee635a587425b3ba7c49c47699">00153</a> <span class="preprocessor">#define INVK_CAT2_SEP_UNDERSCORE(a,b) CAT2_SEP_UNDERSCORE(a,b)</span>
<a name="l00154"></a><a class="code" href="XercesVersion_8hpp.html#c1dc16aaa5d3bc8729ba040b1551dd58">00154</a> <span class="preprocessor"></span><span class="preprocessor">#define INVK_CAT2_SEP_PERIOD(a,b) CAT2_SEP_PERIOD(a,b)</span>
<a name="l00155"></a><a class="code" href="XercesVersion_8hpp.html#f38c7c46c66b97a46aafd5ab8fc0c718">00155</a> <span class="preprocessor"></span><span class="preprocessor">#define INVK_CAT2_STR_SEP_NIL(a,b) CAT2_SEP_NIL(a,b)</span>
<a name="l00156"></a><a class="code" href="XercesVersion_8hpp.html#79a66b73fae5058e0dddbbd951d0f25f">00156</a> <span class="preprocessor"></span><span class="preprocessor">#define INVK_CAT2_RAW_NUMERIC(a,b) CAT2_RAW_NUMERIC(a,b)</span>
<a name="l00157"></a>00157 <span class="preprocessor"></span>
<a name="l00158"></a>00158 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00159"></a>00159 <span 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</span>
<a name="l00160"></a>00160
<a name="l00161"></a>00161 <span class="comment">// three argument concatenation routines</span>
<a name="l00162"></a><a class="code" href="XercesVersion_8hpp.html#c3b379dc3d5ad60325273f2a853d301a">00162</a> <span class="preprocessor">#define CAT3_SEP_UNDERSCORE(a, b, c) #a "_" #b "_" #c</span>
<a name="l00163"></a><a class="code" href="XercesVersion_8hpp.html#fdfc9b24988eeef29081cb31a00a613e">00163</a> <span class="preprocessor"></span><span class="preprocessor">#define CAT3_SEP_PERIOD(a, b, c) #a "." #b "." #c</span>
<a name="l00164"></a><a class="code" href="XercesVersion_8hpp.html#3dd66e75d7ecaebdb09764e1ce9ab738">00164</a> <span class="preprocessor"></span><span class="preprocessor">#define CAT3_SEP_NIL(a, b, c) #a #b #c</span>
<a name="l00165"></a><a class="code" href="XercesVersion_8hpp.html#dec7e93d7f89f2eb2770453128ad91e4">00165</a> <span class="preprocessor"></span><span class="preprocessor">#define CAT3_RAW_NUMERIC(a, b, c) a ## b ## c</span>
<a name="l00166"></a><a class="code" href="XercesVersion_8hpp.html#9c9983da548891b9048fb7788b53d822">00166</a> <span class="preprocessor"></span><span class="preprocessor">#define CAT3_RAW_NUMERIC_SEP_UNDERSCORE(a, b, c) a ## _ ## b ## _ ## c</span>
<a name="l00167"></a>00167 <span class="preprocessor"></span>
<a name="l00168"></a>00168 <span class="comment">// three argument macro invokers</span>
<a name="l00169"></a><a class="code" href="XercesVersion_8hpp.html#1a31af704c648460cdeb1ab7b65c18ec">00169</a> <span class="preprocessor">#define INVK_CAT3_SEP_UNDERSCORE(a,b,c) CAT3_SEP_UNDERSCORE(a,b,c)</span>
<a name="l00170"></a><a class="code" href="XercesVersion_8hpp.html#bb478a9fdf280348acb55bd89221b7a5">00170</a> <span class="preprocessor"></span><span class="preprocessor">#define INVK_CAT3_SEP_PERIOD(a,b,c) CAT3_SEP_PERIOD(a,b,c)</span>
<a name="l00171"></a><a class="code" href="XercesVersion_8hpp.html#baaf44786cb42e5883e48ed7418f271d">00171</a> <span class="preprocessor"></span><span class="preprocessor">#define INVK_CAT3_SEP_NIL(a,b,c) CAT3_SEP_NIL(a,b,c)</span>
<a name="l00172"></a><a class="code" href="XercesVersion_8hpp.html#13ce830b1f542c4368cb41473b0c0574">00172</a> <span class="preprocessor"></span><span class="preprocessor">#define INVK_CAT3_RAW_NUMERIC(a,b,c) CAT3_RAW_NUMERIC(a,b,c)</span>
<a name="l00173"></a><a class="code" href="XercesVersion_8hpp.html#a3059779b4264cf6b6f5117023e853de">00173</a> <span class="preprocessor"></span><span class="preprocessor">#define INVK_CAT3_RAW_NUMERIC_SEP_UNDERSCORE(a,b,c) CAT3_RAW_NUMERIC_SEP_UNDERSCORE(a,b,c)</span>
<a name="l00174"></a>00174 <span class="preprocessor"></span>
<a name="l00175"></a>00175 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00176"></a>00176 <span 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</span>
<a name="l00177"></a>00177
<a name="l00178"></a><a class="code" href="XercesVersion_8hpp.html#29ff180ea690da3d3d3bc21dc8791cf6">00178</a> <span class="preprocessor">#define MULTIPLY(factor,value) factor * value</span>
<a name="l00179"></a><a class="code" href="XercesVersion_8hpp.html#09af069d7f1772c746c91c995024d2d5">00179</a> <span class="preprocessor"></span><span class="preprocessor">#define CALC_EXPANDED_FORM(a,b,c) ( MULTIPLY(10000,a) + MULTIPLY(100,b) + MULTIPLY(1,c) )</span>
<a name="l00180"></a>00180 <span class="preprocessor"></span>
<a name="l00181"></a>00181 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00182"></a>00182 <span class="comment">// X E R C E S V E R S I O N I N F O R M A T I O N</span>
<a name="l00183"></a>00183
<a name="l00184"></a>00184 <span class="comment">// Xerces version strings; these particular macros cannot be used for</span>
<a name="l00185"></a>00185 <span class="comment">// conditional compilation as they are not numeric constants</span>
<a name="l00186"></a>00186
<a name="l00187"></a><a class="code" href="XercesVersion_8hpp.html#08bdc9f515101eef171c3b95d7d90a7a">00187</a> <span class="preprocessor">#define XERCES_FULLVERSIONSTR INVK_CAT3_SEP_UNDERSCORE(XERCES_VERSION_MAJOR,XERCES_VERSION_MINOR,XERCES_VERSION_REVISION)</span>
<a name="l00188"></a><a class="code" href="XercesVersion_8hpp.html#584014cf7282c3a7a8c25c253510eaec">00188</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCES_FULLVERSIONDOT INVK_CAT3_SEP_PERIOD(XERCES_VERSION_MAJOR,XERCES_VERSION_MINOR,XERCES_VERSION_REVISION)</span>
<a name="l00189"></a><a class="code" href="XercesVersion_8hpp.html#dc8ba3b0de070ad1230b7d89bc9215d0">00189</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCES_FULLVERSIONNUM INVK_CAT3_SEP_NIL(XERCES_VERSION_MAJOR,XERCES_VERSION_MINOR,XERCES_VERSION_REVISION)</span>
<a name="l00190"></a><a class="code" href="XercesVersion_8hpp.html#b7b9fc9f65eb1e5ce30ab8f7133046af">00190</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCES_VERSIONSTR INVK_CAT2_SEP_UNDERSCORE(XERCES_VERSION_MAJOR,XERCES_VERSION_MINOR)</span>
<a name="l00191"></a>00191 <span class="preprocessor"></span>
<a name="l00192"></a>00192 <span class="comment">// Xerces C++ Namespace string, concatenated with full version string</span>
<a name="l00193"></a><a class="code" href="XercesVersion_8hpp.html#4157d8ec9a349858eae77fdbbc6b3740">00193</a> <span class="preprocessor">#define XERCES_PRODUCT xercesc</span>
<a name="l00194"></a><a class="code" href="XercesVersion_8hpp.html#1fd11bd8cbd1f9a56a6d2c6039e3840b">00194</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCES_CPP_NAMESPACE INVK_CAT3_RAW_NUMERIC_SEP_UNDERSCORE(XERCES_PRODUCT,XERCES_VERSION_MAJOR,XERCES_VERSION_MINOR)</span>
<a name="l00195"></a>00195 <span class="preprocessor"></span>
<a name="l00196"></a>00196 <span class="comment">// original from Xerces header</span>
<a name="l00197"></a><a class="code" href="XercesVersion_8hpp.html#9298c784705348a992142ff8bad63e3c">00197</a> <span class="preprocessor">#define Xerces_DLLVersionStr XERCES_FULLVERSIONSTR</span>
<a name="l00198"></a>00198 <span class="preprocessor"></span>
<a name="l00199"></a><a class="code" href="XercesVersion_8hpp.html#f3c9273d151fdc6abd3d98d0d0984a79">00199</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> <a class="code" href="XercesVersion_8hpp.html#f3c9273d151fdc6abd3d98d0d0984a79">gXercesVersionStr</a> = <a class="code" href="XercesVersion_8hpp.html#b7b9fc9f65eb1e5ce30ab8f7133046af">XERCES_VERSIONSTR</a>;
<a name="l00200"></a><a class="code" href="XercesVersion_8hpp.html#6a4abef97571f73285f81eeac9bdc4eb">00200</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> <a class="code" href="XercesVersion_8hpp.html#6a4abef97571f73285f81eeac9bdc4eb">gXercesFullVersionStr</a> = <a class="code" href="XercesVersion_8hpp.html#08bdc9f515101eef171c3b95d7d90a7a">XERCES_FULLVERSIONSTR</a>;
<a name="l00201"></a><a class="code" href="XercesVersion_8hpp.html#c34e9710b4ddde6ae50b897b1b535c89">00201</a> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="XercesVersion_8hpp.html#c34e9710b4ddde6ae50b897b1b535c89">gXercesMajVersion</a> = <a class="code" href="XercesVersion_8hpp.html#7f4ad9f1f38b9f7b341c93fb671a5ac6" title="User Documentation for Xerces Version Values:.">XERCES_VERSION_MAJOR</a>;
<a name="l00202"></a><a class="code" href="XercesVersion_8hpp.html#bfccdc3cecfef76c8d22d7c739e9df83">00202</a> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="XercesVersion_8hpp.html#bfccdc3cecfef76c8d22d7c739e9df83">gXercesMinVersion</a> = <a class="code" href="XercesVersion_8hpp.html#b0a118c1e37013ecb210752214ed6ebd">XERCES_VERSION_MINOR</a>;
<a name="l00203"></a><a class="code" href="XercesVersion_8hpp.html#7db1f489fdb0d9caa33c9712064d7e9e">00203</a> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="XercesVersion_8hpp.html#7db1f489fdb0d9caa33c9712064d7e9e">gXercesRevision</a> = <a class="code" href="XercesVersion_8hpp.html#5ae30d724aa9f1c16f3dc4561cbbcb76">XERCES_VERSION_REVISION</a>;
<a name="l00204"></a>00204
<a name="l00205"></a>00205 <span class="comment">// Xerces version numeric constants that can be used for conditional</span>
<a name="l00206"></a>00206 <span class="comment">// compilation purposes.</span>
<a name="l00207"></a>00207
<a name="l00208"></a><a class="code" href="XercesVersion_8hpp.html#1ecc99b540d4bc9460188e755f297622">00208</a> <span class="preprocessor">#define _XERCES_VERSION CALC_EXPANDED_FORM (XERCES_VERSION_MAJOR,XERCES_VERSION_MINOR,XERCES_VERSION_REVISION)</span>
<a name="l00209"></a>00209 <span class="preprocessor"></span>
<a name="l00210"></a>00210 <span class="preprocessor">#endif // XERCESVERSION_HPP</span>
</pre></div> </FONT></TD></TR></TABLE><BR>
</TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1" alt=""></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I>
Copyright &copy; 1994-2004 The Apache Software Foundation.
All Rights Reserved.
</I></FONT></TD></TR></TABLE></BODY></HTML>