IccMAX 2.1.27
Color Profile Tools
|
#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 ICCUINT32 | UTF32 |
typedef unsigned char | UTF8 |
Enumerations | |
enum | icUtfConversionFlags { strictConversion = 0 , lenientConversion } |
enum | icUtfConversionResult { conversionOK , sourceExhausted , targetExhausted , sourceIllegal } |
#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 |
typedef unsigned char Boolean |
typedef unsigned short UTF16 |
typedef unsigned char UTF8 |
enum icUtfConversionFlags |
Enumerator | |
---|---|
strictConversion | |
lenientConversion |
Enumerator | |
---|---|
conversionOK | |
sourceExhausted | |
targetExhausted | |
sourceIllegal |
icUtfConversionResult ICCPROFLIB_API icConvertUTF16toUTF32 | ( | const UTF16 ** | sourceStart, |
const UTF16 * | sourceEnd, | ||
UTF32 ** | targetStart, | ||
UTF32 * | targetEnd, | ||
icUtfConversionFlags | flags | ||
) |
References conversionOK, halfBase, halfShift, sourceExhausted, sourceIllegal, strictConversion, and targetExhausted.
icUtfConversionResult ICCPROFLIB_API icConvertUTF16toUTF8 | ( | const UTF16 ** | sourceStart, |
const UTF16 * | sourceEnd, | ||
UTF8 ** | targetStart, | ||
UTF8 * | targetEnd, | ||
icUtfConversionFlags | flags | ||
) |
References conversionOK, firstByteMark, halfBase, halfShift, sourceExhausted, sourceIllegal, strictConversion, and targetExhausted.
Referenced by icUtf16ToUtf8().
icUtfConversionResult ICCPROFLIB_API icConvertUTF32toUTF16 | ( | const UTF32 ** | sourceStart, |
const UTF32 * | sourceEnd, | ||
UTF16 ** | targetStart, | ||
UTF16 * | targetEnd, | ||
icUtfConversionFlags | flags | ||
) |
References conversionOK, halfBase, halfMask, halfShift, sourceIllegal, strictConversion, and targetExhausted.
Referenced by CIccLocalizedUnicode::SetText().
icUtfConversionResult ICCPROFLIB_API icConvertUTF32toUTF8 | ( | const UTF32 ** | sourceStart, |
const UTF32 * | sourceEnd, | ||
UTF8 ** | targetStart, | ||
UTF8 * | targetEnd, | ||
icUtfConversionFlags | flags | ||
) |
References conversionOK, firstByteMark, sourceIllegal, strictConversion, and targetExhausted.
icUtfConversionResult ICCPROFLIB_API icConvertUTF8toUTF16 | ( | const UTF8 ** | sourceStart, |
const UTF8 * | sourceEnd, | ||
UTF16 ** | targetStart, | ||
UTF16 * | targetEnd, | ||
icUtfConversionFlags | flags | ||
) |
References conversionOK, halfBase, halfMask, halfShift, isLegalUTF8(), offsetsFromUTF8, sourceExhausted, sourceIllegal, strictConversion, targetExhausted, and trailingBytesForUTF8.
Referenced by CIccUTF16String::CIccUTF16String(), and CIccUTF16String::FromUtf8().
icUtfConversionResult ICCPROFLIB_API icConvertUTF8toUTF32 | ( | const UTF8 ** | sourceStart, |
const UTF8 * | sourceEnd, | ||
UTF32 ** | targetStart, | ||
UTF32 * | targetEnd, | ||
icUtfConversionFlags | flags | ||
) |
References conversionOK, isLegalUTF8(), offsetsFromUTF8, sourceExhausted, sourceIllegal, strictConversion, targetExhausted, and trailingBytesForUTF8.
Boolean ICCPROFLIB_API icIsLegalUTF8Sequence | ( | const UTF8 * | source, |
const UTF8 * | sourceEnd | ||
) |
References isLegalUTF8(), and trailingBytesForUTF8.