webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
WebCore::TextCodec Class Referenceabstract

#include <TextCodec.h>

Inheritance diagram for WebCore::TextCodec:
WebCore::TextCodecICU WebCore::TextCodecICU WebCore::TextCodecLatin1 WebCore::TextCodecLatin1 WebCore::TextCodecMac WebCore::TextCodecUserDefined WebCore::TextCodecUserDefined WebCore::TextCodecUTF16 WebCore::TextCodecUTF16 WebCore::TextCodecUTF8 WebCore::TextCodecWin

Public Member Functions

 TextCodec ()
 
virtual ~TextCodec ()
 
String decode (const char *str, size_t length, bool flush=false)
 
virtual String decode (const char *, size_t length, bool flush, bool stopOnError, bool &sawError)=0
 
virtual CString encode (const UChar *, size_t length, UnencodableHandling)=0
 
 TextCodec ()
 
virtual ~TextCodec ()
 
String decode (const char *str, size_t length, bool flush=false)
 
virtual String decode (const char *, size_t length, bool flush, bool stopOnError, bool &sawError)=0
 
virtual CString encode (const UChar *, size_t length, UnencodableHandling)=0
 

Static Public Member Functions

static int getUnencodableReplacement (unsigned codePoint, UnencodableHandling, UnencodableReplacementArray)
 
static int getUnencodableReplacement (unsigned codePoint, UnencodableHandling, UnencodableReplacementArray)
 

Constructor & Destructor Documentation

◆ TextCodec() [1/2]

WebCore::TextCodec::TextCodec ( )
inline

◆ ~TextCodec() [1/2]

WebCore::TextCodec::~TextCodec ( )
virtual

◆ TextCodec() [2/2]

WebCore::TextCodec::TextCodec ( )
inline

◆ ~TextCodec() [2/2]

virtual WebCore::TextCodec::~TextCodec ( )
virtual

Member Function Documentation

◆ decode() [1/4]

String WebCore::TextCodec::decode ( const char *  str,
size_t  length,
bool  flush = false 
)
inline

◆ decode() [2/4]

String WebCore::TextCodec::decode ( const char *  str,
size_t  length,
bool  flush = false 
)
inline

◆ decode() [3/4]

virtual String WebCore::TextCodec::decode ( const char *  ,
size_t  length,
bool  flush,
bool  stopOnError,
bool &  sawError 
)
pure virtual

◆ decode() [4/4]

virtual String WebCore::TextCodec::decode ( const char *  ,
size_t  length,
bool  flush,
bool  stopOnError,
bool &  sawError 
)
pure virtual

◆ encode() [1/2]

virtual CString WebCore::TextCodec::encode ( const UChar ,
size_t  length,
UnencodableHandling   
)
pure virtual

◆ encode() [2/2]

virtual CString WebCore::TextCodec::encode ( const UChar ,
size_t  length,
UnencodableHandling   
)
pure virtual

◆ getUnencodableReplacement() [1/2]

int WebCore::TextCodec::getUnencodableReplacement ( unsigned  codePoint,
UnencodableHandling  handling,
UnencodableReplacementArray  replacement 
)
static

◆ getUnencodableReplacement() [2/2]

static int WebCore::TextCodec::getUnencodableReplacement ( unsigned  codePoint,
UnencodableHandling  ,
UnencodableReplacementArray   
)
static

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