00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147
00148
00149
00150
00151
00152
00153
00154
00155
00156
00157
00158
00159
00160
00161
00162
00163
00164
00165
00166
00167
00168
00169
00170
00171
00172
00173
00174
00175
00176
00177
00178
00179
00180
00181
00182
00183
00184
00185
00186
00187
00188
00189
00190
00191
00192 #if !defined(XERCESDEFS_HPP)
00193 #define XERCESDEFS_HPP
00194
00195
00196
00197
00198
00199 #include <xercesc/util/XercesVersion.hpp>
00200
00201
00202
00203
00204
00205
00206 #include <xercesc/util/AutoSense.hpp>
00207
00208
00209
00210
00211
00212
00213
00214 #if defined(XML_WIN32)
00215 #include <xercesc/util/Platforms/Win32/Win32Defs.hpp>
00216 #endif
00217
00218 #if defined(XML_CYGWIN)
00219 #include <xercesc/util/Platforms/Cygwin/CygwinDefs.hpp>
00220 #endif
00221
00222 #if defined(XML_AIX)
00223 #include <xercesc/util/Platforms/AIX/AIXDefs.hpp>
00224 #endif
00225
00226 #if defined(XML_SOLARIS)
00227 #include <xercesc/util/Platforms/Solaris/SolarisDefs.hpp>
00228 #endif
00229
00230 #if defined(XML_OPENSERVER)
00231 #include <xercesc/util/Platforms/OpenServer/OpenServerDefs.hpp>
00232 #endif
00233
00234 #if defined(XML_UNIXWARE)
00235 #include <xercesc/util/Platforms/UnixWare/UnixWareDefs.hpp>
00236 #endif
00237
00238 #if defined(XML_HPUX)
00239 #include <xercesc/util/Platforms/HPUX/HPUXDefs.hpp>
00240 #endif
00241
00242 #if defined(XML_IRIX)
00243 #include <xercesc/util/Platforms/IRIX/IRIXDefs.hpp>
00244 #endif
00245
00246 #if defined(XML_INTERIX)
00247 #include <xercesc/util/Platforms/Interix/InterixDefs.hpp>
00248 #endif
00249
00250 #if defined(XML_TANDEM)
00251 #include <xercesc/util/Platforms/Tandem/TandemDefs.hpp>
00252 #endif
00253
00254 #if defined(XML_BEOS)
00255 #include <xercesc/util/Platforms/BeOS/BeOSDefs.hpp>
00256 #endif
00257
00258 #if defined(XML_LINUX)
00259 #include <xercesc/util/Platforms/Linux/LinuxDefs.hpp>
00260 #endif
00261
00262 #if defined(XML_FREEBSD)
00263 #include <xercesc/util/Platforms/FreeBSD/FreeBSDDefs.hpp>
00264 #endif
00265
00266 #if defined(XML_OS390)
00267 #include <xercesc/util/Platforms/OS390/OS390Defs.hpp>
00268 #endif
00269
00270 #if defined(XML_PTX)
00271 #include <xercesc/util/Platforms/PTX/PTXDefs.hpp>
00272 #endif
00273
00274 #if defined(XML_OS2)
00275 #include <xercesc/util/Platforms/OS2/OS2Defs.hpp>
00276 #endif
00277
00278 #if defined(XML_MACOS)
00279 #include <xercesc/util/Platforms/MacOS/MacOSDefs.hpp>
00280 #endif
00281
00282 #if defined(XML_AS400)
00283 #include <xercesc/util/Platforms/OS400/OS400Defs.hpp>
00284 #endif
00285
00286 #if defined(XML_TRU64)
00287 #include <xercesc/util/Platforms/Tru64/Tru64Defs.hpp>
00288 #endif
00289
00290 #if defined(XML_QNX)
00291 #include <xercesc/util/Platforms/QNX/QNXDefs.hpp>
00292 #endif
00293
00294
00295
00296
00297
00298
00299 #if defined(XML_VISUALCPP)
00300 #include <xercesc/util/Compilers/VCPPDefs.hpp>
00301 #endif
00302
00303 #if defined(XML_CSET)
00304 #include <xercesc/util/Compilers/CSetDefs.hpp>
00305 #endif
00306
00307 #if defined(XML_BORLAND)
00308 #include <xercesc/util/Compilers/BorlandCDefs.hpp>
00309 #endif
00310
00311 #if defined(XML_SUNCC) || defined(XML_SUNCC5)
00312 #include <xercesc/util/Compilers/SunCCDefs.hpp>
00313 #endif
00314
00315 #if defined(XML_SCOCC)
00316 #include <xercesc/util/Compilers/SCOCCDefs.hpp>
00317 #endif
00318
00319 #if defined(XML_SOLARIS_KAICC)
00320 #include <xercesc/util/Compilers/SunKaiDefs.hpp>
00321 #endif
00322
00323 #if defined(XML_HPUX_CC) || defined(XML_HPUX_aCC) || defined(XML_HPUX_KAICC)
00324 #include <xercesc/util/Compilers/HPCCDefs.hpp>
00325 #endif
00326
00327 #if defined(XML_MIPSPRO_CC)
00328 #include <xercesc/util/Compilers/MIPSproDefs.hpp>
00329 #endif
00330
00331 #if defined(XML_TANDEMCC)
00332 #include <xercesc/util/Compilers/TandemCCDefs.hpp>
00333 #endif
00334
00335 #if defined(XML_GCC)
00336 #include <xercesc/util/Compilers/GCCDefs.hpp>
00337 #endif
00338
00339 #if defined(XML_MVSCPP)
00340 #include <xercesc/util/Compilers/MVSCPPDefs.hpp>
00341 #endif
00342
00343 #if defined(XML_IBMVAW32)
00344 #include <xercesc/util/Compilers/IBMVAW32Defs.hpp>
00345 #endif
00346
00347 #if defined(XML_IBMVAOS2)
00348 #include <xercesc/util/Compilers/IBMVAOS2Defs.hpp>
00349 #endif
00350
00351 #if defined(XML_METROWERKS)
00352 #include <xercesc/util/Compilers/CodeWarriorDefs.hpp>
00353 #endif
00354
00355 #if defined(XML_PTX_CC)
00356 #include <xercesc/util/Compilers/PTXCCDefs.hpp>
00357 #endif
00358
00359 #if defined(XML_AS400)
00360 #include <xercesc/util/Compilers/OS400SetDefs.hpp>
00361 #endif
00362
00363 #if defined(XML_DECCXX)
00364 #include <xercesc/util/Compilers/DECCXXDefs.hpp>
00365 #endif
00366
00367 #if defined(XML_QCC)
00368 #include <xercesc/util/Compilers/QCCDefs.hpp>
00369 #endif
00370
00371
00372
00373
00374
00375
00376
00377
00378
00379
00380
00381 typedef unsigned char XMLByte;
00382 typedef XMLUInt16 UTF16Ch;
00383 typedef XMLUInt32 UCS4Ch;
00384
00385
00386
00387
00388
00389
00390
00391
00392
00393 #if defined(NO_NATIVE_BOOL)
00394 #ifndef bool
00395 typedef int bool;
00396 #endif
00397 #ifndef true
00398 #define true 1
00399 #endif
00400 #ifndef false
00401 #define false 0
00402 #endif
00403 #endif
00404
00405 #if defined(XML_NETBSD)
00406 #include <xercesc/util/Platforms/NetBSD/NetBSDDefs.hpp>
00407 #endif
00408
00409
00410
00411
00412
00413 #if defined(XML_LSTRSUPPORT)
00414 #define XMLStrL(str) L##str
00415 #else
00416 #define XMLStrL(str) str
00417 #endif
00418
00419
00420
00421
00422
00423 #if defined(XERCES_HAS_CPP_NAMESPACE)
00424 #define XERCES_CPP_NAMESPACE_BEGIN namespace XERCES_CPP_NAMESPACE {
00425 #define XERCES_CPP_NAMESPACE_END }
00426 #define XERCES_CPP_NAMESPACE_USE using namespace XERCES_CPP_NAMESPACE;
00427 #define XERCES_CPP_NAMESPACE_QUALIFIER XERCES_CPP_NAMESPACE::
00428
00429 namespace XERCES_CPP_NAMESPACE { }
00430 namespace xercesc = XERCES_CPP_NAMESPACE;
00431 #else
00432 #define XERCES_CPP_NAMESPACE_BEGIN
00433 #define XERCES_CPP_NAMESPACE_END
00434 #define XERCES_CPP_NAMESPACE_USE
00435 #define XERCES_CPP_NAMESPACE_QUALIFIER
00436 #endif
00437
00438 #if defined(XERCES_STD_NAMESPACE)
00439 #define XERCES_USING_STD(NAME) using std :: NAME;
00440 #define XERCES_STD_QUALIFIER std ::
00441 #else
00442 #define XERCES_USING_STD(NAME)
00443 #define XERCES_STD_QUALIFIER
00444 #endif
00445
00446
00447
00448
00449
00450
00451
00452 #if defined(PROJ_XMLUTIL)
00453 #define PLATFORM_EXPORT
00454 #else
00455 #define PLATFORM_IMPORT
00456 #endif
00457
00458 #if defined(PROJ_XMLPARSER)
00459 #define PLATFORM_EXPORT
00460 #else
00461 #define PLATFORM_IMPORT
00462 #endif
00463
00464 #if defined(PROJ_SAX4C)
00465 #define PLATFORM_EXPORT
00466 #else
00467 #define PLATFORM_IMPORT
00468 #endif
00469
00470 #if defined(PROJ_SAX2)
00471 #define PLATFORM_EXPORT
00472 #else
00473 #define PLATFORM_IMPORT
00474 #endif
00475
00476 #if defined(PROJ_DOM)
00477 #define PLATFORM_EXPORT
00478 #else
00479 #define PLATFORM_IMPORT
00480 #endif
00481
00482 #if defined(PROJ_DEPRECATED_DOM)
00483 #define DEPRECATED_DOM_EXPORT PLATFORM_EXPORT
00484 #else
00485 #define DEPRECATED_DOM_EXPORT PLATFORM_IMPORT
00486 #endif
00487
00488 #if defined(PROJ_PARSERS)
00489 #define PLATFORM_EXPORT
00490 #else
00491 #define PLATFORM_IMPORT
00492 #endif
00493
00494 #if defined(PROJ_VALIDATORS)
00495 #define VALIDATORS_EXPORT PLATFORM_EXPORT
00496 #else
00497 #define VALIDATORS_EXPORT PLATFORM_IMPORT
00498 #endif
00499
00500 #endif