Xerces-C++ 3.1.2

- Main Page
- Related Pages
- Classes
- Files

- File List
- File Members

Xerces_autoconf_config.hpp
Go to the documentation of this file.
1 /* src/xercesc/util/Xerces_autoconf_config.hpp. Generated from Xerces_autoconf_config.hpp.in by configure. */
2 /*
3 * Licensed to the Apache Software Foundation (ASF) under one or more
4 * contributor license agreements. See the NOTICE file distributed with
5 * this work for additional information regarding copyright ownership.
6 * The ASF licenses this file to You under the Apache License, Version 2.0
7 * (the "License"); you may not use this file except in compliance with
8 * the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18
19 /*
20 * $Id: Xerces_autoconf_config.hpp.in 834826 2009-11-11 10:03:53Z borisk $
21 */
22
23 //
24 // There are two primary xerces configuration header files:
25 //
26 // Xerces_autoconf_config.hpp
27 //
28 // For configuration of items that must be accessable
29 // through public headers. This file has limited information
30 // and carefully works to avoid collision of macro names, etc.
31 //
32 // This file is included by XercesDefs.h. In the event
33 // of a non-configured platform, a similar header specific
34 // to the platform will be included instead.
35 //
36 // config.h
37 //
38 // Generalized autoconf header file, with much more
39 // information, used to supply configuration information
40 // for use in implementation files.
41 //
42 // For autoconf based builds, this header is configured from by the configure
43 // script from the .in template file of the same name.
44
45
46 #ifndef XERCES_AUTOCONFIG_CONFIG_HPP
47 #define XERCES_AUTOCONFIG_CONFIG_HPP
48
49 // ---------------------------------------------------------------------------
50 // These defines are set by configure as appropriate for the platform.
51 // ---------------------------------------------------------------------------
52 #define XERCES_AUTOCONF 1
53 #define XERCES_HAVE_SYS_TYPES_H 1
54 #define XERCES_HAVE_INTTYPES_H 1
55 /* #undef XERCES_HAVE_INTRIN_H */
56 #define XERCES_HAVE_EMMINTRIN_H 1
57 /* #undef XERCES_INCLUDE_WCHAR_H */
58
59 #define XERCES_S16BIT_INT int16_t
60 #define XERCES_S32BIT_INT int32_t
61 #define XERCES_S64BIT_INT int64_t
62 #define XERCES_U16BIT_INT uint16_t
63 #define XERCES_U32BIT_INT uint32_t
64 #define XERCES_U64BIT_INT uint64_t
65 #define XERCES_XMLCH_T uint16_t
66 #define XERCES_SIZE_T size_t
67 #define XERCES_SSIZE_T ssize_t
68
69 #define XERCES_HAS_CPP_NAMESPACE 1
70 #define XERCES_STD_NAMESPACE 1
71 #define XERCES_NEW_IOSTREAMS 1
72 /* #undef XERCES_NO_NATIVE_BOOL */
73 #define XERCES_LSTRSUPPORT 1
74
75 /* #undef XERCES_HAVE_CPUID_INTRINSIC */
76 #define XERCES_HAVE_SSE2_INTRINSIC 1
77 #define XERCES_HAVE_GETCPUID 1
78
79 #define XERCES_PLATFORM_EXPORT
80 #define XERCES_PLATFORM_IMPORT
81
82 /* #undef XERCES_NO_MATCHING_DELETE_OPERATOR */
83
84 // ---------------------------------------------------------------------------
85 // Include standard headers, if available, that we may rely on below.
86 // ---------------------------------------------------------------------------
87 #if XERCES_HAVE_INTTYPES_H
88 # include <inttypes.h>
89 #endif
90 #if XERCES_HAVE_SYS_TYPES_H
91 # include <sys/types.h>
92 #endif
93 #if XERCES_INCLUDE_WCHAR_H
94 # include <wchar.h>
95 #endif
96
97 // ---------------------------------------------------------------------------
98 // XMLSize_t is the unsigned integral type.
99 // ---------------------------------------------------------------------------
100 typedef XERCES_SIZE_T XMLSize_t;
101 typedef XERCES_SSIZE_T XMLSSize_t;
102
103 // ---------------------------------------------------------------------------
104 // Define our version of the XML character
105 // ---------------------------------------------------------------------------
106 typedef XERCES_XMLCH_T XMLCh;
107
108 // ---------------------------------------------------------------------------
109 // Define unsigned 16, 32, and 64 bit integers
110 // ---------------------------------------------------------------------------
111 typedef XERCES_U16BIT_INT XMLUInt16;
112 typedef XERCES_U32BIT_INT XMLUInt32;
113 typedef XERCES_U64BIT_INT XMLUInt64;
114
115 // ---------------------------------------------------------------------------
116 // Define signed 16, 32, and 64 bit integers
117 // ---------------------------------------------------------------------------
118 typedef XERCES_S16BIT_INT XMLInt16;
119 typedef XERCES_S32BIT_INT XMLInt32;
120 typedef XERCES_S64BIT_INT XMLInt64;
121
122 // ---------------------------------------------------------------------------
123 // XMLFilePos is the type used to represent a file position.
124 // ---------------------------------------------------------------------------
125 typedef XMLUInt64 XMLFilePos;
126
127 // ---------------------------------------------------------------------------
128 // XMLFileLoc is the type used to represent a file location (line/column).
129 // ---------------------------------------------------------------------------
130 typedef XMLUInt64 XMLFileLoc;
131
132 // ---------------------------------------------------------------------------
133 // Force on the Xerces debug token if it is on in the build environment
134 // ---------------------------------------------------------------------------
135 #if defined(_DEBUG)
136 #define XERCES_DEBUG
137 #endif
138
139 #endif
XMLUInt16
uint16_t XMLUInt16
Definition: Xerces_autoconf_config.hpp:111
XMLUInt64
UINT64 XMLUInt64
Definition: Xerces_autoconf_config.borland.hpp:99
XERCES_SSIZE_T
#define XERCES_SSIZE_T
Definition: Xerces_autoconf_config.hpp:67
XMLFileLoc
XMLUInt64 XMLFileLoc
Definition: Xerces_autoconf_config.hpp:130
XERCES_SIZE_T
#define XERCES_SIZE_T
Definition: Xerces_autoconf_config.hpp:66
XMLInt64
int64_t XMLInt64
Definition: Xerces_autoconf_config.hpp:120
XERCES_U64BIT_INT
#define XERCES_U64BIT_INT
Definition: Xerces_autoconf_config.hpp:64
XMLFilePos
XMLUInt64 XMLFilePos
Definition: Xerces_autoconf_config.hpp:125
XMLUInt32
uint32_t XMLUInt32
Definition: Xerces_autoconf_config.hpp:112
XERCES_U32BIT_INT
#define XERCES_U32BIT_INT
Definition: Xerces_autoconf_config.hpp:63
XERCES_S64BIT_INT
#define XERCES_S64BIT_INT
Definition: Xerces_autoconf_config.hpp:61
XMLSSize_t
ssize_t XMLSSize_t
Definition: Xerces_autoconf_config.hpp:101
XMLCh
uint16_t XMLCh
Definition: Xerces_autoconf_config.hpp:106
XERCES_U16BIT_INT
#define XERCES_U16BIT_INT
Definition: Xerces_autoconf_config.hpp:62
XMLSize_t
size_t XMLSize_t
Definition: Xerces_autoconf_config.hpp:100
XERCES_S16BIT_INT
#define XERCES_S16BIT_INT
Definition: Xerces_autoconf_config.hpp:59
XMLInt32
int32_t XMLInt32
Definition: Xerces_autoconf_config.hpp:119
XERCES_S32BIT_INT
#define XERCES_S32BIT_INT
Definition: Xerces_autoconf_config.hpp:60
XMLUInt64
uint64_t XMLUInt64
Definition: Xerces_autoconf_config.hpp:113
XMLInt16
int16_t XMLInt16
Definition: Xerces_autoconf_config.hpp:118
XERCES_XMLCH_T
#define XERCES_XMLCH_T
Definition: Xerces_autoconf_config.hpp:65