Xalan-C++ API Reference 1.12.0
XalanVersion.hpp
Go to the documentation of this file.
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * 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 * GENERATED HEADER: DO NOT MODIFY *
21 * *
22 * Ensure that all changes are made to the template XalanVersion.hpp.in *
23 ****************************************************************************/
24
25#if !defined(XALANVERSION_HEADER_GUARD_1357924680)
26#define XALANVERSION_HEADER_GUARD_1357924680
27
28/// Xalan-C major version.
29#define XALAN_VERSION_MAJOR (1)
30/// Xalan-C minor version.
31#define XALAN_VERSION_MINOR (12)
32/// Xalan-C patch version.
33#define XALAN_VERSION_REVISION (0)
34
35/**
36 * Xalan-C++ version represented as a single integer value.
37 *
38 * Useful for conditional compilation purposes, for example to enable
39 * or disable version-specific capabilities. For example to enable
40 * functionality for Xalan-C++ 1.10 or greater:
41 *
42 * @code
43 * #if _XALAN_VERSION >= 011000
44 * // code specific to new version of Xalan...
45 * #else
46 * // old code here...
47 * #endif
48 * @endcode
49 */
50#define _XALAN_VERSION ((10000 * XALAN_VERSION_MAJOR) + (100 * XALAN_VERSION_MINOR) + XALAN_VERSION_REVISION)
51
52/**
53 * Xalan-C++ full version expressed as an underscore-separated string.
54 *
55 * Includes major, minor and patch version numbers.
56 */
57#define XALAN_FULLVERSIONSTR "1_12_0"
58
59/**
60 * Xalan-C++ short version expressed as an underscore-separated string.
61 *
62 * Includes major and minor version numbers only.
63 */
64#define XALAN_SHORTVERSIONSTR "1_12"
65
66/**
67 * Xalan-C++ full version expressed as an dot-separated string.
68 *
69 * Includes major, minor and patch version numbers.
70 */
71#define XALAN_FULLVERSIONDOT "1.12.0"
72
73/// Xalan-C++ product name (used for message catalogs)
74#define XALAN_PRODUCT xalanc
75/// Xalan-C++ namespace, including major and minor version
76#define XALAN_CPP_NAMESPACE xalanc_1_12
77
78/**
79 * Xalan-C++ short version expressed as an underscore-separated string.
80 *
81 * Global constant used for displaying the Xalan-C++ version at runtime.
82 * Includes major, minor and patch version numbers.
83 */
84extern const char* const gXalanVersionStr;
85
86/**
87 * Xalan-C++ full version expressed as an underscore-separated string.
88 *
89 * Global constant used for displaying the Xalan-C++ version at runtime.
90 * Includes major, minor version numbers only.
91 */
92extern const char* const gXalanFullVersionStr;
93
94/**
95 * Xalan-C++ major version number.
96 *
97 * Global constant used for checking the Xalan-C++ version at runtime.
98 */
99extern const unsigned int gXalanMajVersion;
100
101/**
102 * Xalan-C++ minor version number.
103 *
104 * Global constant used for checking the Xalan-C++ version at runtime.
105 */
106extern const unsigned int gXalanMinVersion;
107
108/**
109 * Xalan-C++ patch version number.
110 *
111 * Global constant used for checking the Xalan-C++ version at runtime.
112 */
113extern const unsigned int gXalanRevision;
114
115
116#endif // XALANVERSION_HEADER_GUARD_1357924680
const char *const gXalanFullVersionStr
Xalan-C++ full version expressed as an underscore-separated string.
const unsigned int gXalanRevision
Xalan-C++ patch version number.
const unsigned int gXalanMinVersion
Xalan-C++ minor version number.
const unsigned int gXalanMajVersion
Xalan-C++ major version number.
const char *const gXalanVersionStr
Xalan-C++ short version expressed as an underscore-separated string.