FX::FXUTF16LECodec Class Reference

#include <FXUTF16Codec.h>

Inheritance diagram for FX::FXUTF16LECodec:

Inheritance graph
[legend]

List of all members.


Detailed Description

Codec for UTF-16LE.

Public Member Functions

virtual FXint mb2wc (FXwchar &wc, const FXchar *src, FXint nsrc) const
virtual FXint wc2mb (FXchar *dst, FXint ndst, FXwchar wc) const
virtual const FXchar * name () const
virtual const FXchar * mimeName () const
virtual FXint mibEnum () const
virtual const FXchar *const * aliases () const
virtual FXint mb2utflen (const FXchar *src, FXint nsrc) const
FXint mb2utflen (const FXString &src) const
virtual FXint mb2utf (FXchar *dst, FXint ndst, const FXchar *src, FXint nsrc) const
FXint mb2utf (FXchar *dst, FXint ndst, const FXchar *src) const
FXint mb2utf (FXchar *dst, FXint ndst, const FXString &src) const
FXString mb2utf (const FXchar *src, FXint nsrc) const
FXString mb2utf (const FXchar *src) const
FXString mb2utf (const FXString &src) const
virtual FXint utf2mblen (const FXchar *src, FXint nsrc) const
virtual FXint utf2mblen (const FXString &src) const
virtual FXint utf2mb (FXchar *dst, FXint ndst, const FXchar *src, FXint nsrc) const
FXint utf2mb (FXchar *dst, FXint ndst, const FXchar *src) const
FXint utf2mb (FXchar *dst, FXint ndst, const FXString &src) const
FXString utf2mb (const FXchar *src, FXint nsrc) const
FXString utf2mb (const FXchar *src) const
FXString utf2mb (const FXString &src) const
virtual long onDefault (FXObject *, FXSelector, void *)
const FXchar * getClassName () const
bool isMemberOf (const FXMetaClass *metaclass) const
virtual long tryHandle (FXObject *sender, FXSelector sel, void *ptr)
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
QTransString tr (const char *text, const char *hint=0)
virtual void * getPythonObject () const
virtual void decouplePythonObject () const

Static Public Member Functions

static FXint utf2wc (FXwchar &wc, const FXchar *src, FXint nsrc)
static FXint utf2wc (FXwchar &wc, const FXnchar *src, FXint nsrc)
static FXint utf2wc (FXwchar &wc, const FXwchar *src, FXint nsrc)
static FXint wc2utf (FXchar *dst, FXint ndst, FXwchar wc)
static FXint wc2utf (FXnchar *dst, FXint ndst, FXwchar wc)
static FXint wc2utf (FXwchar *dst, FXint ndst, FXwchar wc)

Member Function Documentation

virtual FXint FX::FXUTF16LECodec::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::FXUTF16LECodec::wc2mb ( FXchar *  dst,
FXint  ndst,
FXwchar  wc 
) const [virtual]

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

Reimplemented from FX::FXTextCodec.

virtual const FXchar* FX::FXUTF16LECodec::name (  )  const [virtual]

Return name of the codec.

Implements FX::FXTextCodec.

virtual const FXchar* FX::FXUTF16LECodec::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::FXUTF16LECodec::mibEnum (  )  const [virtual]

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

Implements FX::FXTextCodec.

virtual const FXchar* const* FX::FXUTF16LECodec::aliases (  )  const [virtual]

Return NULL-terminated list of aliases for this codec.

Implements FX::FXTextCodec.

static FXint FX::FXTextCodec::utf2wc ( FXwchar &  wc,
const FXchar *  src,
FXint  nsrc 
) [static, inherited]

Convert utf8 to single wide character.

static FXint FX::FXTextCodec::utf2wc ( FXwchar &  wc,
const FXnchar *  src,
FXint  nsrc 
) [static, inherited]

Convert utf16 to single wide character.

static FXint FX::FXTextCodec::utf2wc ( FXwchar &  wc,
const FXwchar *  src,
FXint  nsrc 
) [static, inherited]

Convert utf32 to single wide character.

static FXint FX::FXTextCodec::wc2utf ( FXchar *  dst,
FXint  ndst,
FXwchar  wc 
) [static, inherited]

Convert single wide character to utf8.

static FXint FX::FXTextCodec::wc2utf ( FXnchar *  dst,
FXint  ndst,
FXwchar  wc 
) [static, inherited]

Convert single wide character to utf16.

static FXint FX::FXTextCodec::wc2utf ( FXwchar *  dst,
FXint  ndst,
FXwchar  wc 
) [static, inherited]

Convert single wide character to utf32.

virtual FXint FX::FXTextCodec::mb2utflen ( const FXchar *  src,
FXint  nsrc 
) const [virtual, inherited]

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

Reimplemented in FX::FXUTF16Codec, and FX::FXUTF32Codec.

FXint FX::FXTextCodec::mb2utflen ( const FXString src  )  const [inherited]

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

virtual FXint FX::FXTextCodec::mb2utf ( FXchar *  dst,
FXint  ndst,
const FXchar *  src,
FXint  nsrc 
) const [virtual, inherited]

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

Reimplemented in FX::FXUTF16Codec, and FX::FXUTF32Codec.

FXint FX::FXTextCodec::mb2utf ( FXchar *  dst,
FXint  ndst,
const FXchar *  src 
) const [inherited]

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

FXint FX::FXTextCodec::mb2utf ( FXchar *  dst,
FXint  ndst,
const FXString src 
) const [inherited]

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

FXString FX::FXTextCodec::mb2utf ( const FXchar *  src,
FXint  nsrc 
) const [inherited]

Convert multi-byte characters from src to utf8 string.

FXString FX::FXTextCodec::mb2utf ( const FXchar *  src  )  const [inherited]

Convert multi-byte characters from src to utf8 string.

FXString FX::FXTextCodec::mb2utf ( const FXString src  )  const [inherited]

Convert multi-byte string to utf8 string.

virtual FXint FX::FXTextCodec::utf2mblen ( const FXchar *  src,
FXint  nsrc 
) const [virtual, inherited]

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

Reimplemented in FX::FXUTF16Codec, and FX::FXUTF32Codec.

virtual FXint FX::FXTextCodec::utf2mblen ( const FXString src  )  const [virtual, inherited]

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

virtual FXint FX::FXTextCodec::utf2mb ( FXchar *  dst,
FXint  ndst,
const FXchar *  src,
FXint  nsrc 
) const [virtual, inherited]

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

Reimplemented in FX::FXUTF16Codec, and FX::FXUTF32Codec.

FXint FX::FXTextCodec::utf2mb ( FXchar *  dst,
FXint  ndst,
const FXchar *  src 
) const [inherited]

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

FXint FX::FXTextCodec::utf2mb ( FXchar *  dst,
FXint  ndst,
const FXString src 
) const [inherited]

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

FXString FX::FXTextCodec::utf2mb ( const FXchar *  src,
FXint  nsrc 
) const [inherited]

Convert utf8 characters at src to multi-byte string.

FXString FX::FXTextCodec::utf2mb ( const FXchar *  src  )  const [inherited]

Convert utf8 characters at src to multi-byte string.

FXString FX::FXTextCodec::utf2mb ( const FXString src  )  const [inherited]

Convert utf8 string to multi-byte string.

virtual long FX::FXObject::onDefault ( FXObject ,
FXSelector  ,
void *   
) [virtual, inherited]

Called for unhandled messages.

Reimplemented in FX::FXDelegator, FX::FXGLViewer, FX::FXMDIChild, and FX::FXMDIClient.

const FXchar* FX::FXObject::getClassName (  )  const [inherited]

Get class name of some object.

bool FX::FXObject::isMemberOf ( const FXMetaClass metaclass  )  const [inherited]

Check if object is member of metaclass.

virtual long FX::FXObject::tryHandle ( FXObject sender,
FXSelector  sel,
void *  ptr 
) [virtual, inherited]

Try handle message safely.

virtual void FX::FXObject::save ( FXStream store  )  const [virtual, inherited]

Save object to stream.

Reimplemented in FX::FX4Splitter, FX::FX7Segment, FX::FXAccelTable, FX::FXApp, FX::FXArrowButton, FX::FXBitmap, FX::FXBitmapFrame, FX::FXBitmapView, FX::FXCheckButton, FX::FXChoiceBox, FX::FXColorBar, FX::FXColorDialog, FX::FXColorRing, FX::FXColorSelector, FX::FXColorWell, FX::FXColorWheel, FX::FXComboBox, FX::FXCursor, FX::FXDial, FX::FXDirBox, FX::FXDirDialog, FX::FXDirList, FX::FXDirSelector, FX::FXDockBar, FX::FXDockHandler, FX::FXDockTitle, FX::FXDocument, FX::FXDragCorner, FX::FXDrawable, FX::FXDriveBox, FX::FXFileDialog, FX::FXFileDict, FX::FXFileList, FX::FXFileSelector, FX::FXFoldingItem, FX::FXFoldingList, FX::FXFont, FX::FXFontDialog, FX::FXFontSelector, FX::FXFrame, FX::FXGLCanvas, FX::FXGLCone, FX::FXGLContext, FX::FXGLCube, FX::FXGLCylinder, FX::FXGLGroup, FX::FXGLShape, FX::FXGLSphere, FX::FXGLTriangleMesh, FX::FXGLVertices, FX::FXGLViewer, FX::FXGLVisual, FX::FXGradientBar, FX::FXGroupBox, FX::FXHeaderItem, FX::FXHeader, FX::FXIconDict, FX::FXIconItem, FX::FXIconList, FX::FXIconSource, FX::FXId, FX::FXImage, FX::FXImageFrame, FX::FXImageView, FX::FXKnob, FX::FXLabel, FX::FXListItem, FX::FXList, FX::FXListBox, FX::FXMDIChild, FX::FXMDIClient, FX::FXMenuButton, FX::FXMenuCaption, FX::FXMenuCascade, FX::FXMenuCheck, FX::FXMenuCommand, FX::FXMenuRadio, FX::FXMenuSeparator, FX::FXMenuTitle, FX::FXOptionMenu, FX::FXPacker, FX::FXPrimaryButton, FX::FXPrintDialog, FX::FXProgressBar, FX::FXRadioButton, FX::FXRealSlider, FX::FXRealSpinner, FX::FXRecentFiles, FX::FXReplaceDialog, FX::FXRuler, FX::FXRulerView, FX::FXScrollBar, FX::FXSlider, FX::FXSpinner, FX::FXSplashWindow, FX::FXSplitter, FX::FXSpring, FX::FXStatusBar, FX::FXStatusLine, FX::FXSwitcher, FX::FXTabBar, FX::FXTableItem, FX::FXTable, FX::FXText, FX::FXTextField, FX::FXToggleButton, FX::FXToolBarGrip, FX::FXToolBarShell, FX::FXToolBarTab, FX::FXToolTip, FX::FXTopWindow, FX::FXTreeItem, FX::FXTreeList, FX::FXTreeListBox, FX::FXTriStateButton, FX::FXVisual, FX::FXWindow, and FX::FXWizard.

virtual void FX::FXObject::load ( FXStream store  )  [virtual, inherited]

Load object from stream.

Reimplemented in FX::FX4Splitter, FX::FX7Segment, FX::FXAccelTable, FX::FXApp, FX::FXArrowButton, FX::FXBitmap, FX::FXBitmapFrame, FX::FXBitmapView, FX::FXCheckButton, FX::FXChoiceBox, FX::FXColorBar, FX::FXColorDialog, FX::FXColorRing, FX::FXColorSelector, FX::FXColorWell, FX::FXColorWheel, FX::FXComboBox, FX::FXCursor, FX::FXDial, FX::FXDirBox, FX::FXDirDialog, FX::FXDirList, FX::FXDirSelector, FX::FXDockBar, FX::FXDockHandler, FX::FXDockTitle, FX::FXDocument, FX::FXDragCorner, FX::FXDrawable, FX::FXDriveBox, FX::FXFileDialog, FX::FXFileDict, FX::FXFileList, FX::FXFileSelector, FX::FXFoldingItem, FX::FXFoldingList, FX::FXFont, FX::FXFontDialog, FX::FXFontSelector, FX::FXFrame, FX::FXGLCanvas, FX::FXGLCone, FX::FXGLContext, FX::FXGLCube, FX::FXGLCylinder, FX::FXGLGroup, FX::FXGLShape, FX::FXGLSphere, FX::FXGLTriangleMesh, FX::FXGLVertices, FX::FXGLViewer, FX::FXGLVisual, FX::FXGradientBar, FX::FXGroupBox, FX::FXHeaderItem, FX::FXHeader, FX::FXIconDict, FX::FXIconItem, FX::FXIconList, FX::FXIconSource, FX::FXId, FX::FXImage, FX::FXImageFrame, FX::FXImageView, FX::FXKnob, FX::FXLabel, FX::FXListItem, FX::FXList, FX::FXListBox, FX::FXMDIChild, FX::FXMDIClient, FX::FXMenuButton, FX::FXMenuCaption, FX::FXMenuCascade, FX::FXMenuCheck, FX::FXMenuCommand, FX::FXMenuRadio, FX::FXMenuSeparator, FX::FXMenuTitle, FX::FXOptionMenu, FX::FXPacker, FX::FXPrimaryButton, FX::FXPrintDialog, FX::FXProgressBar, FX::FXRadioButton, FX::FXRealSlider, FX::FXRealSpinner, FX::FXRecentFiles, FX::FXReplaceDialog, FX::FXRuler, FX::FXRulerView, FX::FXScrollBar, FX::FXSlider, FX::FXSpinner, FX::FXSplashWindow, FX::FXSplitter, FX::FXSpring, FX::FXStatusBar, FX::FXStatusLine, FX::FXSwitcher, FX::FXTabBar, FX::FXTableItem, FX::FXTable, FX::FXText, FX::FXTextField, FX::FXToggleButton, FX::FXToolBarGrip, FX::FXToolBarShell, FX::FXToolBarTab, FX::FXToolTip, FX::FXTopWindow, FX::FXTreeItem, FX::FXTreeList, FX::FXTreeListBox, FX::FXTriStateButton, FX::FXVisual, FX::FXWindow, and FX::FXWizard.

QTransString FX::FXObject::tr ( const char *  text,
const char *  hint = 0 
) [inherited]

Returns a human translated version of the text to the locale language (warning: uses a virtual method call, so can't use before construction)

virtual void* FX::FXObject::getPythonObject (  )  const [inline, virtual, inherited]

Returns the python object representing this instance (if created in python).

virtual void FX::FXObject::decouplePythonObject (  )  const [inline, virtual, inherited]

Causes decoupling of python object from this object (deletes self).


The documentation for this class was generated from the following file:

(C) 2002-2008 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Jun 13 22:25:14 2008 for TnFOX by doxygen v1.5.6