tesseract  3.03
tesseract::DawgPosition Struct Reference

#include <dawg.h>

List of all members.

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

Definition at line 343 of file dawg.h.

      : dawg_index(-1), dawg_ref(NO_EDGE), punc_ref(NO_EDGE),
        back_to_punc(false) {}
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.

      : dawg_index(dawg_idx), dawg_ref(dawgref),
        punc_index(punc_idx), punc_ref(puncref),
        back_to_punc(backtopunc) {
  }

Member Function Documentation

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

Definition at line 353 of file dawg.h.

                                             {
    return dawg_index == other.dawg_index &&
        dawg_ref == other.dawg_ref &&
        punc_index == other.punc_index &&
        punc_ref == other.punc_ref &&
        back_to_punc == other.back_to_punc;
  }

Member Data Documentation

Definition at line 366 of file dawg.h.

Definition at line 361 of file dawg.h.

Definition at line 363 of file dawg.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines