Tesseract 3.01
|
#include <unicharset.h>
Public Member Functions | |
void | set_all (const char *unichar, int pos, int total) |
void | set_unichar (const char *uch) |
void | set_pos (int p) |
void | set_total (int t) |
const char * | get_unichar () const |
int | get_pos () const |
int | get_total () const |
STRING | to_string () const |
bool | equals (const char *other_unichar, int other_pos, int other_total) const |
bool | equals (const CHAR_FRAGMENT *other) const |
bool | is_continuation_of (const CHAR_FRAGMENT *fragment) const |
bool | is_beginning () const |
bool | is_ending () const |
Static Public Member Functions | |
static STRING | to_string (const char *unichar, int pos, int total) |
static CHAR_FRAGMENT * | parse_from_string (const char *str) |
Static Public Attributes | |
static const int | kMinLen = 6 |
static const int | kMaxLen = 3 + UNICHAR_LEN + 2 |
static const char | kSeparator = '|' |
static const int | kMaxChunks = 3 |
bool CHAR_FRAGMENT::equals | ( | const char * | other_unichar, |
int | other_pos, | ||
int | other_total | ||
) | const [inline] |
bool CHAR_FRAGMENT::equals | ( | const CHAR_FRAGMENT * | other | ) | const [inline] |
int CHAR_FRAGMENT::get_pos | ( | ) | const [inline] |
int CHAR_FRAGMENT::get_total | ( | ) | const [inline] |
const char* CHAR_FRAGMENT::get_unichar | ( | ) | const [inline] |
bool CHAR_FRAGMENT::is_beginning | ( | ) | const [inline] |
bool CHAR_FRAGMENT::is_continuation_of | ( | const CHAR_FRAGMENT * | fragment | ) | const [inline] |
bool CHAR_FRAGMENT::is_ending | ( | ) | const [inline] |
CHAR_FRAGMENT * CHAR_FRAGMENT::parse_from_string | ( | const char * | str | ) | [static] |
void CHAR_FRAGMENT::set_all | ( | const char * | unichar, |
int | pos, | ||
int | total | ||
) | [inline] |
void CHAR_FRAGMENT::set_pos | ( | int | p | ) | [inline] |
void CHAR_FRAGMENT::set_total | ( | int | t | ) | [inline] |
void CHAR_FRAGMENT::set_unichar | ( | const char * | uch | ) | [inline] |
STRING CHAR_FRAGMENT::to_string | ( | ) | const [inline] |
static STRING CHAR_FRAGMENT::to_string | ( | const char * | unichar, |
int | pos, | ||
int | total | ||
) | [inline, static] |
const int CHAR_FRAGMENT::kMaxChunks = 3 [static] |
const int CHAR_FRAGMENT::kMaxLen = 3 + UNICHAR_LEN + 2 [static] |
const int CHAR_FRAGMENT::kMinLen = 6 [static] |
const char CHAR_FRAGMENT::kSeparator = '|' [static] |