KDECore
#include <nsGB2312Prober.h>

Public Member Functions | |
nsGB18030Prober (void) | |
virtual | ~nsGB18030Prober (void) |
const char * | GetCharSetName () |
float | GetConfidence (void) |
nsProbingState | GetState (void) |
nsProbingState | HandleData (const char *aBuf, unsigned int aLen) |
void | Reset (void) |
void | SetOpion () |
![]() | |
virtual | ~nsCharSetProber () |
virtual const char * | GetCharSetName ()=0 |
virtual float | GetConfidence (void)=0 |
virtual nsProbingState | GetState (void)=0 |
virtual nsProbingState | HandleData (const char *aBuf, unsigned int aLen)=0 |
virtual void | Reset (void)=0 |
virtual void | SetOpion ()=0 |
Protected Member Functions | |
void | GetDistribution (unsigned int aCharLen, const char *aStr) |
Protected Attributes | |
nsCodingStateMachine * | mCodingSM |
GB2312DistributionAnalysis | mDistributionAnalyser |
char | mLastChar [2] |
nsProbingState | mState |
Additional Inherited Members | |
![]() | |
static bool | FilterWithEnglishLetters (const char *aBuf, unsigned int aLen, char **newBuf, unsigned int &newLen) |
static bool | FilterWithoutEnglishLetters (const char *aBuf, unsigned int aLen, char **newBuf, unsigned int &newLen) |
Detailed Description
Definition at line 35 of file nsGB2312Prober.h.
Constructor & Destructor Documentation
◆ nsGB18030Prober()
|
inline |
Definition at line 37 of file nsGB2312Prober.h.
◆ ~nsGB18030Prober()
|
inlinevirtual |
Definition at line 39 of file nsGB2312Prober.h.
Member Function Documentation
◆ GetCharSetName()
|
inlinevirtual |
Implements kencodingprober::nsCharSetProber.
Definition at line 41 of file nsGB2312Prober.h.
◆ GetConfidence()
|
virtual |
Implements kencodingprober::nsCharSetProber.
Definition at line 86 of file nsGB2312Prober.cpp.
◆ GetDistribution()
|
protected |
◆ GetState()
|
inlinevirtual |
Implements kencodingprober::nsCharSetProber.
Definition at line 42 of file nsGB2312Prober.h.
◆ HandleData()
|
virtual |
Implements kencodingprober::nsCharSetProber.
Definition at line 44 of file nsGB2312Prober.cpp.
◆ Reset()
|
virtual |
Implements kencodingprober::nsCharSetProber.
Definition at line 36 of file nsGB2312Prober.cpp.
◆ SetOpion()
|
inlinevirtual |
Implements kencodingprober::nsCharSetProber.
Definition at line 45 of file nsGB2312Prober.h.
Member Data Documentation
◆ mCodingSM
|
protected |
Definition at line 50 of file nsGB2312Prober.h.
◆ mDistributionAnalyser
|
protected |
Definition at line 54 of file nsGB2312Prober.h.
◆ mLastChar
|
protected |
Definition at line 55 of file nsGB2312Prober.h.
◆ mState
|
protected |
Definition at line 51 of file nsGB2312Prober.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.