Overview   Class List   Class Hierarchy   Class Members   Functions & Constants   Defines   Header Files  

uima::Unicode2CodePageConverter Class Reference

List of all members.

Detailed Description

The class Unicode2CodePageConverter is used to convert all characters in a specified buffer from UNICODE (CCSID: CCSID::EnCCSID_UCS2), to another buffer with specified CCSID.

See also:
CodePage2UnicodeConverter


Public Member Functions

Constructors
 Unicode2CodePageConverter (const char *converterName)
 ~Unicode2CodePageConverter ()
Miscellaneous
size_t getMaximumSize (const UChar *cpclSource, size_t uiSourceLength)
 the maximum size in bytes required when converted from Unicode to using this code page converter
size_t convertFromUnicode (char *pacTarget, size_t uiTargetMaxLength, const UChar *cpclSource, size_t uiSourceLength)
 Convert the specified source buffer cpacSource, with size uiSourceSize in bytes to target buffer pclTarget, with size uiTargetMaxSize in bytes from the UNICODE using this codepage converter.


Constructor & Destructor Documentation

uima::Unicode2CodePageConverter::Unicode2CodePageConverter const char *  converterName  ) 
 

uima::Unicode2CodePageConverter::~Unicode2CodePageConverter  ) 
 


Member Function Documentation

size_t uima::Unicode2CodePageConverter::getMaximumSize const UChar *  cpclSource,
size_t  uiSourceLength
 

the maximum size in bytes required when converted from Unicode to using this code page converter

size_t uima::Unicode2CodePageConverter::convertFromUnicode char *  pacTarget,
size_t  uiTargetMaxLength,
const UChar *  cpclSource,
size_t  uiSourceLength
 

Convert the specified source buffer cpacSource, with size uiSourceSize in bytes to target buffer pclTarget, with size uiTargetMaxSize in bytes from the UNICODE using this codepage converter.

Return the number of bytes converted.


The documentation for this class was generated from the following file:
Generated on Mon Oct 1 16:04:14 2012 for UIMACPP API by  doxygen 1.3.9.1