00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #if !defined(XERCESVERSION_HPP)
00018 #define XERCESVERSION_HPP
00019
00020
00021
00022
00116
00117
00118
00124 #define XERCES_VERSION_MAJOR 2
00125 #define XERCES_VERSION_MINOR 6
00126 #define XERCES_VERSION_REVISION 0
00127
00128
00129
00130
00131 #define XERCES_GRAMMAR_SERIALIZATION_LEVEL 3
00132
00142
00143
00144
00145
00146 #define CAT2_SEP_UNDERSCORE(a, b) #a "_" #b
00147 #define CAT2_SEP_PERIOD(a, b) #a "." #b
00148 #define CAT2_SEP_NIL(a, b) #a #b
00149 #define CAT2_RAW_NUMERIC(a, b) a ## b
00150
00151
00152 #define INVK_CAT2_SEP_UNDERSCORE(a,b) CAT2_SEP_UNDERSCORE(a,b)
00153 #define INVK_CAT2_SEP_PERIOD(a,b) CAT2_SEP_PERIOD(a,b)
00154 #define INVK_CAT2_STR_SEP_NIL(a,b) CAT2_SEP_NIL(a,b)
00155 #define INVK_CAT2_RAW_NUMERIC(a,b) CAT2_RAW_NUMERIC(a,b)
00156
00157
00158
00159
00160
00161 #define CAT3_SEP_UNDERSCORE(a, b, c) #a "_" #b "_" #c
00162 #define CAT3_SEP_PERIOD(a, b, c) #a "." #b "." #c
00163 #define CAT3_SEP_NIL(a, b, c) #a #b #c
00164 #define CAT3_RAW_NUMERIC(a, b, c) a ## b ## c
00165 #define CAT3_RAW_NUMERIC_SEP_UNDERSCORE(a, b, c) a ## _ ## b ## _ ## c
00166
00167
00168 #define INVK_CAT3_SEP_UNDERSCORE(a,b,c) CAT3_SEP_UNDERSCORE(a,b,c)
00169 #define INVK_CAT3_SEP_PERIOD(a,b,c) CAT3_SEP_PERIOD(a,b,c)
00170 #define INVK_CAT3_SEP_NIL(a,b,c) CAT3_SEP_NIL(a,b,c)
00171 #define INVK_CAT3_RAW_NUMERIC(a,b,c) CAT3_RAW_NUMERIC(a,b,c)
00172 #define INVK_CAT3_RAW_NUMERIC_SEP_UNDERSCORE(a,b,c) CAT3_RAW_NUMERIC_SEP_UNDERSCORE(a,b,c)
00173
00174
00175
00176
00177 #define MULTIPLY(factor,value) factor * value
00178 #define CALC_EXPANDED_FORM(a,b,c) ( MULTIPLY(10000,a) + MULTIPLY(100,b) + MULTIPLY(1,c) )
00179
00180
00181
00182
00183
00184
00185
00186 #define XERCES_FULLVERSIONSTR INVK_CAT3_SEP_UNDERSCORE(XERCES_VERSION_MAJOR,XERCES_VERSION_MINOR,XERCES_VERSION_REVISION)
00187 #define XERCES_FULLVERSIONDOT INVK_CAT3_SEP_PERIOD(XERCES_VERSION_MAJOR,XERCES_VERSION_MINOR,XERCES_VERSION_REVISION)
00188 #define XERCES_FULLVERSIONNUM INVK_CAT3_SEP_NIL(XERCES_VERSION_MAJOR,XERCES_VERSION_MINOR,XERCES_VERSION_REVISION)
00189 #define XERCES_VERSIONSTR INVK_CAT2_SEP_UNDERSCORE(XERCES_VERSION_MAJOR,XERCES_VERSION_MINOR)
00190
00191
00192 #define XERCES_PRODUCT xercesc
00193 #define XERCES_CPP_NAMESPACE INVK_CAT3_RAW_NUMERIC_SEP_UNDERSCORE(XERCES_PRODUCT,XERCES_VERSION_MAJOR,XERCES_VERSION_MINOR)
00194
00195
00196 #define Xerces_DLLVersionStr XERCES_FULLVERSIONSTR
00197
00198 const char* const gXercesVersionStr = XERCES_VERSIONSTR;
00199 const char* const gXercesFullVersionStr = XERCES_FULLVERSIONSTR;
00200 const unsigned int gXercesMajVersion = XERCES_VERSION_MAJOR;
00201 const unsigned int gXercesMinVersion = XERCES_VERSION_MINOR;
00202 const unsigned int gXercesRevision = XERCES_VERSION_REVISION;
00203
00204
00205
00206
00207 #define _XERCES_VERSION CALC_EXPANDED_FORM (XERCES_VERSION_MAJOR,XERCES_VERSION_MINOR,XERCES_VERSION_REVISION)
00208
00209 #endif // XERCESVERSION_HPP