Xerces-C++ 3.1.2

- Main Page
- Related Pages
- Classes
- Files

- File List
- File Members

Xerces_autoconf_config.borland.hpp
Go to the documentation of this file.
1 /*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18 /*
19 * $Id: Xerces_autoconf_config.borland.hpp 834826 2009-11-11 10:03:53Z borisk $
20 */
21
22 #if !defined(XERCESC_INCLUDE_GUARD_XERCES_AUTOCONFIG_CONFIG_HPP)
23 #define XERCESC_INCLUDE_GUARD_XERCES_AUTOCONFIG_CONFIG_HPP
24
25 //
26 // There are two primary xerces configuration header files:
27 //
28 // Xerces_autoconf_config.hpp
29 //
30 // For configuration of items that must be accessable
31 // through public headers. This file has limited information
32 // and carefully works to avoid collision of macro names, etc.
33 //
34 // This file is included by XercesDefs.h.
35 // This version of the file is specific for Borland C++
36 // family of compilers
37 //
38 // config.h
39 //
40 // This file is not used with Borland C++; the macros
41 // it would specify are instead hardcoded in the makefiles
42 //
43
44 #include <basetsd.h>
45
46 // ---------------------------------------------------------------------------
47 // These defines have been hardcoded for the Borland C++ compilers
48 // ---------------------------------------------------------------------------
49 #undef XERCES_AUTOCONF
50 #undef XERCES_HAVE_SYS_TYPES_H
51 #undef XERCES_HAVE_INTTYPES_H
52
53 #define XERCES_S16BIT_INT signed short
54 #define XERCES_U16BIT_INT unsigned short
55 #define XERCES_S32BIT_INT INT32
56 #define XERCES_U32BIT_INT UINT32
57 #define XERCES_S64BIT_INT INT64
58 #define XERCES_U64BIT_INT UINT64
59
60 #define XERCES_XMLCH_T wchar_t
61
62 #define XERCES_SIZE_T SIZE_T
63 #define XERCES_SSIZE_T SSIZE_T
64
65 #define XERCES_HAS_CPP_NAMESPACE 1
66 #define XERCES_STD_NAMESPACE 1
67 #define XERCES_NEW_IOSTREAMS 1
68 #undef XERCES_NO_NATIVE_BOOL
69 #define XERCES_LSTRSUPPORT 1
70
71 #ifdef XERCES_STATIC_LIBRARY
72 #define XERCES_PLATFORM_EXPORT
73 #define XERCES_PLATFORM_IMPORT
74 #else
75 #define XERCES_PLATFORM_EXPORT __declspec(dllexport)
76 #define XERCES_PLATFORM_IMPORT __declspec(dllimport)
77 #define DLL_EXPORT
78 #endif
79
80 #define XERCES_NO_MATCHING_DELETE_OPERATOR
81 #define XERCES_NEED_XMEMORY_VIRTUAL_DESTRUCTOR
82
83 // ---------------------------------------------------------------------------
84 // XMLSize_t is the unsigned integral type.
85 // ---------------------------------------------------------------------------
86 typedef XERCES_SIZE_T XMLSize_t;
87 typedef XERCES_SSIZE_T XMLSSize_t;
88
89 // ---------------------------------------------------------------------------
90 // Define our version of the XML character
91 // ---------------------------------------------------------------------------
92 typedef XERCES_XMLCH_T XMLCh;
93
94 // ---------------------------------------------------------------------------
95 // Define unsigned 16, 32, and 64 bit integers
96 // ---------------------------------------------------------------------------
97 typedef XERCES_U16BIT_INT XMLUInt16;
98 typedef XERCES_U32BIT_INT XMLUInt32;
99 typedef XERCES_U64BIT_INT XMLUInt64;
100
101 // ---------------------------------------------------------------------------
102 // Define signed 16, 32, and 64 bit integers
103 // ---------------------------------------------------------------------------
104 typedef XERCES_S16BIT_INT XMLInt16;
105 typedef XERCES_S32BIT_INT XMLInt32;
106 typedef XERCES_S64BIT_INT XMLInt64;
107
108 // ---------------------------------------------------------------------------
109 // XMLFilePos is the type used to represent a file position.
110 // ---------------------------------------------------------------------------
111 typedef XMLUInt64 XMLFilePos;
112
113 // ---------------------------------------------------------------------------
114 // XMLFileLoc is the type used to represent a file location (line/column).
115 // ---------------------------------------------------------------------------
116 typedef XMLUInt64 XMLFileLoc;
117
118 // ---------------------------------------------------------------------------
119 // Force on the Xerces debug token if it is on in the build environment
120 // ---------------------------------------------------------------------------
121 #if defined(_DEBUG)
122 #define XERCES_DEBUG
123 #endif
124
125 #endif
XMLSSize_t
SSIZE_T XMLSSize_t
Definition: Xerces_autoconf_config.borland.hpp:87
XERCES_SSIZE_T
#define XERCES_SSIZE_T
Definition: Xerces_autoconf_config.borland.hpp:63
XMLFilePos
XMLUInt64 XMLFilePos
Definition: Xerces_autoconf_config.borland.hpp:111
XMLUInt64
UINT64 XMLUInt64
Definition: Xerces_autoconf_config.borland.hpp:99
XMLFileLoc
XMLUInt64 XMLFileLoc
Definition: Xerces_autoconf_config.borland.hpp:116
XERCES_U32BIT_INT
#define XERCES_U32BIT_INT
Definition: Xerces_autoconf_config.borland.hpp:56
XMLInt32
INT32 XMLInt32
Definition: Xerces_autoconf_config.borland.hpp:105
XERCES_S16BIT_INT
#define XERCES_S16BIT_INT
Definition: Xerces_autoconf_config.borland.hpp:53
XMLInt16
signed short XMLInt16
Definition: Xerces_autoconf_config.borland.hpp:104
XMLUInt32
UINT32 XMLUInt32
Definition: Xerces_autoconf_config.borland.hpp:98
XERCES_SIZE_T
#define XERCES_SIZE_T
Definition: Xerces_autoconf_config.borland.hpp:62
XMLSize_t
SIZE_T XMLSize_t
Definition: Xerces_autoconf_config.borland.hpp:86
XERCES_S32BIT_INT
#define XERCES_S32BIT_INT
Definition: Xerces_autoconf_config.borland.hpp:55
XMLCh
wchar_t XMLCh
Definition: Xerces_autoconf_config.borland.hpp:92
XERCES_S64BIT_INT
#define XERCES_S64BIT_INT
Definition: Xerces_autoconf_config.borland.hpp:57
XMLUInt16
unsigned short XMLUInt16
Definition: Xerces_autoconf_config.borland.hpp:97
XMLInt64
INT64 XMLInt64
Definition: Xerces_autoconf_config.borland.hpp:106
XERCES_U64BIT_INT
#define XERCES_U64BIT_INT
Definition: Xerces_autoconf_config.borland.hpp:58
XERCES_U16BIT_INT
#define XERCES_U16BIT_INT
Definition: Xerces_autoconf_config.borland.hpp:54
XERCES_XMLCH_T
#define XERCES_XMLCH_T
Definition: Xerces_autoconf_config.borland.hpp:60