7#ifndef nsHebrewProber_h__
8#define nsHebrewProber_h__
10#include "nsSBCharSetProber.h"
11namespace kencodingprober
15class KCODECS_NO_EXPORT nsHebrewProber :
public nsCharSetProber
19 : mLogicalProb(nullptr)
20 , mVisualProb(nullptr)
25 ~nsHebrewProber(
void)
override
28 nsProbingState HandleData(
const char *aBuf,
unsigned int aLen)
override;
29 const char *GetCharSetName()
override;
30 void Reset(
void)
override;
32 nsProbingState GetState(
void)
override;
34 float GetConfidence(
void)
override
38 void SetOpion()
override
42 void SetModelProbers(nsCharSetProber *logicalPrb, nsCharSetProber *visualPrb)
44 mLogicalProb = logicalPrb;
45 mVisualProb = visualPrb;
49 void DumpStatus()
override;
53 static bool isFinal(
char c);
54 static bool isNonFinal(
char c);
56 int mFinalCharLogicalScore, mFinalCharVisualScore;
59 char mPrev, mBeforePrev;
62 nsCharSetProber *mLogicalProb, *mVisualProb;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:08 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.