#include <rejctmap.h>
Definition at line 200 of file rejctmap.h.
◆ REJMAP() [1/2]
◆ REJMAP() [2/2]
REJMAP::REJMAP |
( |
const REJMAP & |
rejmap | ) |
|
|
inline |
◆ accept_count()
int16_t REJMAP::accept_count |
( |
| ) |
|
Definition at line 278 of file rejctmap.cpp.
283 for (i = 0; i < len; i++) {
284 if (ptr[i].accepted ())
◆ full_print()
void REJMAP::full_print |
( |
FILE * |
fp | ) |
|
Definition at line 332 of file rejctmap.cpp.
336 for (i = 0; i < len; i++) {
337 ptr[i].full_print (fp);
◆ initialise()
void REJMAP::initialise |
( |
int16_t |
length | ) |
|
◆ length()
int32_t REJMAP::length |
( |
| ) |
const |
|
inline |
◆ operator=()
Definition at line 264 of file rejctmap.cpp.
267 for (
int i = 0; i < len; i++) {
268 ptr[i] = source.ptr[i];
◆ operator[]()
REJ& REJMAP::operator[] |
( |
int16_t |
index | ) |
const |
|
inline |
◆ print()
void REJMAP::print |
( |
FILE * |
fp | ) |
|
Definition at line 320 of file rejctmap.cpp.
325 for (i = 0; i < len; i++) {
326 buff[i] = ptr[i].display_char ();
329 fprintf (fp,
"\"%s\"", buff);
◆ quality_recoverable_rejects()
bool REJMAP::quality_recoverable_rejects |
( |
| ) |
|
Definition at line 299 of file rejctmap.cpp.
301 for (
int i = 0; i < len; i++) {
302 if (ptr[i].accept_if_good_quality ())
◆ recoverable_rejects()
bool REJMAP::recoverable_rejects |
( |
| ) |
|
Definition at line 290 of file rejctmap.cpp.
292 for (
int i = 0; i < len; i++) {
293 if (ptr[i].recoverable ())
◆ rej_word_bad_permuter()
void REJMAP::rej_word_bad_permuter |
( |
| ) |
|
Definition at line 378 of file rejctmap.cpp.
382 for (i = 0; i < len; i++) {
383 if (ptr[i].accepted()) ptr[i].setrej_bad_permuter ();
◆ rej_word_bad_quality()
void REJMAP::rej_word_bad_quality |
( |
| ) |
|
Definition at line 414 of file rejctmap.cpp.
418 for (i = 0; i < len; i++) {
419 if (ptr[i].accepted()) ptr[i].setrej_bad_quality();
◆ rej_word_block_rej()
void REJMAP::rej_word_block_rej |
( |
| ) |
|
Definition at line 432 of file rejctmap.cpp.
436 for (i = 0; i < len; i++) {
437 if (ptr[i].accepted()) ptr[i].setrej_block_rej();
◆ rej_word_contains_blanks()
void REJMAP::rej_word_contains_blanks |
( |
| ) |
|
Definition at line 369 of file rejctmap.cpp.
373 for (i = 0; i < len; i++) {
374 if (ptr[i].accepted()) ptr[i].setrej_contains_blanks();
◆ rej_word_doc_rej()
void REJMAP::rej_word_doc_rej |
( |
| ) |
|
Definition at line 423 of file rejctmap.cpp.
427 for (i = 0; i < len; i++) {
428 if (ptr[i].accepted()) ptr[i].setrej_doc_rej();
◆ rej_word_mostly_rej()
void REJMAP::rej_word_mostly_rej |
( |
| ) |
|
Definition at line 405 of file rejctmap.cpp.
409 for (i = 0; i < len; i++) {
410 if (ptr[i].accepted()) ptr[i].setrej_mostly_rej();
◆ rej_word_no_alphanums()
void REJMAP::rej_word_no_alphanums |
( |
| ) |
|
Definition at line 396 of file rejctmap.cpp.
400 for (i = 0; i < len; i++) {
401 if (ptr[i].accepted()) ptr[i].setrej_no_alphanums();
◆ rej_word_not_tess_accepted()
void REJMAP::rej_word_not_tess_accepted |
( |
| ) |
|
Definition at line 360 of file rejctmap.cpp.
364 for (i = 0; i < len; i++) {
365 if (ptr[i].accepted()) ptr[i].setrej_not_tess_accepted();
◆ rej_word_row_rej()
void REJMAP::rej_word_row_rej |
( |
| ) |
|
Definition at line 441 of file rejctmap.cpp.
445 for (i = 0; i < len; i++) {
446 if (ptr[i].accepted()) ptr[i].setrej_row_rej();
◆ rej_word_small_xht()
void REJMAP::rej_word_small_xht |
( |
| ) |
|
Definition at line 342 of file rejctmap.cpp.
346 for (i = 0; i < len; i++) {
347 ptr[i].setrej_small_xht ();
◆ rej_word_tess_failure()
void REJMAP::rej_word_tess_failure |
( |
| ) |
|
Definition at line 351 of file rejctmap.cpp.
355 for (i = 0; i < len; i++) {
356 ptr[i].setrej_tess_failure ();
◆ rej_word_xht_fixup()
void REJMAP::rej_word_xht_fixup |
( |
| ) |
|
Definition at line 387 of file rejctmap.cpp.
391 for (i = 0; i < len; i++) {
392 if (ptr[i].accepted()) ptr[i].setrej_xht_fixup();
◆ reject_count()
int16_t REJMAP::reject_count |
( |
| ) |
|
|
inline |
◆ remove_pos()
void REJMAP::remove_pos |
( |
int16_t |
pos | ) |
|
Definition at line 308 of file rejctmap.cpp.
317 for (; pos < len; pos++) ptr[pos] = ptr[pos + 1];
The documentation for this class was generated from the following files: