Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

uversion.h File Reference

#include "unicode/umachine.h"

Go to the source code of this file.

Defines

#define U_COPYRIGHT_STRING   " Copyright (C) 2001, International Business Machines Corporation and others. All Rights Reserved. "
 The standard copyright notice that gets compiled into each library. More...

#define U_COPYRIGHT_STRING_LENGTH   128
#define U_ICU_VERSION_MAJOR_NUM   2
 The current ICU major version as an integer. More...

#define U_ICU_VERSION_MINOR_NUM   0
 The current ICU minor version as an integer. More...

#define U_ICU_VERSION_PATCHLEVEL_NUM   0
 The current ICU patchlevel version as an integer. More...

#define U_ICU_VERSION_SUFFIX   _2_0
 Glued version suffix for renamers. More...

#define U_ICU_VERSION   "2.0"
 The current ICU library version as a dotted-decimal string. More...

#define U_ICU_VERSION_SHORT   "20"
 The current ICU library major/minor version as a string without dots, for library name suffixes. More...

#define U_MAX_VERSION_LENGTH   4
 An ICU version consists of up to 4 numbers from 0..255. More...

#define U_VERSION_DELIMITER   '.'
 In a string, ICU version fields are delimited by dots. More...

#define U_MAX_VERSION_STRING_LENGTH   20
 The maximum length of an ICU version string. More...

#define UCOL_RUNTIME_VERSION   3
 compression, generating quad level always when strength is quad or more. More...

#define UCOL_BUILDER_VERSION   3
 closure. More...

#define UCOL_FRACTIONAL_UCA_VERSION   2
#define UCOL_TAILORINGS_VERSION   1
 This is the version of the tailorings. More...


Typedefs

typedef uint8_t UVersionInfo [U_MAX_VERSION_LENGTH]
 The binary form of a version on ICU APIs is an array of 4 uint8_t. More...


Functions

U_CAPI void U_EXPORT2 u_versionFromString (UVersionInfo versionArray, const char *versionString)
 Parse a string with dotted-decimal version information and fill in a UVersionInfo structure with the result. More...

U_CAPI void U_EXPORT2 u_versionToString (UVersionInfo versionArray, char *versionString)
 Write a string with dotted-decimal version information according to the input UVersionInfo. More...

U_CAPI void U_EXPORT2 u_getVersion (UVersionInfo versionArray)
 Gets the ICU release version. More...


Define Documentation

#define UCOL_BUILDER_VERSION   3
 

closure.

However, the tailorings should probably get same CEs assigned

Definition at line 144 of file uversion.h.

#define UCOL_FRACTIONAL_UCA_VERSION   2
 

Definition at line 149 of file uversion.h.

#define UCOL_RUNTIME_VERSION   3
 

compression, generating quad level always when strength is quad or more.

Definition at line 138 of file uversion.h.

#define UCOL_TAILORINGS_VERSION   1
 

This is the version of the tailorings.

Definition at line 152 of file uversion.h.

#define U_COPYRIGHT_STRING   " Copyright (C) 2001, International Business Machines Corporation and others. All Rights Reserved. "
 

The standard copyright notice that gets compiled into each library.

Definition at line 41 of file uversion.h.

#define U_COPYRIGHT_STRING_LENGTH   128
 

Definition at line 44 of file uversion.h.

#define U_ICU_VERSION   "2.0"
 

The current ICU library version as a dotted-decimal string.

The patchlevel only appears in this string if it non-zero.

Definition at line 60 of file uversion.h.

#define U_ICU_VERSION_MAJOR_NUM   2
 

The current ICU major version as an integer.

Definition at line 47 of file uversion.h.

#define U_ICU_VERSION_MINOR_NUM   0
 

The current ICU minor version as an integer.

Definition at line 50 of file uversion.h.

#define U_ICU_VERSION_PATCHLEVEL_NUM   0
 

The current ICU patchlevel version as an integer.

Definition at line 53 of file uversion.h.

#define U_ICU_VERSION_SHORT   "20"
 

The current ICU library major/minor version as a string without dots, for library name suffixes.

Definition at line 63 of file uversion.h.

#define U_ICU_VERSION_SUFFIX   _2_0
 

Glued version suffix for renamers.

Definition at line 56 of file uversion.h.

#define U_MAX_VERSION_LENGTH   4
 

An ICU version consists of up to 4 numbers from 0..255.

Definition at line 66 of file uversion.h.

#define U_MAX_VERSION_STRING_LENGTH   20
 

The maximum length of an ICU version string.

Definition at line 72 of file uversion.h.

#define U_VERSION_DELIMITER   '.'
 

In a string, ICU version fields are delimited by dots.

Definition at line 69 of file uversion.h.


Typedef Documentation

typedef uint8_t UVersionInfo[U_MAX_VERSION_LENGTH]
 

The binary form of a version on ICU APIs is an array of 4 uint8_t.

Definition at line 75 of file uversion.h.


Function Documentation

U_CAPI void U_EXPORT2 u_getVersion UVersionInfo    versionArray
 

Gets the ICU release version.

The version array stores the version information for ICU. For example, release "1.3.31.2" is then represented as 0x01031F02. Definition of this function lives in putil.c

Parameters:
versionArray  the version # information, the result will be filled in
Stable:

U_CAPI void U_EXPORT2 u_versionFromString UVersionInfo    versionArray,
const char *    versionString
 

Parse a string with dotted-decimal version information and fill in a UVersionInfo structure with the result.

Definition of this function lives in putil.c

Parameters:
versionArray  The destination structure for the version information.
versionString  A string with dotted-decimal version information, with up to four non-negative number fields with values of up to 255 each.

U_CAPI void U_EXPORT2 u_versionToString UVersionInfo    versionArray,
char *    versionString
 

Write a string with dotted-decimal version information according to the input UVersionInfo.

Definition of this function lives in putil.c

Parameters:
versionArray  The version information to be written as a string.
versionString  A string buffer that will be filled in with a string corresponding to the numeric version information in versionArray. The buffer size must be at least U_MAX_VERSION_STRING_LENGTH.


Generated on Mon Dec 3 19:00:43 2001 for ICU 2.0 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001