Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Enumerations
uconvutil.h File Reference
#include "prcpucfg.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  uShiftCell
struct  uShiftTableMutable
struct  uRange

Defines

#define PACK(h, l)   (int16)(( (h) << 8) | (l))
#define ShiftCell(sub, len, min, max, minh, minl, maxh, maxl)   PACK(sub,len), PACK(min, max), PACK(minh,minl), PACK(maxh,maxl)

Typedefs

typedef const uShiftTableMutable uShiftTable
typedef PRUint16uMappingTableMutable
typedef const PRUint16uMappingTable

Enumerations

enum  uScanClassID {
  u1ByteCharset = 0, u2BytesCharset, uMultibytesCharset, u2BytesGRCharset,
  u2BytesGRPrefix8FCharset, u2BytesGRPrefix8EA2Charset, u2BytesSwapCharset, u4BytesCharset,
  u4BytesSwapCharset, u2BytesGRPrefix8EA3Charset, u2BytesGRPrefix8EA4Charset, u2BytesGRPrefix8EA5Charset,
  u2BytesGRPrefix8EA6Charset, u2BytesGRPrefix8EA7Charset, u1ByteGLCharset, uDecomposedHangulCharset,
  uJohabHangulCharset, uJohabSymbolCharset, u4BytesGB18030Charset, u2BytesGR128Charset,
  uNumOfCharsetType
}
enum  uScanSubClassID {
  u1ByteChar = 0, u2BytesChar, u2BytesGRChar, u1BytePrefix8EChar,
  u2BytesUTF8, u3BytesUTF8, uNumOfCharType
}

Class Documentation

struct uShiftCell

Definition at line 89 of file uconvutil.h.

Class Members
unsigned char classID
unsigned char reserveLen
unsigned char shiftin_Max
unsigned char shiftin_Min
unsigned char shiftout_MaxHB
unsigned char shiftout_MaxLB
unsigned char shiftout_MinHB
unsigned char shiftout_MinLB
struct uShiftTableMutable

Definition at line 100 of file uconvutil.h.

Collaboration diagram for uShiftTableMutable:
Class Members
PRInt16 classID
PRInt16 numOfItem
uShiftCell shiftcell
struct uRange

Definition at line 111 of file uconvutil.h.

Class Members
unsigned char max
unsigned char min

Define Documentation

#define PACK (   h,
  l 
)    (int16)(( (h) << 8) | (l))

Definition at line 45 of file uconvutil.h.

#define ShiftCell (   sub,
  len,
  min,
  max,
  minh,
  minl,
  maxh,
  maxl 
)    PACK(sub,len), PACK(min, max), PACK(minh,minl), PACK(maxh,maxl)

Definition at line 51 of file uconvutil.h.


Typedef Documentation

Definition at line 119 of file uconvutil.h.

Definition at line 118 of file uconvutil.h.

Definition at line 106 of file uconvutil.h.


Enumeration Type Documentation

Enumerator:
u1ByteCharset 
u2BytesCharset 
uMultibytesCharset 
u2BytesGRCharset 
u2BytesGRPrefix8FCharset 
u2BytesGRPrefix8EA2Charset 
u2BytesSwapCharset 
u4BytesCharset 
u4BytesSwapCharset 
u2BytesGRPrefix8EA3Charset 
u2BytesGRPrefix8EA4Charset 
u2BytesGRPrefix8EA5Charset 
u2BytesGRPrefix8EA6Charset 
u2BytesGRPrefix8EA7Charset 
u1ByteGLCharset 
uDecomposedHangulCharset 
uJohabHangulCharset 
uJohabSymbolCharset 
u4BytesGB18030Charset 
u2BytesGR128Charset 
uNumOfCharsetType 

Definition at line 55 of file uconvutil.h.

Enumerator:
u1ByteChar 
u2BytesChar 
u2BytesGRChar 
u1BytePrefix8EChar 
u2BytesUTF8 
u3BytesUTF8 
uNumOfCharType 

Definition at line 79 of file uconvutil.h.

             {
        u1ByteChar                      = 0,
        u2BytesChar,
        u2BytesGRChar,
        u1BytePrefix8EChar,             /* Used by JIS0201 GR in EUC_JP */
        u2BytesUTF8,                    /* Used by UTF8 */
        u3BytesUTF8,                    /* Used by UTF8 */
        uNumOfCharType
} uScanSubClassID;