Xerces-C++: Xerces_autoconf_config.hpp Source File

Xerces-C++ 3.3.0

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$
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
53#define XERCES_AUTOCONF 1
54#define XERCES_HAVE_CSTDINT 1
55#define XERCES_HAVE_STDINT_H 1
56#define XERCES_HAVE_SYS_TYPES_H 1
57#define XERCES_HAVE_INTTYPES_H 1
58/* #undef XERCES_HAVE_INTRIN_H */
59/* #undef XERCES_HAVE_EMMINTRIN_H */
60/* #undef XERCES_INCLUDE_WCHAR_H */
61
62#define XERCES_S16BIT_INT int16_t
63#define XERCES_S32BIT_INT int32_t
64#define XERCES_S64BIT_INT int64_t
65#define XERCES_U16BIT_INT uint16_t
66#define XERCES_U32BIT_INT uint32_t
67#define XERCES_U64BIT_INT uint64_t
68#define XERCES_XMLCH_T char16_t
69#define XERCES_SIZE_T size_t
70#define XERCES_SSIZE_T ssize_t
71
72#define XERCES_HAS_CPP_NAMESPACE 1
73#define XERCES_STD_NAMESPACE 1
74#define XERCES_NEW_IOSTREAMS 1
75/* #undef XERCES_NO_NATIVE_BOOL */
76#define XERCES_LSTRSUPPORT 1
77
78/* #undef XERCES_HAVE_CPUID_INTRINSIC */
79/* #undef XERCES_HAVE_SSE2_INTRINSIC */
80/* #undef XERCES_HAVE_GETCPUID */
81
82#define XERCES_PLATFORM_EXPORT
83#define XERCES_PLATFORM_IMPORT
84#define XERCES_TEMPLATE_EXTERN extern
85
86/* #undef XERCES_NO_MATCHING_DELETE_OPERATOR */
87
88// ---------------------------------------------------------------------------
89// Include standard headers, if available, that we may rely on below.
90// ---------------------------------------------------------------------------
91#if defined(__cplusplus) && XERCES_HAVE_CSTDINT
92# include <cstdint>
93#elif XERCES_HAVE_STDINT_H
94# if defined(__cplusplus)
95# define __STDC_LIMIT_MACROS
96# endif
97# include <stdint.h>
98#endif
99#if XERCES_HAVE_INTTYPES_H
100# include <inttypes.h>
101#endif
102#if XERCES_HAVE_SYS_TYPES_H
103# include <sys/types.h>
104#endif
105#if XERCES_INCLUDE_WCHAR_H
106# include <wchar.h>
107#endif
108
109// ---------------------------------------------------------------------------
110// XMLSize_t is the unsigned integral type.
111// ---------------------------------------------------------------------------
112 typedef XERCES_SIZE_T XMLSize_t;
113 typedef XERCES_SSIZE_T XMLSSize_t;
114#define XERCES_SIZE_MAX SIZE_MAX
115#define XERCES_SSIZE_MAX SSIZE_MAX
116
117// ---------------------------------------------------------------------------
118// Define our version of the XML character
119// ---------------------------------------------------------------------------
120 typedef XERCES_XMLCH_T XMLCh;
121
122// ---------------------------------------------------------------------------
123// Define unsigned 16, 32, and 64 bit integers
124// ---------------------------------------------------------------------------
125 typedef XERCES_U16BIT_INT XMLUInt16;
126 typedef XERCES_U32BIT_INT XMLUInt32;
127 typedef XERCES_U64BIT_INT XMLUInt64;
128
129// ---------------------------------------------------------------------------
130// Define signed 16, 32, and 64 bit integers
131// ---------------------------------------------------------------------------
132 typedef XERCES_S16BIT_INT XMLInt16;
133 typedef XERCES_S32BIT_INT XMLInt32;
134 typedef XERCES_S64BIT_INT XMLInt64;
135
136// ---------------------------------------------------------------------------
137// XMLFilePos is the type used to represent a file position.
138// ---------------------------------------------------------------------------
139 typedef XMLUInt64 XMLFilePos;
140
141// ---------------------------------------------------------------------------
142// XMLFileLoc is the type used to represent a file location (line/column).
143// ---------------------------------------------------------------------------
144 typedef XMLUInt64 XMLFileLoc;
145
146// ---------------------------------------------------------------------------
147// Force on the Xerces debug token if it is on in the build environment
148// ---------------------------------------------------------------------------
149#if defined(_DEBUG)
150#define XERCES_DEBUG
151#endif
152
153#endif
XMLInt16
int16_t XMLInt16
Definition Xerces_autoconf_config.hpp:132
XERCES_U16BIT_INT
#define XERCES_U16BIT_INT
Definition Xerces_autoconf_config.hpp:65
XMLSize_t
size_t XMLSize_t
Definition Xerces_autoconf_config.hpp:112
XMLCh
char16_t XMLCh
Definition Xerces_autoconf_config.hpp:120
XERCES_S64BIT_INT
#define XERCES_S64BIT_INT
Definition Xerces_autoconf_config.hpp:64
XMLUInt16
uint16_t XMLUInt16
Definition Xerces_autoconf_config.hpp:125
XERCES_S16BIT_INT
#define XERCES_S16BIT_INT
Definition Xerces_autoconf_config.hpp:62
XERCES_XMLCH_T
#define XERCES_XMLCH_T
Definition Xerces_autoconf_config.hpp:68
XMLInt64
int64_t XMLInt64
Definition Xerces_autoconf_config.hpp:134
XMLFilePos
XMLUInt64 XMLFilePos
Definition Xerces_autoconf_config.hpp:139
XERCES_U32BIT_INT
#define XERCES_U32BIT_INT
Definition Xerces_autoconf_config.hpp:66
XMLUInt32
uint32_t XMLUInt32
Definition Xerces_autoconf_config.hpp:126
XMLInt32
int32_t XMLInt32
Definition Xerces_autoconf_config.hpp:133
XERCES_U64BIT_INT
#define XERCES_U64BIT_INT
Definition Xerces_autoconf_config.hpp:67
XERCES_SIZE_T
#define XERCES_SIZE_T
Definition Xerces_autoconf_config.hpp:69
XMLSSize_t
ssize_t XMLSSize_t
Definition Xerces_autoconf_config.hpp:113
XERCES_SSIZE_T
#define XERCES_SSIZE_T
Definition Xerces_autoconf_config.hpp:70
XERCES_S32BIT_INT
#define XERCES_S32BIT_INT
Definition Xerces_autoconf_config.hpp:63
XMLUInt64
uint64_t XMLUInt64
Definition Xerces_autoconf_config.hpp:127
XMLFileLoc
XMLUInt64 XMLFileLoc
Definition Xerces_autoconf_config.hpp:144