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

#include <dawg.h>

Public Member Functions

 DawgInfo ()
 
 DawgInfo (int i, EDGE_REF r)
 
bool operator== (const DawgInfo &other)
 

Public Attributes

int dawg_index
 
EDGE_REF ref
 

Detailed Description

DawgInfo struct and DawgInfoVector class are used for storing information about the current Dawg search state.

Definition at line 305 of file dawg.h.

Constructor & Destructor Documentation

tesseract::DawgInfo::DawgInfo ( )
inline

Definition at line 306 of file dawg.h.

306 : dawg_index(-1), ref(NO_EDGE) {}
EDGE_REF ref
Definition: dawg.h:312
tesseract::DawgInfo::DawgInfo ( int  i,
EDGE_REF  r 
)
inline

Definition at line 307 of file dawg.h.

307 : dawg_index(i), ref(r) {}
EDGE_REF ref
Definition: dawg.h:312

Member Function Documentation

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

Definition at line 308 of file dawg.h.

308  {
309  return (this->dawg_index == other.dawg_index && this->ref == other.ref);
310  }

Member Data Documentation

int tesseract::DawgInfo::dawg_index

Definition at line 311 of file dawg.h.

EDGE_REF tesseract::DawgInfo::ref

Definition at line 312 of file dawg.h.


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