|
tesseract
3.03
|
#include <pageres.h>
Public Member Functions | |
| void | Init () |
| PAGE_RES () | |
| PAGE_RES (BLOCK_LIST *block_list, WERD_CHOICE **prev_word_best_choice_ptr) | |
| ~PAGE_RES () | |
Public Attributes | |
| inT32 | char_count |
| inT32 | rej_count |
| BLOCK_RES_LIST | block_res_list |
| BOOL8 | rejected |
| WERD_CHOICE ** | prev_word_best_choice |
| GenericVector< int > | blame_reasons |
| GenericVector< STRING > | misadaption_log |
| PAGE_RES::PAGE_RES | ( | ) | [inline] |
| PAGE_RES::PAGE_RES | ( | BLOCK_LIST * | block_list, |
| WERD_CHOICE ** | prev_word_best_choice_ptr | ||
| ) |
Definition at line 51 of file pageres.cpp.
{
Init();
BLOCK_IT block_it(the_block_list);
BLOCK_RES_IT block_res_it(&block_res_list);
for (block_it.mark_cycle_pt();
!block_it.cycled_list(); block_it.forward()) {
block_res_it.add_to_end(new BLOCK_RES(block_it.data()));
}
prev_word_best_choice = prev_word_best_choice_ptr;
}
| PAGE_RES::~PAGE_RES | ( | ) | [inline] |
| void PAGE_RES::Init | ( | ) | [inline] |
Definition at line 75 of file pageres.h.
{
char_count = 0;
rej_count = 0;
rejected = FALSE;
prev_word_best_choice = NULL;
blame_reasons.init_to_size(IRR_NUM_REASONS, 0);
}
| BLOCK_RES_LIST PAGE_RES::block_res_list |