ACE_UTF16_Encoding_Converter Class Reference

#include <UTF16_Encoding_Converter.h>

Inheritance diagram for ACE_UTF16_Encoding_Converter:

Inheritance graph
[legend]
Collaboration diagram for ACE_UTF16_Encoding_Converter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ACE_UTF16_Encoding_Converter (bool swap=false)
virtual ~ACE_UTF16_Encoding_Converter (void)
virtual Result to_utf8 (const void *source, size_t source_size, ACE_Byte *target, size_t target_size, bool strict=true)
virtual Result from_utf8 (const ACE_Byte *source, size_t source_size, void *target, size_t target_size, bool strict=true)

Static Public Member Functions

static ACE_UTF16_Encoding_Converterencoded (const ACE_Byte *source, size_t source_size)

Protected Member Functions

bool is_legal_utf8 (const ACE_Byte *source, size_t length) const

Static Protected Member Functions

static ACE_UINT32 get_UNI_SUR_HIGH_START (void)
static ACE_UINT32 get_UNI_SUR_LOW_END (void)
static ACE_UINT32 get_UNI_REPLACEMENT_CHAR (void)
static const ACE_Byteget_first_byte_mark (void)
static const ACE_Byteget_trailing_bytes_for_utf8 (void)
static const ACE_UINT32 * get_offsets_from_utf8 (void)

Protected Attributes

bool swap_

Constructor & Destructor Documentation

ACE_UTF16_Encoding_Converter::ACE_UTF16_Encoding_Converter bool  swap = false  ) 
 

ACE_UTF16_Encoding_Converter::~ACE_UTF16_Encoding_Converter void   )  [virtual]
 


Member Function Documentation

ACE_UTF16_Encoding_Converter * ACE_UTF16_Encoding_Converter::encoded const ACE_Byte source,
size_t  source_size
[static]
 

Reimplemented in ACE_UTF32_Encoding_Converter.

ACE_UTF16_Encoding_Converter::Result ACE_UTF16_Encoding_Converter::from_utf8 const ACE_Byte source,
size_t  source_size,
void *  target,
size_t  target_size,
bool  strict = true
[virtual]
 

Implements ACE_Encoding_Converter.

Reimplemented in ACE_UTF32_Encoding_Converter.

const ACE_Byte * ACE_UTF16_Encoding_Converter::get_first_byte_mark void   )  [static, protected]
 

const ACE_UINT32 * ACE_UTF16_Encoding_Converter::get_offsets_from_utf8 void   )  [static, protected]
 

const ACE_Byte * ACE_UTF16_Encoding_Converter::get_trailing_bytes_for_utf8 void   )  [static, protected]
 

ACE_UINT32 ACE_UTF16_Encoding_Converter::get_UNI_REPLACEMENT_CHAR void   )  [static, protected]
 

ACE_UINT32 ACE_UTF16_Encoding_Converter::get_UNI_SUR_HIGH_START void   )  [static, protected]
 

ACE_UINT32 ACE_UTF16_Encoding_Converter::get_UNI_SUR_LOW_END void   )  [static, protected]
 

ACE_INLINE bool ACE_UTF16_Encoding_Converter::is_legal_utf8 const ACE_Byte source,
size_t  length
const [protected]
 

ACE_UTF16_Encoding_Converter::Result ACE_UTF16_Encoding_Converter::to_utf8 const void *  source,
size_t  source_size,
ACE_Byte target,
size_t  target_size,
bool  strict = true
[virtual]
 

Implements ACE_Encoding_Converter.

Reimplemented in ACE_UTF32_Encoding_Converter.


Member Data Documentation

bool ACE_UTF16_Encoding_Converter::swap_ [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 23 15:51:17 2005 for ACE by  doxygen 1.4.5