Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIUnicodeDecodeHelper Class Reference

Interface for a Unicode Decode Helper object. More...

#include <nsIUnicodeDecodeHelper.h>

Inheritance diagram for nsIUnicodeDecodeHelper:
Inheritance graph
[legend]
Collaboration diagram for nsIUnicodeDecodeHelper:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_IMETHOD ConvertByTable (const char *aSrc, PRInt32 *aSrcLength, PRUnichar *aDest, PRInt32 *aDestLength, uShiftTable *aShiftTable, uMappingTable *aMappingTable)=0
 Converts data using a lookup table.
NS_IMETHOD ConvertByMultiTable (const char *aSrc, PRInt32 *aSrcLength, PRUnichar *aDest, PRInt32 *aDestLength, PRInt32 aTableCount, const uRange *aRangeArray, uShiftTable **aShiftTable, uMappingTable **aMappingTable)=0
 Converts data using a set of lookup tables.
NS_IMETHOD ConvertByFastTable (const char *aSrc, PRInt32 *aSrcLength, PRUnichar *aDest, PRInt32 *aDestLength, const PRUnichar *aFastTable, PRInt32 aTableSize)=0
 Converts data using a fast lookup table.
NS_IMETHOD CreateCache (nsMappingCacheType aType, nsIMappingCache *aResult)=0
 Create a Mapping Cache.
NS_IMETHOD DestroyCache (nsIMappingCache aCache)=0
 Destroy a Mapping Cache.
NS_IMETHOD CreateFastTable (uShiftTable *aShiftTable, uMappingTable *aMappingTable, PRUnichar *aFastTable, PRInt32 aTableSize)=0
 Create a cache-like fast lookup table from a normal one.

Detailed Description

Interface for a Unicode Decode Helper object.

22/Feb/1999

Author:
Catalin Rotaru [CATA]

Definition at line 70 of file nsIUnicodeDecodeHelper.h.


Member Function Documentation

NS_IMETHOD nsIUnicodeDecodeHelper::ConvertByFastTable ( const char *  aSrc,
PRInt32 aSrcLength,
PRUnichar aDest,
PRInt32 aDestLength,
const PRUnichar aFastTable,
PRInt32  aTableSize 
) [pure virtual]

Converts data using a fast lookup table.

Implemented in nsUnicodeDecodeHelper.

Here is the caller graph for this function:

NS_IMETHOD nsIUnicodeDecodeHelper::ConvertByMultiTable ( const char *  aSrc,
PRInt32 aSrcLength,
PRUnichar aDest,
PRInt32 aDestLength,
PRInt32  aTableCount,
const uRange aRangeArray,
uShiftTable **  aShiftTable,
uMappingTable **  aMappingTable 
) [pure virtual]

Converts data using a set of lookup tables.

Implemented in nsUnicodeDecodeHelper.

Here is the caller graph for this function:

NS_IMETHOD nsIUnicodeDecodeHelper::ConvertByTable ( const char *  aSrc,
PRInt32 aSrcLength,
PRUnichar aDest,
PRInt32 aDestLength,
uShiftTable aShiftTable,
uMappingTable aMappingTable 
) [pure virtual]

Converts data using a lookup table.

Implemented in nsUnicodeDecodeHelper.

Here is the caller graph for this function:

Create a Mapping Cache.

Implemented in nsUnicodeDecodeHelper.

NS_IMETHOD nsIUnicodeDecodeHelper::CreateFastTable ( uShiftTable aShiftTable,
uMappingTable aMappingTable,
PRUnichar aFastTable,
PRInt32  aTableSize 
) [pure virtual]

Create a cache-like fast lookup table from a normal one.

Implemented in nsUnicodeDecodeHelper.

Destroy a Mapping Cache.

Implemented in nsUnicodeDecodeHelper.


The documentation for this class was generated from the following file: