Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
Abstract base class for a stateless coder/decoder. More...
#include <FXTextCodec.h>
Public Member Functions | |
FXTextCodec () | |
Construct text codec. | |
virtual FXint | mb2utflen (const FXchar *src, FXint nsrc) const |
Count utf8 bytes needed to convert multi-byte characters from src. | |
FXint | mb2utflen (const FXString &src) const |
Count utf8 bytes needed to convert multi-byte characters from src. | |
virtual FXint | mb2utf (FXchar *dst, FXint ndst, const FXchar *src, FXint nsrc) const |
Convert multi-byte characters from src to utf8 characters at dst. | |
FXint | mb2utf (FXchar *dst, FXint ndst, const FXchar *src) const |
Convert multi-byte characters from src to utf8 characters at dst. | |
FXint | mb2utf (FXchar *dst, FXint ndst, const FXString &src) const |
Convert multi-byte characters from src to utf8 characters at dst. | |
FXString | mb2utf (const FXchar *src, FXint nsrc) const |
Convert multi-byte characters from src to utf8 string. | |
FXString | mb2utf (const FXchar *src) const |
Convert multi-byte characters from src to utf8 string. | |
FXString | mb2utf (const FXString &src) const |
Convert multi-byte string to utf8 string. | |
virtual FXint | mb2wc (FXwchar &wc, const FXchar *src, FXint nsrc) const |
Convert multi-byte characters from src to single wide character. | |
virtual FXint | utf2mblen (const FXchar *src, FXint nsrc) const |
Count multi-byte characters characters needed to convert utf8 from src. | |
virtual FXint | utf2mblen (const FXString &src) const |
Count multi-byte characters characters needed to convert utf8 from src. | |
virtual FXint | utf2mb (FXchar *dst, FXint ndst, const FXchar *src, FXint nsrc) const |
Convert utf8 characters at src to multi-byte characters at dst. | |
FXint | utf2mb (FXchar *dst, FXint ndst, const FXchar *src) const |
Convert utf8 characters at src to multi-byte characters at dst. | |
FXint | utf2mb (FXchar *dst, FXint ndst, const FXString &src) const |
Convert utf8 characters at src to multi-byte characters at dst. | |
FXString | utf2mb (const FXchar *src, FXint nsrc) const |
Convert utf8 characters at src to multi-byte string. | |
FXString | utf2mb (const FXchar *src) const |
Convert utf8 characters at src to multi-byte string. | |
FXString | utf2mb (const FXString &src) const |
Convert utf8 string to multi-byte string. | |
virtual FXint | wc2mb (FXchar *dst, FXint ndst, FXwchar wc) const |
Convert single wide character to multi-byte characters at dst. | |
virtual FXint | mibEnum () const =0 |
Return the Management Information Base (MIBenum) for the character set. | |
virtual const FXchar * | name () const =0 |
Return name of the codec. | |
virtual const FXchar * | mimeName () const =0 |
Return the IANA mime name for this codec; this is used for example as "text/utf-8" in drag and drop protocols. | |
virtual const FXchar *const * | aliases () const =0 |
Return NULL-terminated list of aliases for this codec. | |
virtual | ~FXTextCodec () |
Destruct codec. | |
Public Member Functions inherited from FX::FXObject | |
const FXchar * | getClassName () const |
Get class name of some object. | |
FXbool | isMemberOf (const FXMetaClass *metaclass) const |
Check if object is member of metaclass. | |
virtual long | tryHandle (FXObject *sender, FXSelector sel, void *ptr) |
Try handle message safely, catching certain exceptions. | |
virtual long | onDefault (FXObject *, FXSelector, void *) |
Called for unhandled messages. | |
virtual void | save (FXStream &store) const |
Save object to stream. | |
virtual void | load (FXStream &store) |
Load object from stream. | |
virtual | ~FXObject () |
Virtual destructor. | |
Abstract base class for a stateless coder/decoder.
Copyright © 1997-2022 Jeroen van der Zijp |