ACEXML
6.1.0
|
#include <Transcode.h>
Public Types | |
enum | { ACEXML_SUCCESS = 0, ACEXML_DESTINATION_TOO_SHORT = -1, ACEXML_END_OF_SOURCE = -2, ACEXML_INVALID_ARGS = -3, ACEXML_IS_SURROGATE = -4, ACEXML_NON_UNICODE = -5 } |
Static Public Member Functions | |
static int | utf162utf8 (ACEXML_UTF16 src, ACEXML_UTF8 *dst, size_t len) |
static int | ucs42utf8 (ACEXML_UCS4 src, ACEXML_UTF8 *dst, size_t len) |
static int | ucs42utf16 (ACEXML_UCS4 src, ACEXML_UTF16 *dst, size_t len) |
static int | surrogate2utf8 (ACEXML_UTF16 high, ACEXML_UTF16 low, ACEXML_UTF8 *dst, size_t len) |
static int | surrogate2ucs4 (ACEXML_UTF16 high, ACEXML_UTF16 low, ACEXML_UCS4 &dst) |
static int | utf82ucs4 (const ACEXML_UTF8 *src, size_t len, ACEXML_UCS4 &dst) |
static int | utf162ucs4 (const ACEXML_UTF16 *src, size_t len, ACEXML_UCS4 &dst) |
static int | utf8s2utf16s (const ACEXML_UTF8 *src, ACEXML_UTF16 *dst, size_t len) |
static int | utf16s2utf8s (const ACEXML_UTF16 *src, ACEXML_UTF8 *dst, size_t len) |
Public Attributes | |
enum ACEXML_Transcoder:: { ... } | ACEXML_STATUS |
Wrapper class for performing transcoding among different UNICODE encoding.
anonymous enum |
int ACEXML_Transcoder::surrogate2ucs4 | ( | ACEXML_UTF16 | high, |
ACEXML_UTF16 | low, | ||
ACEXML_UCS4 & | dst | ||
) | [static] |
int ACEXML_Transcoder::surrogate2utf8 | ( | ACEXML_UTF16 | high, |
ACEXML_UTF16 | low, | ||
ACEXML_UTF8 * | dst, | ||
size_t | len | ||
) | [static] |
int ACEXML_Transcoder::ucs42utf16 | ( | ACEXML_UCS4 | src, |
ACEXML_UTF16 * | dst, | ||
size_t | len | ||
) | [static] |
int ACEXML_Transcoder::ucs42utf8 | ( | ACEXML_UCS4 | src, |
ACEXML_UTF8 * | dst, | ||
size_t | len | ||
) | [static] |
int ACEXML_Transcoder::utf162ucs4 | ( | const ACEXML_UTF16 * | src, |
size_t | len, | ||
ACEXML_UCS4 & | dst | ||
) | [static] |
int ACEXML_Transcoder::utf162utf8 | ( | ACEXML_UTF16 | src, |
ACEXML_UTF8 * | dst, | ||
size_t | len | ||
) | [static] |
int ACEXML_Transcoder::utf16s2utf8s | ( | const ACEXML_UTF16 * | src, |
ACEXML_UTF8 * | dst, | ||
size_t | len | ||
) | [static] |
int ACEXML_Transcoder::utf82ucs4 | ( | const ACEXML_UTF8 * | src, |
size_t | len, | ||
ACEXML_UCS4 & | dst | ||
) | [static] |
int ACEXML_Transcoder::utf8s2utf16s | ( | const ACEXML_UTF8 * | src, |
ACEXML_UTF16 * | dst, | ||
size_t | len | ||
) | [static] |
enum { ... } ACEXML_Transcoder::ACEXML_STATUS |