Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXUTF16Codec Class Reference

Codec for UTF-16. More...

#include <FXUTF16Codec.h>

Inheritance diagram for FX::FXUTF16Codec:

FX::FXTextCodec FX::FXObject List of all members.

Public Member Functions

 FXUTF16Codec ()
virtual FXint mb2wc (FXwchar &wc, const FXchar *src, FXint nsrc) const
virtual FXint mb2utflen (const FXchar *src, FXint nsrc) const
virtual FXint mb2utf (FXchar *dst, FXint ndst, const FXchar *src, FXint nsrc) const
virtual FXint wc2mb (FXchar *dst, FXint ndst, FXwchar wc) const
virtual FXint utf2mblen (const FXchar *src, FXint nsrc) const
virtual FXint utf2mb (FXchar *dst, FXint ndst, const FXchar *src, FXint nsrc) const
virtual const FXcharname () const
virtual const FXcharmimeName () const
virtual FXint mibEnum () const
virtual const FXchar *const * aliases () const
virtual ~FXUTF16Codec ()

Detailed Description

Codec for UTF-16.


Constructor & Destructor Documentation

FX::FXUTF16Codec::FXUTF16Codec  )  [inline]
 

virtual FX::FXUTF16Codec::~FXUTF16Codec  )  [inline, virtual]
 


Member Function Documentation

virtual FXint FX::FXUTF16Codec::mb2wc FXwchar wc,
const FXchar src,
FXint  nsrc
const [virtual]
 

Convert multi-byte characters from src to single wide character.

Reimplemented from FX::FXTextCodec.

virtual FXint FX::FXUTF16Codec::mb2utflen const FXchar src,
FXint  nsrc
const [virtual]
 

Count utf8 bytes needed to convert multi-byte characters from src.

Reimplemented from FX::FXTextCodec.

virtual FXint FX::FXUTF16Codec::mb2utf FXchar dst,
FXint  ndst,
const FXchar src,
FXint  nsrc
const [virtual]
 

Convert multi-byte characters from src to utf8 characters at dst.

Reimplemented from FX::FXTextCodec.

virtual FXint FX::FXUTF16Codec::wc2mb FXchar dst,
FXint  ndst,
FXwchar  wc
const [virtual]
 

Convert single wide character to multi-byte characters at dst.

Reimplemented from FX::FXTextCodec.

virtual FXint FX::FXUTF16Codec::utf2mblen const FXchar src,
FXint  nsrc
const [virtual]
 

Count multi-byte characters characters needed to convert utf8 from src.

Reimplemented from FX::FXTextCodec.

virtual FXint FX::FXUTF16Codec::utf2mb FXchar dst,
FXint  ndst,
const FXchar src,
FXint  nsrc
const [virtual]
 

Convert utf8 characters at src to multi-byte characters at dst.

Reimplemented from FX::FXTextCodec.

virtual const FXchar* FX::FXUTF16Codec::name  )  const [virtual]
 

Return name of the codec.

Implements FX::FXTextCodec.

virtual const FXchar* FX::FXUTF16Codec::mimeName  )  const [virtual]
 

Return the IANA mime name for this codec; this is used for example as "text/utf-8" in drag and drop protocols.

Implements FX::FXTextCodec.

virtual FXint FX::FXUTF16Codec::mibEnum  )  const [virtual]
 

Return the Management Information Base (MIBenum) for the character set.

Implements FX::FXTextCodec.

virtual const FXchar* const* FX::FXUTF16Codec::aliases  )  const [virtual]
 

Return NULL-terminated list of aliases for this codec.

Implements FX::FXTextCodec.

Copyright © 1997-2005 Jeroen van der Zijp