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

KDECore

  • kencodingprober
  • JapaneseContextAnalysis
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
kencodingprober::JapaneseContextAnalysis Class Referenceabstract

#include <JpCntx.h>

Inheritance diagram for kencodingprober::JapaneseContextAnalysis:
Inheritance graph
[legend]

Public Member Functions

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

Protected Member Functions

virtual int GetOrder (const char *str, unsigned int *charLen)=0
 
virtual int GetOrder (const char *str)=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 ( )
inlinevirtual

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,
unsigned int *  charLen 
)
protectedpure virtual

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

virtual int kencodingprober::JapaneseContextAnalysis::GetOrder ( const char *  str)
protectedpure virtual

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

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal