All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
tesseract::DawgPosition Struct Reference

#include <dawg.h>

Public Member Functions

 DawgPosition ()
 
 DawgPosition (int dawg_idx, EDGE_REF dawgref, int punc_idx, EDGE_REF puncref, bool backtopunc)
 
bool operator== (const DawgPosition &other)
 

Public Attributes

inT8 dawg_index
 
EDGE_REF dawg_ref
 
inT8 punc_index
 
EDGE_REF punc_ref
 
bool back_to_punc
 

Detailed Description

Definition at line 342 of file dawg.h.

Constructor & Destructor Documentation

tesseract::DawgPosition::DawgPosition ( )
inline

Definition at line 343 of file dawg.h.

344  : dawg_index(-1), dawg_ref(NO_EDGE), punc_ref(NO_EDGE),
345  back_to_punc(false) {}
EDGE_REF dawg_ref
Definition: dawg.h:362
EDGE_REF punc_ref
Definition: dawg.h:364
tesseract::DawgPosition::DawgPosition ( int  dawg_idx,
EDGE_REF  dawgref,
int  punc_idx,
EDGE_REF  puncref,
bool  backtopunc 
)
inline

Definition at line 346 of file dawg.h.

349  : dawg_index(dawg_idx), dawg_ref(dawgref),
350  punc_index(punc_idx), punc_ref(puncref),
351  back_to_punc(backtopunc) {
352  }
EDGE_REF dawg_ref
Definition: dawg.h:362
EDGE_REF punc_ref
Definition: dawg.h:364

Member Function Documentation

bool tesseract::DawgPosition::operator== ( const DawgPosition other)
inline

Definition at line 353 of file dawg.h.

353  {
354  return dawg_index == other.dawg_index &&
355  dawg_ref == other.dawg_ref &&
356  punc_index == other.punc_index &&
357  punc_ref == other.punc_ref &&
358  back_to_punc == other.back_to_punc;
359  }
EDGE_REF dawg_ref
Definition: dawg.h:362
EDGE_REF punc_ref
Definition: dawg.h:364

Member Data Documentation

bool tesseract::DawgPosition::back_to_punc

Definition at line 366 of file dawg.h.

inT8 tesseract::DawgPosition::dawg_index

Definition at line 361 of file dawg.h.

EDGE_REF tesseract::DawgPosition::dawg_ref

Definition at line 362 of file dawg.h.

inT8 tesseract::DawgPosition::punc_index

Definition at line 363 of file dawg.h.

EDGE_REF tesseract::DawgPosition::punc_ref

Definition at line 364 of file dawg.h.


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