GME  13
Classes | Defines | Typedefs | Functions | Variables
IconvGNUTransService.cpp File Reference

Go to the source code of this file.

Classes

struct  __IconvGNUEncoding

Defines

#define MAX_UCHSIZE   4
#define IXMLCh2WC16(x, w)
#define IWC162XMLCh(w, x)   *(x) = ((*(w)) << 8) | (*((w)+1))
#define XMLCh2WC16(x, w)
#define WC162XMLCh(w, x)   *(x) = ((*((w)+1)) << 8) | (*(w))
#define IXMLCh2WC32(x, w)
#define IWC322XMLCh(w, x)
#define XMLCh2WC32(x, w)
#define WC322XMLCh(w, x)

Typedefs

typedef
XERCES_CPP_NAMESPACE_BEGIN
struct __IconvGNUEncoding 
IconvGNUEncoding

Functions

static XMLSize_t getWideCharLength (const XMLCh *const src)

Variables

static const IconvGNUEncoding gIconvGNUEncodings []
static const unsigned int gTempBuffArraySize = 4096
static const XMLCh gMyServiceId []

Define Documentation

#define IWC162XMLCh (   w,
 
)    *(x) = ((*(w)) << 8) | (*((w)+1))

Definition at line 53 of file IconvGNUTransService.cpp.

#define IWC322XMLCh (   w,
 
)
Value:
*(x) = ((*(w)) << 24) | ((*((w)+1)) << 16) |    \
          ((*((w)+2)) << 8) | (*((w)+3))

Definition at line 64 of file IconvGNUTransService.cpp.

#define IXMLCh2WC16 (   x,
 
)
Value:
*(w) = ((*(x)) >> 8) & 0xFF;        \
    *((w)+1) = (*(x)) & 0xFF

Definition at line 50 of file IconvGNUTransService.cpp.

#define IXMLCh2WC32 (   x,
 
)
Value:
*(w) = ((*(x)) >> 24) & 0xFF;        \
    *((w)+1) = ((*(x)) >> 16) & 0xFF;    \
    *((w)+2) = ((*(x)) >> 8) & 0xFF;    \
    *((w)+3) = (*(x)) & 0xFF

Definition at line 59 of file IconvGNUTransService.cpp.

#define MAX_UCHSIZE   4

Definition at line 42 of file IconvGNUTransService.cpp.

#define WC162XMLCh (   w,
 
)    *(x) = ((*((w)+1)) << 8) | (*(w))

Definition at line 57 of file IconvGNUTransService.cpp.

#define WC322XMLCh (   w,
 
)
Value:
*(x) = ((*((w)+3)) << 24) | ((*((w)+2)) << 16) |    \
        ((*((w)+1)) << 8) | (*(w))

Definition at line 72 of file IconvGNUTransService.cpp.

#define XMLCh2WC16 (   x,
 
)
Value:
*(w) = (*(x)) & 0xFF;            \
    *((w)+1) = ((*(x)) >> 8) & 0xFF

Definition at line 54 of file IconvGNUTransService.cpp.

#define XMLCh2WC32 (   x,
 
)
Value:
*((w)+3) = ((*(x)) >> 24) & 0xFF;    \
    *((w)+2) = ((*(x)) >> 16) & 0xFF;    \
    *((w)+1) = ((*(x)) >> 8) & 0xFF;    \
    *(w) = (*(x)) & 0xFF

Definition at line 67 of file IconvGNUTransService.cpp.


Typedef Documentation

typedef XERCES_CPP_NAMESPACE_BEGIN struct __IconvGNUEncoding IconvGNUEncoding

Function Documentation

static XMLSize_t getWideCharLength ( const XMLCh *const  src) [static]

Definition at line 152 of file IconvGNUTransService.cpp.


Variable Documentation

Initial value:
 {
    { "UTF-16LE",        2,    LITTLE_ENDIAN },
    { "UTF-16BE",        2,    BIG_ENDIAN },
    { "UCS-2LE",         2,    LITTLE_ENDIAN },
    { "UCS-2BE",         2,    BIG_ENDIAN },
    { "UCS-2-INTERNAL",  2,    BYTE_ORDER },
    { NULL,              0,    0 }
}

Definition at line 130 of file IconvGNUTransService.cpp.

const XMLCh gMyServiceId[] [static]
Initial value:
{
    chLatin_I, chLatin_C, chLatin_o, chLatin_n, chLatin_v, chNull
}

Definition at line 143 of file IconvGNUTransService.cpp.

const unsigned int gTempBuffArraySize = 4096 [static]

Definition at line 142 of file IconvGNUTransService.cpp.