tesseract  3.03
BLOCK_RES Class Reference

#include <pageres.h>

Inheritance diagram for BLOCK_RES:
ELIST_LINK

List of all members.

Public Member Functions

 BLOCK_RES ()
 BLOCK_RES (BLOCK *the_block)
 ~BLOCK_RES ()

Public Attributes

BLOCKblock
inT32 char_count
inT32 rej_count
inT16 font_class
inT16 row_count
float x_height
BOOL8 font_assigned
BOOL8 bold
BOOL8 italic
ROW_RES_LIST row_res_list

Detailed Description

Definition at line 96 of file pageres.h.


Constructor & Destructor Documentation

BLOCK_RES::BLOCK_RES ( ) [inline]

Definition at line 111 of file pageres.h.

              {
  }                            // empty constructor
BLOCK_RES::BLOCK_RES ( BLOCK the_block)

Definition at line 70 of file pageres.cpp.

                                     {
  ROW_IT row_it (the_block->row_list ());
  ROW_RES_IT row_res_it(&row_res_list);

  char_count = 0;
  rej_count = 0;
  font_class = -1;               //not assigned
  x_height = -1.0;
  font_assigned = FALSE;
  bold = FALSE;
  italic = FALSE;
  row_count = 0;

  block = the_block;

  for (row_it.mark_cycle_pt(); !row_it.cycled_list(); row_it.forward()) {
    row_res_it.add_to_end(new ROW_RES(row_it.data()));
  }
}
BLOCK_RES::~BLOCK_RES ( ) [inline]

Definition at line 116 of file pageres.h.

                {              // destructor
  }

Member Data Documentation

Definition at line 98 of file pageres.h.

Definition at line 106 of file pageres.h.

Definition at line 99 of file pageres.h.

Definition at line 104 of file pageres.h.

Definition at line 101 of file pageres.h.

Definition at line 107 of file pageres.h.

Definition at line 100 of file pageres.h.

Definition at line 102 of file pageres.h.

Definition at line 109 of file pageres.h.

Definition at line 103 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