tesseract  5.0.0-alpha-619-ge9db
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 74 of file paragraphs_internal.h.

Constructor & Destructor Documentation

◆ LineHypothesis() [1/3]

tesseract::LineHypothesis::LineHypothesis ( )
inline

Definition at line 75 of file paragraphs_internal.h.

75 {

◆ LineHypothesis() [2/3]

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

Definition at line 76 of file paragraphs_internal.h.

76  : ty(LT_UNKNOWN), model(nullptr) {}
77  LineHypothesis(LineType line_type, const ParagraphModel *m)

◆ LineHypothesis() [3/3]

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

Definition at line 78 of file paragraphs_internal.h.

78  : ty(line_type), model(m) {}
79  LineHypothesis(const LineHypothesis &other)

Member Function Documentation

◆ operator=()

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

Definition at line 82 of file paragraphs_internal.h.

83  {
84  ty = other.ty;
85  model = other.model;
86  return *this;

◆ operator==()

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

Definition at line 88 of file paragraphs_internal.h.

89  {
90  return ty == other.ty && model == other.model;

Member Data Documentation

◆ model

const ParagraphModel* tesseract::LineHypothesis::model

Definition at line 93 of file paragraphs_internal.h.

◆ ty

LineType tesseract::LineHypothesis::ty

Definition at line 92 of file paragraphs_internal.h.


The documentation for this struct was generated from the following file:
tesseract::LineHypothesis::LineHypothesis
LineHypothesis()
Definition: paragraphs_internal.h:75
ParagraphModel
Definition: ocrpara.h:114
tesseract::LT_UNKNOWN
Definition: paragraphs_internal.h:52
tesseract::LineHypothesis::ty
LineType ty
Definition: paragraphs_internal.h:92
tesseract::LineType
LineType
Definition: paragraphs_internal.h:49
tesseract::LineHypothesis::model
const ParagraphModel * model
Definition: paragraphs_internal.h:93