Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
#include "IccProfLibConf.h"
Go to the source code of this file.
Macros | |
#define | UNI_MAX_BMP (UTF32)0x0000FFFF |
#define | UNI_MAX_LEGAL_UTF32 (UTF32)0x0010FFFF |
#define | UNI_MAX_UTF16 (UTF32)0x0010FFFF |
#define | UNI_MAX_UTF32 (UTF32)0x7FFFFFFF |
#define | UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD |
Typedefs | |
typedef unsigned char | Boolean |
typedef unsigned short | UTF16 |
typedef uint32_t | UTF32 |
typedef unsigned char | UTF8 |
Enumerations | |
enum | icUtfConversionFlags { strictConversion = 0 , lenientConversion } |
enum | icUtfConversionResult { conversionOK , sourceExhausted , targetExhausted , sourceIllegal } |
Functions | |
icUtfConversionResult | icConvertUTF16toUTF32 (const UTF16 **sourceStart, const UTF16 *sourceEnd, UTF32 **targetStart, UTF32 *targetEnd, icUtfConversionFlags flags) |
icUtfConversionResult | icConvertUTF16toUTF8 (const UTF16 **sourceStart, const UTF16 *sourceEnd, UTF8 **targetStart, UTF8 *targetEnd, icUtfConversionFlags flags) |
icUtfConversionResult | icConvertUTF32toUTF16 (const UTF32 **sourceStart, const UTF32 *sourceEnd, UTF16 **targetStart, UTF16 *targetEnd, icUtfConversionFlags flags) |
icUtfConversionResult | icConvertUTF32toUTF8 (const UTF32 **sourceStart, const UTF32 *sourceEnd, UTF8 **targetStart, UTF8 *targetEnd, icUtfConversionFlags flags) |
icUtfConversionResult | icConvertUTF8toUTF16 (const UTF8 **sourceStart, const UTF8 *sourceEnd, UTF16 **targetStart, UTF16 *targetEnd, icUtfConversionFlags flags) |
icUtfConversionResult | icConvertUTF8toUTF32 (const UTF8 **sourceStart, const UTF8 *sourceEnd, UTF32 **targetStart, UTF32 *targetEnd, icUtfConversionFlags flags) |
Boolean | icIsLegalUTF8Sequence (const UTF8 *source, const UTF8 *sourceEnd) |
#define UNI_MAX_BMP (UTF32)0x0000FFFF |
Definition at line 113 of file IccConvertUTF.h.
Referenced by icConvertUTF32toUTF16(), icConvertUTF32toUTF16(), icConvertUTF8toUTF16(), and icConvertUTF8toUTF16().
#define UNI_MAX_LEGAL_UTF32 (UTF32)0x0010FFFF |
Definition at line 116 of file IccConvertUTF.h.
Referenced by icConvertUTF32toUTF16(), icConvertUTF32toUTF16(), icConvertUTF32toUTF8(), icConvertUTF32toUTF8(), icConvertUTF8toUTF32(), and icConvertUTF8toUTF32().
#define UNI_MAX_UTF16 (UTF32)0x0010FFFF |
Definition at line 114 of file IccConvertUTF.h.
Referenced by icConvertUTF8toUTF16(), and icConvertUTF8toUTF16().
#define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF |
Definition at line 115 of file IccConvertUTF.h.
#define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD |
Definition at line 112 of file IccConvertUTF.h.
Referenced by icConvertUTF16toUTF8(), icConvertUTF16toUTF8(), icConvertUTF32toUTF16(), icConvertUTF32toUTF16(), icConvertUTF32toUTF8(), icConvertUTF32toUTF8(), icConvertUTF8toUTF16(), icConvertUTF8toUTF16(), icConvertUTF8toUTF32(), and icConvertUTF8toUTF32().
typedef unsigned char Boolean |
Definition at line 109 of file IccConvertUTF.h.
typedef unsigned short UTF16 |
Definition at line 107 of file IccConvertUTF.h.
typedef uint32_t UTF32 |
Definition at line 106 of file IccConvertUTF.h.
typedef unsigned char UTF8 |
Definition at line 108 of file IccConvertUTF.h.
enum icUtfConversionFlags |
Enumerator | |
---|---|
strictConversion | |
lenientConversion |
Definition at line 125 of file IccConvertUTF.h.
Enumerator | |
---|---|
conversionOK | |
sourceExhausted | |
targetExhausted | |
sourceIllegal |
Definition at line 118 of file IccConvertUTF.h.
icUtfConversionResult icConvertUTF16toUTF32 | ( | const UTF16 ** | sourceStart, |
const UTF16 * | sourceEnd, | ||
UTF32 ** | targetStart, | ||
UTF32 * | targetEnd, | ||
icUtfConversionFlags | flags ) |
Definition at line 147 of file IccConvertUTF.cpp.
References conversionOK, halfBase, halfShift, sourceExhausted, sourceIllegal, strictConversion, targetExhausted, UNI_SUR_HIGH_END, UNI_SUR_HIGH_START, UNI_SUR_LOW_END, and UNI_SUR_LOW_START.
icUtfConversionResult icConvertUTF16toUTF8 | ( | const UTF16 ** | sourceStart, |
const UTF16 * | sourceEnd, | ||
UTF8 ** | targetStart, | ||
UTF8 * | targetEnd, | ||
icUtfConversionFlags | flags ) |
Definition at line 299 of file IccConvertUTF.cpp.
References conversionOK, firstByteMark, halfBase, halfShift, sourceExhausted, sourceIllegal, strictConversion, targetExhausted, UNI_REPLACEMENT_CHAR, UNI_SUR_HIGH_END, UNI_SUR_HIGH_START, UNI_SUR_LOW_END, and UNI_SUR_LOW_START.
Referenced by CIccTagUtf16Text::GetText(), icUtf16ToUtf8(), CIccTagUtf8Text::SetText(), and CIccTagZipUtf8Text::SetText().
icUtfConversionResult icConvertUTF32toUTF16 | ( | const UTF32 ** | sourceStart, |
const UTF32 * | sourceEnd, | ||
UTF16 ** | targetStart, | ||
UTF16 * | targetEnd, | ||
icUtfConversionFlags | flags ) |
Definition at line 61 of file IccConvertUTF.cpp.
References conversionOK, halfBase, halfMask, halfShift, sourceIllegal, strictConversion, targetExhausted, UNI_MAX_BMP, UNI_MAX_LEGAL_UTF32, UNI_REPLACEMENT_CHAR, UNI_SUR_HIGH_START, UNI_SUR_LOW_END, and UNI_SUR_LOW_START.
Referenced by CIccLocalizedUnicode::SetText().
icUtfConversionResult icConvertUTF32toUTF8 | ( | const UTF32 ** | sourceStart, |
const UTF32 * | sourceEnd, | ||
UTF8 ** | targetStart, | ||
UTF8 * | targetEnd, | ||
icUtfConversionFlags | flags ) |
Definition at line 622 of file IccConvertUTF.cpp.
References conversionOK, firstByteMark, sourceIllegal, strictConversion, targetExhausted, UNI_MAX_LEGAL_UTF32, UNI_REPLACEMENT_CHAR, UNI_SUR_HIGH_START, and UNI_SUR_LOW_END.
icUtfConversionResult icConvertUTF8toUTF16 | ( | const UTF8 ** | sourceStart, |
const UTF8 * | sourceEnd, | ||
UTF16 ** | targetStart, | ||
UTF16 * | targetEnd, | ||
icUtfConversionFlags | flags ) |
Definition at line 489 of file IccConvertUTF.cpp.
References conversionOK, halfBase, halfMask, halfShift, isLegalUTF8(), offsetsFromUTF8, sourceExhausted, sourceIllegal, strictConversion, targetExhausted, trailingBytesForUTF8, UNI_MAX_BMP, UNI_MAX_UTF16, UNI_REPLACEMENT_CHAR, UNI_SUR_HIGH_START, UNI_SUR_LOW_END, and UNI_SUR_LOW_START.
Referenced by CIccUTF16String::CIccUTF16String(), CIccUTF16String::FromUtf8(), and CIccTagUtf16Text::SetText().
icUtfConversionResult icConvertUTF8toUTF32 | ( | const UTF8 ** | sourceStart, |
const UTF8 * | sourceEnd, | ||
UTF32 ** | targetStart, | ||
UTF32 * | targetEnd, | ||
icUtfConversionFlags | flags ) |
Definition at line 723 of file IccConvertUTF.cpp.
References conversionOK, isLegalUTF8(), offsetsFromUTF8, sourceExhausted, sourceIllegal, strictConversion, targetExhausted, trailingBytesForUTF8, UNI_MAX_LEGAL_UTF32, UNI_REPLACEMENT_CHAR, UNI_SUR_HIGH_START, and UNI_SUR_LOW_END.
Definition at line 478 of file IccConvertUTF.cpp.
References isLegalUTF8(), and trailingBytesForUTF8.