ACEXML  6.1.0
Public Types | Static Public Member Functions | Public Attributes
ACEXML_Transcoder Class Reference

ACEXML_Transcoder. More...

#include <Transcode.h>

List of all members.

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

Detailed Description

ACEXML_Transcoder.

Wrapper class for performing transcoding among different UNICODE encoding.


Member Enumeration Documentation

anonymous enum
Enumerator:
ACEXML_SUCCESS 
ACEXML_DESTINATION_TOO_SHORT 
ACEXML_END_OF_SOURCE 
ACEXML_INVALID_ARGS 
ACEXML_IS_SURROGATE 
ACEXML_NON_UNICODE 

Member Function Documentation

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]

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines