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

umachine.h File Reference

Basic types and constants for UTF. More...

#include "unicode/platform.h"
#include "unicode/urename.h"

Go to the source code of this file.

Defines

#define U_CFUNC   extern "C"
 This is used in a declaration of a library private ICU C function. More...

#define U_CDECL_BEGIN   extern "C" {
 This is used to begin a declaration of a library private ICU C API. More...

#define U_CDECL_END   }
 This is used to end a declaration of a library private ICU C API. More...

#define U_NAMESPACE_BEGIN
 This is used to begin a declaration of a public ICU C++ API. More...

#define U_NAMESPACE_END
 This is used to end a declaration of a public ICU C++ API If the compiler doesn't support namespaces, this does nothing. More...

#define U_NAMESPACE_USE
 This is used to specify that the rest of the code uses the public ICU C++ API namespace. More...

#define U_NAMESPACE_QUALIFIER
 This is used to qualify that a function or class is part of the public ICU C++ API namespace. More...

#define U_CAPI   U_CFUNC U_EXPORT
 This is used to declare a function as a public ICU C API. More...

#define INT8_MIN   ((int8_t)(-128))
 The smallest value an 8 bit signed integer can hold. More...

#define INT16_MIN   ((int16_t)(-32767-1))
 The smallest value a 16 bit signed integer can hold. More...

#define INT32_MIN   ((int32_t)(-2147483647-1))
 The smallest value a 32 bit signed integer can hold. More...

#define INT8_MAX   ((int8_t)(127))
 The largest value an 8 bit signed integer can hold. More...

#define INT16_MAX   ((int16_t)(32767))
 The largest value a 16 bit signed integer can hold. More...

#define INT32_MAX   ((int32_t)(2147483647))
 The largest value a 32 bit signed integer can hold. More...

#define UINT8_MAX   ((uint8_t)(255U))
 The largest value an 8 bit unsigned integer can hold. More...

#define UINT16_MAX   ((uint16_t)(65535U))
 The largest value a 16 bit unsigned integer can hold. More...

#define UINT32_MAX   ((uint32_t)(4294967295U))
 The largest value a 32 bit unsigned integer can hold. More...

#define INT64_C(c)   c ## LL
#define UINT64_C(c)   c ## ULL
#define U_INT64_MIN   ((int64_t)(INT64_C(-9223372036854775807)-1))
 The smallest value a 64 bit signed integer can hold. More...

#define U_INT64_MAX   ((int64_t)(INT64_C(9223372036854775807)))
 The largest value a 64 bit signed integer can hold. More...

#define U_UINT64_MAX   ((uint64_t)(UINT64_C(18446744073709551615)))
 The largest value a 64 bit unsigned integer can hold. More...

#define TRUE   1
 The TRUE value of a UBool. More...

#define FALSE   0
 The FALSE value of a UBool. More...

#define U_ALIGN_CODE(n)
 This is used to align code fragments to a specific byte boundary. More...


Typedefs

typedef int8_t UBool
 The ICU boolean type. More...


Detailed Description

Basic types and constants for UTF.

Basic types and constants for UTF

This file defines basic types and constants for utf.h to be platform-independent. umachine.h and utf.h are included into utypes.h to provide all the general definitions for ICU. All of these definitions used to be in utypes.h before the UTF-handling macros made this unmaintainable.

Definition in file umachine.h.


Define Documentation

#define FALSE   0
 

The FALSE value of a UBool.

Stable:
ICU 2.0

Definition at line 228 of file umachine.h.

#define INT16_MAX   ((int16_t)(32767))
 

The largest value a 16 bit signed integer can hold.

Stable:
ICU 2.0

Definition at line 170 of file umachine.h.

#define INT16_MIN   ((int16_t)(-32767-1))
 

The smallest value a 16 bit signed integer can hold.

Stable:
ICU 2.0

Definition at line 157 of file umachine.h.

#define INT32_MAX   ((int32_t)(2147483647))
 

The largest value a 32 bit signed integer can hold.

Stable:
ICU 2.0

Definition at line 174 of file umachine.h.

#define INT32_MIN   ((int32_t)(-2147483647-1))
 

The smallest value a 32 bit signed integer can hold.

Stable:
ICU 2.0

Definition at line 161 of file umachine.h.

#define INT64_C      c ## LL
 

Definition at line 195 of file umachine.h.

#define INT8_MAX   ((int8_t)(127))
 

The largest value an 8 bit signed integer can hold.

Stable:
ICU 2.0

Definition at line 166 of file umachine.h.

#define INT8_MIN   ((int8_t)(-128))
 

The smallest value an 8 bit signed integer can hold.

Stable:
ICU 2.0

Definition at line 153 of file umachine.h.

#define TRUE   1
 

The TRUE value of a UBool.

Stable:
ICU 2.0

Definition at line 224 of file umachine.h.

#define UINT16_MAX   ((uint16_t)(65535U))
 

The largest value a 16 bit unsigned integer can hold.

Stable:
ICU 2.0

Definition at line 183 of file umachine.h.

#define UINT32_MAX   ((uint32_t)(4294967295U))
 

The largest value a 32 bit unsigned integer can hold.

Stable:
ICU 2.0

Definition at line 187 of file umachine.h.

#define UINT64_C      c ## ULL
 

Definition at line 199 of file umachine.h.

#define UINT8_MAX   ((uint8_t)(255U))
 

The largest value an 8 bit unsigned integer can hold.

Stable:
ICU 2.0

Definition at line 179 of file umachine.h.

#define U_ALIGN_CODE  
 

This is used to align code fragments to a specific byte boundary.

This is useful for getting consistent performance test results.

Internal:
For internal use only.

Definition at line 246 of file umachine.h.

#define U_CAPI   U_CFUNC U_EXPORT
 

This is used to declare a function as a public ICU C API.

Stable:
ICU 2.0

Definition at line 145 of file umachine.h.

#define U_CDECL_BEGIN   extern "C" {
 

This is used to begin a declaration of a library private ICU C API.

Stable:
ICU 2.4

Definition at line 93 of file umachine.h.

#define U_CDECL_END   }
 

This is used to end a declaration of a library private ICU C API.

Stable:
ICU 2.4

Definition at line 94 of file umachine.h.

#define U_CFUNC   extern "C"
 

This is used in a declaration of a library private ICU C function.

Stable:
ICU 2.4

Definition at line 92 of file umachine.h.

#define U_INT64_MAX   ((int64_t)(INT64_C(9223372036854775807)))
 

The largest value a 64 bit signed integer can hold.

Stable:
ICU 2.0

Definition at line 207 of file umachine.h.

#define U_INT64_MIN   ((int64_t)(INT64_C(-9223372036854775807)-1))
 

The smallest value a 64 bit signed integer can hold.

Stable:
ICU 2.0

Definition at line 203 of file umachine.h.

#define U_NAMESPACE_BEGIN
 

This is used to begin a declaration of a public ICU C++ API.

If the compiler doesn't support namespaces, this does nothing.

Stable:
ICU 2.4

Definition at line 138 of file umachine.h.

#define U_NAMESPACE_END
 

This is used to end a declaration of a public ICU C++ API If the compiler doesn't support namespaces, this does nothing.

Stable:
ICU 2.4

Definition at line 139 of file umachine.h.

#define U_NAMESPACE_QUALIFIER
 

This is used to qualify that a function or class is part of the public ICU C++ API namespace.

If the compiler doesn't support namespaces, this does nothing.

Stable:
ICU 2.4

Definition at line 141 of file umachine.h.

#define U_NAMESPACE_USE
 

This is used to specify that the rest of the code uses the public ICU C++ API namespace.

If the compiler doesn't support namespaces, this does nothing.

Stable:
ICU 2.4

Definition at line 140 of file umachine.h.

#define U_UINT64_MAX   ((uint64_t)(UINT64_C(18446744073709551615)))
 

The largest value a 64 bit unsigned integer can hold.

Stable:
ICU 2.0

Definition at line 211 of file umachine.h.


Typedef Documentation

typedef int8_t UBool
 

The ICU boolean type.

Stable:
ICU 2.0

Definition at line 220 of file umachine.h.


Generated on Mon Nov 24 14:36:01 2003 for ICU 2.8 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001