<HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>Xerces-C++: XercesDefs.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://xml.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="../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> <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="../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> <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> <A href="../ApacheDOMC++Binding.html" onMouseOut="rolloverOff('side-ext-70');" onMouseOver="rolloverOn('side-ext-70');"><IMG alt="DOM C++ Binding" border="0" height="12" hspace="0" name="side-ext-70" onLoad="rolloverLoad('side-ext-70','../graphics/ext-70-label-2.jpg','../graphics/ext-70-label-3.jpg');" src="../graphics/ext-70-label-3.jpg" vspace="0" width="120"></A><BR> <IMG alt="Programming" border="0" height="12" hspace="0" src="../graphics/program-label-1.jpg" vspace="0" width="120"><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="../pdf.html" onMouseOut="rolloverOff('side-pdf');" onMouseOver="rolloverOn('side-pdf');"><IMG alt="PDF Document" border="0" height="12" hspace="0" name="side-pdf" onLoad="rolloverLoad('side-pdf','../graphics/pdf-label-2.jpg','../graphics/pdf-label-3.jpg');" src="../graphics/pdf-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="http://svn.apache.org/viewcvs.cgi/xerces/?root=Apache-SVN" onMouseOut="rolloverOff('side-ext-102');" onMouseOver="rolloverOn('side-ext-102');"><IMG alt="Source Repository" border="0" height="12" hspace="0" name="side-ext-102" onLoad="rolloverLoad('side-ext-102','../graphics/ext-102-label-2.jpg','../graphics/ext-102-label-3.jpg');" src="../graphics/ext-102-label-3.jpg" vspace="0" width="120"></A><BR> <A href="http://marc.theaimsgroup.com/?l=xerces-c-users" onMouseOut="rolloverOff('side-ext-104');" onMouseOver="rolloverOn('side-ext-104');"><IMG alt="User Mail Archive" border="0" height="12" hspace="0" name="side-ext-104" onLoad="rolloverLoad('side-ext-104','../graphics/ext-104-label-2.jpg','../graphics/ext-104-label-3.jpg');" src="../graphics/ext-104-label-3.jpg" vspace="0" width="120"></A><BR> <A href="http://marc.theaimsgroup.com/?l=xerces-c-dev" onMouseOut="rolloverOff('side-ext-106');" onMouseOver="rolloverOn('side-ext-106');"><IMG alt="Devel Mail Archive" border="0" height="12" hspace="0" name="side-ext-106" onLoad="rolloverLoad('side-ext-106','../graphics/ext-106-label-2.jpg','../graphics/ext-106-label-3.jpg');" src="../graphics/ext-106-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"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> <P> <!-- Generated by Doxygen 1.4.1 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> <div class="nav"> <a class="el" href="dir_000000.html">src</a> / <a class="el" href="dir_000001.html">xercesc</a> / <a class="el" href="dir_000003.html">util</a></div> <h1>XercesDefs.hpp</h1><a href="XercesDefs_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*</span> 00002 <span class="comment"> * Copyright 1999-2001,2004 The Apache Software Foundation.</span> 00003 <span class="comment"> * </span> 00004 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span> 00005 <span class="comment"> * you may not use this file except in compliance with the License.</span> 00006 <span class="comment"> * You may obtain a copy of the License at</span> 00007 <span class="comment"> * </span> 00008 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span> 00009 <span class="comment"> * </span> 00010 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span> 00011 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span> 00012 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span> 00013 <span class="comment"> * See the License for the specific language governing permissions and</span> 00014 <span class="comment"> * limitations under the License.</span> 00015 <span class="comment"> */</span> 00016 00017 <span class="comment">/*</span> 00018 <span class="comment"> * $Log$</span> 00019 <span class="comment"> * Revision 1.20 2005/04/27 18:21:51 cargilld</span> 00020 <span class="comment"> * Fix for problem on Solaris where open may return 0 as a valid FileHandle. Check for -1 instead.</span> 00021 <span class="comment"> *</span> 00022 <span class="comment"> * Revision 1.19 2004/09/08 13:56:25 peiyongz</span> 00023 <span class="comment"> * Apache License Version 2.0</span> 00024 <span class="comment"> *</span> 00025 <span class="comment"> * Revision 1.18 2004/02/24 22:57:28 peiyongz</span> 00026 <span class="comment"> * XercesDeprecatedDOMLib</span> 00027 <span class="comment"> *</span> 00028 <span class="comment"> * Revision 1.17 2004/02/17 15:56:50 neilg</span> 00029 <span class="comment"> * fix for bug 25035; much thanks to Abe Backus</span> 00030 <span class="comment"> *</span> 00031 <span class="comment"> * Revision 1.16 2004/02/04 13:26:44 amassari</span> 00032 <span class="comment"> * Added support for the Interix platform (Windows Services for Unix 3.5)</span> 00033 <span class="comment"> *</span> 00034 <span class="comment"> * Revision 1.15 2003/05/29 11:18:37 gareth</span> 00035 <span class="comment"> * Added macros in so we can determine whether to do things like iostream as opposed to iostream.h and whether to use std:: or not.</span> 00036 <span class="comment"> *</span> 00037 <span class="comment"> * Revision 1.14 2003/05/12 09:44:19 gareth</span> 00038 <span class="comment"> * Port to NetBSD. Patch by Hiramatsu Yoshifumi.</span> 00039 <span class="comment"> *</span> 00040 <span class="comment"> * Revision 1.13 2003/03/13 22:11:46 tng</span> 00041 <span class="comment"> * [Bug 17858] Support for QNX/Neutrino. Patch from Chris McKillop.</span> 00042 <span class="comment"> *</span> 00043 <span class="comment"> * Revision 1.12 2003/02/23 05:44:12 jberry</span> 00044 <span class="comment"> * Ripple through changes of BeOSDefs.h name change</span> 00045 <span class="comment"> *</span> 00046 <span class="comment"> * Revision 1.11 2002/12/31 19:31:07 tng</span> 00047 <span class="comment"> * [Bug 15590] BeOSDefs.hpp has wrong case in CVS.</span> 00048 <span class="comment"> *</span> 00049 <span class="comment"> * Revision 1.10 2002/12/02 20:40:49 tng</span> 00050 <span class="comment"> * [Bug 12490] Patches required to build Xerces-C++ on BeOS R5. Patch from Andrew Bachmann.</span> 00051 <span class="comment"> *</span> 00052 <span class="comment"> * Revision 1.9 2002/11/05 21:44:21 tng</span> 00053 <span class="comment"> * Do not code using namespace in a global header.</span> 00054 <span class="comment"> *</span> 00055 <span class="comment"> * Revision 1.8 2002/11/04 14:40:12 tng</span> 00056 <span class="comment"> * C++ Namespace Support.</span> 00057 <span class="comment"> *</span> 00058 <span class="comment"> * Revision 1.7 2002/07/12 16:48:49 jberry</span> 00059 <span class="comment"> * Remove reliance on XML_MACOSX. XML_MACOS is used solely. Where qualification</span> 00060 <span class="comment"> * by compiler is required, look for the compiler explicitly such as with</span> 00061 <span class="comment"> * XML_METROWERKS or __APPLE__ (for the Apple GCC compiler).</span> 00062 <span class="comment"> *</span> 00063 <span class="comment"> * Add a few tweaks for compatibility with GCC3.1.</span> 00064 <span class="comment"> *</span> 00065 <span class="comment"> * This change may address Bug 10649.</span> 00066 <span class="comment"> *</span> 00067 <span class="comment"> * Revision 1.6 2002/07/10 12:56:45 tng</span> 00068 <span class="comment"> * [Bug 9154] Requesting Xerces Version Macro.</span> 00069 <span class="comment"> *</span> 00070 <span class="comment"> * Revision 1.5 2002/05/21 19:35:08 tng</span> 00071 <span class="comment"> * Update from 1.7 to 2.0</span> 00072 <span class="comment"> *</span> 00073 <span class="comment"> * Revision 1.4 2002/02/27 22:38:34 peiyongz</span> 00074 <span class="comment"> * Bug# 6445 Caldera (SCO) OpenServer Port : patch from Martin Kalen</span> 00075 <span class="comment"> *</span> 00076 <span class="comment"> * Revision 1.3 2002/02/20 21:41:54 tng</span> 00077 <span class="comment"> * project files changes for Xerces-C++ 1.7.</span> 00078 <span class="comment"> *</span> 00079 <span class="comment"> * Revision 1.2 2002/02/17 21:12:06 jberry</span> 00080 <span class="comment"> * Adjust "sane includes" include path for Mac OS.</span> 00081 <span class="comment"> *</span> 00082 <span class="comment"> * I've also changed this path for XML_AS400, XML_TRU64, XML_PTX_CC, and XML_DECCXX</span> 00083 <span class="comment"> * 'cause it looks like the right thing to do...hope that's not a mistake.</span> 00084 <span class="comment"> *</span> 00085 <span class="comment"> * Revision 1.1.1.1 2002/02/01 22:22:13 peiyongz</span> 00086 <span class="comment"> * sane_include</span> 00087 <span class="comment"> *</span> 00088 <span class="comment"> * Revision 1.18 2001/11/29 18:25:18 tng</span> 00089 <span class="comment"> * FreeBSD support by Michael Huedepohl.</span> 00090 <span class="comment"> *</span> 00091 <span class="comment"> * Revision 1.17 2001/11/23 17:19:33 tng</span> 00092 <span class="comment"> * Change from 1.5.2 to 1.6.0</span> 00093 <span class="comment"> *</span> 00094 <span class="comment"> * Revision 1.16 2001/10/15 16:27:35 tng</span> 00095 <span class="comment"> * Changes for Xerces-C 1.5.2</span> 00096 <span class="comment"> *</span> 00097 <span class="comment"> * Revision 1.15 2001/07/13 20:16:38 tng</span> 00098 <span class="comment"> * Update for release 1.5.1.</span> 00099 <span class="comment"> *</span> 00100 <span class="comment"> * Revision 1.14 2001/06/05 13:52:25 tng</span> 00101 <span class="comment"> * Change Version number from Xerces 1.4 to 1.5. By Pei Yong Zhang.</span> 00102 <span class="comment"> *</span> 00103 <span class="comment"> * Revision 1.13 2001/05/11 13:26:32 tng</span> 00104 <span class="comment"> * Copyright update.</span> 00105 <span class="comment"> *</span> 00106 <span class="comment"> * Revision 1.12 2001/02/08 14:15:33 tng</span> 00107 <span class="comment"> * enable COMPAQ Tru64 UNIX machines to build xerces-c with gcc (tested using COMPAQ gcc version2.95.2 19991024 (release) and Tru64 V5.0 1094). Added by Martin Kalen.</span> 00108 <span class="comment"> *</span> 00109 <span class="comment"> * Revision 1.11 2001/01/25 19:17:06 tng</span> 00110 <span class="comment"> * const should be used instead of static const. Fixed by Khaled Noaman.</span> 00111 <span class="comment"> *</span> 00112 <span class="comment"> * Revision 1.10 2001/01/12 22:09:07 tng</span> 00113 <span class="comment"> * Various update for Xerces 1.4</span> 00114 <span class="comment"> *</span> 00115 <span class="comment"> * Revision 1.9 2000/11/07 18:14:39 andyh</span> 00116 <span class="comment"> * Fix incorrect version number in gXercesMinVersion.</span> 00117 <span class="comment"> * From Pieter Van-Dyck</span> 00118 <span class="comment"> *</span> 00119 <span class="comment"> * Revision 1.8 2000/11/02 07:23:27 roddey</span> 00120 <span class="comment"> * Just a test of checkin access</span> 00121 <span class="comment"> *</span> 00122 <span class="comment"> * Revision 1.7 2000/08/18 21:29:14 andyh</span> 00123 <span class="comment"> * Change version to 1.3 in preparation for upcoming Xerces 1.3</span> 00124 <span class="comment"> * and XML4C 3.3 stable releases</span> 00125 <span class="comment"> *</span> 00126 <span class="comment"> * Revision 1.6 2000/08/07 20:31:34 jpolast</span> 00127 <span class="comment"> * include module</span> 00128 <span class="comment"> *</span> 00129 <span class="comment"> * Revision 1.5 2000/08/01 18:26:02 aruna1</span> 00130 <span class="comment"> * Tru64 support added</span> 00131 <span class="comment"> *</span> 00132 <span class="comment"> * Revision 1.4 2000/07/29 05:36:37 jberry</span> 00133 <span class="comment"> * Fix misspelling in Mac OS port</span> 00134 <span class="comment"> *</span> 00135 <span class="comment"> * Revision 1.3 2000/07/19 18:20:12 andyh</span> 00136 <span class="comment"> * Macintosh port: fix problems with yesterday's code checkin. A couple</span> 00137 <span class="comment"> * of the changes were mangled or missed.</span> 00138 <span class="comment"> *</span> 00139 <span class="comment"> * Revision 1.2 2000/04/04 20:11:29 abagchi</span> 00140 <span class="comment"> * Added PTX support</span> 00141 <span class="comment"> *</span> 00142 <span class="comment"> * Revision 1.1 2000/03/02 19:54:50 roddey</span> 00143 <span class="comment"> * This checkin includes many changes done while waiting for the</span> 00144 <span class="comment"> * 1.1.0 code to be finished. I can't list them all here, but a list is</span> 00145 <span class="comment"> * available elsewhere.</span> 00146 <span class="comment"> *</span> 00147 <span class="comment"> * Revision 1.13 2000/03/02 01:51:00 aruna1</span> 00148 <span class="comment"> * Sun CC 5.0 related changes</span> 00149 <span class="comment"> *</span> 00150 <span class="comment"> * Revision 1.12 2000/02/24 20:05:26 abagchi</span> 00151 <span class="comment"> * Swat for removing Log from API docs</span> 00152 <span class="comment"> *</span> 00153 <span class="comment"> * Revision 1.11 2000/02/22 01:00:10 aruna1</span> 00154 <span class="comment"> * GNUGDefs references removed. Now only GCCDefs is used instead</span> 00155 <span class="comment"> *</span> 00156 <span class="comment"> * Revision 1.10 2000/02/06 07:48:05 rahulj</span> 00157 <span class="comment"> * Year 2K copyright swat.</span> 00158 <span class="comment"> *</span> 00159 <span class="comment"> * Revision 1.9 2000/02/01 23:43:32 abagchi</span> 00160 <span class="comment"> * AS/400 related change</span> 00161 <span class="comment"> *</span> 00162 <span class="comment"> * Revision 1.8 2000/01/21 22:12:29 abagchi</span> 00163 <span class="comment"> * OS390 Change: changed OE390 to OS390</span> 00164 <span class="comment"> *</span> 00165 <span class="comment"> * Revision 1.7 2000/01/14 01:18:35 roddey</span> 00166 <span class="comment"> * Added a macro, XMLStrL(), which is defined one way or another according</span> 00167 <span class="comment"> * to whether the per-compiler file defines XML_LSTRSUPPORT or not. This</span> 00168 <span class="comment"> * allows conditional support of L"" type prefixes.</span> 00169 <span class="comment"> *</span> 00170 <span class="comment"> * Revision 1.6 2000/01/14 00:52:06 roddey</span> 00171 <span class="comment"> * Updated the version information for the next release, i.e. 1.1.0</span> 00172 <span class="comment"> *</span> 00173 <span class="comment"> * Revision 1.5 1999/12/17 01:28:53 rahulj</span> 00174 <span class="comment"> * Merged in changes submitted for UnixWare 7 port. Platform</span> 00175 <span class="comment"> * specific files are still missing.</span> 00176 <span class="comment"> *</span> 00177 <span class="comment"> * Revision 1.4 1999/12/16 23:47:10 rahulj</span> 00178 <span class="comment"> * Updated for version 1.0.1</span> 00179 <span class="comment"> *</span> 00180 <span class="comment"> * Revision 1.3 1999/12/01 17:16:16 rahulj</span> 00181 <span class="comment"> * Added support for IRIX 6.5.5 using SGI MIPSpro C++ 7.3 and 7.21 generating 32 bit objects. Changes submitted by Marc Stuessel</span> 00182 <span class="comment"> *</span> 00183 <span class="comment"> * Revision 1.2 1999/11/10 02:02:51 abagchi</span> 00184 <span class="comment"> * Changed version numbers</span> 00185 <span class="comment"> *</span> 00186 <span class="comment"> * Revision 1.1.1.1 1999/11/09 01:05:35 twl</span> 00187 <span class="comment"> * Initial checkin</span> 00188 <span class="comment"> *</span> 00189 <span class="comment"> * Revision 1.3 1999/11/08 20:45:19 rahul</span> 00190 <span class="comment"> * Swat for adding in Product name and CVS comment log variable.</span> 00191 <span class="comment"> *</span> 00192 <span class="comment"> */</span> 00193 00194 00195 <span class="preprocessor">#if !defined(XERCESDEFS_HPP)</span> <a name="l00196"></a><a class="code" href="XercesDefs_8hpp.html#a0">00196</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCESDEFS_HPP</span> 00197 <span class="preprocessor"></span> 00198 <span class="comment">// ---------------------------------------------------------------------------</span> 00199 <span class="comment">// Include the Xerces version information; this is kept in a separate file to</span> 00200 <span class="comment">// make modification simple and obvious. Updates to the version header file</span> 00201 <span class="comment">// ---------------------------------------------------------------------------</span> 00202 <span class="preprocessor">#include <<a class="code" href="XercesVersion_8hpp.html">xercesc/util/XercesVersion.hpp</a>></span> 00203 00204 00205 <span class="comment">// ---------------------------------------------------------------------------</span> 00206 <span class="comment">// Include the header that does automatic sensing of the current platform</span> 00207 <span class="comment">// and compiler.</span> 00208 <span class="comment">// ---------------------------------------------------------------------------</span> 00209 <span class="preprocessor">#include <<a class="code" href="AutoSense_8hpp.html">xercesc/util/AutoSense.hpp</a>></span> 00210 <a name="l00211"></a><a class="code" href="XercesDefs_8hpp.html#a1">00211</a> <span class="preprocessor">#define XERCES_Invalid_File_Handle 0</span> 00212 <span class="preprocessor"></span> 00213 <span class="comment">// ---------------------------------------------------------------------------</span> 00214 <span class="comment">// According to the platform we include a platform specific file. This guy</span> 00215 <span class="comment">// will set up any platform specific stuff, such as character mode.</span> 00216 <span class="comment">// ---------------------------------------------------------------------------</span> 00217 <span class="preprocessor">#if defined(XML_WIN32)</span> 00218 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/Win32/Win32Defs.hpp></span> 00219 <span class="preprocessor">#endif</span> 00220 <span class="preprocessor"></span> 00221 <span class="preprocessor">#if defined(XML_CYGWIN)</span> 00222 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/Cygwin/CygwinDefs.hpp></span> 00223 <span class="preprocessor">#endif</span> 00224 <span class="preprocessor"></span> 00225 <span class="preprocessor">#if defined(XML_AIX)</span> 00226 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/AIX/AIXDefs.hpp></span> 00227 <span class="preprocessor">#endif</span> 00228 <span class="preprocessor"></span> 00229 <span class="preprocessor">#if defined(XML_SOLARIS)</span> 00230 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/Solaris/SolarisDefs.hpp></span> 00231 <span class="preprocessor">#endif</span> 00232 <span class="preprocessor"></span> 00233 <span class="preprocessor">#if defined(XML_OPENSERVER)</span> 00234 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/OpenServer/OpenServerDefs.hpp></span> 00235 <span class="preprocessor">#endif</span> 00236 <span class="preprocessor"></span> 00237 <span class="preprocessor">#if defined(XML_UNIXWARE)</span> 00238 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/UnixWare/UnixWareDefs.hpp></span> 00239 <span class="preprocessor">#endif</span> 00240 <span class="preprocessor"></span> 00241 <span class="preprocessor">#if defined(XML_HPUX)</span> 00242 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/HPUX/HPUXDefs.hpp></span> 00243 <span class="preprocessor">#endif</span> 00244 <span class="preprocessor"></span> 00245 <span class="preprocessor">#if defined(XML_IRIX)</span> 00246 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/IRIX/IRIXDefs.hpp></span> 00247 <span class="preprocessor">#endif</span> 00248 <span class="preprocessor"></span> 00249 <span class="preprocessor">#if defined(XML_INTERIX)</span> 00250 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/Interix/InterixDefs.hpp></span> 00251 <span class="preprocessor">#endif</span> 00252 <span class="preprocessor"></span> 00253 <span class="preprocessor">#if defined(XML_TANDEM)</span> 00254 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/Tandem/TandemDefs.hpp></span> 00255 <span class="preprocessor">#endif</span> 00256 <span class="preprocessor"></span> 00257 <span class="preprocessor">#if defined(XML_BEOS)</span> 00258 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/BeOS/BeOSDefs.hpp></span> 00259 <span class="preprocessor">#endif</span> 00260 <span class="preprocessor"></span> 00261 <span class="preprocessor">#if defined(XML_LINUX)</span> 00262 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/Linux/LinuxDefs.hpp></span> 00263 <span class="preprocessor">#endif</span> 00264 <span class="preprocessor"></span> 00265 <span class="preprocessor">#if defined(XML_FREEBSD)</span> 00266 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/FreeBSD/FreeBSDDefs.hpp></span> 00267 <span class="preprocessor">#endif</span> 00268 <span class="preprocessor"></span> 00269 <span class="preprocessor">#if defined(XML_OS390)</span> 00270 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/OS390/OS390Defs.hpp></span> 00271 <span class="preprocessor">#endif</span> 00272 <span class="preprocessor"></span> 00273 <span class="preprocessor">#if defined(XML_PTX)</span> 00274 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/PTX/PTXDefs.hpp></span> 00275 <span class="preprocessor">#endif</span> 00276 <span class="preprocessor"></span> 00277 <span class="preprocessor">#if defined(XML_OS2)</span> 00278 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/OS2/OS2Defs.hpp></span> 00279 <span class="preprocessor">#endif</span> 00280 <span class="preprocessor"></span> 00281 <span class="preprocessor">#if defined(XML_MACOS)</span> 00282 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/MacOS/MacOSDefs.hpp></span> 00283 <span class="preprocessor">#endif</span> 00284 <span class="preprocessor"></span> 00285 <span class="preprocessor">#if defined(XML_AS400)</span> 00286 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/OS400/OS400Defs.hpp></span> 00287 <span class="preprocessor">#endif</span> 00288 <span class="preprocessor"></span> 00289 <span class="preprocessor">#if defined(XML_TRU64)</span> 00290 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/Tru64/Tru64Defs.hpp></span> 00291 <span class="preprocessor">#endif</span> 00292 <span class="preprocessor"></span> 00293 <span class="preprocessor">#if defined(XML_QNX)</span> 00294 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/QNX/QNXDefs.hpp></span> 00295 <span class="preprocessor">#endif</span> 00296 <span class="preprocessor"></span> 00297 <span class="comment">// ---------------------------------------------------------------------------</span> 00298 <span class="comment">// And now we subinclude a header according to the development environment</span> 00299 <span class="comment">// we are on. This guy defines for each platform some basic stuff that is</span> 00300 <span class="comment">// specific to the development environment.</span> 00301 <span class="comment">// ---------------------------------------------------------------------------</span> 00302 <span class="preprocessor">#if defined(XML_VISUALCPP)</span> 00303 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Compilers/VCPPDefs.hpp></span> 00304 <span class="preprocessor">#endif</span> 00305 <span class="preprocessor"></span> 00306 <span class="preprocessor">#if defined(XML_CSET)</span> 00307 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Compilers/CSetDefs.hpp></span> 00308 <span class="preprocessor">#endif</span> 00309 <span class="preprocessor"></span> 00310 <span class="preprocessor">#if defined(XML_BORLAND)</span> 00311 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Compilers/BorlandCDefs.hpp></span> 00312 <span class="preprocessor">#endif</span> 00313 <span class="preprocessor"></span> 00314 <span class="preprocessor">#if defined(XML_SUNCC) || defined(XML_SUNCC5)</span> 00315 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Compilers/SunCCDefs.hpp></span> 00316 <span class="preprocessor">#endif</span> 00317 <span class="preprocessor"></span> 00318 <span class="preprocessor">#if defined(XML_SCOCC)</span> 00319 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Compilers/SCOCCDefs.hpp></span> 00320 <span class="preprocessor">#endif</span> 00321 <span class="preprocessor"></span> 00322 <span class="preprocessor">#if defined(XML_SOLARIS_KAICC)</span> 00323 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Compilers/SunKaiDefs.hpp></span> 00324 <span class="preprocessor">#endif</span> 00325 <span class="preprocessor"></span> 00326 <span class="preprocessor">#if defined(XML_HPUX_CC) || defined(XML_HPUX_aCC) || defined(XML_HPUX_KAICC)</span> 00327 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Compilers/HPCCDefs.hpp></span> 00328 <span class="preprocessor">#endif</span> 00329 <span class="preprocessor"></span> 00330 <span class="preprocessor">#if defined(XML_MIPSPRO_CC)</span> 00331 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Compilers/MIPSproDefs.hpp></span> 00332 <span class="preprocessor">#endif</span> 00333 <span class="preprocessor"></span> 00334 <span class="preprocessor">#if defined(XML_TANDEMCC)</span> 00335 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Compilers/TandemCCDefs.hpp></span> 00336 <span class="preprocessor">#endif</span> 00337 <span class="preprocessor"></span> 00338 <span class="preprocessor">#if defined(XML_GCC)</span> 00339 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Compilers/GCCDefs.hpp></span> 00340 <span class="preprocessor">#endif</span> 00341 <span class="preprocessor"></span> 00342 <span class="preprocessor">#if defined(XML_MVSCPP)</span> 00343 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Compilers/MVSCPPDefs.hpp></span> 00344 <span class="preprocessor">#endif</span> 00345 <span class="preprocessor"></span> 00346 <span class="preprocessor">#if defined(XML_IBMVAW32)</span> 00347 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Compilers/IBMVAW32Defs.hpp></span> 00348 <span class="preprocessor">#endif</span> 00349 <span class="preprocessor"></span> 00350 <span class="preprocessor">#if defined(XML_IBMVAOS2)</span> 00351 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Compilers/IBMVAOS2Defs.hpp></span> 00352 <span class="preprocessor">#endif</span> 00353 <span class="preprocessor"></span> 00354 <span class="preprocessor">#if defined(XML_METROWERKS)</span> 00355 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Compilers/CodeWarriorDefs.hpp></span> 00356 <span class="preprocessor">#endif</span> 00357 <span class="preprocessor"></span> 00358 <span class="preprocessor">#if defined(XML_PTX_CC)</span> 00359 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Compilers/PTXCCDefs.hpp></span> 00360 <span class="preprocessor">#endif</span> 00361 <span class="preprocessor"></span> 00362 <span class="preprocessor">#if defined(XML_AS400)</span> 00363 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Compilers/OS400SetDefs.hpp></span> 00364 <span class="preprocessor">#endif</span> 00365 <span class="preprocessor"></span> 00366 <span class="preprocessor">#if defined(XML_DECCXX)</span> 00367 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Compilers/DECCXXDefs.hpp></span> 00368 <span class="preprocessor">#endif</span> 00369 <span class="preprocessor"></span> 00370 <span class="preprocessor">#if defined(XML_QCC)</span> 00371 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Compilers/QCCDefs.hpp></span> 00372 <span class="preprocessor">#endif</span> 00373 <span class="preprocessor"></span> 00374 <span class="comment">// ---------------------------------------------------------------------------</span> 00375 <span class="comment">// Some general typedefs that are defined for internal flexibility.</span> 00376 <span class="comment">//</span> 00377 <span class="comment">// Note that UTF16Ch is fixed at 16 bits, whereas XMLCh floats in size per</span> 00378 <span class="comment">// platform, to whatever is the native wide char format there. UCS4Ch is</span> 00379 <span class="comment">// fixed at 32 bits. The types we defined them in terms of are defined per</span> 00380 <span class="comment">// compiler, using whatever types are the right ones for them to get these</span> 00381 <span class="comment">// 16/32 bit sizes.</span> 00382 <span class="comment">//</span> 00383 <span class="comment">// ---------------------------------------------------------------------------</span> <a name="l00384"></a><a class="code" href="XercesDefs_8hpp.html#a17">00384</a> <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="XercesDefs_8hpp.html#a17">XMLByte</a>; <a name="l00385"></a><a class="code" href="XercesDefs_8hpp.html#a18">00385</a> <span class="keyword">typedef</span> XMLUInt16 <a class="code" href="XercesDefs_8hpp.html#a18">UTF16Ch</a>; <a name="l00386"></a><a class="code" href="XercesDefs_8hpp.html#a19">00386</a> <span class="keyword">typedef</span> XMLUInt32 <a class="code" href="XercesDefs_8hpp.html#a19">UCS4Ch</a>; 00387 00388 00389 <span class="comment">// ---------------------------------------------------------------------------</span> 00390 <span class="comment">// Handle boolean. If the platform can handle booleans itself, then we</span> 00391 <span class="comment">// map our boolean type to the native type. Otherwise we create a default</span> 00392 <span class="comment">// one as an int and define const values for true and false.</span> 00393 <span class="comment">//</span> 00394 <span class="comment">// This flag will be set in the per-development environment stuff above.</span> 00395 <span class="comment">// ---------------------------------------------------------------------------</span> 00396 <span class="preprocessor">#if defined(NO_NATIVE_BOOL)</span> 00397 <span class="preprocessor"></span><span class="preprocessor"> #ifndef bool</span> 00398 <span class="preprocessor"></span> <span class="keyword">typedef</span> <span class="keywordtype">int</span> bool; 00399 <span class="preprocessor"> #endif</span> 00400 <span class="preprocessor"></span><span class="preprocessor"> #ifndef true</span> 00401 <span class="preprocessor"></span><span class="preprocessor"> #define true 1</span> 00402 <span class="preprocessor"></span><span class="preprocessor"> #endif</span> 00403 <span class="preprocessor"></span><span class="preprocessor"> #ifndef false</span> 00404 <span class="preprocessor"></span><span class="preprocessor"> #define false 0</span> 00405 <span class="preprocessor"></span><span class="preprocessor"> #endif</span> 00406 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 00407 <span class="preprocessor"></span> 00408 <span class="preprocessor">#if defined(XML_NETBSD)</span> 00409 <span class="preprocessor"></span><span class="preprocessor">#include <xercesc/util/Platforms/NetBSD/NetBSDDefs.hpp></span> 00410 <span class="preprocessor">#endif</span> 00411 <span class="preprocessor"></span> 00412 <span class="comment">// ---------------------------------------------------------------------------</span> 00413 <span class="comment">// According to whether the compiler suports L"" type strings, we define</span> 00414 <span class="comment">// the XMLStrL() macro one way or another.</span> 00415 <span class="comment">// ---------------------------------------------------------------------------</span> 00416 <span class="preprocessor">#if defined(XML_LSTRSUPPORT)</span> 00417 <span class="preprocessor"></span><span class="preprocessor">#define XMLStrL(str) L##str</span> 00418 <span class="preprocessor"></span><span class="preprocessor">#else</span> <a name="l00419"></a><a class="code" href="XercesDefs_8hpp.html#a2">00419</a> <span class="preprocessor"></span><span class="preprocessor">#define XMLStrL(str) str</span> 00420 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 00421 <span class="preprocessor"></span> 00422 00423 <span class="comment">// ---------------------------------------------------------------------------</span> 00424 <span class="comment">// Define namespace symbols if the compiler supports it.</span> 00425 <span class="comment">// ---------------------------------------------------------------------------</span> 00426 <span class="preprocessor">#if defined(XERCES_HAS_CPP_NAMESPACE)</span> 00427 <span class="preprocessor"></span><span class="preprocessor"> #define XERCES_CPP_NAMESPACE_BEGIN namespace XERCES_CPP_NAMESPACE {</span> 00428 <span class="preprocessor"></span><span class="preprocessor"> #define XERCES_CPP_NAMESPACE_END }</span> 00429 <span class="preprocessor"></span><span class="preprocessor"> #define XERCES_CPP_NAMESPACE_USE using namespace XERCES_CPP_NAMESPACE;</span> 00430 <span class="preprocessor"></span><span class="preprocessor"> #define XERCES_CPP_NAMESPACE_QUALIFIER XERCES_CPP_NAMESPACE::</span> 00431 <span class="preprocessor"></span> 00432 <span class="keyword">namespace </span><a class="code" href="XercesVersion_8hpp.html#a30">XERCES_CPP_NAMESPACE</a> { } 00433 <span class="keyword">namespace </span>xercesc = <a class="code" href="XercesVersion_8hpp.html#a30">XERCES_CPP_NAMESPACE</a>; 00434 <span class="preprocessor">#else</span> <a name="l00435"></a><a class="code" href="XercesDefs_8hpp.html#a3">00435</a> <span class="preprocessor"></span><span class="preprocessor"> #define XERCES_CPP_NAMESPACE_BEGIN</span> <a name="l00436"></a><a class="code" href="XercesDefs_8hpp.html#a4">00436</a> <span class="preprocessor"></span><span class="preprocessor"> #define XERCES_CPP_NAMESPACE_END</span> <a name="l00437"></a><a class="code" href="XercesDefs_8hpp.html#a5">00437</a> <span class="preprocessor"></span><span class="preprocessor"> #define XERCES_CPP_NAMESPACE_USE</span> <a name="l00438"></a><a class="code" href="XercesDefs_8hpp.html#a6">00438</a> <span class="preprocessor"></span><span class="preprocessor"> #define XERCES_CPP_NAMESPACE_QUALIFIER</span> 00439 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 00440 <span class="preprocessor"></span> 00441 <span class="preprocessor">#if defined(XERCES_STD_NAMESPACE)</span> 00442 <span class="preprocessor"></span><span class="preprocessor"> #define XERCES_USING_STD(NAME) using std :: NAME;</span> 00443 <span class="preprocessor"></span><span class="preprocessor"> #define XERCES_STD_QUALIFIER std ::</span> 00444 <span class="preprocessor"></span><span class="preprocessor">#else</span> <a name="l00445"></a><a class="code" href="XercesDefs_8hpp.html#a7">00445</a> <span class="preprocessor"></span><span class="preprocessor"> #define XERCES_USING_STD(NAME)</span> <a name="l00446"></a><a class="code" href="XercesDefs_8hpp.html#a8">00446</a> <span class="preprocessor"></span><span class="preprocessor"> #define XERCES_STD_QUALIFIER </span> 00447 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 00448 <span class="preprocessor"></span> 00449 00450 <span class="comment">// ---------------------------------------------------------------------------</span> 00451 <span class="comment">// Set up the import/export keyword for our core projects. The</span> 00452 <span class="comment">// PLATFORM_XXXX keywords are set in the per-development environment</span> 00453 <span class="comment">// include above.</span> 00454 <span class="comment">// ---------------------------------------------------------------------------</span> 00455 <span class="preprocessor">#if defined(PROJ_XMLUTIL)</span> 00456 <span class="preprocessor"></span><span class="preprocessor">#define PLATFORM_EXPORT</span> 00457 <span class="preprocessor"></span><span class="preprocessor">#else</span> <a name="l00458"></a><a class="code" href="XercesDefs_8hpp.html#a9">00458</a> <span class="preprocessor"></span><span class="preprocessor">#define PLATFORM_IMPORT</span> 00459 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 00460 <span class="preprocessor"></span> 00461 <span class="preprocessor">#if defined(PROJ_XMLPARSER)</span> 00462 <span class="preprocessor"></span><span class="preprocessor">#define PLATFORM_EXPORT</span> 00463 <span class="preprocessor"></span><span class="preprocessor">#else</span> <a name="l00464"></a><a class="code" href="XercesDefs_8hpp.html#a10">00464</a> <span class="preprocessor"></span><span class="preprocessor">#define PLATFORM_IMPORT</span> 00465 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 00466 <span class="preprocessor"></span> 00467 <span class="preprocessor">#if defined(PROJ_SAX4C)</span> 00468 <span class="preprocessor"></span><span class="preprocessor">#define PLATFORM_EXPORT</span> 00469 <span class="preprocessor"></span><span class="preprocessor">#else</span> <a name="l00470"></a><a class="code" href="XercesDefs_8hpp.html#a11">00470</a> <span class="preprocessor"></span><span class="preprocessor">#define PLATFORM_IMPORT</span> 00471 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 00472 <span class="preprocessor"></span> 00473 <span class="preprocessor">#if defined(PROJ_SAX2)</span> 00474 <span class="preprocessor"></span><span class="preprocessor">#define PLATFORM_EXPORT</span> 00475 <span class="preprocessor"></span><span class="preprocessor">#else</span> <a name="l00476"></a><a class="code" href="XercesDefs_8hpp.html#a12">00476</a> <span class="preprocessor"></span><span class="preprocessor">#define PLATFORM_IMPORT</span> 00477 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 00478 <span class="preprocessor"></span> 00479 <span class="preprocessor">#if defined(PROJ_DOM)</span> 00480 <span class="preprocessor"></span><span class="preprocessor">#define PLATFORM_EXPORT</span> 00481 <span class="preprocessor"></span><span class="preprocessor">#else</span> <a name="l00482"></a><a class="code" href="XercesDefs_8hpp.html#a13">00482</a> <span class="preprocessor"></span><span class="preprocessor">#define PLATFORM_IMPORT</span> 00483 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 00484 <span class="preprocessor"></span> 00485 <span class="preprocessor">#if defined(PROJ_DEPRECATED_DOM)</span> 00486 <span class="preprocessor"></span><span class="preprocessor">#define DEPRECATED_DOM_EXPORT PLATFORM_EXPORT</span> 00487 <span class="preprocessor"></span><span class="preprocessor">#else</span> <a name="l00488"></a><a class="code" href="XercesDefs_8hpp.html#a14">00488</a> <span class="preprocessor"></span><span class="preprocessor">#define DEPRECATED_DOM_EXPORT PLATFORM_IMPORT</span> 00489 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 00490 <span class="preprocessor"></span> 00491 <span class="preprocessor">#if defined(PROJ_PARSERS)</span> 00492 <span class="preprocessor"></span><span class="preprocessor">#define PLATFORM_EXPORT</span> 00493 <span class="preprocessor"></span><span class="preprocessor">#else</span> <a name="l00494"></a><a class="code" href="XercesDefs_8hpp.html#a15">00494</a> <span class="preprocessor"></span><span class="preprocessor">#define PLATFORM_IMPORT</span> 00495 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 00496 <span class="preprocessor"></span> 00497 <span class="preprocessor">#if defined(PROJ_VALIDATORS)</span> 00498 <span class="preprocessor"></span><span class="preprocessor">#define VALIDATORS_EXPORT PLATFORM_EXPORT</span> 00499 <span class="preprocessor"></span><span class="preprocessor">#else</span> <a name="l00500"></a><a class="code" href="XercesDefs_8hpp.html#a16">00500</a> <span class="preprocessor"></span><span class="preprocessor">#define VALIDATORS_EXPORT PLATFORM_IMPORT</span> 00501 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 00502 <span class="preprocessor"></span> 00503 <span class="preprocessor">#endif</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 © 1994-2004 The Apache Software Foundation. All Rights Reserved. </I></FONT></TD></TR></TABLE></BODY></HTML>