tesseract  3.03
PAGE_RES Class Reference

#include <pageres.h>

List of all members.

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< STRINGmisadaption_log

Detailed Description

Definition at line 58 of file pageres.h.


Constructor & Destructor Documentation

PAGE_RES::PAGE_RES ( ) [inline]

Definition at line 83 of file pageres.h.

{ Init(); }  // empty constructor
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]

Definition at line 88 of file pageres.h.

               {               // destructor
  }

Member Function Documentation

void PAGE_RES::Init ( ) [inline]

Definition at line 75 of file pageres.h.


Member Data Documentation

Definition at line 68 of file pageres.h.

BLOCK_RES_LIST PAGE_RES::block_res_list

Definition at line 62 of file pageres.h.

Definition at line 60 of file pageres.h.

Definition at line 61 of file pageres.h.

Definition at line 63 of file pageres.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines