uconfig.h File Reference

Switches for excluding parts of ICU library code modules. More...

Go to the source code of this file.

Defines

#define UCONFIG_ONLY_COLLATION   0
 This switch turns off modules that are not needed for collation.
#define UCONFIG_NO_CONVERSION   0
 ICU will not completely build with this switch turned on.
#define UCONFIG_NO_LEGACY_CONVERSION   0
 This switch turns off all converters except for
  • Unicode charsets (UTF-7/8/16/32, CESU-8, SCSU, BOCU-1)
  • US-ASCII
  • ISO-8859-1.

#define UCONFIG_NO_NORMALIZATION   0
 This switch turns off normalization.
#define UCONFIG_NO_BREAK_ITERATION   0
 This switch turns off break iteration.
#define UCONFIG_NO_IDNA   0
 This switch turns off IDNA.
#define UCONFIG_NO_COLLATION   0
 This switch turns off collation and collation-based string search.
#define UCONFIG_NO_FORMATTING   0
 This switch turns off formatting and calendar/timezone services.
#define UCONFIG_NO_TRANSLITERATION   0
 This switch turns off transliteration.
#define UCONFIG_NO_REGULAR_EXPRESSIONS   0
 This switch turns off regular expressions.
#define UCONFIG_NO_SERVICE   0
 This switch turns off service registration.


Detailed Description

Switches for excluding parts of ICU library code modules.

Allows to build partial, smaller libraries for special purposes. By default, all modules are built. The switches are fairly coarse, controlling large modules. Basic services cannot be turned off.

Stable:
ICU 2.4

Definition in file uconfig.h.


Define Documentation

#define UCONFIG_NO_BREAK_ITERATION   0
 

This switch turns off break iteration.

Stable:
ICU 2.4

Definition at line 121 of file uconfig.h.

#define UCONFIG_NO_COLLATION   0
 

This switch turns off collation and collation-based string search.

Stable:
ICU 2.4

Definition at line 143 of file uconfig.h.

#define UCONFIG_NO_CONVERSION   0
 

ICU will not completely build with this switch turned on.

This switch turns off all converters.

Draft:
This API may be changed in the future versions and was introduced in ICU 3.2

Definition at line 69 of file uconfig.h.

#define UCONFIG_NO_FORMATTING   0
 

This switch turns off formatting and calendar/timezone services.

Stable:
ICU 2.4

Definition at line 153 of file uconfig.h.

#define UCONFIG_NO_IDNA   0
 

This switch turns off IDNA.

Stable:
ICU 2.6

Definition at line 131 of file uconfig.h.

#define UCONFIG_NO_LEGACY_CONVERSION   0
 

This switch turns off all converters except for

  • Unicode charsets (UTF-7/8/16/32, CESU-8, SCSU, BOCU-1)
  • US-ASCII
  • ISO-8859-1.

Turning off legacy conversion is not possible on EBCDIC platforms because they need ibm-37 or ibm-1047 default converters.

Stable:
ICU 2.4

Definition at line 89 of file uconfig.h.

#define UCONFIG_NO_NORMALIZATION   0
 

This switch turns off normalization.

It implies turning off several other services as well, for example collation and IDNA.

Stable:
ICU 2.6

Definition at line 101 of file uconfig.h.

#define UCONFIG_NO_REGULAR_EXPRESSIONS   0
 

This switch turns off regular expressions.

Stable:
ICU 2.4

Definition at line 173 of file uconfig.h.

#define UCONFIG_NO_SERVICE   0
 

This switch turns off service registration.

Draft:
This API may be changed in the future versions and was introduced in ICU 3.2

Definition at line 183 of file uconfig.h.

#define UCONFIG_NO_TRANSLITERATION   0
 

This switch turns off transliteration.

Stable:
ICU 2.4

Definition at line 163 of file uconfig.h.

#define UCONFIG_ONLY_COLLATION   0
 

This switch turns off modules that are not needed for collation.

It does not turn off legacy conversion because that is necessary for ICU to work on EBCDIC platforms (for the default converter). If you want "only collation" and do not build for EBCDIC, then you can define UCONFIG_NO_LEGACY_CONVERSION 1 as well.

Stable:
ICU 2.4

Definition at line 42 of file uconfig.h.


Generated on Sat Feb 11 18:13:01 2006 for ICU 3.4 by  doxygen 1.4.6