#include <ambigs.h>
Definition at line 52 of file ambigs.h.
◆ compare()
static int tesseract::UnicharIdArrayUtils::compare |
( |
const UNICHAR_ID * |
ptr1, |
|
|
const UNICHAR_ID * |
ptr2 |
|
) |
| |
|
inlinestatic |
Definition at line 58 of file ambigs.h.
63 if (val1 == INVALID_UNICHAR_ID) {
66 if (val2 == INVALID_UNICHAR_ID) {
74 if (val1 == INVALID_UNICHAR_ID) {
◆ copy()
Definition at line 83 of file ambigs.h.
87 }
while (dst[i++] != INVALID_UNICHAR_ID);
◆ print()
static void tesseract::UnicharIdArrayUtils::print |
( |
const UNICHAR_ID |
array[], |
|
|
const UNICHARSET & |
unicharset |
|
) |
| |
|
inlinestatic |
Definition at line 93 of file ambigs.h.
95 if (*ptr == INVALID_UNICHAR_ID) {
98 while (*ptr != INVALID_UNICHAR_ID) {
99 tprintf(
"%s ", unicharset.id_to_unichar(*ptr++));
103 while (*ptr != INVALID_UNICHAR_ID) {
void tprintf(const char *format,...)
The documentation for this class was generated from the following file: