1 | <HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>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>
|
---|
2 | <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>
|
---|
3 |
|
---|
4 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
5 |
|
---|
6 | <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>
|
---|
7 | <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>
|
---|
8 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
9 | <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>
|
---|
10 | <A href="http://xml.apache.org/dist/xerces-c/" onMouseOut="rolloverOff('side-ext-18');" onMouseOver="rolloverOn('side-ext-18');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-ext-18" onLoad="rolloverLoad('side-ext-18','../graphics/ext-18-label-2.jpg','../graphics/ext-18-label-3.jpg');" src="../graphics/ext-18-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
11 | <A href="../build.html" onMouseOut="rolloverOff('side-build');" onMouseOver="rolloverOn('side-build');"><IMG alt="Build" 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>
|
---|
12 |
|
---|
13 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
14 | <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>
|
---|
15 | <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>
|
---|
16 | <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>
|
---|
17 |
|
---|
18 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
19 | <A href="../ApacheDOMC++Binding.html" onMouseOut="rolloverOff('side-ext-68');" onMouseOver="rolloverOn('side-ext-68');"><IMG alt="DOM C++ Binding" border="0" height="12" hspace="0" name="side-ext-68" onLoad="rolloverLoad('side-ext-68','../graphics/ext-68-label-2.jpg','../graphics/ext-68-label-3.jpg');" src="../graphics/ext-68-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
20 |
|
---|
21 | <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>
|
---|
22 | <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>
|
---|
23 |
|
---|
24 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
25 |
|
---|
26 | <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>
|
---|
27 | <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>
|
---|
28 | <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>
|
---|
29 |
|
---|
30 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
31 |
|
---|
32 | <A href="http://xml.apache.org/websrc/cvsweb.cgi/xml-xerces/c/" onMouseOut="rolloverOff('side-ext-100');" onMouseOver="rolloverOn('side-ext-100');"><IMG alt="CVS Repository" border="0" height="12" hspace="0" name="side-ext-100" onLoad="rolloverLoad('side-ext-100','../graphics/ext-100-label-2.jpg','../graphics/ext-100-label-3.jpg');" src="../graphics/ext-100-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
33 |
|
---|
34 | <A href="http://marc.theaimsgroup.com/?l=xerces-c-dev" onMouseOut="rolloverOff('side-ext-102');" onMouseOver="rolloverOn('side-ext-102');"><IMG alt="Mail Archive" 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>
|
---|
35 |
|
---|
36 |
|
---|
37 | <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>
|
---|
38 | <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">
|
---|
39 |
|
---|
40 | <P>
|
---|
41 | <!-- Generated by Doxygen 1.2.14 -->
|
---|
42 | <center>
|
---|
43 | <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">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
---|
44 | <hr><h1>XercesDefs.hpp</h1><a href="XercesDefs_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/*</font>
|
---|
45 | 00002 <font class="comment"> * Copyright 1999-2001,2004 The Apache Software Foundation.</font>
|
---|
46 | 00003 <font class="comment"> * </font>
|
---|
47 | 00004 <font class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</font>
|
---|
48 | 00005 <font class="comment"> * you may not use this file except in compliance with the License.</font>
|
---|
49 | 00006 <font class="comment"> * You may obtain a copy of the License at</font>
|
---|
50 | 00007 <font class="comment"> * </font>
|
---|
51 | 00008 <font class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</font>
|
---|
52 | 00009 <font class="comment"> * </font>
|
---|
53 | 00010 <font class="comment"> * Unless required by applicable law or agreed to in writing, software</font>
|
---|
54 | 00011 <font class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</font>
|
---|
55 | 00012 <font class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</font>
|
---|
56 | 00013 <font class="comment"> * See the License for the specific language governing permissions and</font>
|
---|
57 | 00014 <font class="comment"> * limitations under the License.</font>
|
---|
58 | 00015 <font class="comment"> */</font>
|
---|
59 | 00016
|
---|
60 | 00017 <font class="comment">/*</font>
|
---|
61 | 00018 <font class="comment"> * $Log: XercesDefs.hpp,v $</font>
|
---|
62 | 00019 <font class="comment"> * Revision 1.19 2004/09/08 13:56:25 peiyongz</font>
|
---|
63 | 00020 <font class="comment"> * Apache License Version 2.0</font>
|
---|
64 | 00021 <font class="comment"> *</font>
|
---|
65 | 00022 <font class="comment"> * Revision 1.18 2004/02/24 22:57:28 peiyongz</font>
|
---|
66 | 00023 <font class="comment"> * XercesDeprecatedDOMLib</font>
|
---|
67 | 00024 <font class="comment"> *</font>
|
---|
68 | 00025 <font class="comment"> * Revision 1.17 2004/02/17 15:56:50 neilg</font>
|
---|
69 | 00026 <font class="comment"> * fix for bug 25035; much thanks to Abe Backus</font>
|
---|
70 | 00027 <font class="comment"> *</font>
|
---|
71 | 00028 <font class="comment"> * Revision 1.16 2004/02/04 13:26:44 amassari</font>
|
---|
72 | 00029 <font class="comment"> * Added support for the Interix platform (Windows Services for Unix 3.5)</font>
|
---|
73 | 00030 <font class="comment"> *</font>
|
---|
74 | 00031 <font class="comment"> * Revision 1.15 2003/05/29 11:18:37 gareth</font>
|
---|
75 | 00032 <font 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.</font>
|
---|
76 | 00033 <font class="comment"> *</font>
|
---|
77 | 00034 <font class="comment"> * Revision 1.14 2003/05/12 09:44:19 gareth</font>
|
---|
78 | 00035 <font class="comment"> * Port to NetBSD. Patch by Hiramatsu Yoshifumi.</font>
|
---|
79 | 00036 <font class="comment"> *</font>
|
---|
80 | 00037 <font class="comment"> * Revision 1.13 2003/03/13 22:11:46 tng</font>
|
---|
81 | 00038 <font class="comment"> * [Bug 17858] Support for QNX/Neutrino. Patch from Chris McKillop.</font>
|
---|
82 | 00039 <font class="comment"> *</font>
|
---|
83 | 00040 <font class="comment"> * Revision 1.12 2003/02/23 05:44:12 jberry</font>
|
---|
84 | 00041 <font class="comment"> * Ripple through changes of BeOSDefs.h name change</font>
|
---|
85 | 00042 <font class="comment"> *</font>
|
---|
86 | 00043 <font class="comment"> * Revision 1.11 2002/12/31 19:31:07 tng</font>
|
---|
87 | 00044 <font class="comment"> * [Bug 15590] BeOSDefs.hpp has wrong case in CVS.</font>
|
---|
88 | 00045 <font class="comment"> *</font>
|
---|
89 | 00046 <font class="comment"> * Revision 1.10 2002/12/02 20:40:49 tng</font>
|
---|
90 | 00047 <font class="comment"> * [Bug 12490] Patches required to build Xerces-C++ on BeOS R5. Patch from Andrew Bachmann.</font>
|
---|
91 | 00048 <font class="comment"> *</font>
|
---|
92 | 00049 <font class="comment"> * Revision 1.9 2002/11/05 21:44:21 tng</font>
|
---|
93 | 00050 <font class="comment"> * Do not code using namespace in a global header.</font>
|
---|
94 | 00051 <font class="comment"> *</font>
|
---|
95 | 00052 <font class="comment"> * Revision 1.8 2002/11/04 14:40:12 tng</font>
|
---|
96 | 00053 <font class="comment"> * C++ Namespace Support.</font>
|
---|
97 | 00054 <font class="comment"> *</font>
|
---|
98 | 00055 <font class="comment"> * Revision 1.7 2002/07/12 16:48:49 jberry</font>
|
---|
99 | 00056 <font class="comment"> * Remove reliance on XML_MACOSX. XML_MACOS is used solely. Where qualification</font>
|
---|
100 | 00057 <font class="comment"> * by compiler is required, look for the compiler explicitly such as with</font>
|
---|
101 | 00058 <font class="comment"> * XML_METROWERKS or __APPLE__ (for the Apple GCC compiler).</font>
|
---|
102 | 00059 <font class="comment"> *</font>
|
---|
103 | 00060 <font class="comment"> * Add a few tweaks for compatibility with GCC3.1.</font>
|
---|
104 | 00061 <font class="comment"> *</font>
|
---|
105 | 00062 <font class="comment"> * This change may address Bug 10649.</font>
|
---|
106 | 00063 <font class="comment"> *</font>
|
---|
107 | 00064 <font class="comment"> * Revision 1.6 2002/07/10 12:56:45 tng</font>
|
---|
108 | 00065 <font class="comment"> * [Bug 9154] Requesting Xerces Version Macro.</font>
|
---|
109 | 00066 <font class="comment"> *</font>
|
---|
110 | 00067 <font class="comment"> * Revision 1.5 2002/05/21 19:35:08 tng</font>
|
---|
111 | 00068 <font class="comment"> * Update from 1.7 to 2.0</font>
|
---|
112 | 00069 <font class="comment"> *</font>
|
---|
113 | 00070 <font class="comment"> * Revision 1.4 2002/02/27 22:38:34 peiyongz</font>
|
---|
114 | 00071 <font class="comment"> * Bug# 6445 Caldera (SCO) OpenServer Port : patch from Martin Kalen</font>
|
---|
115 | 00072 <font class="comment"> *</font>
|
---|
116 | 00073 <font class="comment"> * Revision 1.3 2002/02/20 21:41:54 tng</font>
|
---|
117 | 00074 <font class="comment"> * project files changes for Xerces-C++ 1.7.</font>
|
---|
118 | 00075 <font class="comment"> *</font>
|
---|
119 | 00076 <font class="comment"> * Revision 1.2 2002/02/17 21:12:06 jberry</font>
|
---|
120 | 00077 <font class="comment"> * Adjust "sane includes" include path for Mac OS.</font>
|
---|
121 | 00078 <font class="comment"> *</font>
|
---|
122 | 00079 <font class="comment"> * I've also changed this path for XML_AS400, XML_TRU64, XML_PTX_CC, and XML_DECCXX</font>
|
---|
123 | 00080 <font class="comment"> * 'cause it looks like the right thing to do...hope that's not a mistake.</font>
|
---|
124 | 00081 <font class="comment"> *</font>
|
---|
125 | 00082 <font class="comment"> * Revision 1.1.1.1 2002/02/01 22:22:13 peiyongz</font>
|
---|
126 | 00083 <font class="comment"> * sane_include</font>
|
---|
127 | 00084 <font class="comment"> *</font>
|
---|
128 | 00085 <font class="comment"> * Revision 1.18 2001/11/29 18:25:18 tng</font>
|
---|
129 | 00086 <font class="comment"> * FreeBSD support by Michael Huedepohl.</font>
|
---|
130 | 00087 <font class="comment"> *</font>
|
---|
131 | 00088 <font class="comment"> * Revision 1.17 2001/11/23 17:19:33 tng</font>
|
---|
132 | 00089 <font class="comment"> * Change from 1.5.2 to 1.6.0</font>
|
---|
133 | 00090 <font class="comment"> *</font>
|
---|
134 | 00091 <font class="comment"> * Revision 1.16 2001/10/15 16:27:35 tng</font>
|
---|
135 | 00092 <font class="comment"> * Changes for Xerces-C 1.5.2</font>
|
---|
136 | 00093 <font class="comment"> *</font>
|
---|
137 | 00094 <font class="comment"> * Revision 1.15 2001/07/13 20:16:38 tng</font>
|
---|
138 | 00095 <font class="comment"> * Update for release 1.5.1.</font>
|
---|
139 | 00096 <font class="comment"> *</font>
|
---|
140 | 00097 <font class="comment"> * Revision 1.14 2001/06/05 13:52:25 tng</font>
|
---|
141 | 00098 <font class="comment"> * Change Version number from Xerces 1.4 to 1.5. By Pei Yong Zhang.</font>
|
---|
142 | 00099 <font class="comment"> *</font>
|
---|
143 | 00100 <font class="comment"> * Revision 1.13 2001/05/11 13:26:32 tng</font>
|
---|
144 | 00101 <font class="comment"> * Copyright update.</font>
|
---|
145 | 00102 <font class="comment"> *</font>
|
---|
146 | 00103 <font class="comment"> * Revision 1.12 2001/02/08 14:15:33 tng</font>
|
---|
147 | 00104 <font 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.</font>
|
---|
148 | 00105 <font class="comment"> *</font>
|
---|
149 | 00106 <font class="comment"> * Revision 1.11 2001/01/25 19:17:06 tng</font>
|
---|
150 | 00107 <font class="comment"> * const should be used instead of static const. Fixed by Khaled Noaman.</font>
|
---|
151 | 00108 <font class="comment"> *</font>
|
---|
152 | 00109 <font class="comment"> * Revision 1.10 2001/01/12 22:09:07 tng</font>
|
---|
153 | 00110 <font class="comment"> * Various update for Xerces 1.4</font>
|
---|
154 | 00111 <font class="comment"> *</font>
|
---|
155 | 00112 <font class="comment"> * Revision 1.9 2000/11/07 18:14:39 andyh</font>
|
---|
156 | 00113 <font class="comment"> * Fix incorrect version number in gXercesMinVersion.</font>
|
---|
157 | 00114 <font class="comment"> * From Pieter Van-Dyck</font>
|
---|
158 | 00115 <font class="comment"> *</font>
|
---|
159 | 00116 <font class="comment"> * Revision 1.8 2000/11/02 07:23:27 roddey</font>
|
---|
160 | 00117 <font class="comment"> * Just a test of checkin access</font>
|
---|
161 | 00118 <font class="comment"> *</font>
|
---|
162 | 00119 <font class="comment"> * Revision 1.7 2000/08/18 21:29:14 andyh</font>
|
---|
163 | 00120 <font class="comment"> * Change version to 1.3 in preparation for upcoming Xerces 1.3</font>
|
---|
164 | 00121 <font class="comment"> * and XML4C 3.3 stable releases</font>
|
---|
165 | 00122 <font class="comment"> *</font>
|
---|
166 | 00123 <font class="comment"> * Revision 1.6 2000/08/07 20:31:34 jpolast</font>
|
---|
167 | 00124 <font class="comment"> * include module</font>
|
---|
168 | 00125 <font class="comment"> *</font>
|
---|
169 | 00126 <font class="comment"> * Revision 1.5 2000/08/01 18:26:02 aruna1</font>
|
---|
170 | 00127 <font class="comment"> * Tru64 support added</font>
|
---|
171 | 00128 <font class="comment"> *</font>
|
---|
172 | 00129 <font class="comment"> * Revision 1.4 2000/07/29 05:36:37 jberry</font>
|
---|
173 | 00130 <font class="comment"> * Fix misspelling in Mac OS port</font>
|
---|
174 | 00131 <font class="comment"> *</font>
|
---|
175 | 00132 <font class="comment"> * Revision 1.3 2000/07/19 18:20:12 andyh</font>
|
---|
176 | 00133 <font class="comment"> * Macintosh port: fix problems with yesterday's code checkin. A couple</font>
|
---|
177 | 00134 <font class="comment"> * of the changes were mangled or missed.</font>
|
---|
178 | 00135 <font class="comment"> *</font>
|
---|
179 | 00136 <font class="comment"> * Revision 1.2 2000/04/04 20:11:29 abagchi</font>
|
---|
180 | 00137 <font class="comment"> * Added PTX support</font>
|
---|
181 | 00138 <font class="comment"> *</font>
|
---|
182 | 00139 <font class="comment"> * Revision 1.1 2000/03/02 19:54:50 roddey</font>
|
---|
183 | 00140 <font class="comment"> * This checkin includes many changes done while waiting for the</font>
|
---|
184 | 00141 <font class="comment"> * 1.1.0 code to be finished. I can't list them all here, but a list is</font>
|
---|
185 | 00142 <font class="comment"> * available elsewhere.</font>
|
---|
186 | 00143 <font class="comment"> *</font>
|
---|
187 | 00144 <font class="comment"> * Revision 1.13 2000/03/02 01:51:00 aruna1</font>
|
---|
188 | 00145 <font class="comment"> * Sun CC 5.0 related changes</font>
|
---|
189 | 00146 <font class="comment"> *</font>
|
---|
190 | 00147 <font class="comment"> * Revision 1.12 2000/02/24 20:05:26 abagchi</font>
|
---|
191 | 00148 <font class="comment"> * Swat for removing Log from API docs</font>
|
---|
192 | 00149 <font class="comment"> *</font>
|
---|
193 | 00150 <font class="comment"> * Revision 1.11 2000/02/22 01:00:10 aruna1</font>
|
---|
194 | 00151 <font class="comment"> * GNUGDefs references removed. Now only GCCDefs is used instead</font>
|
---|
195 | 00152 <font class="comment"> *</font>
|
---|
196 | 00153 <font class="comment"> * Revision 1.10 2000/02/06 07:48:05 rahulj</font>
|
---|
197 | 00154 <font class="comment"> * Year 2K copyright swat.</font>
|
---|
198 | 00155 <font class="comment"> *</font>
|
---|
199 | 00156 <font class="comment"> * Revision 1.9 2000/02/01 23:43:32 abagchi</font>
|
---|
200 | 00157 <font class="comment"> * AS/400 related change</font>
|
---|
201 | 00158 <font class="comment"> *</font>
|
---|
202 | 00159 <font class="comment"> * Revision 1.8 2000/01/21 22:12:29 abagchi</font>
|
---|
203 | 00160 <font class="comment"> * OS390 Change: changed OE390 to OS390</font>
|
---|
204 | 00161 <font class="comment"> *</font>
|
---|
205 | 00162 <font class="comment"> * Revision 1.7 2000/01/14 01:18:35 roddey</font>
|
---|
206 | 00163 <font class="comment"> * Added a macro, XMLStrL(), which is defined one way or another according</font>
|
---|
207 | 00164 <font class="comment"> * to whether the per-compiler file defines XML_LSTRSUPPORT or not. This</font>
|
---|
208 | 00165 <font class="comment"> * allows conditional support of L"" type prefixes.</font>
|
---|
209 | 00166 <font class="comment"> *</font>
|
---|
210 | 00167 <font class="comment"> * Revision 1.6 2000/01/14 00:52:06 roddey</font>
|
---|
211 | 00168 <font class="comment"> * Updated the version information for the next release, i.e. 1.1.0</font>
|
---|
212 | 00169 <font class="comment"> *</font>
|
---|
213 | 00170 <font class="comment"> * Revision 1.5 1999/12/17 01:28:53 rahulj</font>
|
---|
214 | 00171 <font class="comment"> * Merged in changes submitted for UnixWare 7 port. Platform</font>
|
---|
215 | 00172 <font class="comment"> * specific files are still missing.</font>
|
---|
216 | 00173 <font class="comment"> *</font>
|
---|
217 | 00174 <font class="comment"> * Revision 1.4 1999/12/16 23:47:10 rahulj</font>
|
---|
218 | 00175 <font class="comment"> * Updated for version 1.0.1</font>
|
---|
219 | 00176 <font class="comment"> *</font>
|
---|
220 | 00177 <font class="comment"> * Revision 1.3 1999/12/01 17:16:16 rahulj</font>
|
---|
221 | 00178 <font 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</font>
|
---|
222 | 00179 <font class="comment"> *</font>
|
---|
223 | 00180 <font class="comment"> * Revision 1.2 1999/11/10 02:02:51 abagchi</font>
|
---|
224 | 00181 <font class="comment"> * Changed version numbers</font>
|
---|
225 | 00182 <font class="comment"> *</font>
|
---|
226 | 00183 <font class="comment"> * Revision 1.1.1.1 1999/11/09 01:05:35 twl</font>
|
---|
227 | 00184 <font class="comment"> * Initial checkin</font>
|
---|
228 | 00185 <font class="comment"> *</font>
|
---|
229 | 00186 <font class="comment"> * Revision 1.3 1999/11/08 20:45:19 rahul</font>
|
---|
230 | 00187 <font class="comment"> * Swat for adding in Product name and CVS comment log variable.</font>
|
---|
231 | 00188 <font class="comment"> *</font>
|
---|
232 | 00189 <font class="comment"> */</font>
|
---|
233 | 00190
|
---|
234 | 00191
|
---|
235 | 00192 <font class="preprocessor">#if !defined(XERCESDEFS_HPP)</font>
|
---|
236 | <a name="l00193"></a><a class="code" href="XercesDefs_8hpp.html#a0">00193</a> <font class="preprocessor"></font><font class="preprocessor">#define XERCESDEFS_HPP</font>
|
---|
237 | 00194 <font class="preprocessor"></font>
|
---|
238 | 00195 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
239 | 00196 <font class="comment">// Include the Xerces version information; this is kept in a separate file to</font>
|
---|
240 | 00197 <font class="comment">// make modification simple and obvious. Updates to the version header file</font>
|
---|
241 | 00198 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
242 | 00199 <font class="preprocessor">#include <<a class="code" href="XercesVersion_8hpp.html">xercesc/util/XercesVersion.hpp</a>></font>
|
---|
243 | 00200
|
---|
244 | 00201
|
---|
245 | 00202 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
246 | 00203 <font class="comment">// Include the header that does automatic sensing of the current platform</font>
|
---|
247 | 00204 <font class="comment">// and compiler.</font>
|
---|
248 | 00205 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
249 | 00206 <font class="preprocessor">#include <<a class="code" href="AutoSense_8hpp.html">xercesc/util/AutoSense.hpp</a>></font>
|
---|
250 | 00207
|
---|
251 | 00208
|
---|
252 | 00209
|
---|
253 | 00210 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
254 | 00211 <font class="comment">// According to the platform we include a platform specific file. This guy</font>
|
---|
255 | 00212 <font class="comment">// will set up any platform specific stuff, such as character mode.</font>
|
---|
256 | 00213 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
257 | 00214 <font class="preprocessor">#if defined(XML_WIN32)</font>
|
---|
258 | 00215 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/Win32/Win32Defs.hpp></font>
|
---|
259 | 00216 <font class="preprocessor">#endif</font>
|
---|
260 | 00217 <font class="preprocessor"></font>
|
---|
261 | 00218 <font class="preprocessor">#if defined(XML_CYGWIN)</font>
|
---|
262 | 00219 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/Cygwin/CygwinDefs.hpp></font>
|
---|
263 | 00220 <font class="preprocessor">#endif</font>
|
---|
264 | 00221 <font class="preprocessor"></font>
|
---|
265 | 00222 <font class="preprocessor">#if defined(XML_AIX)</font>
|
---|
266 | 00223 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/AIX/AIXDefs.hpp></font>
|
---|
267 | 00224 <font class="preprocessor">#endif</font>
|
---|
268 | 00225 <font class="preprocessor"></font>
|
---|
269 | 00226 <font class="preprocessor">#if defined(XML_SOLARIS)</font>
|
---|
270 | 00227 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/Solaris/SolarisDefs.hpp></font>
|
---|
271 | 00228 <font class="preprocessor">#endif</font>
|
---|
272 | 00229 <font class="preprocessor"></font>
|
---|
273 | 00230 <font class="preprocessor">#if defined(XML_OPENSERVER)</font>
|
---|
274 | 00231 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/OpenServer/OpenServerDefs.hpp></font>
|
---|
275 | 00232 <font class="preprocessor">#endif</font>
|
---|
276 | 00233 <font class="preprocessor"></font>
|
---|
277 | 00234 <font class="preprocessor">#if defined(XML_UNIXWARE)</font>
|
---|
278 | 00235 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/UnixWare/UnixWareDefs.hpp></font>
|
---|
279 | 00236 <font class="preprocessor">#endif</font>
|
---|
280 | 00237 <font class="preprocessor"></font>
|
---|
281 | 00238 <font class="preprocessor">#if defined(XML_HPUX)</font>
|
---|
282 | 00239 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/HPUX/HPUXDefs.hpp></font>
|
---|
283 | 00240 <font class="preprocessor">#endif</font>
|
---|
284 | 00241 <font class="preprocessor"></font>
|
---|
285 | 00242 <font class="preprocessor">#if defined(XML_IRIX)</font>
|
---|
286 | 00243 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/IRIX/IRIXDefs.hpp></font>
|
---|
287 | 00244 <font class="preprocessor">#endif</font>
|
---|
288 | 00245 <font class="preprocessor"></font>
|
---|
289 | 00246 <font class="preprocessor">#if defined(XML_INTERIX)</font>
|
---|
290 | 00247 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/Interix/InterixDefs.hpp></font>
|
---|
291 | 00248 <font class="preprocessor">#endif</font>
|
---|
292 | 00249 <font class="preprocessor"></font>
|
---|
293 | 00250 <font class="preprocessor">#if defined(XML_TANDEM)</font>
|
---|
294 | 00251 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/Tandem/TandemDefs.hpp></font>
|
---|
295 | 00252 <font class="preprocessor">#endif</font>
|
---|
296 | 00253 <font class="preprocessor"></font>
|
---|
297 | 00254 <font class="preprocessor">#if defined(XML_BEOS)</font>
|
---|
298 | 00255 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/BeOS/BeOSDefs.hpp></font>
|
---|
299 | 00256 <font class="preprocessor">#endif</font>
|
---|
300 | 00257 <font class="preprocessor"></font>
|
---|
301 | 00258 <font class="preprocessor">#if defined(XML_LINUX)</font>
|
---|
302 | 00259 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/Linux/LinuxDefs.hpp></font>
|
---|
303 | 00260 <font class="preprocessor">#endif</font>
|
---|
304 | 00261 <font class="preprocessor"></font>
|
---|
305 | 00262 <font class="preprocessor">#if defined(XML_FREEBSD)</font>
|
---|
306 | 00263 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/FreeBSD/FreeBSDDefs.hpp></font>
|
---|
307 | 00264 <font class="preprocessor">#endif</font>
|
---|
308 | 00265 <font class="preprocessor"></font>
|
---|
309 | 00266 <font class="preprocessor">#if defined(XML_OS390)</font>
|
---|
310 | 00267 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/OS390/OS390Defs.hpp></font>
|
---|
311 | 00268 <font class="preprocessor">#endif</font>
|
---|
312 | 00269 <font class="preprocessor"></font>
|
---|
313 | 00270 <font class="preprocessor">#if defined(XML_PTX)</font>
|
---|
314 | 00271 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/PTX/PTXDefs.hpp></font>
|
---|
315 | 00272 <font class="preprocessor">#endif</font>
|
---|
316 | 00273 <font class="preprocessor"></font>
|
---|
317 | 00274 <font class="preprocessor">#if defined(XML_OS2)</font>
|
---|
318 | 00275 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/OS2/OS2Defs.hpp></font>
|
---|
319 | 00276 <font class="preprocessor">#endif</font>
|
---|
320 | 00277 <font class="preprocessor"></font>
|
---|
321 | 00278 <font class="preprocessor">#if defined(XML_MACOS)</font>
|
---|
322 | 00279 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/MacOS/MacOSDefs.hpp></font>
|
---|
323 | 00280 <font class="preprocessor">#endif</font>
|
---|
324 | 00281 <font class="preprocessor"></font>
|
---|
325 | 00282 <font class="preprocessor">#if defined(XML_AS400)</font>
|
---|
326 | 00283 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/OS400/OS400Defs.hpp></font>
|
---|
327 | 00284 <font class="preprocessor">#endif</font>
|
---|
328 | 00285 <font class="preprocessor"></font>
|
---|
329 | 00286 <font class="preprocessor">#if defined(XML_TRU64)</font>
|
---|
330 | 00287 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/Tru64/Tru64Defs.hpp></font>
|
---|
331 | 00288 <font class="preprocessor">#endif</font>
|
---|
332 | 00289 <font class="preprocessor"></font>
|
---|
333 | 00290 <font class="preprocessor">#if defined(XML_QNX)</font>
|
---|
334 | 00291 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/QNX/QNXDefs.hpp></font>
|
---|
335 | 00292 <font class="preprocessor">#endif</font>
|
---|
336 | 00293 <font class="preprocessor"></font>
|
---|
337 | 00294 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
338 | 00295 <font class="comment">// And now we subinclude a header according to the development environment</font>
|
---|
339 | 00296 <font class="comment">// we are on. This guy defines for each platform some basic stuff that is</font>
|
---|
340 | 00297 <font class="comment">// specific to the development environment.</font>
|
---|
341 | 00298 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
342 | 00299 <font class="preprocessor">#if defined(XML_VISUALCPP)</font>
|
---|
343 | 00300 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Compilers/VCPPDefs.hpp></font>
|
---|
344 | 00301 <font class="preprocessor">#endif</font>
|
---|
345 | 00302 <font class="preprocessor"></font>
|
---|
346 | 00303 <font class="preprocessor">#if defined(XML_CSET)</font>
|
---|
347 | 00304 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Compilers/CSetDefs.hpp></font>
|
---|
348 | 00305 <font class="preprocessor">#endif</font>
|
---|
349 | 00306 <font class="preprocessor"></font>
|
---|
350 | 00307 <font class="preprocessor">#if defined(XML_BORLAND)</font>
|
---|
351 | 00308 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Compilers/BorlandCDefs.hpp></font>
|
---|
352 | 00309 <font class="preprocessor">#endif</font>
|
---|
353 | 00310 <font class="preprocessor"></font>
|
---|
354 | 00311 <font class="preprocessor">#if defined(XML_SUNCC) || defined(XML_SUNCC5)</font>
|
---|
355 | 00312 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Compilers/SunCCDefs.hpp></font>
|
---|
356 | 00313 <font class="preprocessor">#endif</font>
|
---|
357 | 00314 <font class="preprocessor"></font>
|
---|
358 | 00315 <font class="preprocessor">#if defined(XML_SCOCC)</font>
|
---|
359 | 00316 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Compilers/SCOCCDefs.hpp></font>
|
---|
360 | 00317 <font class="preprocessor">#endif</font>
|
---|
361 | 00318 <font class="preprocessor"></font>
|
---|
362 | 00319 <font class="preprocessor">#if defined(XML_SOLARIS_KAICC)</font>
|
---|
363 | 00320 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Compilers/SunKaiDefs.hpp></font>
|
---|
364 | 00321 <font class="preprocessor">#endif</font>
|
---|
365 | 00322 <font class="preprocessor"></font>
|
---|
366 | 00323 <font class="preprocessor">#if defined(XML_HPUX_CC) || defined(XML_HPUX_aCC) || defined(XML_HPUX_KAICC)</font>
|
---|
367 | 00324 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Compilers/HPCCDefs.hpp></font>
|
---|
368 | 00325 <font class="preprocessor">#endif</font>
|
---|
369 | 00326 <font class="preprocessor"></font>
|
---|
370 | 00327 <font class="preprocessor">#if defined(XML_MIPSPRO_CC)</font>
|
---|
371 | 00328 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Compilers/MIPSproDefs.hpp></font>
|
---|
372 | 00329 <font class="preprocessor">#endif</font>
|
---|
373 | 00330 <font class="preprocessor"></font>
|
---|
374 | 00331 <font class="preprocessor">#if defined(XML_TANDEMCC)</font>
|
---|
375 | 00332 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Compilers/TandemCCDefs.hpp></font>
|
---|
376 | 00333 <font class="preprocessor">#endif</font>
|
---|
377 | 00334 <font class="preprocessor"></font>
|
---|
378 | 00335 <font class="preprocessor">#if defined(XML_GCC)</font>
|
---|
379 | 00336 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Compilers/GCCDefs.hpp></font>
|
---|
380 | 00337 <font class="preprocessor">#endif</font>
|
---|
381 | 00338 <font class="preprocessor"></font>
|
---|
382 | 00339 <font class="preprocessor">#if defined(XML_MVSCPP)</font>
|
---|
383 | 00340 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Compilers/MVSCPPDefs.hpp></font>
|
---|
384 | 00341 <font class="preprocessor">#endif</font>
|
---|
385 | 00342 <font class="preprocessor"></font>
|
---|
386 | 00343 <font class="preprocessor">#if defined(XML_IBMVAW32)</font>
|
---|
387 | 00344 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Compilers/IBMVAW32Defs.hpp></font>
|
---|
388 | 00345 <font class="preprocessor">#endif</font>
|
---|
389 | 00346 <font class="preprocessor"></font>
|
---|
390 | 00347 <font class="preprocessor">#if defined(XML_IBMVAOS2)</font>
|
---|
391 | 00348 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Compilers/IBMVAOS2Defs.hpp></font>
|
---|
392 | 00349 <font class="preprocessor">#endif</font>
|
---|
393 | 00350 <font class="preprocessor"></font>
|
---|
394 | 00351 <font class="preprocessor">#if defined(XML_METROWERKS)</font>
|
---|
395 | 00352 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Compilers/CodeWarriorDefs.hpp></font>
|
---|
396 | 00353 <font class="preprocessor">#endif</font>
|
---|
397 | 00354 <font class="preprocessor"></font>
|
---|
398 | 00355 <font class="preprocessor">#if defined(XML_PTX_CC)</font>
|
---|
399 | 00356 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Compilers/PTXCCDefs.hpp></font>
|
---|
400 | 00357 <font class="preprocessor">#endif</font>
|
---|
401 | 00358 <font class="preprocessor"></font>
|
---|
402 | 00359 <font class="preprocessor">#if defined(XML_AS400)</font>
|
---|
403 | 00360 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Compilers/OS400SetDefs.hpp></font>
|
---|
404 | 00361 <font class="preprocessor">#endif</font>
|
---|
405 | 00362 <font class="preprocessor"></font>
|
---|
406 | 00363 <font class="preprocessor">#if defined(XML_DECCXX)</font>
|
---|
407 | 00364 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Compilers/DECCXXDefs.hpp></font>
|
---|
408 | 00365 <font class="preprocessor">#endif</font>
|
---|
409 | 00366 <font class="preprocessor"></font>
|
---|
410 | 00367 <font class="preprocessor">#if defined(XML_QCC)</font>
|
---|
411 | 00368 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Compilers/QCCDefs.hpp></font>
|
---|
412 | 00369 <font class="preprocessor">#endif</font>
|
---|
413 | 00370 <font class="preprocessor"></font>
|
---|
414 | 00371 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
415 | 00372 <font class="comment">// Some general typedefs that are defined for internal flexibility.</font>
|
---|
416 | 00373 <font class="comment">//</font>
|
---|
417 | 00374 <font class="comment">// Note that UTF16Ch is fixed at 16 bits, whereas XMLCh floats in size per</font>
|
---|
418 | 00375 <font class="comment">// platform, to whatever is the native wide char format there. UCS4Ch is</font>
|
---|
419 | 00376 <font class="comment">// fixed at 32 bits. The types we defined them in terms of are defined per</font>
|
---|
420 | 00377 <font class="comment">// compiler, using whatever types are the right ones for them to get these</font>
|
---|
421 | 00378 <font class="comment">// 16/32 bit sizes.</font>
|
---|
422 | 00379 <font class="comment">//</font>
|
---|
423 | 00380 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
424 | <a name="l00381"></a><a class="code" href="XercesDefs_8hpp.html#a16">00381</a> <font class="keyword">typedef</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> <a class="code" href="XercesDefs_8hpp.html#a16">XMLByte</a>;
|
---|
425 | <a name="l00382"></a><a class="code" href="XercesDefs_8hpp.html#a17">00382</a> <font class="keyword">typedef</font> XMLUInt16 <a class="code" href="XercesDefs_8hpp.html#a17">UTF16Ch</a>;
|
---|
426 | <a name="l00383"></a><a class="code" href="XercesDefs_8hpp.html#a18">00383</a> <font class="keyword">typedef</font> XMLUInt32 <a class="code" href="XercesDefs_8hpp.html#a18">UCS4Ch</a>;
|
---|
427 | 00384
|
---|
428 | 00385
|
---|
429 | 00386 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
430 | 00387 <font class="comment">// Handle boolean. If the platform can handle booleans itself, then we</font>
|
---|
431 | 00388 <font class="comment">// map our boolean type to the native type. Otherwise we create a default</font>
|
---|
432 | 00389 <font class="comment">// one as an int and define const values for true and false.</font>
|
---|
433 | 00390 <font class="comment">//</font>
|
---|
434 | 00391 <font class="comment">// This flag will be set in the per-development environment stuff above.</font>
|
---|
435 | 00392 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
436 | 00393 <font class="preprocessor">#if defined(NO_NATIVE_BOOL)</font>
|
---|
437 | 00394 <font class="preprocessor"></font><font class="preprocessor"> #ifndef bool</font>
|
---|
438 | 00395 <font class="preprocessor"></font> <font class="keyword">typedef</font> <font class="keywordtype">int</font> <font class="keywordtype">bool</font>;
|
---|
439 | 00396 <font class="preprocessor"> #endif</font>
|
---|
440 | 00397 <font class="preprocessor"></font><font class="preprocessor"> #ifndef true</font>
|
---|
441 | 00398 <font class="preprocessor"></font><font class="preprocessor"> #define true 1</font>
|
---|
442 | 00399 <font class="preprocessor"></font><font class="preprocessor"> #endif</font>
|
---|
443 | 00400 <font class="preprocessor"></font><font class="preprocessor"> #ifndef false</font>
|
---|
444 | 00401 <font class="preprocessor"></font><font class="preprocessor"> #define false 0</font>
|
---|
445 | 00402 <font class="preprocessor"></font><font class="preprocessor"> #endif</font>
|
---|
446 | 00403 <font class="preprocessor"></font><font class="preprocessor">#endif</font>
|
---|
447 | 00404 <font class="preprocessor"></font>
|
---|
448 | 00405 <font class="preprocessor">#if defined(XML_NETBSD)</font>
|
---|
449 | 00406 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/util/Platforms/NetBSD/NetBSDDefs.hpp></font>
|
---|
450 | 00407 <font class="preprocessor">#endif</font>
|
---|
451 | 00408 <font class="preprocessor"></font>
|
---|
452 | 00409 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
453 | 00410 <font class="comment">// According to whether the compiler suports L"" type strings, we define</font>
|
---|
454 | 00411 <font class="comment">// the XMLStrL() macro one way or another.</font>
|
---|
455 | 00412 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
456 | 00413 <font class="preprocessor">#if defined(XML_LSTRSUPPORT)</font>
|
---|
457 | 00414 <font class="preprocessor"></font><font class="preprocessor">#define XMLStrL(str) L##str</font>
|
---|
458 | 00415 <font class="preprocessor"></font><font class="preprocessor">#else</font>
|
---|
459 | <a name="l00416"></a><a class="code" href="XercesDefs_8hpp.html#a1">00416</a> <font class="preprocessor"></font><font class="preprocessor">#define XMLStrL(str) str</font>
|
---|
460 | 00417 <font class="preprocessor"></font><font class="preprocessor">#endif</font>
|
---|
461 | 00418 <font class="preprocessor"></font>
|
---|
462 | 00419
|
---|
463 | 00420 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
464 | 00421 <font class="comment">// Define namespace symbols if the compiler supports it.</font>
|
---|
465 | 00422 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
466 | 00423 <font class="preprocessor">#if defined(XERCES_HAS_CPP_NAMESPACE)</font>
|
---|
467 | 00424 <font class="preprocessor"></font><font class="preprocessor"> #define XERCES_CPP_NAMESPACE_BEGIN namespace XERCES_CPP_NAMESPACE {</font>
|
---|
468 | 00425 <font class="preprocessor"></font><font class="preprocessor"> #define XERCES_CPP_NAMESPACE_END }</font>
|
---|
469 | 00426 <font class="preprocessor"></font><font class="preprocessor"> #define XERCES_CPP_NAMESPACE_USE using namespace XERCES_CPP_NAMESPACE;</font>
|
---|
470 | 00427 <font class="preprocessor"></font><font class="preprocessor"> #define XERCES_CPP_NAMESPACE_QUALIFIER XERCES_CPP_NAMESPACE::</font>
|
---|
471 | 00428 <font class="preprocessor"></font>
|
---|
472 | 00429 <font class="keyword">namespace </font><a class="code" href="XercesVersion_8hpp.html#a30">XERCES_CPP_NAMESPACE</a> { }
|
---|
473 | 00430 <font class="keyword">namespace </font>xercesc = <a class="code" href="XercesVersion_8hpp.html#a30">XERCES_CPP_NAMESPACE</a>;
|
---|
474 | 00431 <font class="preprocessor">#else</font>
|
---|
475 | <a name="l00432"></a><a class="code" href="XercesDefs_8hpp.html#a2">00432</a> <font class="preprocessor"></font><font class="preprocessor"> #define XERCES_CPP_NAMESPACE_BEGIN</font>
|
---|
476 | <a name="l00433"></a><a class="code" href="XercesDefs_8hpp.html#a3">00433</a> <font class="preprocessor"></font><font class="preprocessor"> #define XERCES_CPP_NAMESPACE_END</font>
|
---|
477 | <a name="l00434"></a><a class="code" href="XercesDefs_8hpp.html#a4">00434</a> <font class="preprocessor"></font><font class="preprocessor"> #define XERCES_CPP_NAMESPACE_USE</font>
|
---|
478 | <a name="l00435"></a><a class="code" href="XercesDefs_8hpp.html#a5">00435</a> <font class="preprocessor"></font><font class="preprocessor"> #define XERCES_CPP_NAMESPACE_QUALIFIER</font>
|
---|
479 | 00436 <font class="preprocessor"></font><font class="preprocessor">#endif</font>
|
---|
480 | 00437 <font class="preprocessor"></font>
|
---|
481 | 00438 <font class="preprocessor">#if defined(XERCES_STD_NAMESPACE)</font>
|
---|
482 | 00439 <font class="preprocessor"></font><font class="preprocessor"> #define XERCES_USING_STD(NAME) using std :: NAME;</font>
|
---|
483 | 00440 <font class="preprocessor"></font><font class="preprocessor"> #define XERCES_STD_QUALIFIER std ::</font>
|
---|
484 | 00441 <font class="preprocessor"></font><font class="preprocessor">#else</font>
|
---|
485 | <a name="l00442"></a><a class="code" href="XercesDefs_8hpp.html#a6">00442</a> <font class="preprocessor"></font><font class="preprocessor"> #define XERCES_USING_STD(NAME)</font>
|
---|
486 | <a name="l00443"></a><a class="code" href="XercesDefs_8hpp.html#a7">00443</a> <font class="preprocessor"></font><font class="preprocessor"> #define XERCES_STD_QUALIFIER </font>
|
---|
487 | 00444 <font class="preprocessor"></font><font class="preprocessor">#endif</font>
|
---|
488 | 00445 <font class="preprocessor"></font>
|
---|
489 | 00446
|
---|
490 | 00447 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
491 | 00448 <font class="comment">// Set up the import/export keyword for our core projects. The</font>
|
---|
492 | 00449 <font class="comment">// PLATFORM_XXXX keywords are set in the per-development environment</font>
|
---|
493 | 00450 <font class="comment">// include above.</font>
|
---|
494 | 00451 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
495 | 00452 <font class="preprocessor">#if defined(PROJ_XMLUTIL)</font>
|
---|
496 | 00453 <font class="preprocessor"></font><font class="preprocessor">#define PLATFORM_EXPORT</font>
|
---|
497 | 00454 <font class="preprocessor"></font><font class="preprocessor">#else</font>
|
---|
498 | <a name="l00455"></a><a class="code" href="XercesDefs_8hpp.html#a8">00455</a> <font class="preprocessor"></font><font class="preprocessor">#define PLATFORM_IMPORT</font>
|
---|
499 | 00456 <font class="preprocessor"></font><font class="preprocessor">#endif</font>
|
---|
500 | 00457 <font class="preprocessor"></font>
|
---|
501 | 00458 <font class="preprocessor">#if defined(PROJ_XMLPARSER)</font>
|
---|
502 | 00459 <font class="preprocessor"></font><font class="preprocessor">#define PLATFORM_EXPORT</font>
|
---|
503 | 00460 <font class="preprocessor"></font><font class="preprocessor">#else</font>
|
---|
504 | <a name="l00461"></a><a class="code" href="XercesDefs_8hpp.html#a9">00461</a> <font class="preprocessor"></font><font class="preprocessor">#define PLATFORM_IMPORT</font>
|
---|
505 | 00462 <font class="preprocessor"></font><font class="preprocessor">#endif</font>
|
---|
506 | 00463 <font class="preprocessor"></font>
|
---|
507 | 00464 <font class="preprocessor">#if defined(PROJ_SAX4C)</font>
|
---|
508 | 00465 <font class="preprocessor"></font><font class="preprocessor">#define PLATFORM_EXPORT</font>
|
---|
509 | 00466 <font class="preprocessor"></font><font class="preprocessor">#else</font>
|
---|
510 | <a name="l00467"></a><a class="code" href="XercesDefs_8hpp.html#a10">00467</a> <font class="preprocessor"></font><font class="preprocessor">#define PLATFORM_IMPORT</font>
|
---|
511 | 00468 <font class="preprocessor"></font><font class="preprocessor">#endif</font>
|
---|
512 | 00469 <font class="preprocessor"></font>
|
---|
513 | 00470 <font class="preprocessor">#if defined(PROJ_SAX2)</font>
|
---|
514 | 00471 <font class="preprocessor"></font><font class="preprocessor">#define PLATFORM_EXPORT</font>
|
---|
515 | 00472 <font class="preprocessor"></font><font class="preprocessor">#else</font>
|
---|
516 | <a name="l00473"></a><a class="code" href="XercesDefs_8hpp.html#a11">00473</a> <font class="preprocessor"></font><font class="preprocessor">#define PLATFORM_IMPORT</font>
|
---|
517 | 00474 <font class="preprocessor"></font><font class="preprocessor">#endif</font>
|
---|
518 | 00475 <font class="preprocessor"></font>
|
---|
519 | 00476 <font class="preprocessor">#if defined(PROJ_DOM)</font>
|
---|
520 | 00477 <font class="preprocessor"></font><font class="preprocessor">#define PLATFORM_EXPORT</font>
|
---|
521 | 00478 <font class="preprocessor"></font><font class="preprocessor">#else</font>
|
---|
522 | <a name="l00479"></a><a class="code" href="XercesDefs_8hpp.html#a12">00479</a> <font class="preprocessor"></font><font class="preprocessor">#define PLATFORM_IMPORT</font>
|
---|
523 | 00480 <font class="preprocessor"></font><font class="preprocessor">#endif</font>
|
---|
524 | 00481 <font class="preprocessor"></font>
|
---|
525 | 00482 <font class="preprocessor">#if defined(PROJ_DEPRECATED_DOM)</font>
|
---|
526 | 00483 <font class="preprocessor"></font><font class="preprocessor">#define DEPRECATED_DOM_EXPORT PLATFORM_EXPORT</font>
|
---|
527 | 00484 <font class="preprocessor"></font><font class="preprocessor">#else</font>
|
---|
528 | <a name="l00485"></a><a class="code" href="XercesDefs_8hpp.html#a13">00485</a> <font class="preprocessor"></font><font class="preprocessor">#define DEPRECATED_DOM_EXPORT PLATFORM_IMPORT</font>
|
---|
529 | 00486 <font class="preprocessor"></font><font class="preprocessor">#endif</font>
|
---|
530 | 00487 <font class="preprocessor"></font>
|
---|
531 | 00488 <font class="preprocessor">#if defined(PROJ_PARSERS)</font>
|
---|
532 | 00489 <font class="preprocessor"></font><font class="preprocessor">#define PLATFORM_EXPORT</font>
|
---|
533 | 00490 <font class="preprocessor"></font><font class="preprocessor">#else</font>
|
---|
534 | <a name="l00491"></a><a class="code" href="XercesDefs_8hpp.html#a14">00491</a> <font class="preprocessor"></font><font class="preprocessor">#define PLATFORM_IMPORT</font>
|
---|
535 | 00492 <font class="preprocessor"></font><font class="preprocessor">#endif</font>
|
---|
536 | 00493 <font class="preprocessor"></font>
|
---|
537 | 00494 <font class="preprocessor">#if defined(PROJ_VALIDATORS)</font>
|
---|
538 | 00495 <font class="preprocessor"></font><font class="preprocessor">#define VALIDATORS_EXPORT PLATFORM_EXPORT</font>
|
---|
539 | 00496 <font class="preprocessor"></font><font class="preprocessor">#else</font>
|
---|
540 | <a name="l00497"></a><a class="code" href="XercesDefs_8hpp.html#a15">00497</a> <font class="preprocessor"></font><font class="preprocessor">#define VALIDATORS_EXPORT PLATFORM_IMPORT</font>
|
---|
541 | 00498 <font class="preprocessor"></font><font class="preprocessor">#endif</font>
|
---|
542 | 00499 <font class="preprocessor"></font>
|
---|
543 | 00500 <font class="preprocessor">#endif</font>
|
---|
544 | </pre></div> </FONT></TD></TR></TABLE><BR>
|
---|
545 | </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>
|
---|
546 | Copyright © 1994-2004 The Apache Software Foundation.
|
---|
547 | All Rights Reserved.
|
---|
548 | </I></FONT></TD></TR></TABLE></BODY></HTML>
|
---|