Tesseract  3.02
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 256 of file pageres.h.


Constructor & Destructor Documentation

BLOCK_RES::BLOCK_RES ( ) [inline]

Definition at line 271 of file pageres.h.

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

Definition at line 110 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 276 of file pageres.h.

                {              // destructor
  }

Member Data Documentation

Definition at line 258 of file pageres.h.

Definition at line 266 of file pageres.h.

Definition at line 259 of file pageres.h.

Definition at line 264 of file pageres.h.

Definition at line 261 of file pageres.h.

Definition at line 267 of file pageres.h.

Definition at line 260 of file pageres.h.

Definition at line 262 of file pageres.h.

Definition at line 269 of file pageres.h.

Definition at line 263 of file pageres.h.


The documentation for this class was generated from the following files: