• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KDECore

kencodingprober::JapaneseContextAnalysis

kencodingprober::JapaneseContextAnalysis Class Reference

#include <JpCntx.h>

Inheritance diagram for kencodingprober::JapaneseContextAnalysis:
kencodingprober::EUCJPContextAnalysis kencodingprober::SJISContextAnalysis

List of all members.

Public Member Functions

float GetConfidence ()
bool GotEnoughData ()
void HandleData (const char *aBuf, unsigned int aLen)
void HandleOneChar (const char *aStr, unsigned int aCharLen)
 JapaneseContextAnalysis ()
void Reset (void)
void SetOpion ()
virtual ~JapaneseContextAnalysis ()

Protected Member Functions

virtual int GetOrder (const char *str)=0
virtual int GetOrder (const char *str, unsigned int *charLen)=0

Protected Attributes

bool mDone
int mLastCharOrder
unsigned int mNeedToSkipCharNum
unsigned int mRelSample [NUM_OF_CATEGORY]
unsigned int mTotalRel

Detailed Description

Definition at line 39 of file JpCntx.h.


Constructor & Destructor Documentation

kencodingprober::JapaneseContextAnalysis::JapaneseContextAnalysis (  )  [inline]

Definition at line 42 of file JpCntx.h.

virtual kencodingprober::JapaneseContextAnalysis::~JapaneseContextAnalysis (  )  [inline, virtual]

Definition at line 43 of file JpCntx.h.


Member Function Documentation

float kencodingprober::JapaneseContextAnalysis::GetConfidence ( void   ) 

Definition at line 172 of file JpCntx.cpp.

virtual int kencodingprober::JapaneseContextAnalysis::GetOrder ( const char *  str  )  [protected, pure virtual]

Implemented in kencodingprober::SJISContextAnalysis, and kencodingprober::EUCJPContextAnalysis.

virtual int kencodingprober::JapaneseContextAnalysis::GetOrder ( const char *  str,
unsigned int *  charLen 
) [protected, pure virtual]

Implemented in kencodingprober::SJISContextAnalysis, and kencodingprober::EUCJPContextAnalysis.

bool kencodingprober::JapaneseContextAnalysis::GotEnoughData (  )  [inline]

Definition at line 69 of file JpCntx.h.

void kencodingprober::JapaneseContextAnalysis::HandleData ( const char *  aBuf,
unsigned int  aLen 
)

Definition at line 119 of file JpCntx.cpp.

void kencodingprober::JapaneseContextAnalysis::HandleOneChar ( const char *  aStr,
unsigned int  aCharLen 
) [inline]

Definition at line 47 of file JpCntx.h.

void kencodingprober::JapaneseContextAnalysis::Reset ( void   ) 

Definition at line 161 of file JpCntx.cpp.

void kencodingprober::JapaneseContextAnalysis::SetOpion (  )  [inline]

Definition at line 68 of file JpCntx.h.


Member Data Documentation

bool kencodingprober::JapaneseContextAnalysis::mDone [protected]

Definition at line 89 of file JpCntx.h.

int kencodingprober::JapaneseContextAnalysis::mLastCharOrder [protected]

Definition at line 82 of file JpCntx.h.

unsigned int kencodingprober::JapaneseContextAnalysis::mNeedToSkipCharNum [protected]

Definition at line 86 of file JpCntx.h.

unsigned int kencodingprober::JapaneseContextAnalysis::mRelSample[NUM_OF_CATEGORY] [protected]

Definition at line 76 of file JpCntx.h.

unsigned int kencodingprober::JapaneseContextAnalysis::mTotalRel [protected]

Definition at line 79 of file JpCntx.h.


The documentation for this class was generated from the following files:
  • JpCntx.h
  • JpCntx.cpp

KDECore

Skip menu "KDECore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal