7#ifndef nsGB2312Prober_h__
8#define nsGB2312Prober_h__
10#include "CharDistribution.h"
11#include "nsCharSetProber.h"
12#include "nsCodingStateMachine.h"
15namespace kencodingprober
17class KCODECS_NO_EXPORT nsGB18030Prober :
public nsCharSetProber
22 mCodingSM =
new nsCodingStateMachine(&GB18030SMModel);
25 ~nsGB18030Prober(
void)
override
29 nsProbingState HandleData(
const char *aBuf,
unsigned int aLen)
override;
30 const char *GetCharSetName()
override
34 nsProbingState GetState(
void)
override
38 void Reset(
void)
override;
39 float GetConfidence(
void)
override;
40 void SetOpion()
override
45 void GetDistribution(
unsigned int aCharLen,
const char *aStr);
47 nsCodingStateMachine *mCodingSM;
48 nsProbingState mState;
51 GB2312DistributionAnalysis mDistributionAnalyser;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:18:52 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.