Tesseract  3.02
tesseract::DawgInfo Struct Reference

#include <dawg.h>

List of all members.

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.

: dawg_index(-1), ref(NO_EDGE) {}
tesseract::DawgInfo::DawgInfo ( int  i,
EDGE_REF  r 
) [inline]

Definition at line 307 of file dawg.h.

: dawg_index(i), ref(r) {}

Member Function Documentation

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

Definition at line 308 of file dawg.h.

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

Member Data Documentation

Definition at line 311 of file dawg.h.

Definition at line 312 of file dawg.h.


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