tesseract  4.0.0-1-g2a2b
tesseract::LineHypothesis Struct Reference

#include <paragraphs_internal.h>

Public Member Functions

 LineHypothesis ()
 
 LineHypothesis (LineType line_type, const ParagraphModel *m)
 
 LineHypothesis (const LineHypothesis &other)
 
LineHypothesisoperator= (const LineHypothesis &other)
 
bool operator== (const LineHypothesis &other) const
 

Public Attributes

LineType ty
 
const ParagraphModelmodel
 

Detailed Description

Definition at line 75 of file paragraphs_internal.h.

Constructor & Destructor Documentation

◆ LineHypothesis() [1/3]

tesseract::LineHypothesis::LineHypothesis ( )
inline

Definition at line 76 of file paragraphs_internal.h.

◆ LineHypothesis() [2/3]

tesseract::LineHypothesis::LineHypothesis ( LineType  line_type,
const ParagraphModel m 
)
inline

Definition at line 77 of file paragraphs_internal.h.

78  : ty(line_type), model(m) {}
const ParagraphModel * model

◆ LineHypothesis() [3/3]

tesseract::LineHypothesis::LineHypothesis ( const LineHypothesis other)
inline

Definition at line 79 of file paragraphs_internal.h.

80  : ty(other.ty), model(other.model) {}
const ParagraphModel * model

Member Function Documentation

◆ operator=()

LineHypothesis& tesseract::LineHypothesis::operator= ( const LineHypothesis other)
inline

Definition at line 83 of file paragraphs_internal.h.

83  {
84  ty = other.ty;
85  model = other.model;
86  return *this;
87  }
const ParagraphModel * model

◆ operator==()

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

Definition at line 89 of file paragraphs_internal.h.

89  {
90  return ty == other.ty && model == other.model;
91  }
const ParagraphModel * model

Member Data Documentation

◆ model

const ParagraphModel* tesseract::LineHypothesis::model

Definition at line 94 of file paragraphs_internal.h.

◆ ty

LineType tesseract::LineHypothesis::ty

Definition at line 93 of file paragraphs_internal.h.


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