tesseract  4.00.00dev
tesseract::RadicalStroke Struct Reference

Public Member Functions

 RadicalStroke ()
 
 RadicalStroke (const STRING &r, int s)
 
bool operator== (const RadicalStroke &other) const
 

Public Attributes

STRING radical
 
int num_strokes
 

Detailed Description

Definition at line 31 of file unicharcompress.cpp.

Constructor & Destructor Documentation

◆ RadicalStroke() [1/2]

tesseract::RadicalStroke::RadicalStroke ( )
inline

Definition at line 32 of file unicharcompress.cpp.

◆ RadicalStroke() [2/2]

tesseract::RadicalStroke::RadicalStroke ( const STRING r,
int  s 
)
inline

Definition at line 33 of file unicharcompress.cpp.

Member Function Documentation

◆ operator==()

bool tesseract::RadicalStroke::operator== ( const RadicalStroke other) const
inline

Definition at line 35 of file unicharcompress.cpp.

35  {
36  return radical == other.radical && num_strokes == other.num_strokes;
37  }

Member Data Documentation

◆ num_strokes

int tesseract::RadicalStroke::num_strokes

Definition at line 45 of file unicharcompress.cpp.

◆ radical

STRING tesseract::RadicalStroke::radical

Definition at line 42 of file unicharcompress.cpp.


The documentation for this struct was generated from the following file: