tesseract  4.1.0
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_t dawg_index
 
EDGE_REF dawg_ref
 
int8_t punc_index
 
EDGE_REF punc_ref
 
bool back_to_punc
 

Detailed Description

Definition at line 350 of file dawg.h.

Constructor & Destructor Documentation

tesseract::DawgPosition::DawgPosition ( )
inline

Definition at line 351 of file dawg.h.

352  : dawg_index(-1), dawg_ref(NO_EDGE), punc_ref(NO_EDGE),
353  back_to_punc(false) {}
EDGE_REF punc_ref
Definition: dawg.h:372
EDGE_REF dawg_ref
Definition: dawg.h:370
tesseract::DawgPosition::DawgPosition ( int  dawg_idx,
EDGE_REF  dawgref,
int  punc_idx,
EDGE_REF  puncref,
bool  backtopunc 
)
inline

Definition at line 354 of file dawg.h.

357  : dawg_index(dawg_idx), dawg_ref(dawgref),
358  punc_index(punc_idx), punc_ref(puncref),
359  back_to_punc(backtopunc) {
360  }
EDGE_REF punc_ref
Definition: dawg.h:372
EDGE_REF dawg_ref
Definition: dawg.h:370

Member Function Documentation

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

Definition at line 361 of file dawg.h.

361  {
362  return dawg_index == other.dawg_index &&
363  dawg_ref == other.dawg_ref &&
364  punc_index == other.punc_index &&
365  punc_ref == other.punc_ref &&
366  back_to_punc == other.back_to_punc;
367  }
EDGE_REF punc_ref
Definition: dawg.h:372
EDGE_REF dawg_ref
Definition: dawg.h:370

Member Data Documentation

bool tesseract::DawgPosition::back_to_punc

Definition at line 374 of file dawg.h.

int8_t tesseract::DawgPosition::dawg_index

Definition at line 369 of file dawg.h.

EDGE_REF tesseract::DawgPosition::dawg_ref

Definition at line 370 of file dawg.h.

int8_t tesseract::DawgPosition::punc_index

Definition at line 371 of file dawg.h.

EDGE_REF tesseract::DawgPosition::punc_ref

Definition at line 372 of file dawg.h.


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