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
00193
00194
00195
00196
00197
00198
00199
00200
00201
00202
00203
00204
00205
00206
00207
00208
00209
00210
00211
00212
00213
00214
00215
00216
00217
00218
00219
00220
00221
00222
00223 #if !defined(XERCESDEFS_HPP)
00224 #define XERCESDEFS_HPP
00225
00226
00227
00228
00229
00230 #include <xercesc/util/XercesVersion.hpp>
00231
00232
00233
00234
00235
00236
00237 #include <xercesc/util/AutoSense.hpp>
00238
00239
00240
00241
00242
00243
00244
00245 #if defined(XML_WIN32)
00246 #include <xercesc/util/Platforms/Win32/Win32Defs.hpp>
00247 #endif
00248
00249 #if defined(XML_AIX)
00250 #include <xercesc/util/Platforms/AIX/AIXDefs.hpp>
00251 #endif
00252
00253 #if defined(XML_SOLARIS)
00254 #include <xercesc/util/Platforms/Solaris/SolarisDefs.hpp>
00255 #endif
00256
00257 #if defined(XML_OPENSERVER)
00258 #include <xercesc/util/Platforms/OpenServer/OpenServerDefs.hpp>
00259 #endif
00260
00261 #if defined(XML_UNIXWARE)
00262 #include <xercesc/util/Platforms/UnixWare/UnixWareDefs.hpp>
00263 #endif
00264
00265 #if defined(XML_HPUX)
00266 #include <xercesc/util/Platforms/HPUX/HPUXDefs.hpp>
00267 #endif
00268
00269 #if defined(XML_IRIX)
00270 #include <xercesc/util/Platforms/IRIX/IRIXDefs.hpp>
00271 #endif
00272
00273 #if defined(XML_INTERIX)
00274 #include <xercesc/util/Platforms/Interix/InterixDefs.hpp>
00275 #endif
00276
00277 #if defined(XML_TANDEM)
00278 #include <xercesc/util/Platforms/Tandem/TandemDefs.hpp>
00279 #endif
00280
00281 #if defined(XML_BEOS)
00282 #include <xercesc/util/Platforms/BeOS/BeOSDefs.hpp>
00283 #endif
00284
00285 #if defined(XML_LINUX)
00286 #include <xercesc/util/Platforms/Linux/LinuxDefs.hpp>
00287 #endif
00288
00289 #if defined(XML_FREEBSD)
00290 #include <xercesc/util/Platforms/FreeBSD/FreeBSDDefs.hpp>
00291 #endif
00292
00293 #if defined(XML_OS390)
00294 #include <xercesc/util/Platforms/OS390/OS390Defs.hpp>
00295 #endif
00296
00297 #if defined(XML_PTX)
00298 #include <xercesc/util/Platforms/PTX/PTXDefs.hpp>
00299 #endif
00300
00301 #if defined(XML_OS2)
00302 #include <xercesc/util/Platforms/OS2/OS2Defs.hpp>
00303 #endif
00304
00305 #if defined(XML_MACOS)
00306 #include <xercesc/util/Platforms/MacOS/MacOSDefs.hpp>
00307 #endif
00308
00309 #if defined(XML_AS400)
00310 #include <xercesc/util/Platforms/OS400/OS400Defs.hpp>
00311 #endif
00312
00313 #if defined(XML_TRU64)
00314 #include <xercesc/util/Platforms/Tru64/Tru64Defs.hpp>
00315 #endif
00316
00317 #if defined(XML_QNX)
00318 #include <xercesc/util/Platforms/QNX/QNXDefs.hpp>
00319 #endif
00320
00321
00322
00323
00324
00325
00326 #if defined(XML_VISUALCPP)
00327 #include <xercesc/util/Compilers/VCPPDefs.hpp>
00328 #endif
00329
00330 #if defined(XML_CSET)
00331 #include <xercesc/util/Compilers/CSetDefs.hpp>
00332 #endif
00333
00334 #if defined(XML_BORLAND)
00335 #include <xercesc/util/Compilers/BorlandCDefs.hpp>
00336 #endif
00337
00338 #if defined(XML_SUNCC) || defined(XML_SUNCC5)
00339 #include <xercesc/util/Compilers/SunCCDefs.hpp>
00340 #endif
00341
00342 #if defined(XML_SCOCC)
00343 #include <xercesc/util/Compilers/SCOCCDefs.hpp>
00344 #endif
00345
00346 #if defined(XML_SOLARIS_KAICC)
00347 #include <xercesc/util/Compilers/SunKaiDefs.hpp>
00348 #endif
00349
00350 #if defined(XML_HPUX_CC) || defined(XML_HPUX_aCC) || defined(XML_HPUX_KAICC)
00351 #include <xercesc/util/Compilers/HPCCDefs.hpp>
00352 #endif
00353
00354 #if defined(XML_MIPSPRO_CC)
00355 #include <xercesc/util/Compilers/MIPSproDefs.hpp>
00356 #endif
00357
00358 #if defined(XML_TANDEMCC)
00359 #include <xercesc/util/Compilers/TandemCCDefs.hpp>
00360 #endif
00361
00362 #if defined(XML_GCC)
00363 #include <xercesc/util/Compilers/GCCDefs.hpp>
00364 #endif
00365
00366 #if defined(XML_MVSCPP)
00367 #include <xercesc/util/Compilers/MVSCPPDefs.hpp>
00368 #endif
00369
00370 #if defined(XML_IBMVAW32)
00371 #include <xercesc/util/Compilers/IBMVAW32Defs.hpp>
00372 #endif
00373
00374 #if defined(XML_IBMVAOS2)
00375 #include <xercesc/util/Compilers/IBMVAOS2Defs.hpp>
00376 #endif
00377
00378 #if defined(XML_METROWERKS)
00379 #include <xercesc/util/Compilers/CodeWarriorDefs.hpp>
00380 #endif
00381
00382 #if defined(XML_PTX_CC)
00383 #include <xercesc/util/Compilers/PTXCCDefs.hpp>
00384 #endif
00385
00386 #if defined(XML_AS400)
00387 #include <xercesc/util/Compilers/OS400SetDefs.hpp>
00388 #endif
00389
00390 #if defined(XML_DECCXX)
00391 #include <xercesc/util/Compilers/DECCXXDefs.hpp>
00392 #endif
00393
00394 #if defined(XML_QCC)
00395 #include <xercesc/util/Compilers/QCCDefs.hpp>
00396 #endif
00397
00398
00399
00400
00401
00402
00403
00404
00405
00406
00407
00408 typedef unsigned char XMLByte;
00409 typedef XMLUInt16 UTF16Ch;
00410 typedef XMLUInt32 UCS4Ch;
00411
00412
00413
00414
00415
00416
00417
00418
00419
00420 #if defined(NO_NATIVE_BOOL)
00421 #ifndef bool
00422 typedef int bool;
00423 #endif
00424 #ifndef true
00425 #define true 1
00426 #endif
00427 #ifndef false
00428 #define false 0
00429 #endif
00430 #endif
00431
00432 #if defined(XML_NETBSD)
00433 #include <xercesc/util/Platforms/NetBSD/NetBSDDefs.hpp>
00434 #endif
00435
00436
00437
00438
00439
00440 #if defined(XML_LSTRSUPPORT)
00441 #define XMLStrL(str) L##str
00442 #else
00443 #define XMLStrL(str) str
00444 #endif
00445
00446
00447
00448
00449
00450 #if defined(XERCES_HAS_CPP_NAMESPACE)
00451 #define XERCES_CPP_NAMESPACE_BEGIN namespace XERCES_CPP_NAMESPACE {
00452 #define XERCES_CPP_NAMESPACE_END }
00453 #define XERCES_CPP_NAMESPACE_USE using namespace XERCES_CPP_NAMESPACE;
00454 #define XERCES_CPP_NAMESPACE_QUALIFIER XERCES_CPP_NAMESPACE::
00455
00456 namespace XERCES_CPP_NAMESPACE { }
00457 namespace xercesc = XERCES_CPP_NAMESPACE;
00458 #else
00459 #define XERCES_CPP_NAMESPACE_BEGIN
00460 #define XERCES_CPP_NAMESPACE_END
00461 #define XERCES_CPP_NAMESPACE_USE
00462 #define XERCES_CPP_NAMESPACE_QUALIFIER
00463 #endif
00464
00465 #if defined(XERCES_STD_NAMESPACE)
00466 #define XERCES_USING_STD(NAME) using std :: NAME;
00467 #define XERCES_STD_QUALIFIER std ::
00468 #else
00469 #define XERCES_USING_STD(NAME)
00470 #define XERCES_STD_QUALIFIER
00471 #endif
00472
00473
00474
00475
00476
00477
00478
00479 #if defined(PROJ_XMLUTIL)
00480 #define PLATFORM_EXPORT
00481 #else
00482 #define PLATFORM_IMPORT
00483 #endif
00484
00485 #if defined(PROJ_XMLPARSER)
00486 #define PLATFORM_EXPORT
00487 #else
00488 #define PLATFORM_IMPORT
00489 #endif
00490
00491 #if defined(PROJ_SAX4C)
00492 #define PLATFORM_EXPORT
00493 #else
00494 #define PLATFORM_IMPORT
00495 #endif
00496
00497 #if defined(PROJ_SAX2)
00498 #define PLATFORM_EXPORT
00499 #else
00500 #define PLATFORM_IMPORT
00501 #endif
00502
00503 #if defined(PROJ_DOM)
00504 #define PLATFORM_EXPORT
00505 #else
00506 #define PLATFORM_IMPORT
00507 #endif
00508
00509 #if defined(PROJ_PARSERS)
00510 #define PLATFORM_EXPORT
00511 #else
00512 #define PLATFORM_IMPORT
00513 #endif
00514
00515 #if defined(PROJ_VALIDATORS)
00516 #define VALIDATORS_EXPORT PLATFORM_EXPORT
00517 #else
00518 #define VALIDATORS_EXPORT PLATFORM_IMPORT
00519 #endif
00520
00521 #endif