Tesseract  3.02
SEG_SEARCH_PENDING Struct Reference

#include <wordrec.h>

Inheritance diagram for SEG_SEARCH_PENDING:
ELIST_LINK

List of all members.

Public Member Functions

 SEG_SEARCH_PENDING (int child_row_arg, BLOB_CHOICE_LIST *parent_arg, tesseract::LanguageModelFlagsType changed_arg)

Static Public Member Functions

static int compare (const void *p1, const void *p2)

Public Attributes

int child_row
BLOB_CHOICE_LIST * parent
tesseract::LanguageModelFlagsType changed

Detailed Description

Definition at line 42 of file wordrec.h.


Constructor & Destructor Documentation

SEG_SEARCH_PENDING::SEG_SEARCH_PENDING ( int  child_row_arg,
BLOB_CHOICE_LIST *  parent_arg,
tesseract::LanguageModelFlagsType  changed_arg 
) [inline]

Definition at line 43 of file wordrec.h.

                                                                  :
    child_row(child_row_arg), parent(parent_arg), changed(changed_arg) {}

Member Function Documentation

static int SEG_SEARCH_PENDING::compare ( const void *  p1,
const void *  p2 
) [inline, static]

Definition at line 49 of file wordrec.h.

                                                     {
    const SEG_SEARCH_PENDING *e1 = *reinterpret_cast<
      const SEG_SEARCH_PENDING * const *>(p1);
    const SEG_SEARCH_PENDING *e2 = *reinterpret_cast<
      const SEG_SEARCH_PENDING * const *>(p2);
    if (e1->child_row == e2->child_row &&
        e1->parent == e2->parent) return 0;
    return (e1->child_row < e2->child_row) ? -1 : 1;
  }

Member Data Documentation

Definition at line 59 of file wordrec.h.

BLOB_CHOICE_LIST* SEG_SEARCH_PENDING::parent

Definition at line 60 of file wordrec.h.


The documentation for this struct was generated from the following file: