Tesseract  3.02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SEG_SEARCH_PENDING Struct Reference

#include <wordrec.h>

Inheritance diagram for SEG_SEARCH_PENDING:
ELIST_LINK

Public Member Functions

 SEG_SEARCH_PENDING (int child_row_arg, BLOB_CHOICE_LIST *parent_arg, tesseract::LanguageModelFlagsType changed_arg)
 
- Public Member Functions inherited from ELIST_LINK
 ELIST_LINK ()
 
 ELIST_LINK (const ELIST_LINK &)
 
void operator= (const ELIST_LINK &)
 

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.

45  :
46  child_row(child_row_arg), parent(parent_arg), changed(changed_arg) {}
tesseract::LanguageModelFlagsType changed
Definition: wordrec.h:66
BLOB_CHOICE_LIST * parent
Definition: wordrec.h:60

Member Function Documentation

static int SEG_SEARCH_PENDING::compare ( const void *  p1,
const void *  p2 
)
inlinestatic

Definition at line 49 of file wordrec.h.

49  {
50  const SEG_SEARCH_PENDING *e1 = *reinterpret_cast<
51  const SEG_SEARCH_PENDING * const *>(p1);
52  const SEG_SEARCH_PENDING *e2 = *reinterpret_cast<
53  const SEG_SEARCH_PENDING * const *>(p2);
54  if (e1->child_row == e2->child_row &&
55  e1->parent == e2->parent) return 0;
56  return (e1->child_row < e2->child_row) ? -1 : 1;
57  }
BLOB_CHOICE_LIST * parent
Definition: wordrec.h:60

Member Data Documentation

tesseract::LanguageModelFlagsType SEG_SEARCH_PENDING::changed

Definition at line 66 of file wordrec.h.

int SEG_SEARCH_PENDING::child_row

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: