Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Defines | Variables

XalanVersion.hpp File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

Variables


Define Documentation

#define _XALAN_VERSION   CALC_EXPANDED_FORM (XALAN_VERSION_MAJOR,XALAN_VERSION_MINOR,XALAN_VERSION_REVISION)

Definition at line 203 of file XalanVersion.hpp.

#define CALC_EXPANDED_FORM (   a,
  b,
  c 
)    ( MULTIPLY(10000,a) + MULTIPLY(100,b) + MULTIPLY(1,c) )

Definition at line 173 of file XalanVersion.hpp.

#define CAT2_RAW_NUMERIC (   a,
  b 
)    a ## b

Definition at line 142 of file XalanVersion.hpp.

#define CAT2_RAW_NUMERIC_SEP_UNDERSCORE (   a,
  b 
)    a ## _ ## b

Definition at line 143 of file XalanVersion.hpp.

#define CAT2_SEP_NIL (   a,
  b 
)    #a #b

Definition at line 141 of file XalanVersion.hpp.

#define CAT2_SEP_PERIOD (   a,
  b 
)    #a "." #b

Definition at line 140 of file XalanVersion.hpp.

#define CAT2_SEP_UNDERSCORE (   a,
  b 
)    #a "_" #b

DO NOT MODIFY BELOW THIS LINE.

MAGIC THAT AUTOMATICALLY GENERATES THE FOLLOWING: Xalan_DLLVersionStr, gXalanVersionStr, gXalanFullVersionStr, gXalanMajVersion, gXalanMinVersion, gXalanRevision

Definition at line 139 of file XalanVersion.hpp.

#define CAT3_RAW_NUMERIC (   a,
  b,
  c 
)    a ## b ## c

Definition at line 159 of file XalanVersion.hpp.

#define CAT3_RAW_NUMERIC_SEP_UNDERSCORE (   a,
  b,
  c 
)    a ## _ ## b ## _ ## c

Definition at line 160 of file XalanVersion.hpp.

#define CAT3_SEP_NIL (   a,
  b,
  c 
)    #a #b #c

Definition at line 158 of file XalanVersion.hpp.

#define CAT3_SEP_PERIOD (   a,
  b,
  c 
)    #a "." #b "." #c

Definition at line 157 of file XalanVersion.hpp.

#define CAT3_SEP_UNDERSCORE (   a,
  b,
  c 
)    #a "_" #b "_" #c

Definition at line 156 of file XalanVersion.hpp.

#define INVK_CAT2_RAW_NUMERIC (   a,
  b 
)    CAT2_RAW_NUMERIC(a,b)

Definition at line 149 of file XalanVersion.hpp.

#define INVK_CAT2_RAW_NUMERIC_SEP_UNDERSCORE (   a,
  b 
)    CAT2_RAW_NUMERIC_SEP_UNDERSCORE(a,b)

Definition at line 150 of file XalanVersion.hpp.

#define INVK_CAT2_SEP_PERIOD (   a,
  b 
)    CAT2_SEP_PERIOD(a,b)

Definition at line 147 of file XalanVersion.hpp.

#define INVK_CAT2_SEP_UNDERSCORE (   a,
  b 
)    CAT2_SEP_UNDERSCORE(a,b)

Definition at line 146 of file XalanVersion.hpp.

#define INVK_CAT2_STR_SEP_NIL (   a,
  b 
)    CAT2_SEP_NIL(a,b)

Definition at line 148 of file XalanVersion.hpp.

#define INVK_CAT3_RAW_NUMERIC (   a,
  b,
  c 
)    CAT3_RAW_NUMERIC(a,b,c)

Definition at line 166 of file XalanVersion.hpp.

#define INVK_CAT3_RAW_NUMERIC_SEP_UNDERSCORE (   a,
  b,
  c 
)    CAT3_RAW_NUMERIC_SEP_UNDERSCORE(a,b,c)

Definition at line 167 of file XalanVersion.hpp.

#define INVK_CAT3_SEP_NIL (   a,
  b,
  c 
)    CAT3_SEP_NIL(a,b,c)

Definition at line 165 of file XalanVersion.hpp.

#define INVK_CAT3_SEP_PERIOD (   a,
  b,
  c 
)    CAT3_SEP_PERIOD(a,b,c)

Definition at line 164 of file XalanVersion.hpp.

#define INVK_CAT3_SEP_UNDERSCORE (   a,
  b,
  c 
)    CAT3_SEP_UNDERSCORE(a,b,c)

Definition at line 163 of file XalanVersion.hpp.

#define MULTIPLY (   factor,
  value 
)    factor * value

Definition at line 172 of file XalanVersion.hpp.

#define XALAN_CPP_NAMESPACE   INVK_CAT3_RAW_NUMERIC_SEP_UNDERSCORE(XALAN_PRODUCT,XALAN_VERSION_MAJOR,XALAN_VERSION_MINOR)

Definition at line 188 of file XalanVersion.hpp.

#define Xalan_DLLVersionStr   XALAN_FULLVERSIONSTR

Definition at line 192 of file XalanVersion.hpp.

#define XALAN_FULLVERSIONDOT   INVK_CAT3_SEP_PERIOD(XALAN_VERSION_MAJOR,XALAN_VERSION_MINOR,XALAN_VERSION_REVISION)

Definition at line 182 of file XalanVersion.hpp.

#define XALAN_FULLVERSIONNUM   INVK_CAT3_SEP_NIL(XALAN_VERSION_MAJOR,XALAN_VERSION_MINOR,XALAN_VERSION_REVISION)

Definition at line 183 of file XalanVersion.hpp.

#define XALAN_FULLVERSIONSTR   INVK_CAT3_SEP_UNDERSCORE(XALAN_VERSION_MAJOR,XALAN_VERSION_MINOR,XALAN_VERSION_REVISION)

Definition at line 181 of file XalanVersion.hpp.

#define XALAN_PRODUCT   xalanc

Definition at line 187 of file XalanVersion.hpp.

#define XALAN_VERSION_MAJOR   1

User Documentation for Xalan Version Values:

Xalan Notes:

Xalan Committers Documentation:

Xalan committers normally only need to modify one or two of the following macros:

XALAN_VERSION_MAJOR XALAN_VERSION_MINOR XALAN_VERSION_REVISION

The integer values of these macros define the Xalan version number. All other constants and preprocessor macros are automatically generated from these three definitions.

Xalan User Documentation:

The following sections in the user documentation have examples based upon the following three version input values:

define XALAN_VERSION_MAJOR 19 define XALAN_VERSION_MINOR 3 define XALAN_VERSION_REVISION 74

The minor and revision (patch level) numbers have two digits of resolution which means that '3' becomes '03' in this example. This policy guarantees that when using preprocessor macros, version 19.3.74 will be greater than version 1.94.74 since the first will expand to 190374 and the second to 19474.

Preprocessor Macros:

_XALAN_VERSION defines the primary preprocessor macro that users will introduce into their code to perform conditional compilation where the version of Xalan is detected in order to enable or disable version specific capabilities. The value of _XALAN_VERSION for the above example will be 190374. To use it a user would perform an operation such as the following:

if _XALAN_VERSION >= 190374 // code specific to new version of Xalan... else // old code here... endif

XALAN_FULLVERSIONSTR is a preprocessor macro that expands to a string constant whose value, for the above example, will be "19_3_74".

XALAN_FULLVERSIONDOT is a preprocessor macro that expands to a string constant whose value, for the above example, will be "19.3.74".

XALAN_VERSIONSTR is a preprocessor macro that expands to a string constant whose value, for the above example, will be "19374". This particular macro is very dangerous if it were to be used for comparing version numbers since ordering will not be guaranteed.

Xalan_DLLVersionStr is a preprocessor macro that expands to a string constant whose value, for the above example, will be "19_3_74". This macro is provided for backwards compatibility to pre-1.7 versions of Xalan.

String Constants:

gXalanVersionStr is a global string constant whose value corresponds to the value "19_3" for the above example.

gXalanFullVersionStr is a global string constant whose value corresponds to the value "19_3_74" for the above example.

Numeric Constants:

gXalanMajVersion is a global integer constant whose value corresponds to the major version number. For the above example its value will be 19.

gXalanMinVersion is a global integer constant whose value corresponds to the minor version number. For the above example its value will be 3.

gXalanRevision is a global integer constant whose value corresponds to the revision (patch) version number. For the above example its value will be 74. MODIFY THESE NUMERIC VALUES TO COINCIDE WITH XALAN VERSION AND DO NOT MODIFY ANYTHING ELSE IN THIS VERSION HEADER FILE

Definition at line 121 of file XalanVersion.hpp.

#define XALAN_VERSION_MINOR   11

Definition at line 122 of file XalanVersion.hpp.

#define XALAN_VERSION_REVISION   0

Definition at line 123 of file XalanVersion.hpp.

#define XALAN_VERSIONSTR   INVK_CAT2_SEP_UNDERSCORE(XALAN_VERSION_MAJOR,XALAN_VERSION_MINOR)

Definition at line 184 of file XalanVersion.hpp.


Variable Documentation

const char* const gXalanFullVersionStr = "0"

Definition at line 195 of file XalanVersion.hpp.

const unsigned int gXalanMajVersion = 1

Definition at line 196 of file XalanVersion.hpp.

const unsigned int gXalanMinVersion = 11

Definition at line 197 of file XalanVersion.hpp.

const unsigned int gXalanRevision = 0

Definition at line 198 of file XalanVersion.hpp.

const char* const gXalanVersionStr = "11"

Definition at line 194 of file XalanVersion.hpp.

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo